nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 homepage = "https://boot-clj.github.io/";
21 license = licenses.epl10;
22 platforms = platforms.linux ++ platforms.darwin;
23 maintainers = with maintainers; [ ragge ];
24 };
25}