Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 39 lines 784 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 sqlitedict, 7 websockets, 8}: 9 10buildPythonPackage rec { 11 pname = "aiopylgtv"; 12 version = "0.4.1"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "bendavid"; 17 repo = "aiopylgtv"; 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 = { 33 description = "Python library to control webOS based LG TV units"; 34 mainProgram = "aiopylgtvcommand"; 35 homepage = "https://github.com/bendavid/aiopylgtv"; 36 license = with lib.licenses; [ mit ]; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}