python3Packages.pyirishrail: init at 0.0.2

Changed files
+38
pkgs
development
python-modules
pyirishrail
top-level
+36
pkgs/development/python-modules/pyirishrail/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
pytestCheckHook,
+
requests,
+
setuptools,
+
}:
+
+
buildPythonPackage rec {
+
pname = "pyirishrail";
+
version = "0.0.2";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "ttroy50";
+
repo = "pyirishrail";
+
tag = version;
+
hash = "sha256-NgARqhcXP0lgGpgBRiNtQaSn9JcRNtCcZPljcL7t3Xc=";
+
};
+
+
build-system = [ setuptools ];
+
+
dependencies = [ requests ];
+
+
nativeCheckInputs = [ pytestCheckHook ];
+
+
pythonImportsCheck = [ "pyirishrail" ];
+
+
meta = {
+
description = "Python library to get the real-time transport information (RTPI) from Irish Rail";
+
homepage = "https://github.com/ttroy50/pyirishrail";
+
license = lib.licenses.mit;
+
maintainers = [ lib.maintainers.jamiemagee ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
pyiqvia = callPackage ../development/python-modules/pyiqvia { };
+
pyirishrail = callPackage ../development/python-modules/pyirishrail { };
+
pyisbn = callPackage ../development/python-modules/pyisbn { };
pyisemail = callPackage ../development/python-modules/pyisemail { };