mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #132821 from fabaff/opengarage
This commit is contained in:
commit
9994d6d607
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 ];
|
||||
"openevse" = ps: with ps; [ ]; # missing inputs: openevsewifi
|
||||
"openexchangerates" = ps: with ps; [ ];
|
||||
"opengarage" = ps: with ps; [ ]; # missing inputs: open-garage
|
||||
"opengarage" = ps: with ps; [ open-garage ];
|
||||
"openhardwaremonitor" = ps: with ps; [ ];
|
||||
"openhome" = ps: with ps; [ openhomedevice ];
|
||||
"opensensemap" = ps: with ps; [ opensensemap-api ];
|
||||
|
@ -4996,6 +4996,8 @@ in {
|
||||
|
||||
onnx = callPackage ../development/python-modules/onnx { };
|
||||
|
||||
open-garage = callPackage ../development/python-modules/open-garage { };
|
||||
|
||||
openant = callPackage ../development/python-modules/openant { };
|
||||
|
||||
openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
|
||||
|
Loading…
Reference in New Issue
Block a user