13 stdenv.mkDerivation rec {
18 url = "https://www.syntevo.com/downloads/deepgit/deepgit-linux-${lib.replaceStrings [ "." ] [ "_" ] version}.tar.gz";
19 hash = "sha256-Ovd9MjgpMJvNySW/FPXYVtpLoCSQP1W1nlcNkgI7sgA=";
28 gnome.adwaita-icon-theme
35 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ glib gtk3 ]}
36 --set DEEPGIT_JAVA_HOME ${jre}
38 patchShebangs bin/deepgit.sh
41 desktopItems = [(makeDesktopItem rec {
43 desktopName = "DeepGit";
45 comment = "Git-Client";
52 startupWMClass = desktopName;
55 "x-scheme-handler/${pname}"
56 "x-scheme-handler/sourcetree"
64 mkdir -pv $out/{bin,share/icons/hicolor/scalable/apps/}
65 cp -a lib license.html $out
66 mv bin/deepgit.sh $out/bin/deepgit
68 for icon_size in 32 48 64 128 256; do
69 path=$icon_size'x'$icon_size
70 icon=bin/deepgit-$icon_size.png
71 mkdir -p $out/share/icons/hicolor/$path/apps
72 cp $icon $out/share/icons/hicolor/$path/apps/deepgit.png
79 description = "A tool to investigate the history of source code";
80 homepage = "https://www.syntevo.com/deepgit";
81 changelog = "https://www.syntevo.com/deepgit/changelog.txt";
82 license = licenses.unfree;
83 maintainers = with maintainers; [ urandom ];
84 platforms = platforms.linux;