lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 62 lines 2.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "tecla"; 9 version = "1.6.3"; 10 11 src = fetchurl { 12 url = "https://www.astro.caltech.edu/~mcs/tecla/libtecla-${finalAttrs.version}.tar.gz"; 13 hash = "sha256-8nV8xVBAhZ/Pj1mgt7JuAYSiK+zkTtlWikU0pHjB7ho="; 14 }; 15 16 outputs = [ 17 "out" 18 "man" 19 ]; 20 21 postPatch = '' 22 substituteInPlace install-sh \ 23 --replace "stripprog=" "stripprog=\$STRIP # " 24 ''; 25 26 env = lib.optionalAttrs stdenv.cc.isClang { 27 NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; 28 }; 29 30 meta = { 31 homepage = "https://www.astro.caltech.edu/~mcs/tecla/"; 32 description = "Command-line editing library"; 33 longDescription = '' 34 The tecla library provides UNIX and LINUX programs with interactive 35 command line editing facilities, similar to those of the UNIX tcsh 36 shell. In addition to simple command-line editing, it supports recall of 37 previously entered command lines, TAB completion of file names or other 38 tokens, and in-line wild-card expansion of filenames. The internal 39 functions which perform file-name completion and wild-card expansion are 40 also available externally for optional use by programs. 41 42 In addition, the library includes a path-searching module. This allows an 43 application to provide completion and lookup of files located in UNIX 44 style paths. Although not built into the line editor by default, it can 45 easily be called from custom tab-completion callback functions. This was 46 originally conceived for completing the names of executables and 47 providing a way to look up their locations in the user's PATH environment 48 variable, but it can easily be asked to look up and complete other types 49 of files in any list of directories. 50 51 Note that special care has been taken to allow the use of this library in 52 threaded programs. The option to enable this is discussed in the 53 Makefile, and specific discussions of thread safety are presented in the 54 included man pages. 55 ''; 56 changelog = "https://sites.astro.caltech.edu/~mcs/tecla/release.html"; 57 license = with lib.licenses; [ mit ]; 58 mainProgram = "enhance"; 59 maintainers = with lib.maintainers; [ ]; 60 platforms = lib.platforms.unix; 61 }; 62})