1{ lib
2, buildPythonPackage
3, isPy27
4, fetchPypi
5, distro
6, httplib2
7, oauthlib
8, setuptools
9, six
10, wadllib
11}:
12
13buildPythonPackage rec {
14 pname = "lazr.restfulclient";
15 version = "0.14.3";
16
17 disabled = isPy27; # namespace is broken for python2
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "9f28bbb7c00374159376bd4ce36b4dacde7c6b86a0af625aa5e3ae214651a690";
22 };
23
24 propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
25
26 doCheck = false; # requires to package lazr.restful, lazr.authentication, and wsgi_intercept
27
28 pythonImportsCheck = [ "lazr.restfulclient" ];
29
30 meta = with lib; {
31 description = "A programmable client library that takes advantage of the commonalities among";
32 homepage = "https://launchpad.net/lazr.restfulclient";
33 license = licenses.lgpl3;
34 maintainers = [ maintainers.marsam ];
35 };
36}