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