Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, aioresponses, async-upnp-client, buildPythonPackage, fetchFromGitHub, lxml, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "openhomedevice"; version = "2.3.1"; pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "bazwilliams"; repo = "openhomedevice"; tag = version; hash = "sha256-u05aciRFCnqMJRClUMApAPDLpXOKn4wUTLgvR7BVZTA="; };
build-system = [ setuptools ];
dependencies = [ async-upnp-client lxml ];
nativeCheckInputs = [ aioresponses pytestCheckHook ];
pythonImportsCheck = [ "openhomedevice" ];
enabledTestPaths = [ "tests/*.py" ];
meta = with lib; { description = "Python module to access Linn Ds and Openhome devices"; homepage = "https://github.com/bazwilliams/openhomedevice"; changelog = "https://github.com/bazwilliams/openhomedevice/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}