commit-formatter: init at 0.2.1
Update pkgs/applications/version-management/commit-formatter/default.nix Co-authored-by: Bobby Rong <rjl931189261@126.com> Update pkgs/applications/version-management/commit-formatter/default.nix Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch> Update pkgs/applications/version-management/commit-formatter/default.nix Co-authored-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
parent
b51d023b20
commit
1ed1e00d2b
2 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "commit-formatter";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Eliot00";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "EYzhb9jJ4MzHxIbaTb1MxeXUgoxTwcnq5JdxAv2uNcA=";
|
||||
};
|
||||
|
||||
cargoSha256 = "AeHQCoP1HOftlOt/Yala3AXocMlwwIXIO2i1AsFSvGQ=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A CLI tool to help you write git commit";
|
||||
homepage = "https://github.com/Eliot00/commit-formatter";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ elliot ];
|
||||
};
|
||||
}
|
|
@ -293,6 +293,8 @@ with pkgs;
|
|||
|
||||
commitlint = nodePackages."@commitlint/cli";
|
||||
|
||||
commit-formatter = callPackage ../applications/version-management/commit-formatter { };
|
||||
|
||||
containerpilot = callPackage ../applications/networking/cluster/containerpilot { };
|
||||
|
||||
coordgenlibs = callPackage ../development/libraries/coordgenlibs { };
|
||||
|
|
Loading…
Reference in a new issue