blob: 07f88a41176e0593bf9973273f8e8aca67bb8ea3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
poetry-core,
fetchFromGitHub,
pytestCheckHook,
click,
}:
buildPythonPackage rec {
pname = "kml2geojson";
version = "5.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mrcagney";
repo = "kml2geojson";
rev = version;
hash = "sha256-iJEcXpvy+Y3MkxAF2Q1Tkcx8GxUVjeVzv6gl134zdiI=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "kml2geojson" ];
meta = {
description = "Library to convert KML to GeoJSON";
mainProgram = "k2g";
homepage = "https://github.com/mrcagney/kml2geojson";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|