2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "tecla";
|
|
|
|
version = "1.6.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://www.astro.caltech.edu/~mcs/tecla/libtecla-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "06pfq5wa8d25i9bdjkp4xhms5101dsrbg82riz7rz1a0a32pqxgj";
|
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace install-sh \
|
|
|
|
--replace "stripprog=" "stripprog=\$STRIP # "
|
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://www.astro.caltech.edu/~mcs/tecla/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Command-line editing library";
|
|
|
|
license = "as-is";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|