From f8fda4730fe9d7567784540b26a054d64d70567d Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Fri, 17 Nov 2023 16:50:08 +0100 Subject: [PATCH 1/8] geos: 3.11.2 -> 3.12.1 --- pkgs/development/libraries/geos/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/geos/default.nix b/pkgs/development/libraries/geos/default.nix index 90bdfdb0d605..fc3cff98d7e8 100644 --- a/pkgs/development/libraries/geos/default.nix +++ b/pkgs/development/libraries/geos/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , callPackage -, fetchpatch , fetchurl , testers @@ -10,23 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "geos"; - version = "3.11.2"; + version = "3.12.1"; src = fetchurl { url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; - hash = "sha256-sfB3ZpSBxaPmKv/EnpbrBvKBmHpdNv2rIlIX5bgl5Mw="; + hash = "sha256-1up+SSIktRGT6CRP4+wXxNRNB3fzwyyk+xcRQFSaDQM="; }; - patches = [ - # Pull upstream fix of `gcc-13` build failure: - # https://github.com/libgeos/geos/pull/805 - (fetchpatch { - name = "gcc-13.patch"; - url = "https://github.com/libgeos/geos/commit/bea3188be44075034fd349f5bb117c943bdb7fb1.patch"; - hash = "sha256-dQT3Hf9YJchgjon/r46TLIXXbE6C0ZnewyvfYJea4jM="; - }) - ]; - nativeBuildInputs = [ cmake ]; doCheck = true; @@ -40,8 +29,9 @@ stdenv.mkDerivation (finalAttrs: { description = "C/C++ library for computational geometry with a focus on algorithms used in geographic information systems (GIS) software"; homepage = "https://libgeos.org"; license = licenses.lgpl21Only; + mainProgram = "geosop"; maintainers = teams.geospatial.members; pkgConfigModules = [ "geos" ]; - mainProgram = "geosop"; + changelog = "https://github.com/libgeos/geos/releases/tag/${finalAttrs.finalPackage.version}"; }; }) From 1b2bab090cf0a4bb8eefec62bf382263bbecf122 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Wed, 6 Dec 2023 15:56:33 +0100 Subject: [PATCH 2/8] geos: keep version 3.11 of package Keep old version of package due to requirements of following packages: * kikit * pygeos --- pkgs/development/libraries/geos/3.11.nix | 47 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/libraries/geos/3.11.nix diff --git a/pkgs/development/libraries/geos/3.11.nix b/pkgs/development/libraries/geos/3.11.nix new file mode 100644 index 000000000000..90bdfdb0d605 --- /dev/null +++ b/pkgs/development/libraries/geos/3.11.nix @@ -0,0 +1,47 @@ +{ lib +, stdenv +, callPackage +, fetchpatch +, fetchurl +, testers + +, cmake +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "geos"; + version = "3.11.2"; + + src = fetchurl { + url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; + hash = "sha256-sfB3ZpSBxaPmKv/EnpbrBvKBmHpdNv2rIlIX5bgl5Mw="; + }; + + patches = [ + # Pull upstream fix of `gcc-13` build failure: + # https://github.com/libgeos/geos/pull/805 + (fetchpatch { + name = "gcc-13.patch"; + url = "https://github.com/libgeos/geos/commit/bea3188be44075034fd349f5bb117c943bdb7fb1.patch"; + hash = "sha256-dQT3Hf9YJchgjon/r46TLIXXbE6C0ZnewyvfYJea4jM="; + }) + ]; + + nativeBuildInputs = [ cmake ]; + + doCheck = true; + + passthru.tests = { + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + geos = callPackage ./tests.nix { geos = finalAttrs.finalPackage; }; + }; + + meta = with lib; { + description = "C/C++ library for computational geometry with a focus on algorithms used in geographic information systems (GIS) software"; + homepage = "https://libgeos.org"; + license = licenses.lgpl21Only; + maintainers = teams.geospatial.members; + pkgConfigModules = [ "geos" ]; + mainProgram = "geosop"; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 91172ebdabf2..386a6d6d6116 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21455,6 +21455,8 @@ with pkgs; geos39 = callPackage ../development/libraries/geos/3.9.nix { }; + geos311 = callPackage ../development/libraries/geos/3.11.nix { }; + getdata = callPackage ../development/libraries/getdata { }; inherit (callPackages ../development/libraries/getdns { }) From 8a9d435c4a49c48aeeb233e8f1b93f604c01c19a Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Wed, 6 Dec 2023 16:00:45 +0100 Subject: [PATCH 3/8] python3Packages.pygeos: use GEOS 3.11 --- pkgs/development/python-modules/pygeos/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygeos/default.nix b/pkgs/development/python-modules/pygeos/default.nix index 22f76d36c46d..3a5759dfb67a 100644 --- a/pkgs/development/python-modules/pygeos/default.nix +++ b/pkgs/development/python-modules/pygeos/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , python -, geos +, geos311 , pytestCheckHook , cython , numpy @@ -18,7 +18,7 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - geos # for geos-config + geos311 # for geos-config cython ]; From 18437fb33d2002cdf0423fa4dff0169d0f327bf7 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Wed, 6 Dec 2023 16:49:42 +0100 Subject: [PATCH 4/8] python3Packages.shapely: keep version 1.8 Keep old version of package due to requirements of following packages: * kikit --- .../python-modules/shapely/1.8.nix | 89 +++++++++++++++++++ .../shapely/library-paths.patch | 31 +++++++ pkgs/top-level/python-packages.nix | 2 + 3 files changed, 122 insertions(+) create mode 100644 pkgs/development/python-modules/shapely/1.8.nix create mode 100644 pkgs/development/python-modules/shapely/library-paths.patch diff --git a/pkgs/development/python-modules/shapely/1.8.nix b/pkgs/development/python-modules/shapely/1.8.nix new file mode 100644 index 000000000000..2afbdba3d79b --- /dev/null +++ b/pkgs/development/python-modules/shapely/1.8.nix @@ -0,0 +1,89 @@ +{ lib +, stdenv +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, pythonOlder +, substituteAll + +, cython +, geos311 +, numpy +, oldest-supported-numpy +, setuptools +, wheel +}: + +buildPythonPackage rec { + pname = "Shapely"; + version = "1.8.5"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-6CttYOz7EkEgyI/hBqR4WWu+qxQhFtfn9ko2TayQKpI="; + }; + + # Environment variable used in shapely/_buildcfg.py + GEOS_LIBRARY_PATH = "${geos311}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}"; + + patches = [ + # Patch to search form GOES .so/.dylib files in a Nix-aware way + (substituteAll { + src = ./library-paths.patch; + libgeos_c = GEOS_LIBRARY_PATH; + libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6"; + }) + ]; + + postPatch = '' + substituteInPlace pyproject.toml --replace "setuptools<64" "setuptools" + ''; + + nativeBuildInputs = [ + cython + geos311 # for geos-config + oldest-supported-numpy + setuptools + wheel + ]; + + buildInputs = [ + geos311 + ]; + + propagatedBuildInputs = [ + numpy + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + preCheck = '' + rm -r shapely # prevent import of local shapely + ''; + + disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + # FIXME(lf-): these logging tests are broken, which is definitely our + # fault. I've tried figuring out the cause and failed. + # + # It is apparently some sandbox or no-sandbox related thing on macOS only + # though. + "test_error_handler_exception" + "test_error_handler" + "test_info_handler" + ]; + + pythonImportsCheck = [ "shapely" ]; + + meta = with lib; { + changelog = "https://github.com/shapely/shapely/blob/${version}/CHANGES.txt"; + description = "Manipulation and analysis of geometric objects"; + homepage = "https://github.com/shapely/shapely"; + license = licenses.bsd3; + maintainers = teams.geospatial.members; + }; +} diff --git a/pkgs/development/python-modules/shapely/library-paths.patch b/pkgs/development/python-modules/shapely/library-paths.patch new file mode 100644 index 000000000000..12f93e757f9a --- /dev/null +++ b/pkgs/development/python-modules/shapely/library-paths.patch @@ -0,0 +1,31 @@ +diff --git a/shapely/geos.py b/shapely/geos.py +index 88c5f53..1ccd6e4 100644 +--- a/shapely/geos.py ++++ b/shapely/geos.py +@@ -96,6 +96,7 @@ if sys.platform.startswith('linux'): + alt_paths = [ + 'libgeos_c.so.1', + 'libgeos_c.so', ++ '@libgeos_c@', + ] + _lgeos = load_dll('geos_c', fallbacks=alt_paths) + +@@ -160,6 +161,7 @@ elif sys.platform == 'darwin': + "/usr/local/lib/libgeos_c.dylib", + # homebrew Apple Silicon + "/opt/homebrew/lib/libgeos_c.dylib", ++ "@libgeos_c@", + ] + _lgeos = load_dll('geos_c', fallbacks=alt_paths) + +diff --git a/tests/test_dlls.py b/tests/test_dlls.py +index c71da8e..c36262c 100644 +--- a/tests/test_dlls.py ++++ b/tests/test_dlls.py +@@ -18,4 +18,5 @@ class LoadingTestCase(unittest.TestCase): + '/opt/homebrew/lib/libgeos_c.dylib', # homebrew (macOS) + os.path.join(sys.prefix, "lib", "libgeos_c.so"), # anaconda (Linux) + 'libgeos_c.so.1', +- 'libgeos_c.so']) ++ 'libgeos_c.so', ++ '@libgeos_c@']) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e965fe2441f2..cebbd1d18198 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12933,6 +12933,8 @@ self: super: with self; { shapely = callPackage ../development/python-modules/shapely { }; + shapely18 = callPackage ../development/python-modules/shapely/1.8.nix { }; + shaperglot = callPackage ../development/python-modules/shaperglot { }; sharedmem = callPackage ../development/python-modules/sharedmem { }; From 9a07607d713f3fdfe52c4275101d1bb59eb6e0ef Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Wed, 6 Dec 2023 16:56:02 +0100 Subject: [PATCH 5/8] kikit: use shapely 1.8 Use maintained version of shapely 1.8 instead of locally packaged version. --- pkgs/by-name/ki/kikit/default.nix | 8 +-- pkgs/by-name/ki/kikit/shapely/default.nix | 71 ------------------- .../ki/kikit/shapely/library-paths.patch | 31 -------- 3 files changed, 3 insertions(+), 107 deletions(-) delete mode 100644 pkgs/by-name/ki/kikit/shapely/default.nix delete mode 100644 pkgs/by-name/ki/kikit/shapely/library-paths.patch diff --git a/pkgs/by-name/ki/kikit/default.nix b/pkgs/by-name/ki/kikit/default.nix index 45209545aa3d..9d6d8375e634 100644 --- a/pkgs/by-name/ki/kikit/default.nix +++ b/pkgs/by-name/ki/kikit/default.nix @@ -16,13 +16,10 @@ , pcbnew-transition , pybars3 , versioneer +, shapely18 }: let solidpython = callPackage ./solidpython { }; - - # https://github.com/yaqwsx/KiKit/issues/574 - # copy-pasted from nixpkgs#8d8e62e74f511160a599471549a98bc9e4f4818d - shapely = callPackage ./shapely { }; in buildPythonApplication rec { pname = "kikit"; @@ -48,7 +45,8 @@ buildPythonApplication rec { wxPython_4_2 pcbnew-transition pybars3 - shapely + # https://github.com/yaqwsx/KiKit/issues/574 + shapely18 # https://github.com/yaqwsx/KiKit/issues/576 solidpython ]; diff --git a/pkgs/by-name/ki/kikit/shapely/default.nix b/pkgs/by-name/ki/kikit/shapely/default.nix deleted file mode 100644 index 7f136a1338ad..000000000000 --- a/pkgs/by-name/ki/kikit/shapely/default.nix +++ /dev/null @@ -1,71 +0,0 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, substituteAll -, pythonOlder -, geos -, pytestCheckHook -, cython -, numpy -}: - -buildPythonPackage rec { - pname = "Shapely"; - version = "1.8.4"; - disabled = pythonOlder "3.6"; - - src = fetchPypi { - inherit pname version; - sha256 = "sha256-oZXlHKr6IYKR8suqP+9p/TNTyT7EtlsqRyLEz0DDGYw="; - }; - - nativeBuildInputs = [ - geos # for geos-config - cython - ]; - - propagatedBuildInputs = [ - numpy - ]; - - checkInputs = [ - pytestCheckHook - ]; - - # Environment variable used in shapely/_buildcfg.py - GEOS_LIBRARY_PATH = "${geos}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}"; - - patches = [ - # Patch to search form GOES .so/.dylib files in a Nix-aware way - (substituteAll { - src = ./library-paths.patch; - libgeos_c = GEOS_LIBRARY_PATH; - libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6"; - }) - ]; - - preCheck = '' - rm -r shapely # prevent import of local shapely - ''; - - disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ - # FIXME(lf-): these logging tests are broken, which is definitely our - # fault. I've tried figuring out the cause and failed. - # - # It is apparently some sandbox or no-sandbox related thing on macOS only - # though. - "test_error_handler_exception" - "test_error_handler" - "test_info_handler" - ]; - - pythonImportsCheck = [ "shapely" ]; - - meta = with lib; { - description = "Geometric objects, predicates, and operations"; - homepage = "https://pypi.python.org/pypi/Shapely/"; - license = with licenses; [ bsd3 ]; - maintainers = with maintainers; [ knedlsepp ]; - }; -} diff --git a/pkgs/by-name/ki/kikit/shapely/library-paths.patch b/pkgs/by-name/ki/kikit/shapely/library-paths.patch deleted file mode 100644 index 12f93e757f9a..000000000000 --- a/pkgs/by-name/ki/kikit/shapely/library-paths.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/shapely/geos.py b/shapely/geos.py -index 88c5f53..1ccd6e4 100644 ---- a/shapely/geos.py -+++ b/shapely/geos.py -@@ -96,6 +96,7 @@ if sys.platform.startswith('linux'): - alt_paths = [ - 'libgeos_c.so.1', - 'libgeos_c.so', -+ '@libgeos_c@', - ] - _lgeos = load_dll('geos_c', fallbacks=alt_paths) - -@@ -160,6 +161,7 @@ elif sys.platform == 'darwin': - "/usr/local/lib/libgeos_c.dylib", - # homebrew Apple Silicon - "/opt/homebrew/lib/libgeos_c.dylib", -+ "@libgeos_c@", - ] - _lgeos = load_dll('geos_c', fallbacks=alt_paths) - -diff --git a/tests/test_dlls.py b/tests/test_dlls.py -index c71da8e..c36262c 100644 ---- a/tests/test_dlls.py -+++ b/tests/test_dlls.py -@@ -18,4 +18,5 @@ class LoadingTestCase(unittest.TestCase): - '/opt/homebrew/lib/libgeos_c.dylib', # homebrew (macOS) - os.path.join(sys.prefix, "lib", "libgeos_c.so"), # anaconda (Linux) - 'libgeos_c.so.1', -- 'libgeos_c.so']) -+ 'libgeos_c.so', -+ '@libgeos_c@']) From c975ff60fc00336c64509e93b2b7e6b0b8af860a Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Thu, 7 Dec 2023 09:43:32 +0100 Subject: [PATCH 6/8] geos: rename geos39 to geos_3_9 --- pkgs/development/python-modules/django/3.nix | 4 ++-- .../python-modules/django/django_3_set_geos_gdal_lib.patch | 2 +- pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/django/3.nix b/pkgs/development/python-modules/django/3.nix index 077ea73bd8b9..295094c65928 100644 --- a/pkgs/development/python-modules/django/3.nix +++ b/pkgs/development/python-modules/django/3.nix @@ -3,7 +3,7 @@ , buildPythonPackage , fetchPypi , substituteAll -, geos39 +, geos_3_9 , gdal , asgiref , pytz @@ -33,7 +33,7 @@ buildPythonPackage rec { ] ++ lib.optional withGdal (substituteAll { src = ./django_3_set_geos_gdal_lib.patch; - inherit geos39; + inherit geos_3_9; inherit gdal; extension = stdenv.hostPlatform.extensions.sharedLibrary; }); diff --git a/pkgs/development/python-modules/django/django_3_set_geos_gdal_lib.patch b/pkgs/development/python-modules/django/django_3_set_geos_gdal_lib.patch index 15f0773dcf4f..a7dfa086a0a7 100644 --- a/pkgs/development/python-modules/django/django_3_set_geos_gdal_lib.patch +++ b/pkgs/development/python-modules/django/django_3_set_geos_gdal_lib.patch @@ -18,7 +18,7 @@ diff -Nur a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos lib_path = settings.GEOS_LIBRARY_PATH except (AttributeError, ImportError, ImproperlyConfigured, OSError): - lib_path = None -+ lib_path = "@geos39@/lib/libgeos_c@extension@" ++ lib_path = "@geos_3_9@/lib/libgeos_c@extension@" # Setting the appropriate names for the GEOS-C library. if lib_path: diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 386a6d6d6116..22dbd23c4d2c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21453,7 +21453,7 @@ with pkgs; stdenv = if stdenv.cc.isClang then overrideLibcxx llvmPackages_14.stdenv else stdenv; }; - geos39 = callPackage ../development/libraries/geos/3.9.nix { }; + geos_3_9 = callPackage ../development/libraries/geos/3.9.nix { }; geos311 = callPackage ../development/libraries/geos/3.11.nix { }; From 0d883c3cea84a796499780d91930e7ca9633d387 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Thu, 7 Dec 2023 09:45:06 +0100 Subject: [PATCH 7/8] geos: rename geos311 to geos_3_11 --- pkgs/development/python-modules/pygeos/default.nix | 4 ++-- pkgs/development/python-modules/shapely/1.8.nix | 8 ++++---- pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pygeos/default.nix b/pkgs/development/python-modules/pygeos/default.nix index 3a5759dfb67a..1e4d15c88089 100644 --- a/pkgs/development/python-modules/pygeos/default.nix +++ b/pkgs/development/python-modules/pygeos/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchPypi , python -, geos311 +, geos_3_11 , pytestCheckHook , cython , numpy @@ -18,7 +18,7 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - geos311 # for geos-config + geos_3_11 # for geos-config cython ]; diff --git a/pkgs/development/python-modules/shapely/1.8.nix b/pkgs/development/python-modules/shapely/1.8.nix index 2afbdba3d79b..28a248af0bed 100644 --- a/pkgs/development/python-modules/shapely/1.8.nix +++ b/pkgs/development/python-modules/shapely/1.8.nix @@ -7,7 +7,7 @@ , substituteAll , cython -, geos311 +, geos_3_11 , numpy , oldest-supported-numpy , setuptools @@ -27,7 +27,7 @@ buildPythonPackage rec { }; # Environment variable used in shapely/_buildcfg.py - GEOS_LIBRARY_PATH = "${geos311}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}"; + GEOS_LIBRARY_PATH = "${geos_3_11}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}"; patches = [ # Patch to search form GOES .so/.dylib files in a Nix-aware way @@ -44,14 +44,14 @@ buildPythonPackage rec { nativeBuildInputs = [ cython - geos311 # for geos-config + geos_3_11 # for geos-config oldest-supported-numpy setuptools wheel ]; buildInputs = [ - geos311 + geos_3_11 ]; propagatedBuildInputs = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 22dbd23c4d2c..8d4ec8fb573e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21455,7 +21455,7 @@ with pkgs; geos_3_9 = callPackage ../development/libraries/geos/3.9.nix { }; - geos311 = callPackage ../development/libraries/geos/3.11.nix { }; + geos_3_11 = callPackage ../development/libraries/geos/3.11.nix { }; getdata = callPackage ../development/libraries/getdata { }; From 8b5d46f1ce15b75312c17b999a47fdd351a3b0a9 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Thu, 7 Dec 2023 09:45:59 +0100 Subject: [PATCH 8/8] python3Packages.shapely: rename shapely18 to shapely_1_8 --- pkgs/by-name/ki/kikit/default.nix | 4 ++-- pkgs/top-level/python-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ki/kikit/default.nix b/pkgs/by-name/ki/kikit/default.nix index 9d6d8375e634..886cca973837 100644 --- a/pkgs/by-name/ki/kikit/default.nix +++ b/pkgs/by-name/ki/kikit/default.nix @@ -16,7 +16,7 @@ , pcbnew-transition , pybars3 , versioneer -, shapely18 +, shapely_1_8 }: let solidpython = callPackage ./solidpython { }; @@ -46,7 +46,7 @@ buildPythonApplication rec { pcbnew-transition pybars3 # https://github.com/yaqwsx/KiKit/issues/574 - shapely18 + shapely_1_8 # https://github.com/yaqwsx/KiKit/issues/576 solidpython ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cebbd1d18198..85771452287d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12933,7 +12933,7 @@ self: super: with self; { shapely = callPackage ../development/python-modules/shapely { }; - shapely18 = callPackage ../development/python-modules/shapely/1.8.nix { }; + shapely_1_8 = callPackage ../development/python-modules/shapely/1.8.nix { }; shaperglot = callPackage ../development/python-modules/shaperglot { };