nixpkgs/pkgs/development/python-modules/fritzprofiles/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

37 lines
677 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, lxml
, requests
}:
buildPythonPackage rec {
pname = "fritzprofiles";
version = "0.7.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "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 ];
};
}