Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
924 B · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, setuptools-scm, aiohttp, pytz, voluptuous}:
buildPythonPackage rec { pname = "pygti"; version = "0.9.4";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "vigonotion"; repo = "pygti"; rev = "refs/tags/v${version}"; hash = "sha256-2T4Yw4XEOkv+IWyB4Xa2dPu929VH0tLeUjQ5S8EVXz0="; };
nativeBuildInputs = [ setuptools-scm ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = [ aiohttp pytz voluptuous ];
# no tests implemented doCheck = false;
pythonImportsCheck = [ "pygti.auth" "pygti.exceptions" "pygti.gti" ];
meta = with lib; { description = "Access public transport information in Hamburg, Germany"; homepage = "https://github.com/vigonotion/pygti"; license = licenses.asl20; maintainers = with maintainers; [ dotlambda ]; };}