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