15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
21 repo = "huggle3-qt-lx";
23 sha256 = "scNGmMVZ6z9FTQuZCdwRYk0WP5qKfdb/M9Co8TbiMDE=";
24 fetchSubmodules = true;
33 buildInputs = [ ncurses yaml-cpp qtwebengine libirc ];
35 patches = [ ./00-remove-third-party.patch ./01-extensions.patch ];
38 echo ${version} > src/huggle_core/version.txt
39 substituteInPlace src/huggle_core/definitions_prod.hpp --subst-var out
40 substituteInPlace src/CMakeLists.txt --replace '@libirc_includes@' '${libirc.out}'
43 cmakeBuildType = "None";
46 "-S" "/build/source/src"
47 "-DINSTALL_DATA_DIR=bin"
50 "-DBUILD_SHARED_LIBS=OFF"
55 installTargets = [ "install" ];
58 description = "Anti-vandalism tool for use on MediaWiki-based projects";
59 homepage = "https://github.com/huggle/huggle3-qt-lx";
60 license = licenses.gpl3Only;
61 maintainers = [ maintainers.fee1-dead ];
62 platforms = platforms.x86_64;