nixpkgs/pkgs/development/tools/bacon/default.nix

25 lines
647 B
Nix
Raw Normal View History

2021-05-19 19:13:44 +00:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
2021-04-30 13:16:12 +00:00
rustPlatform.buildRustPackage rec {
pname = "bacon";
2021-10-29 02:18:16 +00:00
version = "1.2.2";
2021-04-30 13:16:12 +00:00
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
2021-10-29 02:18:16 +00:00
sha256 = "sha256-pcwu6UJr8pgTVXMefXCtET2DFaNIixmwCUYlv1GF8Ck=";
2021-04-30 13:16:12 +00:00
};
2021-10-29 02:18:16 +00:00
cargoSha256 = "sha256-zpVnF1InSVEZfhch7g5w2WgFYXwp9xVjEV3gvwx+Ndo=";
2021-04-30 13:16:12 +00:00
2021-05-19 19:13:44 +00:00
buildInputs = lib.optional stdenv.isDarwin CoreServices;
2021-04-30 13:16:12 +00:00
meta = with lib; {
description = "Background rust code checker";
homepage = "https://github.com/Canop/bacon";
license = licenses.agpl3Only;
maintainers = [ maintainers.FlorianFranzen ];
};
}