pythonPackages.mutag: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:40:34 -04:00 committed by Frederik Rietdijk
parent 0bca111a36
commit bd64776230
2 changed files with 28 additions and 17 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchgit
, isPy3k
, pyparsing
}:
buildPythonPackage rec {
name = "mutag-0.0.2-2ffa0258ca";
disabled = ! isPy3k;
src = fetchgit {
url = "https://github.com/aroig/mutag.git";
sha256 = "0axdnwdypfd74a9dnw0g25m16xx1yygyl828xy0kpj8gyqdc6gb1";
rev = "2ffa0258cadaf79313241f43bf2c1caaf197d9c2";
};
propagatedBuildInputs = [ pyparsing ];
meta = with stdenv.lib; {
homepage = https://github.com/aroig/mutag;
description = "A script to change email tags in a mu indexed maildir";
license = licenses.gpl3;
maintainers = with maintainers; [ ];
};
}

View File

@ -2853,23 +2853,7 @@ in {
musicbrainzngs = callPackage ../development/python-modules/musicbrainzngs { };
mutag = buildPythonPackage rec {
disabled = ! isPy3k;
name = "mutag-0.0.2-2ffa0258ca";
src = pkgs.fetchgit {
url = "https://github.com/aroig/mutag.git";
sha256 = "0axdnwdypfd74a9dnw0g25m16xx1yygyl828xy0kpj8gyqdc6gb1";
rev = "2ffa0258cadaf79313241f43bf2c1caaf197d9c2";
};
propagatedBuildInputs = with self; [ pyparsing ];
meta = {
homepage = https://github.com/aroig/mutag;
license = licenses.gpl3;
maintainers = with maintainers; [ ];
};
};
mutag = callPackage ../development/python-modules/mutag { };
mutagen = callPackage ../development/python-modules/mutagen { };