2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bacon";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "1.1.8";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "sha256-VM+suU3PLxGWXVIH26hbXFIfvRuJicLJX8D8fo1mZCM=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
cargoSha256 = "sha256-FgqYKmCEBbyv6+2GD5NwEvRz3582IZtkuVPaAT77bvY=";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin CoreServices;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Background rust code checker";
|
|
|
|
homepage = "https://github.com/Canop/bacon";
|
|
|
|
license = licenses.agpl3Only;
|
|
|
|
maintainers = [ maintainers.FlorianFranzen ];
|
|
|
|
};
|
|
|
|
}
|