summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-24 01:05:42 +0100
committerGitHub <noreply@github.com>2021-01-24 01:05:42 +0100
commita3dcc62acc0c8c450688b365de5b5084c313f910 (patch)
tree57b2d8f7b086a56831ea06e7d5afc4aaf9f04244 /pkgs
parent43697057562d750004e9b9d12cd8bd772f5ee249 (diff)
parent491667c51a77281b7973c04d23a892bb7df7c63e (diff)
Merge pull request #110580 from danieldk/python-warmer-pyver-invariant
python3Packages.wasmer: make cargoHash invariant to the Python version
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/wasmer/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/wasmer/default.nix b/pkgs/development/python-modules/wasmer/default.nix
index e8307365574c1..0bb60d6b9e301 100644
--- a/pkgs/development/python-modules/wasmer/default.nix
+++ b/pkgs/development/python-modules/wasmer/default.nix
@@ -11,7 +11,7 @@ let
   version = "1.0.0-beta1";
 
   wheel = rustPlatform.buildRustPackage rec {
-    name = "${pname}-${version}-py${python.version}";
+    inherit pname version;
 
     src = fetchFromGitHub {
       owner = "wasmerio";
@@ -20,7 +20,7 @@ let
       sha256 = "0302lcfjlw7nz18nf86z6swhhpp1qnpwcsm2fj4avl22rsv0h78j";
     };
 
-    cargoSha256 = "0d83dniijjq8rc4fcwj6ja5x4hxh187afnqfd8c9fzb8nx909a0v";
+    cargoHash = "sha256-Rq5m9Lu6kePvohfhODLMOpGPFtCh0woTsQY2TufoiNQ=";
 
     nativeBuildInputs = [ maturin python ];
 
@@ -50,8 +50,6 @@ let
 in
 buildPythonPackage rec {
   inherit pname version;
-  # we can only support one python version because the cargo hash changes with the python version
-  disabled = !isPy38;
 
   format = "wheel";
   src = wheel;