Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / geomet / default.nix
blob622027f8aff7d5c3b71752e78be61a7e85ed918f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , click
5 , setuptools
6 , six
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "geomet";
12   version = "1.1.0";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "geomet";
19     repo = "geomet";
20     rev = "refs/tags/${version}";
21     hash = "sha256-YfI29925nffzRBMJb6Gm3muvlpwP3zSw2YJ2vWcf+Bo=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   propagatedBuildInputs = [
29     click
30     six
31   ];
33   pythonImportsCheck = [
34     "geomet"
35   ];
37   meta = with lib; {
38     description = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary) and vice versa";
39     mainProgram = "geomet";
40     homepage = "https://github.com/geomet/geomet";
41     changelog = "https://github.com/geomet/geomet/releases/tag/${version}";
42     license = licenses.asl20;
43     maintainers = with maintainers; [ turion ris ];
44   };