graylog: refactor hash attribute
rel: https://github.com/NixOS/nixpkgs/pull/310349/files#r1597704399
This commit is contained in:
parent
aebed1ae80
commit
7a8a2eead7
@ -3,7 +3,7 @@ let
|
||||
buildGraylog = callPackage ./graylog.nix {};
|
||||
in buildGraylog {
|
||||
version = "5.1.13";
|
||||
sha256 = "sha256-qjNJ51EbPjtDR5h4DElpSblj/c8WarXxPfcLTuTx5AQ=";
|
||||
hash = "sha256-qjNJ51EbPjtDR5h4DElpSblj/c8WarXxPfcLTuTx5AQ=";
|
||||
maintainers = [ lib.maintainers.f2k1de ];
|
||||
license = lib.licenses.sspl;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ let
|
||||
buildGraylog = callPackage ./graylog.nix {};
|
||||
in buildGraylog {
|
||||
version = "5.2.7";
|
||||
sha256 = "sha256-so9IHX0r3dmj5wLrLtQgrcXk+hu6E8/1d7wJu1XDcVA=";
|
||||
hash = "sha256-so9IHX0r3dmj5wLrLtQgrcXk+hu6E8/1d7wJu1XDcVA=";
|
||||
maintainers = [ lib.maintainers.f2k1de ];
|
||||
license = lib.licenses.sspl;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ let
|
||||
buildGraylog = callPackage ./graylog.nix {};
|
||||
in buildGraylog {
|
||||
version = "6.0.4";
|
||||
sha256 = "sha256-PU7AepIRwx7FibBkZaQUWUy3v2MeM7cS77FH28aj8I8=";
|
||||
hash = "sha256-PU7AepIRwx7FibBkZaQUWUy3v2MeM7cS77FH28aj8I8=";
|
||||
maintainers = with lib.maintainers; [ bbenno ];
|
||||
license = lib.licenses.sspl;
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ lib, stdenv, fetchurl, makeWrapper, openjdk11_headless, openjdk17_headless, systemd, nixosTests}:
|
||||
|
||||
{ version, sha256, maintainers, license }:
|
||||
{ version, hash, maintainers, license }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "graylog_${lib.versions.majorMinor version}";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz";
|
||||
inherit sha256;
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
Loading…
Reference in New Issue
Block a user