Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 688 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, requests_oauthlib 6, voluptuous 7}: 8 9buildPythonPackage rec { 10 pname = "pybotvac"; 11 version = "0.0.20"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-1NnTSO4vO3Ryt4vYD5ZTQGr241GqA2KsGRBVowSTCzM="; 16 }; 17 18 propagatedBuildInputs = [ 19 requests 20 requests_oauthlib 21 voluptuous 22 ]; 23 24 # no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "pybotvac" ]; 28 29 meta = with lib; { 30 description = "Python module for interacting with Neato Botvac Connected vacuum robots"; 31 homepage = "https://github.com/stianaske/pybotvac"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ elseym ]; 34 }; 35}