mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 20:48:32 +03:00
Merge pull request #307913 from tobim/pkgs/python-wasmer
python3Packages.wasmer: 1.1.0 -> 1.1.1
This commit is contained in:
commit
014d020f25
@ -1,10 +1,10 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, rustc
|
|
||||||
, callPackage
|
, callPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, pythonAtLeast
|
||||||
, libiconv
|
, libiconv
|
||||||
, libffi
|
, libffi
|
||||||
, libxml2
|
, libxml2
|
||||||
@ -22,7 +22,7 @@ let
|
|||||||
, extraBuildInputs ? [ ]
|
, extraBuildInputs ? [ ]
|
||||||
}: buildPythonPackage rec {
|
}: buildPythonPackage rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
outputs = [ "out" ] ++ lib.optional (pname == "wasmer") "testsout";
|
outputs = [ "out" ] ++ lib.optional (pname == "wasmer") "testsout";
|
||||||
@ -31,7 +31,7 @@ let
|
|||||||
owner = "wasmerio";
|
owner = "wasmerio";
|
||||||
repo = "wasmer-python";
|
repo = "wasmer-python";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-nOeOhQ1XY+9qmLGURrI5xbgBUgWe5XRpV38f73kKX2s=";
|
hash = "sha256-Iu28LMDNmtL2r7gJV5Vbb8HZj18dlkHe+mw/Y1L8YKE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
@ -69,6 +69,8 @@ let
|
|||||||
pythonImportsCheck = [ "${lib.replaceStrings ["-"] ["_"] pname}" ];
|
pythonImportsCheck = [ "${lib.replaceStrings ["-"] ["_"] pname}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
# https://github.com/wasmerio/wasmer-python/issues/778
|
||||||
|
broken = pythonAtLeast "3.12";
|
||||||
description = "Python extension to run WebAssembly binaries";
|
description = "Python extension to run WebAssembly binaries";
|
||||||
homepage = "https://github.com/wasmerio/wasmer-python";
|
homepage = "https://github.com/wasmerio/wasmer-python";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
@ -81,19 +83,19 @@ in
|
|||||||
wasmer = common {
|
wasmer = common {
|
||||||
pname = "wasmer";
|
pname = "wasmer";
|
||||||
buildAndTestSubdir = "packages/api";
|
buildAndTestSubdir = "packages/api";
|
||||||
cargoHash = "sha256-twoog8LjQtoli+TlDipSuB7yLFkXQJha9BqobqgZW3Y=";
|
cargoHash = "sha256-vpbwU1HrIQmQkce9SK8UOHrX5tOLv/XKsfJHteqOteA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
wasmer-compiler-cranelift = common {
|
wasmer-compiler-cranelift = common {
|
||||||
pname = "wasmer-compiler-cranelift";
|
pname = "wasmer-compiler-cranelift";
|
||||||
buildAndTestSubdir = "packages/compiler-cranelift";
|
buildAndTestSubdir = "packages/compiler-cranelift";
|
||||||
cargoHash = "sha256-IqeMOY6emhIC7ekH8kIOZCr3JVkjxUg/lQli+ZZpdq4=";
|
cargoHash = "sha256-nv4cr52mUIuR3LWRT3eXU5b2LORwuN4iMbLX1efzovI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
wasmer-compiler-llvm = common {
|
wasmer-compiler-llvm = common {
|
||||||
pname = "wasmer-compiler-llvm";
|
pname = "wasmer-compiler-llvm";
|
||||||
buildAndTestSubdir = "packages/compiler-llvm";
|
buildAndTestSubdir = "packages/compiler-llvm";
|
||||||
cargoHash = "sha256-xawbf5gXXV+7I2F2fDSaMvjtFvGDBtqX7wL3c28TSbA=";
|
cargoHash = "sha256-FA/xXlPaK8NxZIw7MCm9Fyesgu72Dsxhmb5xzOIINhE=";
|
||||||
extraNativeBuildInputs = [ llvm_14 ];
|
extraNativeBuildInputs = [ llvm_14 ];
|
||||||
extraBuildInputs = [ libffi libxml2.out ncurses zlib ];
|
extraBuildInputs = [ libffi libxml2.out ncurses zlib ];
|
||||||
};
|
};
|
||||||
@ -101,6 +103,6 @@ in
|
|||||||
wasmer-compiler-singlepass = common {
|
wasmer-compiler-singlepass = common {
|
||||||
pname = "wasmer-compiler-singlepass";
|
pname = "wasmer-compiler-singlepass";
|
||||||
buildAndTestSubdir = "packages/compiler-singlepass";
|
buildAndTestSubdir = "packages/compiler-singlepass";
|
||||||
cargoHash = "sha256-4nZHMCNumNhdGPOmHXlJ5POYP7K+VPjwhEUMgzGb/Rk=";
|
cargoHash = "sha256-yew7cB/7RLjW55jZmHFfIvaErgZ6XVxL1ucGGX2Cx18=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user