2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
isPy27,
|
|
|
|
fetchPypi,
|
|
|
|
distro,
|
|
|
|
httplib2,
|
|
|
|
oauthlib,
|
|
|
|
setuptools,
|
|
|
|
six,
|
|
|
|
wadllib,
|
|
|
|
fixtures,
|
|
|
|
lazr-uri,
|
|
|
|
pytestCheckHook,
|
|
|
|
wsgi-intercept,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lazr.restfulclient";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.14.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = isPy27; # namespace is broken for python2
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-Q/EqHTlIRjsUYgOMR7Qp3LXkLgun8uFlEbArpdKt/9s=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
distro
|
|
|
|
httplib2
|
|
|
|
oauthlib
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
wadllib
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-22 21:28:39 +00:00
|
|
|
# E ModuleNotFoundError: No module named 'lazr.uri'
|
|
|
|
doCheck = false;
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
fixtures
|
|
|
|
lazr-uri
|
|
|
|
pytestCheckHook
|
|
|
|
wsgi-intercept
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "lazr.restfulclient" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Programmable client library that takes advantage of the commonalities among";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://launchpad.net/lazr.restfulclient";
|
|
|
|
license = licenses.lgpl3;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|