mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
parent
403623428e
commit
df3f7ed8f6
2 changed files with 0 additions and 30 deletions
|
|
@ -79,7 +79,6 @@
|
||||||
./flake/formatter.nix
|
./flake/formatter.nix
|
||||||
./flake/hosts.nix
|
./flake/hosts.nix
|
||||||
./flake/modules.nix
|
./flake/modules.nix
|
||||||
./flake/packages.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
_:
|
|
||||||
{
|
|
||||||
perSystem =
|
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
packages.kuma-cli = pkgs.rustPlatform.buildRustPackage (finalAttrs: {
|
|
||||||
pname = "kuma-cli";
|
|
||||||
version = "1.0.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "BigBoot";
|
|
||||||
repo = "AutoKuma";
|
|
||||||
rev = "v${finalAttrs.version}";
|
|
||||||
hash = "sha256-o1W0ssR4cjzx9VWg3qS2RhJEe4y4Ez/Y+4yRgXs6q0Y=";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoRoot = "kuma-cli";
|
|
||||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
|
||||||
cargoLock.lockFile = "${finalAttrs.src}/Cargo.lock";
|
|
||||||
|
|
||||||
postUnpack = ''
|
|
||||||
cp ${finalAttrs.src}/Cargo.lock ${finalAttrs.cargoRoot}/Cargo.lock
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
|
||||||
buildInputs = [ pkgs.openssl.dev ];
|
|
||||||
});
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue