proxysql: use finalAttrs
pattern
This commit is contained in:
parent
3adecdfcbc
commit
403f35e92f
1 changed files with 10 additions and 10 deletions
|
@ -31,14 +31,14 @@
|
|||
, texinfo
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "proxysql";
|
||||
version = "2.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sysown";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
repo = "proxysql";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-HFhfAWyDB20t+c4s9NlVwdANrFobVyr+vnmZqx+X20Q=";
|
||||
};
|
||||
|
||||
|
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
GIT_VERSION = version;
|
||||
GIT_VERSION = finalAttrs.version;
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
|
@ -165,12 +165,12 @@ stdenv.mkDerivation rec {
|
|||
sed -i s_/usr/bin/proxysql_$out/bin/proxysql_ $out/lib/systemd/system/*.service
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://proxysql.com/";
|
||||
meta = {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "High-performance MySQL proxy";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ ajs124 ];
|
||||
platforms = platforms.unix;
|
||||
homepage = "https://proxysql.com/";
|
||||
license = with lib.licenses; [ gpl3Only ];
|
||||
maintainers = with lib.maintainers; [ ajs124 ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue