Loading pkgs/development/python-modules/scikit-misc/default.nix +10 −21 Original line number Diff line number Diff line Loading @@ -7,24 +7,21 @@ git, meson-python, pkg-config, blas, lapack, numpy, setuptools, wheel, pytestCheckHook, }: buildPythonPackage rec { pname = "scikit-misc"; version = "0.4.0"; version = "0.5.1"; pyproject = true; src = fetchFromGitHub { owner = "has2k1"; repo = "scikit-misc"; rev = "refs/tags/v${version}"; hash = "sha256-/mX6gRc52rkHKr6GI9XIHbksdhqpksndmSBNMtk3HFs="; hash = "sha256-w6RHmVxJjLx9ov2LxXvicxmY8jixfkIRfbfVnV2yhOU="; }; postPatch = '' Loading @@ -32,8 +29,8 @@ buildPythonPackage rec { # unbound numpy and disable coverage testing in pytest substituteInPlace pyproject.toml \ --replace 'numpy==' 'numpy>=' \ --replace 'addopts = "' '#addopts = "' --replace-fail 'numpy>=2.0' 'numpy' \ --replace-fail 'addopts = "' '#addopts = "' # provide a version to use when git fails to get the tag [[ -f skmisc/_version.py ]] || \ Loading @@ -41,27 +38,19 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ cython gfortran git meson-python numpy pkg-config setuptools wheel ]; propagatedBuildInputs = [ numpy ]; buildInputs = [ blas lapack build-system = [ cython meson-python numpy setuptools ]; mesonFlags = [ "-Dblas=${blas.pname}" "-Dlapack=${lapack.pname}" ]; dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; Loading Loading
pkgs/development/python-modules/scikit-misc/default.nix +10 −21 Original line number Diff line number Diff line Loading @@ -7,24 +7,21 @@ git, meson-python, pkg-config, blas, lapack, numpy, setuptools, wheel, pytestCheckHook, }: buildPythonPackage rec { pname = "scikit-misc"; version = "0.4.0"; version = "0.5.1"; pyproject = true; src = fetchFromGitHub { owner = "has2k1"; repo = "scikit-misc"; rev = "refs/tags/v${version}"; hash = "sha256-/mX6gRc52rkHKr6GI9XIHbksdhqpksndmSBNMtk3HFs="; hash = "sha256-w6RHmVxJjLx9ov2LxXvicxmY8jixfkIRfbfVnV2yhOU="; }; postPatch = '' Loading @@ -32,8 +29,8 @@ buildPythonPackage rec { # unbound numpy and disable coverage testing in pytest substituteInPlace pyproject.toml \ --replace 'numpy==' 'numpy>=' \ --replace 'addopts = "' '#addopts = "' --replace-fail 'numpy>=2.0' 'numpy' \ --replace-fail 'addopts = "' '#addopts = "' # provide a version to use when git fails to get the tag [[ -f skmisc/_version.py ]] || \ Loading @@ -41,27 +38,19 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ cython gfortran git meson-python numpy pkg-config setuptools wheel ]; propagatedBuildInputs = [ numpy ]; buildInputs = [ blas lapack build-system = [ cython meson-python numpy setuptools ]; mesonFlags = [ "-Dblas=${blas.pname}" "-Dlapack=${lapack.pname}" ]; dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; Loading