Robert Schütz 2025-02-22 18:56:24 -08:00
parent 25fb2896ea
commit 11838c38db

View File

@ -4,26 +4,24 @@
cryptography,
fetchFromGitHub,
poetry-core,
pyopenssl,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "josepy";
version = "1.15.0";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "certbot";
repo = "josepy";
tag = "v${version}";
hash = "sha256-fK4JHDP9eKZf2WO+CqRdEjGwJg/WNLvoxiVrb5xQxRc=";
hash = "sha256-9hY3A+XSoVrRLds4tNV+5HWkmMwcS9UtehrKoj0OIEw=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
pyopenssl
dependencies = [
cryptography
];
@ -31,12 +29,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "josepy" ];
meta = with lib; {
changelog = "https://github.com/certbot/josepy/blob/v${version}/CHANGELOG.rst";
meta = {
changelog = "https://github.com/certbot/josepy/blob/${src.tag}/CHANGELOG.rst";
description = "JOSE protocol implementation in Python";
mainProgram = "jws";
homepage = "https://github.com/certbot/josepy";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}