Skip to content

Commit

Permalink
Merge pull request NixOS#229675 from wegank/scooby-bump
Browse files Browse the repository at this point in the history
python310Packages.scooby: 0.7.1 -> 0.7.2
  • Loading branch information
wegank authored May 3, 2023
2 parents 6b788bd + 01986b0 commit 28e89e1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions pkgs/development/python-modules/scooby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

buildPythonPackage rec {
pname = "scooby";
version = "0.7.1";
version = "0.7.2";
format = "setuptools";

disabled = pythonOlder "3.7";
Expand All @@ -22,16 +22,9 @@ buildPythonPackage rec {
owner = "banesullivan";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-wKbCIA6Xp+VYhcQ5ZpHo5usB+ksnMAJyv5naBvl4Cxo=";
hash = "sha256-eY8Ysc20Q1OHKb/LU+4gqnSgNfHCytjOnnvB24EfQto=";
};

postPatch = ''
substituteInPlace setup.py \
--replace "python_requires='>=3.7.*'" "python_requires='>=3.7'"
'';

SETUPTOOLS_SCM_PRETEND_VERSION = version;

nativeBuildInputs = [
setuptools-scm
];
Expand All @@ -45,6 +38,8 @@ buildPythonPackage rec {
scipy
];

env.SETUPTOOLS_SCM_PRETEND_VERSION = version;

preCheck = ''
export PATH="$PATH:$out/bin";
'';
Expand Down

0 comments on commit 28e89e1

Please sign in to comment.