amfora: Add desktop file

Add .desktop that contains mime type for gemini protocol
This commit is contained in:
Patryk Niedźwiedziński 2020-10-12 08:39:01 +02:00
parent 49b4cd546c
commit aff9d6fcc7
No known key found for this signature in database
GPG Key ID: FC6AE50A8309FBE9

View File

@ -13,6 +13,11 @@ buildGoModule rec {
vendorSha256 = "10f3bh3r3jc1185r8r1ihg8rprdpl8qwg5b6wqwsda96ydkbpi2b"; vendorSha256 = "10f3bh3r3jc1185r8r1ihg8rprdpl8qwg5b6wqwsda96ydkbpi2b";
postInstall = ''
sed -i "s:amfora:$out/bin/amfora:" amfora.desktop
install -Dm644 amfora.desktop -t $out/share/applications
'';
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {