python312Packages.sigparse: init at 3.0.0

sigparse fix
This commit is contained in:
Sigmanificient
2024-06-01 04:47:00 +02:00
committed by Florian Brandes
parent 9ab9716c61
commit a98d2cc0f3
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
fetchpatch
}:
buildPythonPackage rec {
pname = "sigparse";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Lunarmagpie";
repo = "sigparse";
rev = "refs/tags/v${version}";
hash = "sha256-VzWDqplYgwrJXXd5IUzEIp0YRuofybqmGrNKPaGqQFM=";
};
patches = [
# pyproject.toml version file is set as 1.0.0
(fetchpatch {
url = "https://github.com/Lunarmagpie/sigparse/pull/14/commits/44780382410bc6913bdd8ff7e92948078adb736c.patch";
hash = "sha256-3EOkdBQDBodMBp4ENdvquJlRvAAywQhdWAX4dWFmhL0=";
})
];
build-system = [ poetry-core ];
pythonImportsCheck = [ "sigparse" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Backports python 3.10 typing features into 3.7, 3.8, and 3.9";
license = licenses.mit;
homepage = "https://github.com/Lunarmagpie/sigparse";
maintainers = with maintainers; [ sigmanificient ];
};
}

View File

@@ -14078,6 +14078,8 @@ self: super: with self; {
signxml = callPackage ../development/python-modules/signxml { }; signxml = callPackage ../development/python-modules/signxml { };
sigparse = callPackage ../development/python-modules/sigparse { };
sigrok = callPackage ../development/python-modules/sigrok { }; sigrok = callPackage ../development/python-modules/sigrok { };
sigstore = callPackage ../development/python-modules/sigstore { }; sigstore = callPackage ../development/python-modules/sigstore { };