Merge pull request #168963 from fabaff/rova
python3Packages.rova: init at 0.3.0
This commit is contained in:
commit
b084a0d264
3 changed files with 44 additions and 1 deletions
40
pkgs/development/python-modules/rova/default.nix
Normal file
40
pkgs/development/python-modules/rova/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rova";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GidoHakvoort";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TLL9Ta+7Xd55hGTTXjc6CBMj+tW1LpFrprpsnGqZvkQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rova"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to access for ROVA calendars";
|
||||
homepage = "https://github.com/GidoHakvoort/rova";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2191,7 +2191,8 @@
|
|||
boto3
|
||||
];
|
||||
"rova" = ps: with ps; [
|
||||
]; # missing inputs: rova
|
||||
rova
|
||||
];
|
||||
"rpi_camera" = ps: with ps; [
|
||||
];
|
||||
"rpi_gpio" = ps: with ps; [
|
||||
|
|
|
@ -8948,6 +8948,8 @@ in {
|
|||
|
||||
routes = callPackage ../development/python-modules/routes { };
|
||||
|
||||
rova = callPackage ../development/python-modules/rova { };
|
||||
|
||||
rpcq = callPackage ../development/python-modules/rpcq { };
|
||||
|
||||
rpdb = callPackage ../development/python-modules/rpdb { };
|
||||
|
|
Loading…
Reference in a new issue