about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libctb/default.nix
blob: d52adac556d846234900e19a25fff200b2194944 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl }:
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)"
  ];
  meta = with lib; {
    description = "Communications toolbox";
    homepage = "https://iftools.com";
    license = licenses.lgpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.misuzu ];
  };
}