depot/third_party/nixpkgs/pkgs/development/python-modules/lazr-restfulclient/default.nix
Default email 86f042a55b Project import generated by Copybara.
GitOrigin-RevId: c7d0dbe094c988209edac801eb2a0cc21aa498d8
2021-02-22 21:28:39 +00:00

42 lines
973 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.3";
disabled = isPy27; # namespace is broken for python2
src = fetchPypi {
inherit pname version;
sha256 = "9f28bbb7c00374159376bd4ce36b4dacde7c6b86a0af625aa5e3ae214651a690";
};
propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
# E ModuleNotFoundError: No module named 'lazr.uri'
doCheck = false;
checkInputs = [ 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 ];
};
}