nixpkgs-suyu/pkgs/development/tools/bacon/default.nix

25 lines
647 B
Nix
Raw Normal View History

2021-05-19 21:13:44 +02:00
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
2021-04-30 15:16:12 +02:00
rustPlatform.buildRustPackage rec {
pname = "bacon";
2022-02-11 13:40:56 +01:00
version = "1.2.5";
2021-04-30 15:16:12 +02:00
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
2022-02-11 13:40:56 +01:00
sha256 = "sha256-dpdQ1qBfLU6whkqVHQ/zQxqs/y+nmdvxHanaNw66QxA=";
2021-04-30 15:16:12 +02:00
};
2022-02-11 13:40:56 +01:00
cargoSha256 = "sha256-jidZhaB8gF4QBcTvVuygTZdQnlOVwOQO8MMjUuSPht0=";
2021-04-30 15:16:12 +02:00
2021-05-19 21:13:44 +02:00
buildInputs = lib.optional stdenv.isDarwin CoreServices;
2021-04-30 15:16:12 +02:00
meta = with lib; {
description = "Background rust code checker";
homepage = "https://github.com/Canop/bacon";
license = licenses.agpl3Only;
maintainers = [ maintainers.FlorianFranzen ];
};
}