nixpkgs/pkgs/development/python-modules/fritzprofiles/default.nix
2021-07-23 06:53:34 +00:00

36 lines
679 B
Nix

{ 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 ];
};
}