mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
nginx: sha256 -> hash
This commit is contained in:
parent
b7cb74322c
commit
8be794b197
|
@ -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 ]
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
callPackage ./generic.nix args {
|
||||
version = "1.23.4";
|
||||
sha256 = "sha256-1DMA42uySafm7cYLyhsPw3Kguvzi80bXas+2d6h5D8A=";
|
||||
hash = "sha256-1DMA42uySafm7cYLyhsPw3Kguvzi80bXas+2d6h5D8A=";
|
||||
}
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
callPackage ./generic.nix args {
|
||||
version = "1.22.1";
|
||||
sha256 = "sha256-nrszOp6CuVKs0+K0rrHU/2QG9ySRurbNn+afDepzfzE=";
|
||||
hash = "sha256-nrszOp6CuVKs0+K0rrHU/2QG9ySRurbNn+afDepzfzE=";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue