Skip to content

Commit

Permalink
[Backport release-24.11] commitlint-rs: 0.1.12 -> 0.2.2 (#363693)
Browse files Browse the repository at this point in the history
commitlint-rs: 0.1.12 -> 0.2.2 (#361660)

Changelog: https://github.com/KeisukeYamashita/commitlint-rs/releases/tag/v0.2.2
Diff: KeisukeYamashita/commitlint-rs@v0.1.12...v0.2.2
(cherry picked from commit 8853307)

Co-authored-by: seth <[email protected]>
  • Loading branch information
nix-backports[bot] and getchoo authored Dec 9, 2024
1 parent c08e225 commit a66059d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions pkgs/by-name/co/commitlint-rs/package.nix
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
{
fetchFromGitHub,
lib,
commitlint-rs,
fetchFromGitHub,
nix-update-script,
rustPlatform,
testers,
commitlint-rs,
}:

rustPlatform.buildRustPackage rec {
pname = "commitlint-rs";
version = "0.1.12";
version = "0.2.2";

src = fetchFromGitHub {
owner = "KeisukeYamashita";
repo = "commitlint-rs";
rev = "v${version}";
hash = "sha256-xDEd3jNmqur+ULjXOReolIDiqvpT2tAHj/IbH2op5Po=";
rev = "refs/tags/v${version}";
hash = "sha256-9az7AJ4NXmisRZiCFTdHQBVatgEIdRuKU6ZEKVHEgnQ=";
};
cargoHash = "sha256-SNOy0B1QARfoueMsCjLZhJsGQy2jTSeFC/D1+R/FH4Y=";

cargoHash = "sha256-6Ur4s8bMSQR9mfh6apsocle6KDIsQ6gzU5luXH7BP7M=";

passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = commitlint-rs; };
updateScript = nix-update-script { };
};

meta = with lib; {
meta = {
description = "Lint commit messages with conventional commit messages";
homepage = "https://keisukeyamashita.github.io/commitlint-rs";
changelog = "https://github.com/KeisukeYamashita/commitlint-rs/releases/tag/${src.rev}";
license = with licenses; [
license = with lib.licenses; [
mit
asl20
];
mainProgram = "commitlint";
platforms = with platforms; unix ++ windows;
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
croissong
getchoo
];
mainProgram = "commitlint";
platforms = with lib.platforms; unix ++ windows;
};
}

0 comments on commit a66059d

Please sign in to comment.