22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
24 lines
647 B
Nix
24 lines
647 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "bacon";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Canop";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-SlyJSBgFRLMQX68QGSTtffYL7mRROR+AF/Kix6f4miQ=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-TIENdbXpMWdsnyTIHCMpa0KJnzJPlrDZoKoAdjBw2uM=";
|
|
|
|
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 ];
|
|
};
|
|
}
|