summary refs log tree commit diff
path: root/pkgs/development/python-modules/fritzprofiles/default.nix
blob: b998f9949807c0efe82048a0883a76d4701cef32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, fetchPypi
, lxml
, requests
}:

buildPythonPackage rec {
  pname = "fritzprofiles";
  version = "0.7.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-VoKgLJWF9x8dW8A6CNwLtK+AmehtgZP41nUGQO819es=";
  };

  propagatedBuildInputs = [
    lxml
    requests
  ];

  pythonImportsCheck = [
    "fritzprofiles"
  ];

  # no tests
  doCheck = false;

  meta = with lib; {
    description = "Tool to switch the online time of profiles in the AVM Fritz!Box";
    homepage = "https://github.com/AaronDavidSchneider/fritzprofiles";
    license = licenses.mit;
    maintainers = with maintainers; [ hexa ];
  };
}