python3Packages.moonraker-api: init at 2.0.2
This commit is contained in:
parent
54060c0a1f
commit
37211393e8
43
pkgs/development/python-modules/moonraker-api/default.nix
Normal file
43
pkgs/development/python-modules/moonraker-api/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "moonraker-api";
|
||||||
|
version = "2.0.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cmroche";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1ODfwuO8XeleOnpp/dD+8jfEAIesXT1BuImtXTn289U=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-aiohttp
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"moonraker_api"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API for the Moonraker API";
|
||||||
|
homepage = "https://github.com/cmroche/moonraker-api";
|
||||||
|
license = with licenses; [ gpl3Only ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -4914,6 +4914,8 @@ in {
|
|||||||
|
|
||||||
monty = callPackage ../development/python-modules/monty { };
|
monty = callPackage ../development/python-modules/monty { };
|
||||||
|
|
||||||
|
moonraker-api = callPackage ../development/python-modules/moonraker-api { };
|
||||||
|
|
||||||
more-itertools = callPackage ../development/python-modules/more-itertools { };
|
more-itertools = callPackage ../development/python-modules/more-itertools { };
|
||||||
|
|
||||||
moretools = callPackage ../development/python-modules/moretools { };
|
moretools = callPackage ../development/python-modules/moretools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user