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