2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-01-01 15:07:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libctb";
|
|
|
|
version = "0.16";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://iftools.com/download/files/legacy/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "027wh89d0qyly3d9m6rg4x7x1gqz3y3cnxlgk0k8xgygcrm05c0w";
|
|
|
|
};
|
|
|
|
patches = [
|
|
|
|
./include-kbhit.patch
|
|
|
|
];
|
|
|
|
sourceRoot = "${pname}-${version}/build";
|
|
|
|
makeFlags = [
|
|
|
|
"prefix=$(out)"
|
|
|
|
];
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-01-01 15:07:58 +00:00
|
|
|
description = "Communications toolbox";
|
|
|
|
homepage = "https://iftools.com";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.misuzu ];
|
|
|
|
};
|
|
|
|
}
|