python3Packages.py-nymta: init at 0.4.0
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
aiofiles,
|
||||
aiohttp,
|
||||
gtfs-realtime-bindings,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "py-nymta";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OnFreund";
|
||||
repo = "py-nymta";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-JVcdpS7qcrULOLnlV2ZJr7NQPJGGUKfrQCFcb64X2ak=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
gtfs-realtime-bindings
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pymta" ];
|
||||
|
||||
meta = {
|
||||
description = "Python library for accessing MTA real-time transit data for NYC";
|
||||
homepage = "https://github.com/OnFreund/py-nymta";
|
||||
changelog = "https://github.com/OnFreund/py-nymta/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -13127,6 +13127,8 @@ self: super: with self; {
|
||||
|
||||
py-nightscout = callPackage ../development/python-modules/py-nightscout { };
|
||||
|
||||
py-nymta = callPackage ../development/python-modules/py-nymta { };
|
||||
|
||||
py-ocsf-models = callPackage ../development/python-modules/py-ocsf-models { };
|
||||
|
||||
py-opensonic = callPackage ../development/python-modules/py-opensonic { };
|
||||
|
||||
Reference in New Issue
Block a user