python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / tecla / default.nix
blob7163f24815c52c87b866e9537dda7c4c49260bf0
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "tecla";
5   version = "1.6.3";
7   src = fetchurl {
8     url = "https://www.astro.caltech.edu/~mcs/tecla/libtecla-${version}.tar.gz";
9     sha256 = "06pfq5wa8d25i9bdjkp4xhms5101dsrbg82riz7rz1a0a32pqxgj";
10   };
12   postPatch = ''
13     substituteInPlace install-sh \
14       --replace "stripprog=" "stripprog=\$STRIP # "
15   '';
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   };