2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 23:37:56 +01:00
|
|
|
, 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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|