pythonPackages.lazr-restfulclient: init at 0.14.3

This commit is contained in:
Mario Rodas 2020-02-22 04:22:00 -05:00 committed by Jon
parent 14780770a7
commit e0efde5421
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -823,6 +823,8 @@ in {
lazr_delegates = callPackage ../development/python-modules/lazr/delegates.nix { };
lazr-restfulclient = callPackage ../development/python-modules/lazr-restfulclient { };
lazr-uri = callPackage ../development/python-modules/lazr-uri { };
libmr = callPackage ../development/python-modules/libmr { };