pythonPackages.maildir-deduplicate: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 14:57:17 -04:00
parent 74a6022c91
commit 1024394c66
2 changed files with 27 additions and 20 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, click
}:
buildPythonPackage rec {
pname = "maildir-deduplicate";
version = "1.0.2";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1xy5z756alrjgpl9qx2gdx898rw1mryrqkwmipbh39mgrvkl3fz9";
};
propagatedBuildInputs = [ click ];
meta = with stdenv.lib; {
description = "Command-line tool to deduplicate mails from a set of maildir folders";
homepage = "https://github.com/kdeldycke/maildir-deduplicate";
license = licenses.gpl2;
};
}