Merge pull request #122963 from jtojnar/adminer

adminer: 4.8.0 → 4.8.1
This commit is contained in:
Jan Tojnar 2021-05-15 16:25:26 +02:00 committed by GitHub
commit 9645178ab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";