15 boost_static = boost.override { enableStatic = true; };
18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
23 owner = "DegateCommunity";
26 hash = "sha256-INoA3Z6ya03ZMn6E+nOCkXZLoxoo2WgPDw9v5miI09A=";
30 # bump bundled catch2 to avoid incompatibility with modern glibc
32 name = "catch2-2.13.9.patch";
33 url = "https://github.com/DegateCommunity/Degate/commit/06346dde4312cbb867854899eacf58679d6ac7e2.patch";
34 includes = [ "tests/catch2/catch.hpp" ];
35 hash = "sha256-SbSA813QI8RRVy1lvAOGMGAC2KUQKjwYR2imqX40pvU=";
40 sed -i -E '/(_OUTPUT_DIRECTORY|DESTINATION)/s|\bout/||g' CMakeLists.txt
61 # provide qtimageformats plugin to allow tests to read tiff files
62 export QT_PLUGIN_PATH="${qtimageformats}/${qtbase.qtPluginPrefix}"
71 description = "Modern and open-source cross-platform software for chips reverse engineering";
72 mainProgram = "Degate";
73 homepage = "https://degate.readthedocs.io/";
74 license = licenses.gpl3;
75 platforms = platforms.unix;
76 maintainers = with maintainers; [ ris ];