mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.freebox-api: init at 0.0.9
This commit is contained in:
parent
8b166bcee0
commit
b5ca64d381
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/freebox-api/default.nix
Normal file
36
pkgs/development/python-modules/freebox-api/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "freebox-api";
|
||||
version = "0.0.9";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hacf-fr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0qn7jqfbp850aqgfsxjfv14myi6idz6sf7024p6wpqpa2xk0vfiq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "freebox_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to interact with the Freebox OS API";
|
||||
homepage = "https://github.com/hacf-fr/freebox-api";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2438,6 +2438,8 @@ in {
|
|||
|
||||
fpylll = callPackage ../development/python-modules/fpylll { };
|
||||
|
||||
freebox-api = callPackage ../development/python-modules/freebox-api { };
|
||||
|
||||
freetype-py = callPackage ../development/python-modules/freetype-py { };
|
||||
|
||||
freezegun = if isPy27 then
|
||||
|
|
Loading…
Reference in a new issue