simp_le: pin josepy to version 1.15.0

This commit is contained in:
Robert Schütz
2025-02-22 19:51:47 -08:00
parent 0b96365893
commit e90dcee515
+25 -3
View File
@@ -1,11 +1,33 @@
{
lib,
python3Packages,
python3,
fetchFromGitHub,
fetchPypi,
bash,
}:
python3Packages.buildPythonApplication rec {
let
python = python3.override {
self = python;
packageOverrides = self: super: {
# acme doesn't support josepy v2
josepy = super.josepy.overridePythonAttrs (old: rec {
version = "1.15.0";
src = fetchFromGitHub {
owner = "certbot";
repo = "josepy";
tag = "v${version}";
hash = "sha256-fK4JHDP9eKZf2WO+CqRdEjGwJg/WNLvoxiVrb5xQxRc=";
};
dependencies = with self; [
pyopenssl
cryptography
];
});
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "simp_le-client";
version = "0.20.0";
pyproject = true;
@@ -23,7 +45,7 @@ python3Packages.buildPythonApplication rec {
'';
# both setuptools-scm and mock are runtime dependencies
dependencies = with python3Packages; [
dependencies = with python.pkgs; [
acme
cryptography
setuptools-scm