2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, click
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "geomet";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "0.3.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
# pypi tarball doesn't include tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "geomet";
|
|
|
|
repo = "geomet";
|
|
|
|
rev = version;
|
2021-08-22 07:53:02 +00:00
|
|
|
sha256 = "1lb0df78gkivsb7hy3ix0xccvcznvskip11hr5sgq5y76qnfc8p0";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click six ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/geomet/geomet";
|
|
|
|
license = licenses.asl20;
|
|
|
|
description = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa.";
|
|
|
|
maintainers = with maintainers; [ turion ris ];
|
|
|
|
};
|
|
|
|
}
|