Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 38 lines 755 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, pythonOlder 6, sqlitedict 7, websockets 8}: 9 10buildPythonPackage rec { 11 pname = "aiopylgtv"; 12 version = "0.4.1"; 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "bendavid"; 17 repo = pname; 18 rev = version; 19 hash = "sha256-NkWJGy5QUrhpbARoscrXy/ilCjAz01YxeVTH0I+IjNM="; 20 }; 21 22 propagatedBuildInputs = [ 23 numpy 24 sqlitedict 25 websockets 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 pythonImportsCheck = [ "aiopylgtv" ]; 31 32 meta = with lib; { 33 description = "Python library to control webOS based LG TV units"; 34 homepage = "https://github.com/bendavid/aiopylgtv"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}