mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #163479 from DeeUnderscore/misc/hdrmerge-desktop
This commit is contained in:
commit
09b4cb3c94
@ -55,17 +55,15 @@ mkDerivation rec {
|
|||||||
desktopName = "HDRMerge";
|
desktopName = "HDRMerge";
|
||||||
comment = meta.description;
|
comment = meta.description;
|
||||||
icon = "hdrmerge";
|
icon = "hdrmerge";
|
||||||
exec = "@out@/bin/hdrmerge -F";
|
exec = "hdrmerge %F";
|
||||||
categories = [ "Graphics" ];
|
categories = [ "Graphics" ];
|
||||||
mimeTypes = [ "image/x-dcraw" "image/x-adobe-dng" ];
|
mimeTypes = [ "image/x-dcraw" "image/x-adobe-dng" ];
|
||||||
terminal = false;
|
terminal = false;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstallPhase = ''
|
postInstall = ''
|
||||||
# Make a desktop item
|
install -Dm444 ../data/images/icon.png $out/share/icons/hicolor/128x128/apps/hdrmerge.png
|
||||||
mkdir -p $out/share/icons/ $out/share/applications/
|
|
||||||
cp ../data/images/logo.png $out/share/icons/hdrmerge.png
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user