2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bacon";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.2.5";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-KoAaECfZ8DwGN/U1HCp/4NUvTvFYiN+li3I5gNYM/oU=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
cargoSha256 = "sha256-ifUbUeqWm/gwOqzxY8lpGvW1ArZmGAy8XxAkvEfpLVQ=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|