changelogging: init at 0.7.0

This commit is contained in:
Nikita Tikhonov 2025-02-03 16:43:49 +03:00
parent 30d3f9efff
commit 3ad21240eb

View file

@ -0,0 +1,36 @@
{
lib,
fetchCrate,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "changelogging";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-orTUCBHacD0MQNfhOUWdh9RxT/9YNvgfCHFDr2eNQic=";
};
cargoHash = "sha256-2uYNwKjD0vX+C2Sj2epyTqe4sMqPa7cwVwoUHs3vtQE=";
useFetchCargoVendor = true;
passthru.updateScript = nix-update-script { };
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "CLI tool for building changelogs from fragments";
homepage = "https://github.com/nekitdev/changelogging";
changelog = "https://github.com/nekitdev/changelogging/releases/tag/v${version}";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.nekitdev ];
mainProgram = "changelogging";
};
}