python311Packages.pem: 21.2.0 -> 23.1.0

Diff: https://github.com/hynek/pem/compare/refs/tags/21.2.0...23.1.0

Changelog: https://github.com/hynek/pem/blob/23.1.0/CHANGELOG.md

+21 -9
+21 -9
pkgs/development/python-modules/pem/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , pythonOlder 4 - , fetchFromGitHub 5 - , pytestCheckHook 6 , certifi 7 , cryptography 8 , pretend 9 , pyopenssl 10 , twisted 11 }: 12 13 buildPythonPackage rec { 14 pname = "pem"; 15 - version = "21.2.0"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "hynek"; 21 repo = pname; 22 - rev = version; 23 - hash = "sha256-mftLdgtgb5J4zwsb1F/4v4K7XTy4VSZBMy3zPV2f1uA="; 24 }; 25 26 nativeCheckInputs = [ 27 certifi 28 cryptography ··· 30 pyopenssl 31 pytestCheckHook 32 twisted 33 - twisted.optional-dependencies.tls 34 - ]; 35 36 pythonImportsCheck = [ 37 "pem" 38 ]; 39 40 meta = with lib; { 41 homepage = "https://pem.readthedocs.io/"; 42 - description = "Easy PEM file parsing in Python."; 43 license = licenses.mit; 44 maintainers = with maintainers; [ nyanotech ]; 45 };
··· 1 { lib 2 , buildPythonPackage 3 , certifi 4 , cryptography 5 + , fetchFromGitHub 6 + , hatch-fancy-pypi-readme 7 + , hatch-vcs 8 + , hatchling 9 , pretend 10 , pyopenssl 11 + , pytestCheckHook 12 + , pythonOlder 13 , twisted 14 }: 15 16 buildPythonPackage rec { 17 pname = "pem"; 18 + version = "23.1.0"; 19 + format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "hynek"; 25 repo = pname; 26 + rev = "refs/tags/${version}"; 27 + hash = "sha256-rVYlnvISGugh9qvf3mdrIyELmeOUU4g6291HeoMkoQc="; 28 }; 29 30 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 31 + 32 + nativeBuildInputs = [ 33 + hatchling 34 + hatch-fancy-pypi-readme 35 + hatch-vcs 36 + ]; 37 + 38 nativeCheckInputs = [ 39 certifi 40 cryptography ··· 42 pyopenssl 43 pytestCheckHook 44 twisted 45 + ] ++ twisted.optional-dependencies.tls; 46 47 pythonImportsCheck = [ 48 "pem" 49 ]; 50 51 meta = with lib; { 52 + description = "Easy PEM file parsing in Python"; 53 homepage = "https://pem.readthedocs.io/"; 54 + changelog = "https://github.com/hynek/pem/blob/${version}/CHANGELOG.md"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ nyanotech ]; 57 };