treewide: use hash = "sha256-.*" in all touched files whenever possible

... but only when it does not require editing the hash itself, i.e.,  keeping
non-`base64` hashes as-is.
This commit is contained in:
Jan Malakhovski 2025-03-19 14:40:00 +00:00
parent 241ee0fa7a
commit 4c9993c5a4
6 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz";
sha256 = "Cp8erdKyKjGBY+QYAGXUlSIboaQ60gIepoZs0RgEJkA=";
hash = "sha256-Cp8erdKyKjGBY+QYAGXUlSIboaQ60gIepoZs0RgEJkA=";
};
nativeBuildInputs = [

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://savannah/m17n/${pname}-${version}.tar.gz";
sha256 = "sha256-SBJUo4CqnGbX9Ow6o3Kn4dL+R/w53252BEvUQBfEJKQ=";
hash = "sha256-SBJUo4CqnGbX9Ow6o3Kn4dL+R/w53252BEvUQBfEJKQ=";
};
nativeBuildInputs = [ gettext ];

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}.${version}.tar.bz2";
sha256 = "sha256-lFbqH+syFaQDMbXfb+OUcWnyKnjfVz9yl7DbTTn7JKw=";
hash = "sha256-lFbqH+syFaQDMbXfb+OUcWnyKnjfVz9yl7DbTTn7JKw=";
};
sourceRoot = ".";

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-NYC3LgoLXnJQURcZTc2xHOzOleotrWtOETMBgadf2qU=";
hash = "sha256-NYC3LgoLXnJQURcZTc2xHOzOleotrWtOETMBgadf2qU=";
};
# glib-2.62 deprecations

View File

@ -27,7 +27,7 @@ lib.fix (
# for when the ${version} gets older than the last two
"https://www.aleksey.com/xmlsec/download/older-releases/xmlsec1-${version}.tar.gz"
];
sha256 = "sha256-2C6TtpuKogWmFrYpF6JpMiv2Oj6q+zd1AU5hdSsgE+o=";
hash = "sha256-2C6TtpuKogWmFrYpF6JpMiv2Oj6q+zd1AU5hdSsgE+o=";
};
patches = [

View File

@ -193,7 +193,7 @@ buildPythonPackage rec {
freetype = freetype.overrideAttrs (_: {
src = fetchurl {
url = "mirror://savannah/freetype/freetype-old/freetype-2.6.1.tar.gz";
sha256 = "sha256-Cjx9+9ptoej84pIy6OltmHq6u79x68jHVlnkEyw2cBQ=";
hash = "sha256-Cjx9+9ptoej84pIy6OltmHq6u79x68jHVlnkEyw2cBQ=";
};
patches = [ ];
});