Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / ri / ripsecrets / package.nix
blobd578a13eadaa2a03c3152d95ef2314302743e59c
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "ripsecrets";
8   version = "0.1.7";
10   src = fetchFromGitHub {
11     owner = "sirwart";
12     repo = "ripsecrets";
13     rev = "v${version}";
14     hash = "sha256-NDSMxIq6eBXOv/mI662vsIIOfWQEzQ5fDGznC4+gFyE=";
15   };
17   cargoHash = "sha256-vp2gQUf6TWFkJ09STOlqlEB+jsGrVGAmix2eSgBDG/o=";
19   meta = with lib; {
20     description = "A command-line tool to prevent committing secret keys into your source code";
21     homepage = "https://github.com/sirwart/ripsecrets";
22     changelog = "https://github.com/sirwart/ripsecrets/blob/${src.rev}/CHANGELOG.md";
23     license = licenses.mit;
24     maintainers = with maintainers; [ figsoda ];
25     mainProgram = "ripsecrets";
26   };