pythonPackages.musicbrainzngs: refactor move to python-modules
This commit is contained in:
parent
e4caef3c23
commit
0bca111a36
27
pkgs/development/python-modules/musicbrainzngs/default.nix
Normal file
27
pkgs/development/python-modules/musicbrainzngs/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user