nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 64 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 ddt, 6 fetchFromGitHub, 7 mock-services, 8 pytestCheckHook, 9 python-dateutil, 10 requests, 11 urllib3, 12 requests-toolbelt, 13 requests-unixsocket, 14 setuptools, 15 ws4py, 16}: 17 18buildPythonPackage rec { 19 pname = "pylxd"; 20 version = "2.3.7"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "canonical"; 25 repo = "pylxd"; 26 tag = version; 27 hash = "sha256-UbDkau3TLwFxWZxJGNF5hgtGn6JgVq5L2CvUgnb4IC8="; 28 }; 29 30 pythonRelaxDeps = [ "urllib3" ]; 31 32 build-system = [ setuptools ]; 33 34 dependencies = [ 35 cryptography 36 python-dateutil 37 requests 38 requests-toolbelt 39 requests-unixsocket 40 urllib3 41 ws4py 42 ]; 43 44 nativeCheckInputs = [ 45 ddt 46 mock-services 47 pytestCheckHook 48 ]; 49 50 disabledTestPaths = [ 51 "integration" 52 "migration" 53 ]; 54 55 pythonImportsCheck = [ "pylxd" ]; 56 57 meta = { 58 description = "Library for interacting with the LXD REST API"; 59 homepage = "https://pylxd.readthedocs.io/"; 60 changelog = "https://github.com/canonical/pylxd/releases/tag/${src.tag}"; 61 license = lib.licenses.asl20; 62 maintainers = [ ]; 63 }; 64}