]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Remove unused certbot
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 23 Apr 2020 23:56:47 +0000 (01:56 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:05:00 +0000 (00:05 +0200)
pkgs/certbot/default.nix [deleted file]
pkgs/default.nix

diff --git a/pkgs/certbot/default.nix b/pkgs/certbot/default.nix
deleted file mode 100644 (file)
index 8fdbfd1..0000000
+++ /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;
-  };
-}
index 3aad1a2a841fbb31d616aecae37834602b0674f2..3b0e9377217942315bffbf78d9d9356d7886a4a2 100644 (file)
@@ -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;