mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
25 lines
647 B
Nix
25 lines
647 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "bacon";
|
|
version = "2.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Canop";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aOxwM9ur0E/biLOzhDyTCWYBwdbpsTQ49aCfkFea5ck=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-AUoLwryuEdUdWasaHuap6qff8DRi90iq/v4afyG9beo=";
|
|
|
|
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 ];
|
|
};
|
|
}
|