mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.pygti: 0.10.0 -> 1.1.1
https://github.com/vigonotion/pygti/releases/tag/v1.1.1
This commit is contained in:
parent
a9276eb47e
commit
f86232f8a9
1 changed files with 14 additions and 8 deletions
|
|
@ -2,28 +2,34 @@
|
|||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools-scm,
|
||||
hatchling,
|
||||
hatch-vcs,
|
||||
aiohttp,
|
||||
pydantic,
|
||||
pytz,
|
||||
voluptuous,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pygti";
|
||||
version = "0.10.0";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vigonotion";
|
||||
repo = "pygti";
|
||||
tag = version;
|
||||
hash = "sha256-2T4Yw4XEOkv+IWyB4Xa2dPu929VH0tLeUjQ5S8EVXz0=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-B+jz91xoN7GiU4PnJTG5Kt1eA4ST63d+ZEgRrr9Xio8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
build-system = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pydantic
|
||||
pytz
|
||||
voluptuous
|
||||
];
|
||||
|
|
@ -38,10 +44,10 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/vigonotion/pygti/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/vigonotion/pygti/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Access public transport information in Hamburg, Germany";
|
||||
homepage = "https://github.com/vigonotion/pygti";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue