12 buildPythonPackage rec {
13 pname = "freebox-api";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-3i9I2RRRxLgyfzegnqjO4g+ad1v4phx6xa8HpWP1cck=";
30 pythonRelaxDeps = [ "urllib3" ];
32 propagatedBuildInputs = [
37 nativeCheckInputs = [ pytestCheckHook ];
39 pythonImportsCheck = [ "freebox_api" ];
42 description = "Python module to interact with the Freebox OS API";
43 mainProgram = "freebox_api";
44 homepage = "https://github.com/hacf-fr/freebox-api";
45 changelog = "https://github.com/hacf-fr/freebox-api/releases/tag/v${version}";
46 license = with licenses; [ gpl3Only ];
47 maintainers = with maintainers; [ fab ];