diff --git a/pkgs/by-name/ch/changelogging/package.nix b/pkgs/by-name/ch/changelogging/package.nix new file mode 100644 index 000000000000..5610d401744b --- /dev/null +++ b/pkgs/by-name/ch/changelogging/package.nix @@ -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"; + }; +}