mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #113004 from fabaff/pyrisco
This commit is contained in:
commit
efaea785a1
32
pkgs/development/python-modules/pyrisco/default.nix
Normal file
32
pkgs/development/python-modules/pyrisco/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrisco";
|
||||
version = "0.3.1";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OnFreund";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1im29h4rxnp98aqzgzjj5i8jv2h5zw9c5yx8xxzl4cmr3yila9zw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pyrisco" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface to Risco alarm systems through Risco Cloud";
|
||||
homepage = "https://github.com/OnFreund/pyrisco";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -681,7 +681,7 @@
|
||||
"rfxtrx" = ps: with ps; [ ]; # missing inputs: pyRFXtrx
|
||||
"ring" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: ring_doorbell
|
||||
"ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api
|
||||
"risco" = ps: with ps; [ ]; # missing inputs: pyrisco
|
||||
"risco" = ps: with ps; [ pyrisco ];
|
||||
"rmvtransport" = ps: with ps; [ PyRMVtransport ];
|
||||
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
|
||||
"roku" = ps: with ps; [ ]; # missing inputs: rokuecp
|
||||
|
@ -5886,6 +5886,8 @@ in {
|
||||
|
||||
pyres = callPackage ../development/python-modules/pyres { };
|
||||
|
||||
pyrisco = callPackage ../development/python-modules/pyrisco { };
|
||||
|
||||
pyRFC3339 = callPackage ../development/python-modules/pyrfc3339 { };
|
||||
|
||||
PyRMVtransport = callPackage ../development/python-modules/PyRMVtransport { };
|
||||
|
Loading…
Reference in New Issue
Block a user