dae973cb59
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
32 lines
753 B
Nix
32 lines
753 B
Nix
{ lib
|
|
, stdenv
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, CoreServices
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "bacon";
|
|
version = "2.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Canop";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-aCdVu9R1RGju05lAeXtm47ZroNOcqTSr/vYH6capcjs=";
|
|
};
|
|
|
|
cargoHash = "sha256-uiKKyIy2IHDtHWJmG3G9UVHaASL9uEg5Zu+2Wj8mw0k=";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin [
|
|
CoreServices
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Background rust code checker";
|
|
homepage = "https://github.com/Canop/bacon";
|
|
changelog = "https://github.com/Canop/bacon/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ FlorianFranzen ];
|
|
};
|
|
}
|