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