nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6 requests-oauthlib,
7 voluptuous,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "pybotvac";
13 version = "0.0.28";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-XIGG8HmjI3dSq42co2e05xHIYjIM39qVanMJLDqWFCg=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 requests
25 requests-oauthlib
26 voluptuous
27 ];
28
29 # Module no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "pybotvac" ];
33
34 meta = {
35 description = "Python module for interacting with Neato Botvac Connected vacuum robots";
36 homepage = "https://github.com/stianaske/pybotvac";
37 changelog = "https://github.com/stianaske/pybotvac/releases/tag/v${version}";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}