aboutsummaryrefslogtreecommitdiff
path: root/pkgs/webapps/adminer
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/webapps/adminer')
-rw-r--r--pkgs/webapps/adminer/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/webapps/adminer/default.nix b/pkgs/webapps/adminer/default.nix
new file mode 100644
index 0000000..b78a2e0
--- /dev/null
+++ b/pkgs/webapps/adminer/default.nix
@@ -0,0 +1,14 @@
1{ stdenv, fetchurl }:
2stdenv.mkDerivation rec {
3 version = "4.7.1";
4 name = "adminer-${version}";
5 src = fetchurl {
6 url = "https://www.adminer.org/static/download/${version}/${name}.php";
7 sha256 = "00gnck9vd44wc6ihf7hh4ma6jvdsw69xgjlkbrdf6irnni6rnvhn";
8 };
9 phases = "installPhase";
10 installPhase = ''
11 mkdir -p $out
12 cp $src $out/index.php
13 '';
14}