nixpkgs/pkgs/development/python-modules/geomet/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
798 B
Nix
Raw Normal View History

2020-06-27 10:42:08 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, six
, pythonOlder
2020-06-27 10:42:08 +00:00
}:
buildPythonPackage rec {
pname = "geomet";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
2020-06-27 10:42:08 +00:00
src = fetchFromGitHub {
owner = "geomet";
repo = "geomet";
rev = "refs/tags/${version}";
hash = "sha256-dN0d6wu5FqL/5FQrpQn+wlyEvp52pa5dkxLu3j3bxnw=";
2020-06-27 10:42:08 +00:00
};
propagatedBuildInputs = [
click
six
];
pythonImportsCheck = [
"geomet"
];
2020-06-27 10:42:08 +00:00
meta = with lib; {
description = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary) and vice versa";
2020-06-27 10:42:08 +00:00
homepage = "https://github.com/geomet/geomet";
changelog = "https://github.com/geomet/geomet/releases/tag/${version}";
2020-06-27 10:42:08 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ turion ris ];
};
}