about summary refs log tree commit diff
path: root/overrides/kontemplate.nix
blob: 28381b0137f82342a6c46754f63a8344cf545064 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ pkgs, upstream, ... }:

let master = upstream.kontemplate.overrideAttrs(_: {
  src = pkgs.fetchFromGitHub {
    owner = "tazjin";
    repo = "kontemplate";
    rev = "v1.8.0";
    sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1";
  };
});
in pkgs.writeShellScriptBin "kontemplate" ''
  export PATH="${pkgs.tools.kms_pass}/bin:$PATH"
  exec ${master}/bin/kontemplate $@
''