Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 29 lines 744 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pep8, coverage, logilab_common, requests }: 3 4buildPythonPackage rec { 5 pname = "bugzilla"; 6 version = "2.2.0"; 7 8 src = fetchPypi { 9 pname = "python-${pname}"; 10 inherit version; 11 sha256 = "0x3jjb1g5bgjdj0jf0jmcg80hn5x2isf49frwvf2ykdl3fxd5gxc"; 12 }; 13 14 buildInputs = [ pep8 coverage logilab_common ]; 15 propagatedBuildInputs = [ requests ]; 16 17 preCheck = '' 18 mkdir -p check-phase 19 export HOME=$(pwd)/check-phase 20 ''; 21 22 meta = with stdenv.lib; { 23 homepage = https://github.com/python-bugzilla/python-bugzilla; 24 description = "Bugzilla XMLRPC access module"; 25 license = licenses.gpl2; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ pierron peti ]; 28 }; 29}