2018-10-16 23:37:56 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "musicbrainzngs";
|
2020-01-27 18:18:02 +00:00
|
|
|
version = "0.7.1";
|
2018-10-16 23:37:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-27 18:18:02 +00:00
|
|
|
sha256 = "09z6k07pxncfgfc8clfmmxl2xqbd7h8x8bjzwr95hc0bzl00275b";
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|