at 23.05-pre 24 lines 597 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "tecla"; 5 version = "1.6.3"; 6 7 src = fetchurl { 8 url = "https://www.astro.caltech.edu/~mcs/tecla/libtecla-${version}.tar.gz"; 9 sha256 = "06pfq5wa8d25i9bdjkp4xhms5101dsrbg82riz7rz1a0a32pqxgj"; 10 }; 11 12 postPatch = '' 13 substituteInPlace install-sh \ 14 --replace "stripprog=" "stripprog=\$STRIP # " 15 ''; 16 17 meta = { 18 description = "Command-line editing library"; 19 homepage = "https://www.astro.caltech.edu/~mcs/tecla/"; 20 license = "as-is"; 21 mainProgram = "enhance"; 22 platforms = lib.platforms.unix; 23 }; 24}