Skip to content

Commit

Permalink
Merge pull request NixOS#47969 from kevincox/sewer
Browse files Browse the repository at this point in the history
sewer: init at 0.6.0
  • Loading branch information
srhb committed Oct 7, 2018
2 parents 0765000 + 011f1c7 commit e84a46a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/tools/admin/sewer/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5212,6 +5212,8 @@ with pkgs;

seqdiag = with python3Packages; toPythonApplication seqdiag;

sewer = callPackage ../tools/admin/sewer { };

screenfetch = callPackage ../tools/misc/screenfetch { };

sg3_utils = callPackage ../tools/system/sg3_utils { };
Expand Down

0 comments on commit e84a46a

Please sign in to comment.