mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
commit
eda06d1214
1 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, jre
|
, jre
|
||||||
|
, libGL
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -30,8 +31,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
makeWrapper ${jre}/bin/java $out/bin/gitnuro --add-flags "-jar $src"
|
|
||||||
|
makeWrapper ${jre}/bin/java $out/bin/gitnuro \
|
||||||
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" \
|
||||||
|
--add-flags "-jar $src"
|
||||||
|
|
||||||
install -Dm444 $icon $out/share/icons/hicolor/scalable/apps/com.jetpackduba.Gitnuro.svg
|
install -Dm444 $icon $out/share/icons/hicolor/scalable/apps/com.jetpackduba.Gitnuro.svg
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -51,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://gitnuro.com/";
|
homepage = "https://gitnuro.com/";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
maintainers = with maintainers; [ zendo ];
|
maintainers = with maintainers; [ zendo ];
|
||||||
mainProgram = "gitnuro";
|
mainProgram = "gitnuro";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue