pythonPackages.musicbrainzngs: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:37:56 -04:00 committed by Frederik Rietdijk
parent e4caef3c23
commit 0bca111a36
2 changed files with 28 additions and 19 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "musicbrainzngs";
version = "0.5";
src = fetchPypi {
inherit pname version;
sha256 = "281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489";
};
buildInputs = [ pkgs.glibcLocales ];
LC_ALL="en_US.UTF-8";
meta = with stdenv.lib; {
homepage = http://alastair/python-musicbrainz-ngs;
description = "Python bindings for musicbrainz NGS webservice";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -2851,25 +2851,7 @@ in {
munkres = callPackage ../development/python-modules/munkres { };
musicbrainzngs = buildPythonPackage rec {
name = "musicbrainzngs-0.5";
src = pkgs.fetchurl {
url = "mirror://pypi/m/musicbrainzngs/${name}.tar.gz";
sha256 = "281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489";
};
buildInputs = [ pkgs.glibcLocales ];
LC_ALL="en_US.UTF-8";
meta = {
homepage = http://alastair/python-musicbrainz-ngs;
description = "Python bindings for musicbrainz NGS webservice";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];
};
};
musicbrainzngs = callPackage ../development/python-modules/musicbrainzngs { };
mutag = buildPythonPackage rec {
disabled = ! isPy3k;