python310Packages.kml2geojson: init at 5.1.0
This commit is contained in:
parent
4ebc288038
commit
67512331eb
2 changed files with 48 additions and 0 deletions
46
pkgs/development/python-modules/kml2geojson/default.nix
Normal file
46
pkgs/development/python-modules/kml2geojson/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, poetry-core
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, click
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kml2geojson";
|
||||
version = "5.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrcagney";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-iJEcXpvy+Y3MkxAF2Q1Tkcx8GxUVjeVzv6gl134zdiI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kml2geojson"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to convert KML to GeoJSON";
|
||||
homepage = "https://github.com/mrcagney/kml2geojson";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -4743,6 +4743,8 @@ in {
|
|||
|
||||
kmapper = callPackage ../development/python-modules/kmapper { };
|
||||
|
||||
kml2geojson = callPackage ../development/python-modules/kml2geojson { };
|
||||
|
||||
kmsxx = toPythonModule (pkgs.kmsxx.override {
|
||||
withPython = true;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue