Merge pull request #262091 from puzzlewolf/puzzlewolf/pysequoia
python311Packages.pysequoia: 0.1.14 -> 0.1.20
This commit is contained in:
commit
cadf394f12
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, fetchPypi
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, cargo
|
||||
@ -11,24 +11,23 @@
|
||||
, pcsclite
|
||||
, stdenv
|
||||
, darwin
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysequoia";
|
||||
version = "0.1.14";
|
||||
version = "0.1.20";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "sequoia-pgp";
|
||||
repo = "pysequoia";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-63kUUxZTG33cB/IiD4AiDpLOI6Uew/fETgqhaGc7zp0=";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-KavsLp17e4ckX11B0pefiQ1Hma/O9x0VY/uVPiJm4Fs=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-S/j3bGgU46nvVQFs35ih05teVEIJrFN4Ryq4B7rLFDE=";
|
||||
hash = "sha256-7Lw6gR6o2HJ/zyG4b0wz4nmU2AIIAhyK9zaQ6w+/RgE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -48,14 +47,18 @@ buildPythonPackage rec {
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
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";
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user