ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
32 lines
674 B
Nix
32 lines
674 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pkgs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "musicbrainzngs";
|
|
version = "0.7.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "09z6k07pxncfgfc8clfmmxl2xqbd7h8x8bjzwr95hc0bzl00275b";
|
|
};
|
|
|
|
buildInputs = [ pkgs.glibcLocales ];
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
preCheck = ''
|
|
# Remove tests that rely on networking (breaks sandboxed builds)
|
|
rm test/test_submit.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://python-musicbrainzngs.readthedocs.org/";
|
|
description = "Python bindings for musicbrainz NGS webservice";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
|
|
}
|