{ fetchFromGitea, lib, nix-update-script, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage rec { pname = "bibiman"; version = "0.13.1"; src = fetchFromGitea { domain = "codeberg.org"; owner = "lukeflo"; repo = "bibiman"; tag = "v${version}"; hash = "sha256-MdUabJQ5x3/n7dfbIjAqK9hDQ+lLNOtXknY4fTSW67Q="; }; cargoHash = "sha256-FARk/BCssI35aS4yxUnfGoV6C3i4/a/LQcEMIKD29Ac="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "TUI for fast and simple interacting with your BibLaTeX database"; homepage = "https://codeberg.org/lukeflo/bibiman"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ clementpoiret ]; mainProgram = "bibiman"; platforms = lib.platforms.linux; }; }