Loading pkgs/by-name/ce/certbot/package.nix 0 → 100644 +27 −0 Original line number Diff line number Diff line { fetchFromGitHub, python3, }: let python = python3.override { self = python; packageOverrides = self: super: { 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 with python.pkgs; toPythonApplication certbot pkgs/by-name/si/simp_le/package.nix +25 −3 Original line number Diff line number Diff line { 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; Loading @@ -27,7 +49,7 @@ python3Packages.buildPythonApplication rec { ]; # both setuptools-scm and mock are runtime dependencies dependencies = with python3Packages; [ dependencies = with python.pkgs; [ acme cryptography setuptools-scm Loading pkgs/development/python-modules/certbot/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ buildPythonPackage rec { hash = "sha256-lYGJgUNDzX+bE64GJ+djdKR+DXmhpcNbFJrAEnP86yQ="; }; postPatch = "cd ${pname}"; # using sourceRoot would interfere with patches postPatch = "cd certbot"; # using sourceRoot would interfere with patches build-system = [ setuptools ]; Loading Loading @@ -84,6 +84,8 @@ buildPythonPackage rec { ''; meta = with lib; { # AttributeError: module 'josepy' has no attribute 'ComparableX509' broken = lib.versionAtLeast josepy.version "2"; homepage = "https://github.com/certbot/certbot"; changelog = "https://github.com/certbot/certbot/blob/${src.tag}/certbot/CHANGELOG.md"; description = "ACME client that can obtain certs and extensibly update server configurations"; Loading pkgs/development/python-modules/josepy/default.nix +8 −10 Original line number Diff line number Diff line Loading @@ -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 ]; Loading @@ -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 ]; }; } pkgs/servers/home-assistant/default.nix +16 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,22 @@ let ]; }); # acme and thus hass-nabucasa doesn't support josepy v2 # https://github.com/certbot/certbot/issues/10185 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 ]; }); letpot = super.letpot.overridePythonAttrs (rec { version = "0.3.0"; src = fetchFromGitHub { Loading Loading
pkgs/by-name/ce/certbot/package.nix 0 → 100644 +27 −0 Original line number Diff line number Diff line { fetchFromGitHub, python3, }: let python = python3.override { self = python; packageOverrides = self: super: { 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 with python.pkgs; toPythonApplication certbot
pkgs/by-name/si/simp_le/package.nix +25 −3 Original line number Diff line number Diff line { 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; Loading @@ -27,7 +49,7 @@ python3Packages.buildPythonApplication rec { ]; # both setuptools-scm and mock are runtime dependencies dependencies = with python3Packages; [ dependencies = with python.pkgs; [ acme cryptography setuptools-scm Loading
pkgs/development/python-modules/certbot/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ buildPythonPackage rec { hash = "sha256-lYGJgUNDzX+bE64GJ+djdKR+DXmhpcNbFJrAEnP86yQ="; }; postPatch = "cd ${pname}"; # using sourceRoot would interfere with patches postPatch = "cd certbot"; # using sourceRoot would interfere with patches build-system = [ setuptools ]; Loading Loading @@ -84,6 +84,8 @@ buildPythonPackage rec { ''; meta = with lib; { # AttributeError: module 'josepy' has no attribute 'ComparableX509' broken = lib.versionAtLeast josepy.version "2"; homepage = "https://github.com/certbot/certbot"; changelog = "https://github.com/certbot/certbot/blob/${src.tag}/certbot/CHANGELOG.md"; description = "ACME client that can obtain certs and extensibly update server configurations"; Loading
pkgs/development/python-modules/josepy/default.nix +8 −10 Original line number Diff line number Diff line Loading @@ -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 ]; Loading @@ -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 ]; }; }
pkgs/servers/home-assistant/default.nix +16 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,22 @@ let ]; }); # acme and thus hass-nabucasa doesn't support josepy v2 # https://github.com/certbot/certbot/issues/10185 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 ]; }); letpot = super.letpot.overridePythonAttrs (rec { version = "0.3.0"; src = fetchFromGitHub { Loading