nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 jdk,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 version = "2.7.2";
10 pname = "boot";
11
12 src = fetchurl {
13 url = "https://github.com/boot-clj/boot-bin/releases/download/${finalAttrs.version}/boot.sh";
14 sha256 = "1hqp3xxmsj5vkym0l3blhlaq9g3w0lhjgmp37g6y3rr741znkk8c";
15 };
16
17 inherit jdk;
18
19 builder = ./builder.sh;
20
21 propagatedBuildInputs = [ jdk ];
22
23 meta = {
24 description = "Build tooling for Clojure";
25 mainProgram = "boot";
26 homepage = "https://boot-clj.github.io/";
27 license = lib.licenses.epl10;
28 platforms = lib.platforms.linux ++ lib.platforms.darwin;
29 maintainers = with lib.maintainers; [ ragge ];
30 };
31})