added nix flake
This commit is contained in:
14
package.nix
Normal file
14
package.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ lib, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "rusty-pw";
|
||||
version = (lib.importTOML ./Cargo.toml).package.version;
|
||||
|
||||
src = lib.cleanSource ./.;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
meta = {
|
||||
description = "Random word + number generator";
|
||||
mainProgram = "rusty-pw";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user