python39Packages.setupmeta: fix version number

main
Sandro Jäckel 2 years ago committed by Jonathan Ringer
parent 095370811e
commit 80fba0e5d3
  1. 13
      pkgs/development/python-modules/setupmeta/default.nix

@ -23,14 +23,25 @@ buildPythonPackage rec {
sha256 = "21hABRiY8CTKkpFjePgBAtjs4/G5eFS3aPNMCBC41CY=";
};
preBuild = ''
export PYGRADLE_PROJECT_VERSION=${version};
'';
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
git
mock
pep440
pytestCheckHook
setuptools-scm
];
preCheck = ''
unset PYGRADLE_PROJECT_VERSION
'';
disabledTests = [
# Tests want to scan site-packages
"test_check_dependencies"

Loading…
Cancel
Save