Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchPypi 5, distro 6, httplib2 7, oauthlib 8, setuptools 9, six 10, wadllib 11, fixtures 12, lazr-uri 13, pytestCheckHook 14, wsgi-intercept 15}: 16 17buildPythonPackage rec { 18 pname = "lazr.restfulclient"; 19 version = "0.14.5"; 20 21 disabled = isPy27; # namespace is broken for python2 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-B1FxfH502xmH6adzNXB9TX2XzwSxrQiYuCLxIzPWiHw="; 26 }; 27 28 propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ]; 29 30 # E ModuleNotFoundError: No module named 'lazr.uri' 31 doCheck = false; 32 nativeCheckInputs = [ fixtures lazr-uri pytestCheckHook wsgi-intercept ]; 33 34 pythonImportsCheck = [ "lazr.restfulclient" ]; 35 36 meta = with lib; { 37 description = "A programmable client library that takes advantage of the commonalities among"; 38 homepage = "https://launchpad.net/lazr.restfulclient"; 39 license = licenses.lgpl3; 40 maintainers = [ maintainers.marsam ]; 41 }; 42}