mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #113708 from fabaff/freebox-api
python3Packages.freebox-api: init at 0.0.9
This commit is contained in:
commit
5481589204
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 ];
|
||||
};
|
||||
}
|
|
@ -2543,6 +2543,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