{ src, version, lib, stdenv, nix-update-script, nim, }: stdenv.mkDerivation (final: { pname = "tickwatch"; inherit version src; buildInputs = [ nim ]; doCheck = true; makeFlags = [ "NIM_FLAGS=--nimcache:." "VERSION=v${final.version}" ]; installFlags = [ "DESTDIR=$(out)" ]; passthru.updateScript = nix-update-script { }; meta = { homepage = "https://cgit.euxane.eu/tickwatch/about/"; changelog = "https://cgit.euxane.eu/tickwatch/tree/changelog.md?h=v${final.version}"; description = "Terminal monitoring and visualization tool"; license = lib.licenses.eupl12; maintainers = with lib.maintainers; [ euxane ]; mainProgram = "tickwatch"; }; })