ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pylxd / default.nix
blob3373daf8a796786f1a4cb3be819c1426775d789b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , cryptography
5 , python-dateutil
6 , requests
7 , requests-toolbelt
8 , requests-unixsocket
9 , ws4py
10 , ddt
11 , mock-services
12 , pytestCheckHook
15 buildPythonPackage rec {
16   pname = "pylxd";
17   version = "2.3.1";
19   src = fetchFromGitHub {
20     owner = "lxc";
21     repo = "pylxd";
22     rev = version;
23     sha256 = "sha256-eDRCJYjmBndMnSNuS6HD/2p/KhzqJq2qPAzMk7kC5UM=";
24   };
26   propagatedBuildInputs = [
27     cryptography
28     python-dateutil
29     requests
30     requests-toolbelt
31     requests-unixsocket
32     ws4py
33   ];
35   checkInputs = [
36     ddt
37     mock-services
38     pytestCheckHook
39   ];
41   disabledTestPaths = [
42     "integration"
43     "migration"
44   ];
46   pythonImportsCheck = [ "pylxd" ];
48   meta = with lib; {
49     description = "A Python library for interacting with the LXD REST API";
50     homepage = "https://pylxd.readthedocs.io/en/latest/";
51     license = licenses.asl20;
52     maintainers = with maintainers; [ ];
53   };