pflask: pin to python311

This commit is contained in:
wxt 2024-11-10 16:00:44 +08:00
parent bfa332cb9f
commit 797b0cd53a
No known key found for this signature in database
GPG Key ID: 8281D5EE2D1825A4

View File

@ -5,9 +5,10 @@
fetchpatch,
python3,
wafHook,
waf,
}:
stdenv.mkDerivation ({
stdenv.mkDerivation (finalAttrs: {
pname = "pflask";
version = "unstable-2018-01-23";
@ -28,9 +29,20 @@ stdenv.mkDerivation ({
})
];
waf-version = "2.0.27";
nativeBuildInputs = [
python3
wafHook
(wafHook.override {
waf = waf.overrideAttrs (old: {
version = finalAttrs.waf-version;
src = fetchFromGitHub {
inherit (old.src) owner repo;
rev = "waf-${finalAttrs.waf-version}";
hash = "sha256-GeEoD5CHubwR4ndGk7J7czEf0hWtPQr88TqJDPqeK0s=";
};
});
})
];
postInstall = ''