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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitLab
|
, fetchPypi
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, cargo
|
, cargo
|
||||||
@ -11,24 +11,23 @@
|
|||||||
, pcsclite
|
, pcsclite
|
||||||
, stdenv
|
, stdenv
|
||||||
, darwin
|
, darwin
|
||||||
|
, libiconv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysequoia";
|
pname = "pysequoia";
|
||||||
version = "0.1.14";
|
version = "0.1.20";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchPypi {
|
||||||
owner = "sequoia-pgp";
|
inherit pname version;
|
||||||
repo = "pysequoia";
|
hash = "sha256-KavsLp17e4ckX11B0pefiQ1Hma/O9x0VY/uVPiJm4Fs=";
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-63kUUxZTG33cB/IiD4AiDpLOI6Uew/fETgqhaGc7zp0=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-S/j3bGgU46nvVQFs35ih05teVEIJrFN4Ryq4B7rLFDE=";
|
hash = "sha256-7Lw6gR6o2HJ/zyG4b0wz4nmU2AIIAhyK9zaQ6w+/RgE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -48,14 +47,18 @@ buildPythonPackage rec {
|
|||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.CoreFoundation
|
darwin.apple_sdk.frameworks.CoreFoundation
|
||||||
darwin.apple_sdk.frameworks.Security
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
libiconv
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pysequoia" ];
|
pythonImportsCheck = [ "pysequoia" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This library provides OpenPGP facilities in Python through the Sequoia PGP library";
|
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";
|
homepage = "https://sequoia-pgp.gitlab.io/pysequoia";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ doronbehar ];
|
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