webnsupdate: Init at version 0.1.0
This commit is contained in:
commit
43d62fa7d6
10 changed files with 2320 additions and 0 deletions
24
default.nix
Normal file
24
default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
}: let
|
||||
readToml = path: builtins.fromTOML (builtins.readFile path);
|
||||
cargoToml = readToml ./Cargo.toml;
|
||||
pname = cargoToml.package.name;
|
||||
inherit (cargoToml.package) version description;
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
src = builtins.path {
|
||||
path = ./.;
|
||||
name = "${pname}-source";
|
||||
};
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
useNextest = true;
|
||||
|
||||
meta = {
|
||||
inherit description;
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/jalil-salame/webnsupdate";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue