aboutsummaryrefslogtreecommitdiff
path: root/srcds-pkgs/bad/mysql_5_5.nix
diff options
context:
space:
mode:
Diffstat (limited to 'srcds-pkgs/bad/mysql_5_5.nix')
-rw-r--r--srcds-pkgs/bad/mysql_5_5.nix14
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 ];
+}