summaryrefslogtreecommitdiff
path: root/pkgs/webapps/adminer/default.nix
blob: b78a2e0b10bf1682ed3ad38b5dd26ea3ab165952 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
  version = "4.7.1";
  name = "adminer-${version}";
  src = fetchurl {
    url = "https://www.adminer.org/static/download/${version}/${name}.php";
    sha256 = "00gnck9vd44wc6ihf7hh4ma6jvdsw69xgjlkbrdf6irnni6rnvhn";
  };
  phases = "installPhase";
  installPhase = ''
    mkdir -p $out
    cp $src $out/index.php
  '';
}