nixpkgs/pkgs/development/python-modules/polyline/default.nix
Martin Weinelt 3d18e8d337 python3Packages.polyline: 2.0.3 -> 2.0.4
https://github.com/frederickjansen/polyline/releases/tag/v2.0.4

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:51 +01:00

46 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "polyline";
version = "2.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "frederickjansen";
repo = "polyline";
tag = "v${version}";
hash = "sha256-PaQLHz256ZZ+0PdSSeGM+rjubSnT4fQfpD1Uj3JfBt8=";
};
nativeBuildInputs = [
setuptools
wheel
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "polyline" ];
meta = {
description = "Python implementation of Google's Encoded Polyline Algorithm Format";
longDescription = ''
polyline is a Python implementation of Google's Encoded Polyline Algorithm Format. It is
essentially a port of https://github.com/mapbox/polyline.
'';
homepage = "https://github.com/frederickjansen/polyline";
changelog = "https://github.com/frederickjansen/polyline/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ersin ];
};
}