Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / version-management / commit-formatter / default.nix
blob03eead59a6ba30c0e39cc756064aa403f0424ad7
1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4   pname = "commit-formatter";
5   version = "0.2.1";
7   src = fetchFromGitHub {
8     owner = "Eliot00";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "EYzhb9jJ4MzHxIbaTb1MxeXUgoxTwcnq5JdxAv2uNcA=";
12   };
14   cargoSha256 = "AeHQCoP1HOftlOt/Yala3AXocMlwwIXIO2i1AsFSvGQ=";
16   meta = with lib; {
17     description = "A CLI tool to help you write git commit";
18     homepage = "https://github.com/Eliot00/commit-formatter";
19     license = with licenses; [ asl20 /* or */ mit ];
20     maintainers = with maintainers; [ elliot ];
21     mainProgram = "git-cf";
22   };