]>
Commit | Line | Data |
---|---|---|
7da817e3 IB |
1 | { stdenv, fetchurl }: |
2 | stdenv.mkDerivation rec { | |
3 | version = "4.7.1"; | |
4 | name = "adminer-${version}"; | |
5 | src = fetchurl { | |
d294939f | 6 | url = "https://github.com/vrana/adminer/releases/download/v${version}/${name}.php"; |
7da817e3 IB |
7 | sha256 = "00gnck9vd44wc6ihf7hh4ma6jvdsw69xgjlkbrdf6irnni6rnvhn"; |
8 | }; | |
9 | phases = "installPhase"; | |
10 | installPhase = '' | |
11 | mkdir -p $out | |
12 | cp $src $out/index.php | |
13 | ''; | |
14 | } |