diff --git a/pkgs/development/python-modules/geomet/default.nix b/pkgs/development/python-modules/geomet/default.nix index 2e69b1c5f630..ab76f92e236b 100644 --- a/pkgs/development/python-modules/geomet/default.nix +++ b/pkgs/development/python-modules/geomet/default.nix @@ -8,21 +8,30 @@ buildPythonPackage rec { pname = "geomet"; version = "0.3.1"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; - # pypi tarball doesn't include tests src = fetchFromGitHub { owner = "geomet"; repo = "geomet"; rev = "refs/tags/${version}"; - sha256 = "sha256-7QfvGQlg4nTr1rwTyvTNm6n/jFptLtpBKMjjQj6OXCQ="; + 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 ]; }; }