blob: cd01080acc2e1bce58bc952b219c4115f3ed18b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "4.8.2";
pname = "adminer";
src = fetchurl {
url = "https://github.com/adminerevo/adminerevo/releases/download/v${version}/${pname}-${version}.php";
sha256 = "sha256-jXcnGLyNQZqJKS0Rs+UY1SxzknBEZwBhcbD0BmJVFKs=";
};
phases = "installPhase";
installPhase = ''
mkdir -p $out
cp $src $out/index.php
'';
}
|