mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python311Packages.pyasn1-modules: 0.3.0 -> 0.4.0
https://github.com/pyasn1/pyasn1-modules/releases/tag/v0.4.0
https://github.com/pyasn1/pyasn1-modules/compare/v0.3.0...v0.4.0
fixes #312717
backports #313613
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
(cherry picked from commit 615b0f47c8
)
This commit is contained in:
parent
6b15d446ea
commit
fbd2db65ba
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pyasn1,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@ -9,29 +10,31 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyasn1-modules";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyasn1";
|
||||
repo = pname;
|
||||
repo = "pyasn1-modules";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AAS1VuppCIxgswpLSHFAc6q9cyJBLpdDuU9D1KU13vg=";
|
||||
hash = "sha256-UJycVfj08+3zjHPji5Qlh3yqeS30dEwu1pyrN1yo1Vc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyasn1 ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pyasn1 ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pyasn1_modules" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "A collection of ASN.1-based protocols modules";
|
||||
homepage = "https://github.com/pyasn1/pyasn1-modules";
|
||||
homepage = "https://pyasn1.readthedocs.io";
|
||||
changelog = "https://github.com/pyasn1/pyasn1-modules/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user