Loading pkgs/development/python-modules/geoarrow-c/default.nix +14 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ }: buildPythonPackage rec { pname = "geoarrow-c"; version = "0.1.3"; version = "0.3.1"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -21,17 +21,29 @@ buildPythonPackage rec { repo = "geoarrow-c"; owner = "geoarrow"; tag = "geoarrow-c-python-${version}"; hash = "sha256-kQCD3Vptl7GtRFigr4darvdtwnaHRLZWvBBpZ0xHMgM="; hash = "sha256-cSvFCIMHuwDh83DT3R3V86S+RjPzhqcnTaFXqKL43Ns="; }; sourceRoot = "${src.name}/python/geoarrow-c"; preConfigure = '' export CFLAGS="-I../../src/src/geoarrow" ''; build-system = [ cython setuptools setuptools-scm ]; # upstream needs a bootstrap.py file to copy some source around to build the project. # This file is executed by setup.py, so at build time, when sources are readonly! # So we execute this file at patch time instead, and remove it to prevent setup.py to execute it again. postPatch = '' python ./bootstrap.py rm -v ./bootstrap.py ''; env.SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeCheckInputs = [ Loading Loading
pkgs/development/python-modules/geoarrow-c/default.nix +14 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ }: buildPythonPackage rec { pname = "geoarrow-c"; version = "0.1.3"; version = "0.3.1"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -21,17 +21,29 @@ buildPythonPackage rec { repo = "geoarrow-c"; owner = "geoarrow"; tag = "geoarrow-c-python-${version}"; hash = "sha256-kQCD3Vptl7GtRFigr4darvdtwnaHRLZWvBBpZ0xHMgM="; hash = "sha256-cSvFCIMHuwDh83DT3R3V86S+RjPzhqcnTaFXqKL43Ns="; }; sourceRoot = "${src.name}/python/geoarrow-c"; preConfigure = '' export CFLAGS="-I../../src/src/geoarrow" ''; build-system = [ cython setuptools setuptools-scm ]; # upstream needs a bootstrap.py file to copy some source around to build the project. # This file is executed by setup.py, so at build time, when sources are readonly! # So we execute this file at patch time instead, and remove it to prevent setup.py to execute it again. postPatch = '' python ./bootstrap.py rm -v ./bootstrap.py ''; env.SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeCheckInputs = [ Loading