mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-01 17:49:56 +00:00
samplebrain: actually install desktop file
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
liblo,
|
||||
libsndfile,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
portaudio,
|
||||
libsForQt5,
|
||||
}:
|
||||
@@ -33,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = with libsForQt5; [
|
||||
qmake
|
||||
wrapQtAppsHook
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -43,15 +45,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libsForQt5.qtbase
|
||||
];
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
type = "Application";
|
||||
desktopName = "samplebrain";
|
||||
name = "samplebrain";
|
||||
comment = "A sample masher designed by Aphex Twin";
|
||||
exec = "samplebrain";
|
||||
icon = "samplebrain";
|
||||
categories = [ "Audio" ];
|
||||
};
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
type = "Application";
|
||||
desktopName = "samplebrain";
|
||||
name = "samplebrain";
|
||||
comment = "A sample masher designed by Aphex Twin";
|
||||
exec = "samplebrain";
|
||||
icon = "samplebrain";
|
||||
categories = [ "Audio" ];
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
Reference in New Issue
Block a user