mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 13:06:32 +01:00
https://github.com/aquatix/ns-api/releases/tag/v3.2.1 This commit was automatically generated using update-python-libraries.
37 lines
776 B
Nix
37 lines
776 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytz,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nsapi";
|
|
version = "3.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aquatix";
|
|
repo = "ns-api";
|
|
tag = "v${version}";
|
|
hash = "sha256-eZT6DU68wcEYyoFejECuluzit9MDA269zaKVFWpSuc8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ pytz ];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ns_api" ];
|
|
|
|
meta = {
|
|
description = "Python module to query routes of the Dutch railways";
|
|
homepage = "https://github.com/aquatix/ns-api/";
|
|
changelog = "https://github.com/aquatix/ns-api/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|