From 780a04e991c46a111c38281fced75f9c38e972f8 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 12 Oct 2021 20:07:54 +0200 Subject: ircaids: move to dir --- krebs/5pkgs/simple/ircaids.nix | 32 -------------------------------- krebs/5pkgs/simple/ircaids/default.nix | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 krebs/5pkgs/simple/ircaids.nix create mode 100644 krebs/5pkgs/simple/ircaids/default.nix (limited to 'krebs') diff --git a/krebs/5pkgs/simple/ircaids.nix b/krebs/5pkgs/simple/ircaids.nix deleted file mode 100644 index 566346cc9..000000000 --- a/krebs/5pkgs/simple/ircaids.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, pkgs, stdenv }: - -stdenv.mkDerivation rec { - pname = "ircaids"; - version = "1.0.0"; - - src = pkgs.fetchgit { - url = "https://cgit.krebsco.de/ircaids"; - rev = "refs/tags/${version}"; - sha256 = "13z9pc9vq2xq2qpavwmh7fvzvvjkc495ssxsh8cs044qflvj54b2"; - }; - - buildPhase = null; - - installPhase = '' - mkdir -p $out/bin - - cp $src/bin/ircsink $out/bin/ircsink - sed -i ' - s;^#! /bin/sh;#! ${pkgs.dash}/bin/dash; - s;^#!.*;&\nexport PATH=${lib.makeBinPath [ - pkgs.coreutils - pkgs.gawk - pkgs.gnused - pkgs.netcat - pkgs.nettools - pkgs.openssl - pkgs.utillinux - ]}; - ' $out/bin/ircsink - ''; -} diff --git a/krebs/5pkgs/simple/ircaids/default.nix b/krebs/5pkgs/simple/ircaids/default.nix new file mode 100644 index 000000000..566346cc9 --- /dev/null +++ b/krebs/5pkgs/simple/ircaids/default.nix @@ -0,0 +1,32 @@ +{ lib, pkgs, stdenv }: + +stdenv.mkDerivation rec { + pname = "ircaids"; + version = "1.0.0"; + + src = pkgs.fetchgit { + url = "https://cgit.krebsco.de/ircaids"; + rev = "refs/tags/${version}"; + sha256 = "13z9pc9vq2xq2qpavwmh7fvzvvjkc495ssxsh8cs044qflvj54b2"; + }; + + buildPhase = null; + + installPhase = '' + mkdir -p $out/bin + + cp $src/bin/ircsink $out/bin/ircsink + sed -i ' + s;^#! /bin/sh;#! ${pkgs.dash}/bin/dash; + s;^#!.*;&\nexport PATH=${lib.makeBinPath [ + pkgs.coreutils + pkgs.gawk + pkgs.gnused + pkgs.netcat + pkgs.nettools + pkgs.openssl + pkgs.utillinux + ]}; + ' $out/bin/ircsink + ''; +} -- cgit v1.2.3