Skip to content

Commit

Permalink
python310Packages.scooby: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Mar 16, 2023
1 parent f6b69b2 commit 1c1e089
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/scooby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ buildPythonPackage rec {
hash = "sha256-wKbCIA6Xp+VYhcQ5ZpHo5usB+ksnMAJyv5naBvl4Cxo=";
};

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

SETUPTOOLS_SCM_PRETEND_VERSION = version;

nativeBuildInputs = [
Expand Down

0 comments on commit 1c1e089

Please sign in to comment.