Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / lazr-restfulclient / default.nix
blobcb78dfff1a290b7f4aa5cae78799bfd9e5f3bec7
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
17 buildPythonPackage rec {
18   pname = "lazr.restfulclient";
19   version = "0.14.3";
21   disabled = isPy27; # namespace is broken for python2
23   src = fetchPypi {
24     inherit pname version;
25     sha256 = "9f28bbb7c00374159376bd4ce36b4dacde7c6b86a0af625aa5e3ae214651a690";
26   };
28   propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
30   # E   ModuleNotFoundError: No module named 'lazr.uri'
31   doCheck = false;
32   checkInputs = [ fixtures lazr-uri pytestCheckHook wsgi-intercept ];
34   pythonImportsCheck = [ "lazr.restfulclient" ];
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   };