blob: b78a2e0b10bf1682ed3ad38b5dd26ea3ab165952 (
plain) (
tree)
|
|
{ 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
'';
}
|