1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

python3Packages.executing: fix build

Adds missing setuptools-scm dependency.
This commit is contained in:
Martin Weinelt 2021-09-01 16:32:53 +02:00
parent f140e5b2bf
commit 8c41a03a2d

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, asttokens
}:
@ -15,6 +16,10 @@ buildPythonPackage rec {
sha256 = "1hqx94h6l2wg9sljiaajfay2nr62sqa819w3bxrz8cdki1abdygv";
};
nativeBuildInputs = [
setuptools-scm
];
preBuild = ''
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
'';