python313Packages.tessie-api: init at 0.1.2
This commit is contained in:
parent
e4097b5575
commit
3da49d9d85
51
pkgs/development/python-modules/tessie-api/default.nix
Normal file
51
pkgs/development/python-modules/tessie-api/default.nix
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
aiohttp,
|
||||||
|
pythonOlder,
|
||||||
|
hatchling,
|
||||||
|
pytz,
|
||||||
|
pytestCheckHook,
|
||||||
|
pytest-asyncio,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "tessie-api";
|
||||||
|
version = "0.1.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "andrewgierens";
|
||||||
|
repo = "tessie_python_api";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-uY52SSG2u4lcX9X7Ql/pn31uOwpqIy3kkuLMvsFBA3s=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
aiohttp
|
||||||
|
pytz
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "tessie_api" ];
|
||||||
|
|
||||||
|
# Tests require API credentials
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Python wrapper for the Tessie API";
|
||||||
|
homepage = "https://github.com/andrewgierens/tessie_python_api";
|
||||||
|
changelog = "https://github.com/andrewgierens/tessie_python_api/releases/tag/${version}";
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
maintainers = [ lib.maintainers.jamiemagee ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -17669,6 +17669,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
tesserocr = callPackage ../development/python-modules/tesserocr { };
|
tesserocr = callPackage ../development/python-modules/tesserocr { };
|
||||||
|
|
||||||
|
tessie-api = callPackage ../development/python-modules/tessie-api { };
|
||||||
|
|
||||||
test-results-parser = callPackage ../development/python-modules/test-results-parser { };
|
test-results-parser = callPackage ../development/python-modules/test-results-parser { };
|
||||||
|
|
||||||
test-tube = callPackage ../development/python-modules/test-tube { };
|
test-tube = callPackage ../development/python-modules/test-tube { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user