20 src = fetchFromGitHub {
24 sha256 = "1pyb3vz19lbfz2hrfqm9a29vnajw1bigdrblbmcy32imkf4isfvm";
45 name = "message-handler-segfault.patch";
46 url = "https://github.com/mapmapteam/mapmap/pull/519/commits/22eeee59ba7de6de7b73ecec3b0ea93bdc7f04e8.patch";
47 sha256 = "0is905a4lf9vvl5b1n4ky6shrnbs5kz9mlwfk78hrl4zabfmcl5l";
49 # fix build with libsForQt515
51 url = "https://github.com/mapmapteam/mapmap/pull/518/commits/ac49acc1e2ec839832b86838e93a8c13030affeb.patch";
52 sha256 = "sha256-tSLbyIDv5mSejnw9oru5KLAyQqjgJLLREKQomEUcGt8=";
58 cp mapmap $out/bin/mapmap
59 mkdir -p $out/share/applications/
60 sed 's|Icon=/usr/share/icons/hicolor/scalable/apps/mapmap.svg|Icon=mapmap|g' resources/texts/mapmap.desktop > $out/share/applications/mapmap.desktop
61 mkdir -p $out/share/icons/hicolor/scalable/apps/
62 cp resources/images/logo/mapmap.* $out/share/icons/hicolor/scalable/apps/
67 # rm -r $NIX_BUILD_TOP/__nix_qt5__
71 description = "Open source video mapping software";
72 homepage = "https://github.com/mapmapteam/mapmap";
73 license = licenses.gpl3;
74 maintainers = [ maintainers.erictapen ];
75 platforms = platforms.linux;
76 mainProgram = "mapmap";