diff options
author | makefu <github@syntax-fehler.de> | 2021-09-05 18:22:38 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-09-05 18:22:38 +0200 |
commit | 3299706b01ea1431769e9e017c4d639e673ec1d2 (patch) | |
tree | fc717c0bbd76a4d6be3630e55beb5311bcf15877 /krebs/5pkgs/simple/htgen-cyberlocker/default.nix | |
parent | 5c570ab3fc90ca689a9f01c0bffd2470130738ba (diff) | |
parent | c7db9e13cde6ba34afd863d0f9e77410c194039c (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/5pkgs/simple/htgen-cyberlocker/default.nix')
-rw-r--r-- | krebs/5pkgs/simple/htgen-cyberlocker/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/htgen-cyberlocker/default.nix b/krebs/5pkgs/simple/htgen-cyberlocker/default.nix new file mode 100644 index 00000000..515ea3cf --- /dev/null +++ b/krebs/5pkgs/simple/htgen-cyberlocker/default.nix @@ -0,0 +1,29 @@ +with import <stockholm/lib>; +{ pkgs, stdenv }: +stdenv.mkDerivation rec { + pname = "htgen-cyberlocker"; + version = "1.0.0"; + + src = ./src; + + buildPhase = '' + ( + exec > htgen-cyberlocker + echo PATH=${makeBinPath [ + pkgs.coreutils + pkgs.file + pkgs.findutils + pkgs.gnugrep + pkgs.jq + pkgs.nix + pkgs.utillinux + ]} + echo STATEDIR=${shell.escape "\${STATEDIR-$HOME}"} + cat $src/htgen-cyberlocker + ) + ''; + + installPhase = '' + install -D htgen-cyberlocker $out/bin/htgen-cyberlocker + ''; +} |