mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #109629 from fabaff/regenmaschine
python3Packages.regenmaschine: init at 3.1.1
This commit is contained in:
commit
90a9b71b73
51
pkgs/development/python-modules/regenmaschine/default.nix
Normal file
51
pkgs/development/python-modules/regenmaschine/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "regenmaschine";
|
||||
version = "3.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0m6i7vspp8ssdk2k32kznql1j8gkp300kzb7pk67hzvpijdy3mca";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
asynctest
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "regenmaschine" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interacting with RainMachine smart sprinkler controllers";
|
||||
homepage = "https://github.com/bachya/regenmaschine";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -659,7 +659,7 @@
|
||||
"rainbird" = ps: with ps; [ ]; # missing inputs: pyrainbird
|
||||
"raincloud" = ps: with ps; [ ]; # missing inputs: raincloudy
|
||||
"rainforest_eagle" = ps: with ps; [ ]; # missing inputs: eagle200_reader uEagle
|
||||
"rainmachine" = ps: with ps; [ ]; # missing inputs: regenmaschine
|
||||
"rainmachine" = ps: with ps; [ regenmaschine ];
|
||||
"random" = ps: with ps; [ ];
|
||||
"raspihats" = ps: with ps; [ smbus-cffi ]; # missing inputs: raspihats
|
||||
"raspyrfm" = ps: with ps; [ ]; # missing inputs: raspyrfm-client
|
||||
|
@ -6654,6 +6654,8 @@ in {
|
||||
|
||||
reflink = callPackage ../development/python-modules/reflink { };
|
||||
|
||||
regenmaschine = callPackage ../development/python-modules/regenmaschine { };
|
||||
|
||||
regex = callPackage ../development/python-modules/regex { };
|
||||
|
||||
regional = callPackage ../development/python-modules/regional { };
|
||||
|
Loading…
Reference in New Issue
Block a user