Merge pull request #132821 from fabaff/opengarage
This commit is contained in:
commit
9994d6d607
3 changed files with 40 additions and 1 deletions
37
pkgs/development/python-modules/open-garage/default.nix
Normal file
37
pkgs/development/python-modules/open-garage/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "open-garage";
|
||||||
|
version = "0.1.5";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Danielhiversen";
|
||||||
|
repo = "pyOpenGarage";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1iqcqkbb1ik5lmsvwgy6i780x6y3wlm1gx257anxyvp1b21gm24p";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
async-timeout
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "opengarage" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to communicate with opengarage.io";
|
||||||
|
homepage = "https://github.com/Danielhiversen/pyOpenGarage";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -607,7 +607,7 @@
|
||||||
"openerz" = ps: with ps; [ openerz-api ];
|
"openerz" = ps: with ps; [ openerz-api ];
|
||||||
"openevse" = ps: with ps; [ ]; # missing inputs: openevsewifi
|
"openevse" = ps: with ps; [ ]; # missing inputs: openevsewifi
|
||||||
"openexchangerates" = ps: with ps; [ ];
|
"openexchangerates" = ps: with ps; [ ];
|
||||||
"opengarage" = ps: with ps; [ ]; # missing inputs: open-garage
|
"opengarage" = ps: with ps; [ open-garage ];
|
||||||
"openhardwaremonitor" = ps: with ps; [ ];
|
"openhardwaremonitor" = ps: with ps; [ ];
|
||||||
"openhome" = ps: with ps; [ openhomedevice ];
|
"openhome" = ps: with ps; [ openhomedevice ];
|
||||||
"opensensemap" = ps: with ps; [ opensensemap-api ];
|
"opensensemap" = ps: with ps; [ opensensemap-api ];
|
||||||
|
|
|
@ -4996,6 +4996,8 @@ in {
|
||||||
|
|
||||||
onnx = callPackage ../development/python-modules/onnx { };
|
onnx = callPackage ../development/python-modules/onnx { };
|
||||||
|
|
||||||
|
open-garage = callPackage ../development/python-modules/open-garage { };
|
||||||
|
|
||||||
openant = callPackage ../development/python-modules/openant { };
|
openant = callPackage ../development/python-modules/openant { };
|
||||||
|
|
||||||
openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
|
openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
|
||||||
|
|
Loading…
Reference in a new issue