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