about summary refs log tree commit diff
path: root/pkgs/by-name/bu
diff options
context:
space:
mode:
authorCédric Barreteau <cbarrete@users.noreply.github.com>2024-04-05 23:15:53 -0400
committerAustin Seipp <aseipp@pobox.com>2024-04-06 20:26:31 -0500
commit16b206e568846fc340b1f94b0da0266fed739e4a (patch)
tree99e63522214c3d7e4943332f5e1d4b6867faec21 /pkgs/by-name/bu
parent8f46851a9a7b99a25e03ea4f4284259773edd182 (diff)
buckle: init at 1.1.0
Diffstat (limited to 'pkgs/by-name/bu')
-rw-r--r--pkgs/by-name/bu/buckle/package.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/bu/buckle/package.nix b/pkgs/by-name/bu/buckle/package.nix
new file mode 100644
index 0000000000000..bc34858d52914
--- /dev/null
+++ b/pkgs/by-name/bu/buckle/package.nix
@@ -0,0 +1,35 @@
+{ lib, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "buckle";
+  version = "1.1.0";
+  cargoHash = "sha256-O90/Xo9WjLVGFEkh6S6IyvanceRBJHneEret6W8e5Yc=";
+
+  src = fetchFromGitHub {
+    owner = "benbrittain";
+    repo = "buckle";
+    rev = "v${version}";
+    sha256 = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo=";
+  };
+
+  checkFlags = [
+    # Both tests access the network.
+    "--skip=test_buck2_latest"
+    "--skip=test_buck2_specific_version"
+  ];
+
+  meta = with lib; {
+    description = "A buck2 launcher";
+    longDescription = ''
+      Buckle is a launcher for [Buck2](https://buck2.build). It manages
+      Buck2 on a per-project basis. This enables a project or team to do
+      seamless upgrades of their build system tooling. It is designed to
+      be minimally intrusive. Buckle only manages fetching Buck2 and
+      enforcing the prelude is upgraded in sync.
+    '';
+    homepage = "https://github.com/benbrittain/buckle";
+    license = licenses.mit;
+    maintainers = with maintainers; [ cbarrete ];
+    mainProgram = "buckle";
+  };
+}