summary refs log tree commit diff
path: root/pkgs/development/python-modules/lazr-restfulclient/default.nix
blob: 93956c51b2569d343beb720cf2b4bd66bbfab576 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, distro
, httplib2
, oauthlib
, setuptools
, six
, wadllib
}:

buildPythonPackage rec {
  pname = "lazr.restfulclient";
  version = "0.14.3";

  disabled = isPy27; # namespace is broken for python2

  src = fetchPypi {
    inherit pname version;
    sha256 = "9f28bbb7c00374159376bd4ce36b4dacde7c6b86a0af625aa5e3ae214651a690";
  };

  propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];

  doCheck = false; # requires to package lazr.restful, lazr.authentication, and wsgi_intercept

  pythonImportsCheck = [ "lazr.restfulclient" ];

  meta = with lib; {
    description = "A programmable client library that takes advantage of the commonalities among";
    homepage = "https://launchpad.net/lazr.restfulclient";
    license = licenses.lgpl3;
    maintainers = [ maintainers.marsam ];
  };
}