Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
812 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ 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 = "kml2geojson"; rev = version; hash = "sha256-iJEcXpvy+Y3MkxAF2Q1Tkcx8GxUVjeVzv6gl134zdiI="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ click ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "kml2geojson" ];
meta = with lib; { description = "Library to convert KML to GeoJSON"; mainProgram = "k2g"; homepage = "https://github.com/mrcagney/kml2geojson"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}