3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.muttils: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 00:01:53 -04:00 committed by Frederik Rietdijk
parent bd64776230
commit c81b423fbe
2 changed files with 27 additions and 19 deletions

View file

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
}:
buildPythonPackage rec {
pname = "muttils";
version = "1.3";
disabled = isPy3k;
src = fetchurl {
url = https://www.blacktrash.org/hg/muttils/archive/8bb26094df06.tar.bz2;
sha256 = "1a4kxa0fpgg6rdj5p4kggfn8xpniqh8v5kbiaqc6wids02m7kag6";
};
# Tests don't work
doCheck = false;
meta = with stdenv.lib; {
description = "Utilities for use with console mail clients, like mutt";
homepage = https://www.blacktrash.org/hg/muttils;
license = licenses.gpl2Plus;
};
}

View file

@ -2857,25 +2857,7 @@ in {
mutagen = callPackage ../development/python-modules/mutagen { };
muttils = buildPythonPackage (rec {
name = "muttils-1.3";
disabled = isPy3k;
src = pkgs.fetchurl {
url = https://www.blacktrash.org/hg/muttils/archive/8bb26094df06.tar.bz2;
sha256 = "1a4kxa0fpgg6rdj5p4kggfn8xpniqh8v5kbiaqc6wids02m7kag6";
};
# Tests don't work
doCheck = false;
meta = {
description = "Utilities for use with console mail clients, like mutt";
homepage = https://www.blacktrash.org/hg/muttils;
license = licenses.gpl2Plus;
};
});
muttils = callPackage ../development/python-modules/muttils { };
mygpoclient = callPackage ../development/python-modules/mygpoclient { };