3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/bacon/default.nix
2022-10-09 04:04:32 +00:00

25 lines
647 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "bacon";
version = "2.2.5";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KoAaECfZ8DwGN/U1HCp/4NUvTvFYiN+li3I5gNYM/oU=";
};
cargoSha256 = "sha256-ifUbUeqWm/gwOqzxY8lpGvW1ArZmGAy8XxAkvEfpLVQ=";
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 ];
};
}