Compare commits
1 Commits
zabbix-7
...
init-tagsp
| Author | SHA1 | Date | |
|---|---|---|---|
|
f22e20fbef
|
36
pkgs/by-name/ta/tagspaces/package.nix
Normal file
36
pkgs/by-name/ta/tagspaces/package.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ lib, fetchurl, appimageTools, imagemagick }:
|
||||
let
|
||||
pname = "tagspaces";
|
||||
version = "5.7.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/tagspaces/tagspaces/releases/download/v${version}/tagspaces-linux-x86_64-${version}.AppImage";
|
||||
hash = "sha256-DnifCZieneExsfL7B5SmxezmVIcXAjG4nw3DqgEyaNU=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
|
||||
appimageTools.wrapType2 rec {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||
#install -m 444 -D ${appimageContents}/ledger-live-desktop.desktop $out/share/applications/ledger-live-desktop.desktop
|
||||
#install -m 444 -D ${appimageContents}/ledger-live-desktop.png $out/share/icons/hicolor/1024x1024/apps/ledger-live-desktop.png
|
||||
#${imagemagick}/bin/convert ${appimageContents}/ledger-live-desktop.png -resize 512x512 ledger-live-desktop_512.png
|
||||
#install -m 444 -D ledger-live-desktop_512.png $out/share/icons/hicolor/512x512/apps/ledger-live-desktop.png
|
||||
|
||||
#substituteInPlace $out/share/applications/ledger-live-desktop.desktop \
|
||||
# --replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "A free application for organizing, annotating and managing local files with the help of tags";
|
||||
homepage = "https://tagspaces.org";
|
||||
maintainers = with maintainers; [ gador ];
|
||||
license = licenses.agpl3Only;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user