Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / bacon / default.nix
blobb7f4f7c5d95cd48504463ed963a6ffea1221c52d
1 { lib
2 , stdenv
3 , rustPlatform
4 , fetchFromGitHub
5 , CoreServices
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "bacon";
10   version = "2.13.0";
12   src = fetchFromGitHub {
13     owner = "Canop";
14     repo = pname;
15     rev = "refs/tags/v${version}";
16     hash = "sha256-KFBb5poogtFnYePu9E5XBE0sKKev2Fuxaqj5ypscuqA=";
17   };
19   cargoHash = "sha256-OA8068ISy2WoC34Q0ANrWX27ESErntCfZ5IrO8Lvm10=";
21   buildInputs = lib.optionals stdenv.isDarwin [
22     CoreServices
23   ];
25   meta = with lib; {
26     description = "Background rust code checker";
27     homepage = "https://github.com/Canop/bacon";
28     changelog = "https://github.com/Canop/bacon/blob/v${version}/CHANGELOG.md";
29     license = licenses.agpl3Only;
30     maintainers = with maintainers; [ FlorianFranzen ];
31   };