chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / er / eriscmd / package.nix
blobdcad67e2a8a4c89f5f95e0b92b6a7eff2ecbae2b
1 { lib, buildNimPackage, fetchFromGitea }:
3 buildNimPackage (final: prev: {
4   pname = "eris";
5   version = "20230722";
6   outputs = [ "bin" "out" ];
7   requiredNimVersion = 1;
8   src = fetchFromGitea {
9     domain = "codeberg.org";
10     owner = "eris";
11     repo = "nim-eris";
12     rev = final.version;
13     hash = "sha256-JVl2/PmFVYuD4s9hKoQwVDKUa3PBWK5SBDEmVHVSuig=";
14   };
15   lockFile = ./lock.json;
16   postInstall = ''
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"
26   '';
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;
33   };