python31{1,2}Packages.duckduckgo-search: use final: old: instead of rec in overrideAttrs
Co-authored-by: Yohann Boniface <edhyjox@gmail.com>
This commit is contained in:
co-authored by
Yohann Boniface
parent
76764f6f5f
commit
83b2f02de3
@@ -10,27 +10,27 @@
|
||||
rustPlatform,
|
||||
}:
|
||||
let
|
||||
curl-cffi_0_7_0 = curl-cffi.overrideAttrs (oldAttrs: rec {
|
||||
curl-cffi_0_7_0 = curl-cffi.overrideAttrs (final: old: {
|
||||
version = "0.7.0b4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "yifeikong";
|
||||
repo = "curl_cffi";
|
||||
rev = "v${version}";
|
||||
rev = "v${final.version}";
|
||||
hash = "sha256-txrJNUzswAPeH4Iazn0iKJI0Rqk0HHRoDrtTfDHKMoo=";
|
||||
};
|
||||
});
|
||||
|
||||
orjson_3_10_3 = orjson.overrideAttrs (oldAttrs: rec {
|
||||
orjson_3_10_3 = orjson.overrideAttrs (final: old: {
|
||||
version = "3.10.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ijl";
|
||||
repo = "orjson";
|
||||
rev = "refs/tags/${version}";
|
||||
repo = old.pname;
|
||||
rev = "refs/tags/${final.version}";
|
||||
hash = "sha256-bK6wA8P/IXEbiuJAx7psd0nUUKjR1jX4scFfJr1MBAk=";
|
||||
};
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${oldAttrs.pname}-${version}";
|
||||
inherit (final) src;
|
||||
name = "${old.pname}-${final.version}";
|
||||
hash = "sha256-ilGq+/gPSuNwURUWy2ZxInzmUv+PxYMxd8esxrMpr2o=";
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user