nixpkgs/pkgs/development/python-modules/maildir-deduplicate/default.nix
2018-12-03 16:50:32 +01:00

27 lines
559 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, click
}:
buildPythonPackage rec {
pname = "maildir-deduplicate";
version = "2.1.0";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "263c7f2c85dafe06eaa15e8d7ab83817204f70a5f08cc25a607f3f01ed130b42";
};
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;
};
}