15 distorm-src = fetchFromGitHub {
19 hash = "sha256-2ftEV3TMS3HT7f96k+Pwt3Mm31fVEXcHpcbbz05jycU=";
21 pname = "gtkclipblock";
24 src = fetchFromGitHub {
26 repo = "gtkclipblock";
28 hash = "sha256-ok/D7M0KekN8zf8AzhcOLtedbYVRHHv3m9zEHsJfcPM=";
29 fetchSubmodules = true;
33 inherit pname version src;
49 substituteInPlace subprojects/funchook-helper/subprojects/funchook/CMakeLists.txt \
50 --replace "GIT_REPOSITORY https://github.com/gdabah/distorm.git" "SOURCE_DIR ${distorm-src}"
53 dontUseCmakeConfigure = true;
56 description = "LD_PRELOAD hack to prevent GTK programs from interacting with the primary clipboard";
57 license = licenses.lgpl3Only;
58 maintainers = with maintainers; [ uartman ];
59 platforms = [ "x86_64-linux" ];