blob: b0dc69a676adebda3c7e275c2e6a05b68bf5dbb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ stdenv, lib, pkgs, }:
stdenv.mkDerivation {
name = "base16-builder";
src = pkgs.fetchFromGitHub {
owner = "auduchinok";
repo = "base16-builder";
rev = "51e3ad4d447fc3f1f539d0bfe33c851728fb6b5f";
sha256 = "1qir689h38c6jr7fbbqbc3029544zgv41lrrqdcq26kcwxcwjrz1";
};
nativeBuildInputs = [pkgs.ruby];
# builds everything
buildPhase = "${pkgs.ruby}/bin/ruby base16";
installPhase = ''
mkdir -p $out
cp -r output/* $out
'';
}
|