Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
859 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, pytz, requests, setuptools,}:
buildPythonPackage rec { pname = "israel-rail-api"; version = "0.1.3"; pyproject = true;
src = fetchFromGitHub { owner = "sh0oki"; repo = "israel-rail-api"; tag = "v${version}"; hash = "sha256-viIETVCW3YSwJOsFxkYoi0Ko9vXQEP9d+fjQAlb142c="; };
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 ]; };}