summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/bacon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/bacon/default.nix')
-rw-r--r--pkgs/development/tools/bacon/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/bacon/default.nix b/pkgs/development/tools/bacon/default.nix
new file mode 100644
index 000000000000..1cf066e6b494
--- /dev/null
+++ b/pkgs/development/tools/bacon/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, rustPlatform, fetchFromGitHub, CoreServices }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "bacon";
+ version = "1.1.5";
+
+ src = fetchFromGitHub {
+ owner = "Canop";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0wyx216q9q7y60bnnw4cbpv9zlbnjm2hwq0llkjw60fp3qalj9am";
+ };
+
+ cargoSha256 = "1pii5ajl3xgylrm20pkwbd1lk7gv0pshl1cxjfna0l63q56v7f21";
+
+ 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 ];
+ };
+}