diff options
author | yuuko <yuuko@partyvan.io> | 2024-08-29 21:51:04 -0700 |
---|---|---|
committer | yuuko <yuuko@partyvan.io> | 2024-08-29 21:51:04 -0700 |
commit | 56449e59d7aabd1c06fb67a51a1e129b55cb9270 (patch) | |
tree | 19f3faf805e9b6461a5940d1a050d13e5271ef55 /srcds-pkgs/bad/mysql_5_5.nix |
break out of system config
Diffstat (limited to 'srcds-pkgs/bad/mysql_5_5.nix')
-rw-r--r-- | srcds-pkgs/bad/mysql_5_5.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/srcds-pkgs/bad/mysql_5_5.nix b/srcds-pkgs/bad/mysql_5_5.nix new file mode 100644 index 0000000..bd7534c --- /dev/null +++ b/srcds-pkgs/bad/mysql_5_5.nix @@ -0,0 +1,14 @@ +# TODO: find out if sourcemod is lying about needing to build against 5.5 +{ lib, stdenv, fetchurl, ncurses, cmake }: +stdenv.mkDerivation rec { + pname = "mysql"; + version = "5.5.62"; + + src = fetchurl { + url = "https://downloads.mysql.com/archives/get/p/23/file/mysql-${version}.tar.gz"; + hash = "sha256-seeFO8HwSqv2dx4K2UfzWsjSN/SzXQcG0QlclSb/mdc="; + }; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ ncurses ]; +} |