Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 33 lines 694 B view raw
1{ lib 2, buildPythonPackage 3, click 4, fetchFromGitHub 5, mock 6, pytest-runner 7, pytestCheckHook 8, requests 9, websocket_client 10}: 11 12buildPythonPackage rec { 13 pname = "orvibo"; 14 version = "1.1.1"; 15 16 src = fetchFromGitHub { 17 owner = "happyleavesaoc"; 18 repo = "python-orvibo"; 19 rev = version; 20 sha256 = "042prd5yxqvlfija7ii1xn424iv1p7ndhxv6m67ij8cbvspwx356"; 21 }; 22 23 # Project as no tests 24 doCheck = false; 25 pythonImportsCheck = [ "orvibo" ]; 26 27 meta = with lib; { 28 description = "Python client to work with Orvibo devices"; 29 homepage = "https://github.com/happyleavesaoc/python-orvibo"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}