Skip to content

Commit

Permalink
fahrplan: init at 1.1.2 (#349904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Nov 6, 2024
2 parents bb4e7c5 + 8a82b78 commit 35d1e72
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/fa/fahrplan/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "fahrplan";
version = "1.1.2";
pyproject = true;

src = fetchFromGitHub {
owner = "dbrgn";
repo = "fahrplan";
rev = "refs/tags/v${version}";
hash = "sha256-2QVaA2zqqFuxjkKbDXo+SNzkrDCxXiSYMUOftQ++wO4=";
};

build-system = with python3.pkgs; [
setuptools
];

dependencies = with python3.pkgs; [
python-dateutil
requests
texttable
];

meta = {
description = "Command line access to the SBB/CFF/FFS timetable with human readable argument parsing";
homepage = "https://github.com/dbrgn/fahrplan";
changelog = "https://github.com/dbrgn/fahrplan/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ p-h ];
mainProgram = "fahrplan";
};
}

0 comments on commit 35d1e72

Please sign in to comment.