depot/third_party/nixpkgs/pkgs/development/python-modules/geomet/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

39 lines
798 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, six
, pythonOlder
}:
buildPythonPackage rec {
pname = "geomet";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "geomet";
repo = "geomet";
rev = "refs/tags/${version}";
hash = "sha256-dN0d6wu5FqL/5FQrpQn+wlyEvp52pa5dkxLu3j3bxnw=";
};
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";
changelog = "https://github.com/geomet/geomet/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ turion ris ];
};
}