summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..d097168
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,10 @@
+{ pkgs ? import <nixpkgs> { } }:
+pkgs.rustPlatform.buildRustPackage rec {
+ pname = "pinussy";
+ version = "0.1";
+ cargoLock.lockFile = ./Cargo.lock;
+ src = pkgs.lib.cleanSource ./.;
+
+ nativeBuildInputs = [ pkgs.pkgconfig ];
+ buildInputs = with pkgs.stdenv.lib; [ pkgs.openssl ];
+}