diff options
Diffstat (limited to 'pkgs/development/python-modules/pysequoia/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pysequoia/default.nix | 59 |
1 files changed, 31 insertions, 28 deletions
diff --git a/pkgs/development/python-modules/pysequoia/default.nix b/pkgs/development/python-modules/pysequoia/default.nix index 4e48f1c49dd1..f2c07cd5e418 100644 --- a/pkgs/development/python-modules/pysequoia/default.nix +++ b/pkgs/development/python-modules/pysequoia/default.nix @@ -1,33 +1,34 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pkg-config -, rustPlatform -, cargo -, rustc -, bzip2 -, nettle -, openssl -, pcsclite -, stdenv -, darwin -, libiconv +{ + lib, + buildPythonPackage, + fetchPypi, + pkg-config, + rustPlatform, + cargo, + rustc, + bzip2, + nettle, + openssl, + pcsclite, + stdenv, + darwin, + libiconv, }: buildPythonPackage rec { pname = "pysequoia"; - version = "0.1.20"; + version = "0.1.24"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-KavsLp17e4ckX11B0pefiQ1Hma/O9x0VY/uVPiJm4Fs="; + hash = "sha256-sLGPVyUVh1MxAJz8933xGAxaI9+0L/D6wViy5ARLe44="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-7Lw6gR6o2HJ/zyG4b0wz4nmU2AIIAhyK9zaQ6w+/RgE="; + hash = "sha256-DLMAL1pJwJ5xU9XzJXlrqfNGloK9VNGxnapnh34bRhI="; }; nativeBuildInputs = [ @@ -39,16 +40,18 @@ buildPythonPackage rec { rustc ]; - buildInputs = [ - bzip2 - nettle - openssl - pcsclite - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.CoreFoundation - darwin.apple_sdk.frameworks.Security - libiconv - ]; + buildInputs = + [ + bzip2 + nettle + openssl + pcsclite + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.apple_sdk.frameworks.CoreFoundation + darwin.apple_sdk.frameworks.Security + libiconv + ]; pythonImportsCheck = [ "pysequoia" ]; @@ -59,6 +62,6 @@ buildPythonPackage rec { license = licenses.asl20; maintainers = with maintainers; [ doronbehar ]; # Broken since the 0.1.20 update according to ofborg. The errors are not clear... - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; }; } |