mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
Merge pull request #250393 from fabaff/pem-bump
python311Packages.pem: 21.2.0 -> 23.1.0
This commit is contained in:
commit
fb4a22206c
@ -1,28 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, certifi
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, hatch-fancy-pypi-readme
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, pretend
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, twisted
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pem";
|
||||
version = "21.2.0";
|
||||
version = "23.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hynek";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-mftLdgtgb5J4zwsb1F/4v4K7XTy4VSZBMy3zPV2f1uA=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-rVYlnvISGugh9qvf3mdrIyELmeOUU4g6291HeoMkoQc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
hatch-fancy-pypi-readme
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
certifi
|
||||
cryptography
|
||||
@ -30,16 +42,16 @@ buildPythonPackage rec {
|
||||
pyopenssl
|
||||
pytestCheckHook
|
||||
twisted
|
||||
twisted.optional-dependencies.tls
|
||||
];
|
||||
] ++ twisted.optional-dependencies.tls;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pem"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy PEM file parsing in Python";
|
||||
homepage = "https://pem.readthedocs.io/";
|
||||
description = "Easy PEM file parsing in Python.";
|
||||
changelog = "https://github.com/hynek/pem/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nyanotech ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user