Something went wrong. Try again.
lol
Something went wrong. Try again.
859 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pytz, requests, setuptools,}:
buildPythonPackage rec { pname = "israel-rail-api"; version = "0.1.4"; pyproject = true;
src = fetchFromGitHub { owner = "sh0oki"; repo = "israel-rail-api"; tag = "v${version}"; hash = "sha256-vYMqMrvLQsy0MSfYAdlXqV1rF76A/cqkttWh47J8xn8="; };
build-system = [ setuptools ];
dependencies = [ pytz requests ];
pythonImportsCheck = [ "israelrailapi" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { changelog = "https://github.com/sh0oki/israel-rail-api/releases/tag/${src.tag}"; description = "Python wrapping of the Israeli Rail API"; homepage = "https://github.com/sh0oki/israel-rail-api"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}