eris: 20230716 -> 20230722

This commit is contained in:
Emery Hemingway 2023-08-02 12:34:23 +01:00
parent 774a6f236a
commit 6f3d85ff35

View file

@ -1,20 +1,20 @@
{ lib, buildNimPackage, fetchFromGitea, pkg-config, base32, coap, cbor
, freedesktop_org, illwill, syndicate, tkrzw }:
buildNimPackage rec {
buildNimPackage (final: prev: {
pname = "eris";
version = "20230716";
version = "20230722";
outputs = [ "bin" "out" ];
src = fetchFromGitea {
domain = "codeberg.org";
owner = "eris";
repo = "nim-${pname}";
rev = version;
hash = "sha256-g2mxua4++zqKeMbe98nBWh7/+rN/IElIiPcvyX0nfEY=";
repo = "nim-eris";
rev = final.version;
hash = "sha256-JVl2/PmFVYuD4s9hKoQwVDKUa3PBWK5SBDEmVHVSuig=";
};
propagatedNativeBuildInputs = [ pkg-config ];
propagatedBuildInputs =
[ base32 coap cbor freedesktop_org illwill syndicate tkrzw ];
[ base32 coap cbor freedesktop_org illwill tkrzw ];
postInstall = ''
mkdir -p "$bin/share/recoll/filters"
mv "$bin/bin/rclerislink" "$bin/share/recoll/filters/"
@ -26,11 +26,11 @@ buildNimPackage rec {
install -D "eris-link.xml" -t "$bin/share/mime/packages"
install -D "eris48.png" "$bin/share/icons/hicolor/48x48/apps/eris.png"
'';
preCheck = "rm tests/test_syndicate.nim";
meta = src.meta // {
meta = final.src.meta // {
homepage = "https://codeberg.org/eris/nim-eris";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ehmry ];
mainProgram = "eriscmd";
badPlatforms = lib.platforms.darwin;
};
}
})