Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 834 B view raw
1{ lib 2, async-upnp-client 3, buildPythonPackage 4, fetchFromGitHub 5, lxml 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "openhomedevice"; 11 version = "1.0.0"; 12 disabled = pythonOlder "3.5"; 13 14 src = fetchFromGitHub { 15 owner = "bazwilliams"; 16 repo = pname; 17 rev = version; 18 sha256 = "04qdlyzc8xsk7qxyn9l59pbwnlw49zknw0r5lqwx402va12g4ra0"; 19 }; 20 21 propagatedBuildInputs = [ 22 async-upnp-client 23 lxml 24 ]; 25 26 # Tests are currently outdated 27 # https://github.com/bazwilliams/openhomedevice/issues/20 28 doCheck = false; 29 pythonImportsCheck = [ "openhomedevice" ]; 30 31 meta = with lib; { 32 description = "Python module to access Linn Ds and Openhome devices"; 33 homepage = "https://github.com/bazwilliams/openhomedevice"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}