2021-05-19 20:13:44 +01:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
2021-04-30 14:16:12 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bacon";
|
2021-06-23 01:58:38 +01:00
|
|
|
version = "1.1.6";
|
2021-04-30 14:16:12 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-23 01:58:38 +01:00
|
|
|
sha256 = "sha256-0/fQhBHkoI/0PhuUDLGfyjytgEEJWSr1P67Rh0vGDnA=";
|
2021-04-30 14:16:12 +01:00
|
|
|
};
|
|
|
|
|
2021-06-23 01:58:38 +01:00
|
|
|
cargoSha256 = "sha256-O1jJXnvPLxJmcnf3qpdcpdrogQ7FtjHF8uUxQRWLDyg=";
|
2021-04-30 14:16:12 +01:00
|
|
|
|
2021-05-19 20:13:44 +01:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin CoreServices;
|
|
|
|
|
2021-04-30 14:16:12 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Background rust code checker";
|
|
|
|
homepage = "https://github.com/Canop/bacon";
|
|
|
|
license = licenses.agpl3Only;
|
|
|
|
maintainers = [ maintainers.FlorianFranzen ];
|
|
|
|
};
|
|
|
|
}
|