summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/cac/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-03 19:39:00 +0100
committertv <tv@krebsco.de>2016-02-03 19:39:00 +0100
commit5bc7523bb54e960f5ac00492b16519b1bce21007 (patch)
tree652efd6d25d03cbe40c068036d975d6f2ce93670 /krebs/5pkgs/cac/default.nix
parentcdb590be5072712c9552a98f8979aa94288dcbc8 (diff)
cac-1.0.3 -> cac-api-1.1.0
Diffstat (limited to 'krebs/5pkgs/cac/default.nix')
-rw-r--r--krebs/5pkgs/cac/default.nix39
1 files changed, 0 insertions, 39 deletions
diff --git a/krebs/5pkgs/cac/default.nix b/krebs/5pkgs/cac/default.nix
deleted file mode 100644
index 4d39ce2fb..000000000
--- a/krebs/5pkgs/cac/default.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{ stdenv, fetchgit, bc, coreutils, curl, gnused, inotifyTools, jq, ncurses, sshpass, ... }:
-
-stdenv.mkDerivation {
- name = "cac-1.0.3";
-
- src = fetchgit {
- url = http://cgit.cd.retiolum/cac;
- rev = "22acc1b990ac7d97c16344fbcbc2621e24cdf915";
- sha256 = "135b740617c983b3f46a1983d4744be17340d5146a0a0de0dff4bb7a53688f2f";
- };
-
- phases = [
- "unpackPhase"
- "installPhase"
- ];
-
- installPhase =
- let
- path = stdenv.lib.makeSearchPath "bin" [
- bc
- coreutils
- curl
- gnused
- inotifyTools
- jq
- ncurses
- sshpass
- ];
- in
- ''
- mkdir -p $out/bin
-
- sed < ./cac > $out/bin/cac '
- s;^_cac_main .*;PATH=${path}''${PATH+:$PATH} &;
- '
-
- chmod +x $out/bin/cac
- '';
-}