Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pkgs 5}: 6 7buildPythonPackage rec { 8 pname = "musicbrainzngs"; 9 version = "0.7.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "09z6k07pxncfgfc8clfmmxl2xqbd7h8x8bjzwr95hc0bzl00275b"; 14 }; 15 16 buildInputs = [ pkgs.glibcLocales ]; 17 18 LC_ALL="en_US.UTF-8"; 19 20 preCheck = '' 21 # Remove tests that rely on networking (breaks sandboxed builds) 22 rm test/test_submit.py 23 ''; 24 25 meta = with lib; { 26 homepage = "https://python-musicbrainzngs.readthedocs.org/"; 27 description = "Python bindings for musicbrainz NGS webservice"; 28 license = licenses.bsd2; 29 maintainers = with maintainers; [ domenkozar ]; 30 }; 31 32}