depot/third_party/nixpkgs/pkgs/development/python-modules/lazr-restfulclient/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

55 lines
1,003 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.6";
disabled = isPy27; # namespace is broken for python2
src = fetchPypi {
inherit pname version;
hash = "sha256-Q/EqHTlIRjsUYgOMR7Qp3LXkLgun8uFlEbArpdKt/9s=";
};
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 = "Programmable client library that takes advantage of the commonalities among";
homepage = "https://launchpad.net/lazr.restfulclient";
license = licenses.lgpl3;
maintainers = [ ];
};
}