mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
commitlint-rs: init at 0.1.11
This commit is contained in:
parent
95bdd7fc6c
commit
04ed10af59
41
pkgs/by-name/co/commitlint-rs/package.nix
Normal file
41
pkgs/by-name/co/commitlint-rs/package.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
testers,
|
||||
commitlint-rs,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "commitlint-rs";
|
||||
version = "0.1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KeisukeYamashita";
|
||||
repo = "commitlint-rs";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FrYXEh75H0u1rE1YNDL/B1gMYMG43jPDJGUMv9y5/3g=";
|
||||
};
|
||||
cargoHash = "sha256-W6HkLCUoylgQQc2fFprmJeLH8KtpVUD4+BXWbNECVZ4=";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion { package = commitlint-rs; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
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; [
|
||||
mit
|
||||
asl20
|
||||
];
|
||||
mainProgram = "commitlint";
|
||||
platforms = with platforms; unix ++ windows;
|
||||
maintainers = with maintainers; [
|
||||
croissong
|
||||
getchoo
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user