diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..67968bc --- /dev/null +++ b/default.nix @@ -0,0 +1,17 @@ +{ rustPlatform +, pkg-config +, openssl +, lib +}: + +rustPlatform.buildRustPackage { + pname = "label-tracker"; + version = "0.1.0"; + + src = lib.cleanSource ./.; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; + + cargoLock.lockFile = ./Cargo.lock; +} |