From 5e56923671aca6d7cdfd54ca38015d38650d2f5e Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Fri, 8 Sep 2023 09:22:36 +0200 Subject: [PATCH] Aggiunto py.nix. --- pkgs/py.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkgs/py.nix diff --git a/pkgs/py.nix b/pkgs/py.nix new file mode 100644 index 0000000..3a9b07b --- /dev/null +++ b/pkgs/py.nix @@ -0,0 +1,16 @@ +{ pkgs ? import {} }: + +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 -- 2.49.0