From: Ismaƫl Bouya Date: Thu, 23 Apr 2020 23:56:47 +0000 (+0200) Subject: Remove unused certbot X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=dd4a3095d7296a2528d1e01bf5e9af2faba91bc0;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Remove unused certbot --- 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;