Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchPypi, pythonOlder, requests, requests-oauthlib, voluptuous, setuptools,}:
buildPythonPackage rec { pname = "pybotvac"; version = "0.0.25"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-EvGBStEYgqFO9GMtxs1qtDixb4y2Ptom8xncRUv4ur4="; };
postPatch = '' substituteInPlace pybotvac/robot.py \ --replace-fail "import urllib3" "" \ --replace-fail "urllib3.disable_warnings(urllib3.exceptions.SubjectAltNameWarning)" "# urllib3.disable_warnings(urllib3.exceptions.SubjectAltNameWarning)" '';
build-system = [ setuptools ];
dependencies = [ requests requests-oauthlib voluptuous ];
# Module no tests doCheck = false;
pythonImportsCheck = [ "pybotvac" ];
meta = with lib; { description = "Python module for interacting with Neato Botvac Connected vacuum robots"; homepage = "https://github.com/stianaske/pybotvac"; changelog = "https://github.com/stianaske/pybotvac/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}