13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
38 lines
722 B
Nix
38 lines
722 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, click
|
|
, six
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "geomet";
|
|
version = "0.3.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "geomet";
|
|
repo = "geomet";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-7QfvGQlg4nTr1rwTyvTNm6n/jFptLtpBKMjjQj6OXCQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"geomet"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary) and vice versa";
|
|
homepage = "https://github.com/geomet/geomet";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ turion ris ];
|
|
};
|
|
}
|