From: Andrea Zagli Date: Fri, 8 Sep 2023 07:22:36 +0000 (+0200) Subject: Aggiunto py.nix. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=5e56923671aca6d7cdfd54ca38015d38650d2f5e;p=nix%2Fchannel Aggiunto py.nix. --- 5e56923671aca6d7cdfd54ca38015d38650d2f5e 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