From 275923f7aed945608e608d8d86c065b5f21f0b93 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Aug 2022 22:59:52 +0000 Subject: [PATCH 1/3] python310Packages.geomet: 0.3.0 -> 0.3.1 --- pkgs/development/python-modules/geomet/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/geomet/default.nix b/pkgs/development/python-modules/geomet/default.nix index bace792ee84a..2e69b1c5f630 100644 --- a/pkgs/development/python-modules/geomet/default.nix +++ b/pkgs/development/python-modules/geomet/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "geomet"; - version = "0.3.0"; + version = "0.3.1"; # pypi tarball doesn't include tests src = fetchFromGitHub { owner = "geomet"; repo = "geomet"; - rev = version; - sha256 = "1lb0df78gkivsb7hy3ix0xccvcznvskip11hr5sgq5y76qnfc8p0"; + rev = "refs/tags/${version}"; + sha256 = "sha256-7QfvGQlg4nTr1rwTyvTNm6n/jFptLtpBKMjjQj6OXCQ="; }; propagatedBuildInputs = [ click six ]; From c968faaddf305996d213fd95da0341e3cb89a651 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Aug 2022 09:01:02 +0200 Subject: [PATCH 2/3] python310Packages.geomet: add pythonImportsCheck --- .../python-modules/geomet/default.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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 ]; }; } From 3a03893a6a2293ae8d299c26e1003e5c8e9c6e20 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Aug 2022 09:47:26 +0200 Subject: [PATCH 3/3] python310Packages.geomet: add missing input --- pkgs/development/python-modules/geomet/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/geomet/default.nix b/pkgs/development/python-modules/geomet/default.nix index ab76f92e236b..9b90012695e0 100644 --- a/pkgs/development/python-modules/geomet/default.nix +++ b/pkgs/development/python-modules/geomet/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , click , six +, pythonOlder }: buildPythonPackage rec {