adminer: 4.8.0 → 4.8.1

https://php.vrana.cz/adminer-4-8-1.php
This commit is contained in:
Jan Tojnar 2021-05-14 11:11:20 +02:00
parent 404d071c21
commit 73125cd7ce
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,13 +1,13 @@
{ lib, stdenv, fetchurl, php }:
{ lib, stdenv, fetchurl, php, nix-update-script }:
stdenv.mkDerivation rec {
version = "4.8.0";
version = "4.8.1";
pname = "adminer";
# not using fetchFromGitHub as the git repo relies on submodules that are included in the tar file
src = fetchurl {
url = "https://github.com/vrana/adminer/releases/download/v${version}/adminer-${version}.tar.gz";
sha256 = "sha256-T2LEUoIbFrMta+wP7PNci0QkFYrJZmWP3RP/JzgqUoc=";
sha256 = "sha256-2rkNq79sc5RBFxWuiaSlpWr0rwrnEFlnW1WcoxjoP2M=";
};
nativeBuildInputs = [
@ -32,6 +32,12 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "Database management in a single PHP file";
homepage = "https://www.adminer.org";