mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
python311Packages.signxml: init at 3.2.2
Python XML Signature and XAdES library https://github.com/XML-Security/signxml
This commit is contained in:
parent
e9c95dbb49
commit
cb408e09cb
57
pkgs/development/python-modules/signxml/default.nix
Normal file
57
pkgs/development/python-modules/signxml/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, certifi
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "signxml";
|
||||
version = "3.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "XML-Security";
|
||||
repo = "signxml";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TlOIHYvx1o46nr/3qq45pgeOqmuyWaaTGvOS0Jwz1zs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
cryptography
|
||||
lxml
|
||||
pyopenssl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"signxml"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"test/test.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python XML Signature and XAdES library";
|
||||
homepage = "https://github.com/XML-Security/signxml";
|
||||
changelog = "https://github.com/XML-Security/signxml/blob/${src.rev}/Changes.rst";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -13528,6 +13528,8 @@ self: super: with self; {
|
||||
|
||||
signedjson = callPackage ../development/python-modules/signedjson { };
|
||||
|
||||
signxml = callPackage ../development/python-modules/signxml { };
|
||||
|
||||
sigrok = callPackage ../development/python-modules/sigrok { };
|
||||
|
||||
sigstore = callPackage ../development/python-modules/sigstore { };
|
||||
|
Loading…
Reference in New Issue
Block a user