nixpkgs/pkgs/tools/admin/sewer/default.nix
Kevin Cox 011f1c7396
sewer: init at 0.6.0
sewer is an ACME client which supports DNS challenges with support for
various DNS servers.
2018-10-06 11:33:47 +01:00

27 lines
700 B
Nix

{ 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;
};
}