diff --git a/pkgs/development/python-modules/geomet/default.nix b/pkgs/development/python-modules/geomet/default.nix index bace792ee84a..9b90012695e0 100644 --- a/pkgs/development/python-modules/geomet/default.nix +++ b/pkgs/development/python-modules/geomet/default.nix @@ -3,26 +3,36 @@ , fetchFromGitHub , click , six +, pythonOlder }: buildPythonPackage rec { pname = "geomet"; - version = "0.3.0"; + version = "0.3.1"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; - # pypi tarball doesn't include tests src = fetchFromGitHub { owner = "geomet"; repo = "geomet"; - rev = version; - sha256 = "1lb0df78gkivsb7hy3ix0xccvcznvskip11hr5sgq5y76qnfc8p0"; + rev = "refs/tags/${version}"; + hash = "sha256-7QfvGQlg4nTr1rwTyvTNm6n/jFptLtpBKMjjQj6OXCQ="; }; - propagatedBuildInputs = [ click six ]; + 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"; license = licenses.asl20; - description = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa."; maintainers = with maintainers; [ turion ris ]; }; }