package, license
This commit is contained in:
parent
0352030bda
commit
6120e4812b
2 changed files with 696 additions and 0 deletions
22
flake.nix
22
flake.nix
|
|
@ -24,5 +24,27 @@
|
|||
];
|
||||
};
|
||||
});
|
||||
packages = forAllSystems (pkgs: {
|
||||
default = self.packages.${pkgs.system}.yoke;
|
||||
yoke =
|
||||
let
|
||||
details = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package;
|
||||
lib = pkgs.lib;
|
||||
in
|
||||
pkgs.rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = details.name;
|
||||
inherit (details) version;
|
||||
src = ./.;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
meta = {
|
||||
description = "A simple sandboxing tool, similar to bwrap";
|
||||
homepage = "https://git.atagen.co/atagen/yoke";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.atagen ];
|
||||
mainProgram = details.name;
|
||||
};
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue