2018-10-16 23:37:56 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "musicbrainzngs";
|
2018-10-24 08:30:52 +01:00
|
|
|
version = "0.6";
|
2018-10-16 23:37:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 08:30:52 +01:00
|
|
|
sha256 = "1dddarpjawryll2wss65xq3v9q8ln8dan7984l5dxzqx88d2dvr8";
|
2018-10-16 23:37:56 +01: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 23:37:56 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://python-musicbrainzngs.readthedocs.org/";
|
2018-10-16 23:37:56 +01:00
|
|
|
description = "Python bindings for musicbrainz NGS webservice";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|