at 23.05-pre 951 B view raw
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 13}: 14 15buildPythonPackage rec { 16 pname = "pylxd"; 17 version = "2.3.1"; 18 19 src = fetchFromGitHub { 20 owner = "lxc"; 21 repo = "pylxd"; 22 rev = version; 23 sha256 = "sha256-eDRCJYjmBndMnSNuS6HD/2p/KhzqJq2qPAzMk7kC5UM="; 24 }; 25 26 propagatedBuildInputs = [ 27 cryptography 28 python-dateutil 29 requests 30 requests-toolbelt 31 requests-unixsocket 32 ws4py 33 ]; 34 35 checkInputs = [ 36 ddt 37 mock-services 38 pytestCheckHook 39 ]; 40 41 disabledTestPaths = [ 42 "integration" 43 "migration" 44 ]; 45 46 pythonImportsCheck = [ "pylxd" ]; 47 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 }; 54}