From f0b98bd0114df1e1ebb82ff300f9532d86b3eb18 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 24 May 2017 01:43:50 +0200 Subject: krebs/5pkgs: move simple pkgs to a subdir --- krebs/5pkgs/translate-shell/default.nix | 43 --------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 krebs/5pkgs/translate-shell/default.nix (limited to 'krebs/5pkgs/translate-shell') diff --git a/krebs/5pkgs/translate-shell/default.nix b/krebs/5pkgs/translate-shell/default.nix deleted file mode 100644 index 00ab226e5..000000000 --- a/krebs/5pkgs/translate-shell/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{stdenv, fetchurl,pkgs,... }: -let - s = - rec { - baseName="translate-shell"; - version="0.9.0.9"; - name="${baseName}-${version}"; - url=https://github.com/soimort/translate-shell/archive/v0.9.0.9.tar.gz; - sha256="1269j4yr9dr1d8c5kmysbzfplbgdg8apqnzs5w57d29sd7gz2i34"; - }; - searchpath = with pkgs; stdenv.lib.makeSearchPath "bin" [ - fribidi - gawk - bash - curl - less - ]; - buildInputs = [ - pkgs.makeWrapper - ]; -in -stdenv.mkDerivation { - inherit (s) name version; - inherit buildInputs; - src = fetchurl { - inherit (s) url sha256; - }; - # TODO: maybe mplayer - installPhase = '' - mkdir -p $out/bin - make PREFIX=$out install - wrapProgram $out/bin/trans --suffix PATH : "${searchpath}" - ''; - - meta = { - inherit (s) version; - description = ''translate using google api''; - license = stdenv.lib.licenses.free; - maintainers = [stdenv.lib.maintainers.makefu]; - platforms = stdenv.lib.platforms.linux ; - }; -} - -- cgit v1.2.3