nixpkgs/pkgs/development/python-modules/fritzprofiles/default.nix

37 lines
679 B
Nix
Raw Normal View History

2021-07-08 12:08:46 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, lxml
, requests
}:
buildPythonPackage rec {
pname = "fritzprofiles";
2021-07-23 06:53:34 +00:00
version = "0.7.3";
2021-07-08 12:08:46 +00:00
format = "setuptools";
src = fetchPypi {
inherit pname version;
2021-07-23 06:53:34 +00:00
sha256 = "sha256-VoKgLJWF9x8dW8A6CNwLtK+AmehtgZP41nUGQO819es=";
2021-07-08 12:08:46 +00:00
};
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 ];
};
}