diff --git a/pkgs/development/python-modules/pysequoia/default.nix b/pkgs/development/python-modules/pysequoia/default.nix index 852f1d64433c..19d911ccd807 100644 --- a/pkgs/development/python-modules/pysequoia/default.nix +++ b/pkgs/development/python-modules/pysequoia/default.nix @@ -2,60 +2,39 @@ lib, buildPythonPackage, fetchPypi, - pkg-config, rustPlatform, cargo, - rustc, - bzip2, - nettle, - openssl, - pcsclite, - stdenv, - libiconv, }: buildPythonPackage rec { pname = "pysequoia"; - version = "0.1.26"; + version = "0.1.28"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-Ip4yv54e1c+zshEtLVgK5D2VcB41AzSEJHuD5t8akXI="; + hash = "sha256-ixTszL2IN50SDYTDZqzlMI1nY6yNkEUnK5VxCoAG0jk="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; name = "${pname}-${version}"; - hash = "sha256-vm9PpJHRznxNVtL28PBGnQcMUHwFn5uxW7Y9UufAUPg="; + hash = "sha256-cq55j3wNcV8CRbnqZPV8zrRzvUud5RXJDX1oh7WZoiU="; }; nativeBuildInputs = [ - pkg-config rustPlatform.bindgenHook rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook cargo - rustc ]; - buildInputs = - [ - bzip2 - nettle - openssl - pcsclite - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - libiconv - ]; - pythonImportsCheck = [ "pysequoia" ]; meta = with lib; { description = "This library provides OpenPGP facilities in Python through the Sequoia PGP library"; - downloadPage = "https://codeberg.org/wiktor/pysequoia"; - homepage = "https://sequoia-pgp.gitlab.io/pysequoia"; + downloadPage = "https://github.com/wiktor-k/pysequoia"; + homepage = "https://github.com/wiktor-k/pysequoia"; license = licenses.asl20; maintainers = with maintainers; [ doronbehar ]; };