15 src = fetchFromGitHub {
19 sha256 = "sha256-jQXnDoLkqbDZxfsYKPDsTOE7p/BFeA8wEznpbkRVGdw=";
26 buildInputs = [ qtsvg ];
28 hardeningDisable = [ "format" ];
31 substituteInPlace app/app.pro \
32 --replace /usr/local/bin $out/bin \
33 --replace /usr/share $out/share
35 substituteInPlace app/src/views/mainWindow/MainWindow.cpp \
36 --replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png"
38 # https://github.com/xintrea/mytetra_dev/issues/164
39 substituteInPlace thirdParty/mimetex/mimetex.c \
40 --replace "const char *strcasestr" "char *strcasestr"
44 # make xdg-open overrideable at runtime
45 wrapProgram $out/bin/mytetra \
46 --suffix PATH : ${xdg-utils}/bin
50 description = "Smart manager for information collecting";
51 mainProgram = "mytetra";
52 homepage = "https://webhamster.ru/site/page/index/articles/projectcode/138";
53 license = licenses.gpl3;
55 platforms = platforms.linux;