biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / kml2geojson / default.nix
blob3b392a227aae4674ca8f7ac43e2f0ac410d831fe
2   lib,
3   buildPythonPackage,
4   poetry-core,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   click,
9 }:
11 buildPythonPackage rec {
12   pname = "kml2geojson";
13   version = "5.1.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "mrcagney";
20     repo = pname;
21     rev = version;
22     hash = "sha256-iJEcXpvy+Y3MkxAF2Q1Tkcx8GxUVjeVzv6gl134zdiI=";
23   };
25   nativeBuildInputs = [ poetry-core ];
27   propagatedBuildInputs = [ click ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "kml2geojson" ];
33   meta = with lib; {
34     description = "Library to convert KML to GeoJSON";
35     mainProgram = "k2g";
36     homepage = "https://github.com/mrcagney/kml2geojson";
37     license = licenses.mit;
38     maintainers = with maintainers; [ fab ];
39   };