graylog: refactor hash attribute

rel: https://github.com/NixOS/nixpkgs/pull/310349/files#r1597704399
This commit is contained in:
Benno Bielmeier 2024-07-16 21:52:06 +02:00
parent aebed1ae80
commit 7a8a2eead7
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ let
buildGraylog = callPackage ./graylog.nix {}; buildGraylog = callPackage ./graylog.nix {};
in buildGraylog { in buildGraylog {
version = "5.1.13"; version = "5.1.13";
sha256 = "sha256-qjNJ51EbPjtDR5h4DElpSblj/c8WarXxPfcLTuTx5AQ="; hash = "sha256-qjNJ51EbPjtDR5h4DElpSblj/c8WarXxPfcLTuTx5AQ=";
maintainers = [ lib.maintainers.f2k1de ]; maintainers = [ lib.maintainers.f2k1de ];
license = lib.licenses.sspl; license = lib.licenses.sspl;
} }

View File

@ -3,7 +3,7 @@ let
buildGraylog = callPackage ./graylog.nix {}; buildGraylog = callPackage ./graylog.nix {};
in buildGraylog { in buildGraylog {
version = "5.2.7"; version = "5.2.7";
sha256 = "sha256-so9IHX0r3dmj5wLrLtQgrcXk+hu6E8/1d7wJu1XDcVA="; hash = "sha256-so9IHX0r3dmj5wLrLtQgrcXk+hu6E8/1d7wJu1XDcVA=";
maintainers = [ lib.maintainers.f2k1de ]; maintainers = [ lib.maintainers.f2k1de ];
license = lib.licenses.sspl; license = lib.licenses.sspl;
} }

View File

@ -3,7 +3,7 @@ let
buildGraylog = callPackage ./graylog.nix {}; buildGraylog = callPackage ./graylog.nix {};
in buildGraylog { in buildGraylog {
version = "6.0.4"; version = "6.0.4";
sha256 = "sha256-PU7AepIRwx7FibBkZaQUWUy3v2MeM7cS77FH28aj8I8="; hash = "sha256-PU7AepIRwx7FibBkZaQUWUy3v2MeM7cS77FH28aj8I8=";
maintainers = with lib.maintainers; [ bbenno ]; maintainers = with lib.maintainers; [ bbenno ];
license = lib.licenses.sspl; license = lib.licenses.sspl;
} }

View File

@ -1,13 +1,13 @@
{ lib, stdenv, fetchurl, makeWrapper, openjdk11_headless, openjdk17_headless, systemd, nixosTests}: { lib, stdenv, fetchurl, makeWrapper, openjdk11_headless, openjdk17_headless, systemd, nixosTests}:
{ version, sha256, maintainers, license }: { version, hash, maintainers, license }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "graylog_${lib.versions.majorMinor version}"; pname = "graylog_${lib.versions.majorMinor version}";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz"; url = "https://packages.graylog2.org/releases/graylog/graylog-${version}.tgz";
inherit sha256; inherit hash;
}; };
dontBuild = true; dontBuild = true;