a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
42 lines
966 B
Nix
42 lines
966 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, isPy27
|
|
, fetchPypi
|
|
, distro
|
|
, httplib2
|
|
, oauthlib
|
|
, setuptools
|
|
, six
|
|
, wadllib
|
|
, fixtures
|
|
, lazr-uri
|
|
, pytestCheckHook
|
|
, wsgi-intercept
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lazr.restfulclient";
|
|
version = "0.14.5";
|
|
|
|
disabled = isPy27; # namespace is broken for python2
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-B1FxfH502xmH6adzNXB9TX2XzwSxrQiYuCLxIzPWiHw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
|
|
|
|
# E ModuleNotFoundError: No module named 'lazr.uri'
|
|
doCheck = false;
|
|
nativeCheckInputs = [ fixtures lazr-uri pytestCheckHook 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 ];
|
|
};
|
|
}
|