top-level: Use hash, not sha256

The documentation only mentions the `hash` parameter
on fetches, so `sha256` is deprecated.
This commit is contained in:
nicoo 2023-09-13 10:40:27 +00:00
parent 98ca068515
commit a3f84440cb
2 changed files with 10 additions and 10 deletions

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mfIRQ8nkUbZ3Bugy3NAvOhcfzFY84J2kBUIUBcQ2/Qg=";
hash = "sha256-mfIRQ8nkUbZ3Bugy3NAvOhcfzFY84J2kBUIUBcQ2/Qg=";
};
nativeBuildInputs = [ cmake ninja ];

View file

@ -4504,7 +4504,7 @@ with pkgs;
bsh = fetchurl {
url = "http://www.beanshell.org/bsh-2.0b5.jar";
sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2";
hash = "sha256-YjIZlWOAc1SzvLWs6z3BNlAvAixrDvdDmHqD9m/uWlw=";
};
btfs = callPackage ../os-specific/linux/btfs { };
@ -14897,7 +14897,7 @@ with pkgs;
src = fetchgit {
url = "https://git.savannah.gnu.org/r/gnulib.git";
rev = "0b38e1d69f03d3977d7ae7926c1efeb461a8a971";
sha256 = "06bj9y8wcfh35h653yk8j044k7h5g82d2j3z3ib69rg0gy1xagzp";
hash = "sha256-9z/Vg3/g5WRWHH9I0QR6BZ5JCJBo+lEMLAM6xpFPchk=";
};
};
};
@ -21685,7 +21685,7 @@ with pkgs;
owner = "libgit2";
repo = "libgit2";
rev = "v${version}";
sha256 = "sha256-7atNkOBzX+nU1gtFQEaE+EF1L+eex+Ajhq2ocoJY920=";
hash = "sha256-7atNkOBzX+nU1gtFQEaE+EF1L+eex+Ajhq2ocoJY920=";
};
patches = [];
};
@ -24971,7 +24971,7 @@ with pkgs;
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "sha256-U2ReSrJwjAXUdRmwixC0DQXht/h/6rV8SOf5e2NozIs=";
hash = "sha256-U2ReSrJwjAXUdRmwixC0DQXht/h/6rV8SOf5e2NozIs=";
};
};
@ -24982,7 +24982,7 @@ with pkgs;
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SsDqhjdCdtIGNlsMj5kfiuS3zSGwcxi4KV71d95h7yk=";
hash = "sha256-SsDqhjdCdtIGNlsMj5kfiuS3zSGwcxi4KV71d95h7yk=";
};
};
@ -28285,7 +28285,7 @@ with pkgs;
version = "5.19.16";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "13g0c6ljxk3sd0ja39ndih5vrzp2ssj78qxaf8nswn8hgrkazsx1";
hash = "sha256-oeuvZn4QWa4tcqpjdKTW4v68C4zNpqEkaHrMLqlh4I0=";
};
};
@ -37290,7 +37290,7 @@ with pkgs;
owner = "ElementsProject";
repo = "elements";
rev = "ea318a45094ab3d31dd017d7781a6f28f1ffaa33"; # simplicity branch latest
sha256 = "ooe+If3HWaJWpr2ux7DpiCTqB9Hv+aXjquEjplDjvhM=";
hash = "sha256-ooe+If3HWaJWpr2ux7DpiCTqB9Hv+aXjquEjplDjvhM=";
};
};
@ -39771,7 +39771,7 @@ with pkgs;
owner = "polyml";
repo = "polyml";
rev = "bafe319bc3a65bf63bd98a4721a6f4dd9e0eabd6";
sha256 = "1ygs09zzq8icq1gc8qf4sb24lxx7sbcyd5hw3vw67a3ryaki0qw2";
hash = "sha256-gmMQp/J5qGP4HhyW5tnSp3dKxNLEYcRewCwi/H8C+vk=";
};
};
@ -41947,7 +41947,7 @@ with pkgs;
version = "1.7.9";
src = fetchurl {
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-${version}.tar.gz";
sha256 = "1pmx1yhn2gknj0an0zwqmzgwjaycapi896244np50a8y3nrsw6ck";
hash = "sha256-kxmusx0eKVCuJUSYhOJVzCvJ36+Yf2AVkHY+YaEPvd4=";
};
};
};