Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 850 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, requests 6, requests-oauthlib 7, voluptuous 8}: 9 10buildPythonPackage rec { 11 pname = "pybotvac"; 12 version = "0.0.24"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-SXIs9AUXWm1H49MVDT4z6msNPaW5sAU20rcsWZ7ERdU="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 requests-oauthlib 25 voluptuous 26 ]; 27 28 # Module no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "pybotvac" 33 ]; 34 35 meta = with lib; { 36 description = "Python module for interacting with Neato Botvac Connected vacuum robots"; 37 homepage = "https://github.com/stianaske/pybotvac"; 38 changelog = "https://github.com/stianaske/pybotvac/releases/tag/v${version}"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}