nginx: sha256 -> hash

This commit is contained in:
ajs124 2023-04-03 12:40:49 +02:00
parent b7cb74322c
commit 8be794b197
4 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ outer@{ lib, stdenv, fetchurl, fetchpatch, openssl, zlib, pcre, libxml2, libxslt
, version
, nginxVersion ? version
, src ? null # defaults to upstream nginx ${version}
, sha256 ? null # when not specifying src
, hash ? null # when not specifying src
, configureFlags ? []
, nativeBuildInputs ? []
, buildInputs ? []
@ -55,7 +55,7 @@ stdenv.mkDerivation {
src = if src != null then src else fetchurl {
url = "https://nginx.org/download/nginx-${version}.tar.gz";
inherit sha256;
inherit hash;
};
nativeBuildInputs = [ removeReferencesTo ]

View file

@ -2,5 +2,5 @@
callPackage ./generic.nix args {
version = "1.23.4";
sha256 = "sha256-1DMA42uySafm7cYLyhsPw3Kguvzi80bXas+2d6h5D8A=";
hash = "sha256-1DMA42uySafm7cYLyhsPw3Kguvzi80bXas+2d6h5D8A=";
}

View file

@ -9,7 +9,7 @@ callPackage ./generic.nix args {
src = fetchhg {
url = "https://hg.nginx.org/nginx-quic";
rev = "0af598651e33"; # branch=quic
sha256 = "sha256-rG0jXA+ci7anUxZCBhXZLZKwnTtzzDEAViuoImKpALA=";
hash = "sha256-rG0jXA+ci7anUxZCBhXZLZKwnTtzzDEAViuoImKpALA=";
};
preConfigure = ''

View file

@ -2,5 +2,5 @@
callPackage ./generic.nix args {
version = "1.22.1";
sha256 = "sha256-nrszOp6CuVKs0+K0rrHU/2QG9ySRurbNn+afDepzfzE=";
hash = "sha256-nrszOp6CuVKs0+K0rrHU/2QG9ySRurbNn+afDepzfzE=";
}