1 { lib, buildNimPackage, fetchFromGitea }:
3 buildNimPackage (final: prev: {
6 outputs = [ "bin" "out" ];
7 requiredNimVersion = 1;
9 domain = "codeberg.org";
13 hash = "sha256-JVl2/PmFVYuD4s9hKoQwVDKUa3PBWK5SBDEmVHVSuig=";
15 lockFile = ./lock.json;
17 mkdir -p "$bin/share/recoll/filters"
18 mv "$bin/bin/rclerislink" "$bin/share/recoll/filters/"
20 mkdir -p "$bin/share/applications"
21 substitute "eris-open.desktop" "$bin/share/applications/eris-open.desktop"\
22 --replace "Exec=eriscmd " "Exec=$bin/bin/eriscmd "
24 install -D "eris-link.xml" -t "$bin/share/mime/packages"
25 install -D "eris48.png" "$bin/share/icons/hicolor/48x48/apps/eris.png"
27 meta = final.src.meta // {
28 homepage = "https://codeberg.org/eris/nim-eris";
29 license = lib.licenses.unlicense;
30 maintainers = with lib.maintainers; [ ehmry ];
31 mainProgram = "eriscmd";
32 badPlatforms = lib.platforms.darwin;