diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-03-19T12·43+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-03-19T12·43+0100 |
commit | fc7b24245fb700dd428d4e2e16820ff3d692c4ea (patch) | |
tree | cf8dbbff22e3ea6693dbb63aac393d92bb9e4959 | |
parent | 779227164a8a8c7c91da79c2c8daa131db4939fa (diff) |
refactor(pkgs): Install kontemplate from nixpkgs
Kontemplate has been upstreamed into Nix (yay!).
-rw-r--r-- | packages.nix | 3 | ||||
-rw-r--r-- | pkgs/kontemplate.nix | 22 |
2 files changed, 1 insertions, 24 deletions
diff --git a/packages.nix b/packages.nix index db803db9a6f4..d999f61591f2 100644 --- a/packages.nix +++ b/packages.nix @@ -86,12 +86,12 @@ in { # Unstable packages: unstable.numix-cursor-theme + unstable.kontemplate # Overlay packages: (rustChannelOf { date = "2018-01-04"; channel = "stable"; }).rust # Rust 1.23.0 # Custom packages: - (import pkgs/kontemplate.nix) (import pkgs/mq-cli.nix) (import pkgs/nixfd.nix) (import pkgs/pulseaudio-ctl.nix) @@ -100,4 +100,3 @@ in { (import pkgs/gopass-bin.nix { inherit pkgs; }) ]; } - diff --git a/pkgs/kontemplate.nix b/pkgs/kontemplate.nix deleted file mode 100644 index d6f686dcb8da..000000000000 --- a/pkgs/kontemplate.nix +++ /dev/null @@ -1,22 +0,0 @@ -# Install the latest kontemplate version -with import <nixpkgs> {}; - -stdenv.mkDerivation { - name = "kontemplate-1.3.0"; - - src = fetchzip { - url = "https://github.com/tazjin/kontemplate/releases/download/v1.3.0/kontemplate-1.3.0-98daa6b-linux-amd64.tar.gz"; - sha256 = "0byybdc1xli96rxyg3wf7548b055ca355qavi435riwlkmn9c5da"; - }; - - installPhase = '' - mkdir -p $out/bin - mv kontemplate $out/bin/kontemplate - ''; - - meta = with stdenv.lib; { - description = "Extremely simple Kubernetes resource templates"; - homepage = "http://kontemplate.works"; - license = licenses.mit; - }; -} |