]> saetta.ns0.it Git - nix/channel/commitdiff
Aggiunto py.nix.
authorAndrea Zagli <azagli@libero.it>
Fri, 8 Sep 2023 07:22:36 +0000 (09:22 +0200)
committerAndrea Zagli <azagli@libero.it>
Fri, 8 Sep 2023 07:22:36 +0000 (09:22 +0200)
pkgs/py.nix [new file with mode: 0644]

diff --git a/pkgs/py.nix b/pkgs/py.nix
new file mode 100644 (file)
index 0000000..3a9b07b
--- /dev/null
@@ -0,0 +1,16 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.rustPlatform.buildRustPackage rec {
+    pname = "pyrs";
+    version = "0.0.1";
+    src = pkgs.fetchgit {
+      url = "http://saetta.ns0.it/git/nix/py";
+      hash = "sha256-wjapMItWcx57Ef+mmM6RlfLBWnNeD+uleeB7rCKgDlQ=";
+    };
+
+    cargoSha256 = "sha256-7noFPTvvNutowiNPPNGd7PwNaUSPc/cC1PH+dJYtEeo=";
+
+    nativeBuildInputs = [
+        pkgs.python3
+    ];
+}
\ No newline at end of file