mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-09 19:26:21 +01:00
33 lines
711 B
Nix
33 lines
711 B
Nix
|
# SPDX-FileCopyrightText: 2025 Gergely Nagy
|
||
|
# SPDX-FileContributor: Gergely Nagy
|
||
|
#
|
||
|
# SPDX-License-Identifier: MIT
|
||
|
|
||
|
{
|
||
|
lib,
|
||
|
pkgs,
|
||
|
}:
|
||
|
let
|
||
|
props = builtins.fromTOML (builtins.readFile ../Cargo.toml);
|
||
|
inherit (props.package) version;
|
||
|
in
|
||
|
pkgs.rustPlatform.buildRustPackage {
|
||
|
pname = "iocaine";
|
||
|
inherit version;
|
||
|
src = builtins.path {
|
||
|
name = "iocaine";
|
||
|
path = lib.cleanSource ../.;
|
||
|
};
|
||
|
cargoLock = {
|
||
|
lockFile = ../Cargo.lock;
|
||
|
};
|
||
|
doCheck = false;
|
||
|
meta = with lib; {
|
||
|
description = "The deadliest poison known to AI";
|
||
|
license = licenses.mit;
|
||
|
platforms = platforms.linux;
|
||
|
homepage = "https://git.madhouse-project.org/algernon/iocaine";
|
||
|
mainProgram = "iocaine";
|
||
|
};
|
||
|
}
|