python3Packages.pex: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-23 10:41:58 +01:00 committed by GitHub
parent f3d44ef3ad
commit 9e6b34fe49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, flit-core
, pythonOlder
}:
buildPythonPackage rec {
@ -9,9 +10,11 @@ buildPythonPackage rec {
version = "2.1.73";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OxIm0vFH0JadaKMGrKNNj8mA7ue1kazjpauSK6XNGiU=";
hash = "sha256-OxIm0vFH0JadaKMGrKNNj8mA7ue1kazjpauSK6XNGiU=";
};
nativeBuildInputs = [