depot/third_party/nixpkgs/pkgs/applications/version-management/commit-formatter/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

23 lines
636 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "commit-formatter";
version = "0.2.1";
src = fetchFromGitHub {
owner = "Eliot00";
repo = pname;
rev = "v${version}";
sha256 = "EYzhb9jJ4MzHxIbaTb1MxeXUgoxTwcnq5JdxAv2uNcA=";
};
cargoHash = "sha256-AeHQCoP1HOftlOt/Yala3AXocMlwwIXIO2i1AsFSvGQ=";
meta = with lib; {
description = "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 ];
mainProgram = "git-cf";
};
}