Merge pull request #122963 from jtojnar/adminer

adminer: 4.8.0 → 4.8.1

authored by Jan Tojnar and committed by GitHub 9645178a f5f8f241

+9 -3
+9 -3
pkgs/servers/adminer/default.nix
··· 1 - { lib, stdenv, fetchurl, php }: 1 + { lib, stdenv, fetchurl, php, nix-update-script }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "4.8.0"; 4 + version = "4.8.1"; 5 5 pname = "adminer"; 6 6 7 7 # not using fetchFromGitHub as the git repo relies on submodules that are included in the tar file 8 8 src = fetchurl { 9 9 url = "https://github.com/vrana/adminer/releases/download/v${version}/adminer-${version}.tar.gz"; 10 - sha256 = "sha256-T2LEUoIbFrMta+wP7PNci0QkFYrJZmWP3RP/JzgqUoc="; 10 + sha256 = "sha256-2rkNq79sc5RBFxWuiaSlpWr0rwrnEFlnW1WcoxjoP2M="; 11 11 }; 12 12 13 13 nativeBuildInputs = [ ··· 31 31 32 32 runHook postInstall 33 33 ''; 34 + 35 + passthru = { 36 + updateScript = nix-update-script { 37 + attrPath = pname; 38 + }; 39 + }; 34 40 35 41 meta = with lib; { 36 42 description = "Database management in a single PHP file";