summary refs log tree commit diff
path: root/pkgs/tools/admin
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-10-07 10:02:11 +0200
committerGitHub <noreply@github.com>2018-10-07 10:02:11 +0200
commite84a46a169be77abf0578e36a4e6fb00f330f4bc (patch)
tree837bf81abe3e269bc093a5ebd8c600754a14a227 /pkgs/tools/admin
parent07650009686e7e8cdcac2c0cf2cf098712ff43c7 (diff)
parent011f1c739647c0b6947d028c217e4a98466c26d2 (diff)
downloadnixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.tar
nixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.tar.gz
nixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.tar.bz2
nixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.tar.lz
nixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.tar.xz
nixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.tar.zst
nixlib-e84a46a169be77abf0578e36a4e6fb00f330f4bc.zip
Merge pull request #47969 from kevincox/sewer
sewer: init at 0.6.0
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r--pkgs/tools/admin/sewer/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/admin/sewer/default.nix b/pkgs/tools/admin/sewer/default.nix
new file mode 100644
index 000000000000..5410d0c833df
--- /dev/null
+++ b/pkgs/tools/admin/sewer/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "sewer";
+  version = "0.6.0";
+
+  src = python3Packages.fetchPypi {
+    inherit pname version;
+    sha256 = "180slmc2zk4mvjqp25ks0j8kd63ai4y77ds5icm7qd7av865rryp";
+  };
+
+  propagatedBuildInputs = with python3Packages; [ pyopenssl requests tldextract ];
+
+  postPatch = ''
+    # The README has non-ascii characters which makes setup.py crash.
+    sed -i 's/[\d128-\d255]//g' README.md
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/komuw/sewer;
+    description = "ACME client";
+    license = licenses.mit;
+    maintainers = with maintainers; [ kevincox ];
+    platforms = platforms.linux;
+  };
+}