From dd4a3095d7296a2528d1e01bf5e9af2faba91bc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 24 Apr 2020 01:56:47 +0200 Subject: [PATCH] Remove unused certbot --- pkgs/certbot/default.nix | 65 ---------------------------------------- pkgs/default.nix | 2 -- 2 files changed, 67 deletions(-) delete mode 100644 pkgs/certbot/default.nix diff --git a/pkgs/certbot/default.nix b/pkgs/certbot/default.nix deleted file mode 100644 index 8fdbfd12..00000000 --- a/pkgs/certbot/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ stdenv, python37Packages, fetchFromGitHub, fetchurl, dialog, autoPatchelfHook }: - - -python37Packages.buildPythonApplication rec { - pname = "certbot"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "v${version}"; - sha256 = "180x7gcpfbrzw8k654s7b5nxdy2yg61lq513dykyn3wz4gssw465"; - }; - - patches = [ - ./0001-Don-t-use-distutils.StrictVersion-that-cannot-handle.patch - ]; - - propagatedBuildInputs = with python37Packages; [ - ConfigArgParse - acme - configobj - cryptography - distro - josepy - parsedatetime - psutil - pyRFC3339 - pyopenssl - pytz - six - zope_component - zope_interface - ]; - - buildInputs = [ dialog ] ++ (with python37Packages; [ mock gnureadline ]); - - checkInputs = with python37Packages; [ - pytest_xdist - pytest - dateutil - ]; - - postPatch = '' - cd certbot - substituteInPlace certbot/_internal/notify.py --replace "/usr/sbin/sendmail" "/run/wrappers/bin/sendmail" - ''; - - postInstall = '' - for i in $out/bin/*; do - wrapProgram "$i" --prefix PYTHONPATH : "$PYTHONPATH" \ - --prefix PATH : "${dialog}/bin:$PATH" - done - ''; - - doCheck = true; - - meta = with stdenv.lib; { - homepage = src.meta.homepage; - description = "ACME client that can obtain certs and extensibly update server configurations"; - platforms = platforms.unix; - maintainers = [ maintainers.domenkozar ]; - license = licenses.asl20; - }; -} diff --git a/pkgs/default.nix b/pkgs/default.nix index 3aad1a2a..3b0e9377 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -51,8 +51,6 @@ rec { naemon = callPackage ./naemon { inherit mylibs monitoring-plugins; }; naemon-livestatus = callPackage ./naemon-livestatus { inherit mylibs naemon; }; - certbot = callPackage ./certbot {}; - python3PackagesPlus = callPackage ./python-packages { python = python3; inherit mylibs; -- 2.41.0