1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, click 5, six 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "geomet"; 11 version = "0.3.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "geomet"; 18 repo = "geomet"; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-7QfvGQlg4nTr1rwTyvTNm6n/jFptLtpBKMjjQj6OXCQ="; 21 }; 22 23 propagatedBuildInputs = [ 24 click 25 six 26 ]; 27 28 pythonImportsCheck = [ 29 "geomet" 30 ]; 31 32 meta = with lib; { 33 description = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary) and vice versa"; 34 homepage = "https://github.com/geomet/geomet"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ turion ris ]; 37 }; 38}