python3Packages.pylxd: init at 2.3.0

This commit is contained in:
Milan Pässler 2021-02-03 11:15:58 +01:00
parent cdf227415c
commit 790a3f4407
No known key found for this signature in database
GPG Key ID: A6DC6A7CB0B97859
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchPypi, pbr, dateutil, ws4py, requests-unixsocket, requests-toolbelt, mock }:
buildPythonPackage rec {
pname = "pylxd";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "1db88l55q974fm9z5gllx3i8bkj0jzi25xrr5cs6id3bfy4zp8a7";
};
propagatedBuildInputs = [
pbr
dateutil
ws4py
requests-unixsocket
requests-toolbelt
];
# tests require an old version of requests-mock that we do not have a package for
doCheck = false;
pythonImportsCheck = [ "pylxd" ];
meta = with lib; {
description = "A Python library for interacting with the LXD REST API";
homepage = "https://pylxd.readthedocs.io/en/latest/";
license = licenses.asl20;
maintainers = with maintainers; [ petabyteboy ];
};
}

View File

@ -5594,6 +5594,8 @@ in {
pylutron = callPackage ../development/python-modules/pylutron { }; pylutron = callPackage ../development/python-modules/pylutron { };
pylxd = callPackage ../development/python-modules/pylxd { };
pymacaroons = callPackage ../development/python-modules/pymacaroons { }; pymacaroons = callPackage ../development/python-modules/pymacaroons { };
pymaging = callPackage ../development/python-modules/pymaging { }; pymaging = callPackage ../development/python-modules/pymaging { };