Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cleverca22/5b581f24f2362ad5a12f313b26f13eed to your computer and use it in GitHub Desktop.
Save cleverca22/5b581f24f2362ad5a12f313b26f13eed to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "icq-${version}";
version = "10.0.12153";
src = fetchFromGitHub {
owner = "mailru";
repo = "icqdesktop";
rev = "704829e8b7c9691e0195b827b7aa1710cac0c8";
sha256 = "0zrwpirrc6rcxm3bc4gp669a48670avnxgan19k89xg5lv43l4dr";
};
buildInputs = [ cmake ];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ] ++ (if stdenv.system == "x86_64-linux" then [ "-DLINUX_ARCH=64" ] else [ "-DLINUX_ARCH=32" ]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment