Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 825 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "aiolyric"; 11 version = "1.0.6"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "timmo001"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "1lnzsdw6kvgk0762f3vyw4xfzn7qkvsff16q61gm0ryjqg9j8whx"; 19 }; 20 21 propagatedBuildInputs = [ aiohttp ]; 22 23 checkInputs = [ pytestCheckHook ]; 24 25 disabledTests = [ 26 # AssertionError, https://github.com/timmo001/aiolyric/issues/5 27 "test_location" 28 ]; 29 pythonImportsCheck = [ "aiolyric" ]; 30 31 meta = with lib; { 32 description = "Python module for the Honeywell Lyric Platform"; 33 homepage = "https://github.com/timmo001/aiolyric"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}