Merge pull request #161684 from dotlambda/volvooncall-init
This commit is contained in:
commit
86fa4eeeb8
57
pkgs/development/python-modules/volvooncall/default.nix
Normal file
57
pkgs/development/python-modules/volvooncall/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, geopy
|
||||
, docopt
|
||||
, pyyaml
|
||||
, certifi
|
||||
, amqtt
|
||||
, websockets
|
||||
, aiohttp
|
||||
, pytestCheckHook
|
||||
, asynctest
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "volvooncall";
|
||||
version = "0.9.2";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "molobrakos";
|
||||
repo = "volvooncall";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OTs282z7qzILl/xxM3whaxiQr8FZOfgceO2EY3NJKbA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
geopy
|
||||
docopt
|
||||
pyyaml
|
||||
certifi
|
||||
amqtt
|
||||
websockets
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
asynctest
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "volvooncall" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Retrieve information from the Volvo On Call web service";
|
||||
homepage = "https://github.com/molobrakos/volvooncall";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -967,7 +967,7 @@
|
|||
"voicerss" = ps: with ps; [ ];
|
||||
"volkszaehler" = ps: with ps; [ volkszaehler ];
|
||||
"volumio" = ps: with ps; [ pyvolumio ];
|
||||
"volvooncall" = ps: with ps; [ ]; # missing inputs: volvooncall
|
||||
"volvooncall" = ps: with ps; [ volvooncall ];
|
||||
"vultr" = ps: with ps; [ vultr ];
|
||||
"w800rf32" = ps: with ps; [ ]; # missing inputs: pyW800rf32
|
||||
"wake_on_lan" = ps: with ps; [ wakeonlan ];
|
||||
|
|
|
@ -10435,6 +10435,8 @@ in {
|
|||
|
||||
voluptuous-serialize = callPackage ../development/python-modules/voluptuous-serialize { };
|
||||
|
||||
volvooncall = callPackage ../development/python-modules/volvooncall { };
|
||||
|
||||
vowpalwabbit = callPackage ../development/python-modules/vowpalwabbit { };
|
||||
|
||||
vpk = callPackage ../development/python-modules/vpk { };
|
||||
|
|
Loading…
Reference in a new issue