2018-10-16 22:37:56 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "musicbrainzngs";
|
2018-10-24 07:30:52 +00:00
|
|
|
version = "0.6";
|
2018-10-16 22:37:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 07:30:52 +00:00
|
|
|
sha256 = "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8";
|
2018-10-16 22:37:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.glibcLocales ];
|
|
|
|
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
2018-11-17 13:24:14 +00:00
|
|
|
preCheck = ''
|
|
|
|
# Remove tests that rely on networking (breaks sandboxed builds)
|
|
|
|
rm test/test_submit.py
|
|
|
|
'';
|
|
|
|
|
2018-10-16 22:37:56 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://alastair/python-musicbrainz-ngs;
|
|
|
|
description = "Python bindings for musicbrainz NGS webservice";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|