pythonPackages.maildir-deduplicate: refactor move to python-modules
This commit is contained in:
parent
74a6022c91
commit
1024394c66
@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4469,26 +4469,7 @@ in {
|
|||||||
|
|
||||||
mailcap-fix = callPackage ../development/python-modules/mailcap-fix { };
|
mailcap-fix = callPackage ../development/python-modules/mailcap-fix { };
|
||||||
|
|
||||||
maildir-deduplicate = buildPythonPackage rec {
|
maildir-deduplicate = callPackage ../development/python-modules/maildir-deduplicate { };
|
||||||
name = "maildir-deduplicate-${version}";
|
|
||||||
version = "1.0.2";
|
|
||||||
|
|
||||||
disabled = !isPy27;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/m/maildir-deduplicate/${name}.tar.gz";
|
|
||||||
sha256 = "1xy5z756alrjgpl9qx2gdx898rw1mryrqkwmipbh39mgrvkl3fz9";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ 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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
mps-youtube = buildPythonPackage rec {
|
mps-youtube = buildPythonPackage rec {
|
||||||
name = "mps-youtube-${version}";
|
name = "mps-youtube-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user