14 distorm-src = fetchFromGitHub {
18 hash = "sha256-2ftEV3TMS3HT7f96k+Pwt3Mm31fVEXcHpcbbz05jycU=";
20 pname = "gtkclipblock";
23 src = fetchFromGitHub {
25 repo = "gtkclipblock";
27 hash = "sha256-ok/D7M0KekN8zf8AzhcOLtedbYVRHHv3m9zEHsJfcPM=";
28 fetchSubmodules = true;
32 inherit pname version src;
34 nativeBuildInputs = [ meson cmake ninja pkg-config ];
36 buildInputs = [ gtk2 gtk3 gtk4 ];
39 substituteInPlace subprojects/funchook-helper/subprojects/funchook/CMakeLists.txt \
40 --replace "GIT_REPOSITORY https://github.com/gdabah/distorm.git" "SOURCE_DIR ${distorm-src}"
43 dontUseCmakeConfigure = true;
46 description = "LD_PRELOAD hack to prevent GTK programs from interacting with the primary clipboard";
47 license = licenses.lgpl3Only;
48 maintainers = with maintainers; [ uartman ];
49 platforms = [ "x86_64-linux" ];