nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 979 B view raw
1{ 2 lib, 3 aioresponses, 4 async-upnp-client, 5 buildPythonPackage, 6 fetchFromGitHub, 7 lxml, 8 pytestCheckHook, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "openhomedevice"; 14 version = "2.3.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "bazwilliams"; 19 repo = "openhomedevice"; 20 tag = version; 21 hash = "sha256-u05aciRFCnqMJRClUMApAPDLpXOKn4wUTLgvR7BVZTA="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 async-upnp-client 28 lxml 29 ]; 30 31 nativeCheckInputs = [ 32 aioresponses 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "openhomedevice" ]; 37 38 enabledTestPaths = [ "tests/*.py" ]; 39 40 meta = { 41 description = "Python module to access Linn Ds and Openhome devices"; 42 homepage = "https://github.com/bazwilliams/openhomedevice"; 43 changelog = "https://github.com/bazwilliams/openhomedevice/releases/tag/${version}"; 44 license = with lib.licenses; [ mit ]; 45 maintainers = with lib.maintainers; [ fab ]; 46 }; 47}