Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions pkgs/development/python-modules/service-identity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,58 @@
, buildPythonPackage
, cryptography
, fetchFromGitHub
, hatch-fancy-pypi-readme
, hatch-vcs
, hatchling
, idna
, pyasn1
, pyasn1-modules
, six
, pytestCheckHook
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
pname = "service-identity";
version = "21.1.0";
version = "23.1.0";
format = "pyproject";

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "pyca";
repo = pname;
rev = version;
hash = "sha256-pWc2rU3ULqEukMhd1ySY58lTm3s8f/ayQ7CY4nG24AQ=";
rev = "refs/tags/${version}";
hash = "sha256-PGDtsDgRwh7GuuM4OuExiy8L4i3Foo+OD0wMrndPkvo=";
};

nativeBuildInputs = [
hatch-fancy-pypi-readme
hatch-vcs
hatchling
setuptools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
setuptools

not required

];

propagatedBuildInputs = [
attrs
cryptography
idna
pyasn1
pyasn1-modules
six
];

nativeCheckInputs = [
pytestCheckHook
];

pythonImportsCheck = [ "service_identity" ];
pythonImportsCheck = [
"service_identity"
];

meta = with lib; {
description = "Service identity verification for pyOpenSSL";
homepage = "https://service-identity.readthedocs.io";
changelog = "https://github.com/pyca/service-identity/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
Expand Down