blob: 695c0fa1a325b3871b5272847ad1ebbcb7c64504 (
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
24
25
26
27
28
29
30
31
32
|
{ stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkgconfig, sqlite }:
stdenv.mkDerivation rec {
name = "libcangjie-1.0";
src = fetchurl {
url = "https://github.com/Cangjians/libcangjie/archive/v1.0.tar.gz";
sha256 = "15la1pxa2fvhznlbkl32qp2cgd602bvrx2zmahybypbfik0cgqk1";
};
buildInputs = [ automake autoconf libtool m4 pkgconfig sqlite ];
configureScript = "./autogen.sh";
preConfigure = ''
find . -name '*.sh' -exec sed -e 's@#!/bin/bash@${bash}/bin/bash@' -i '{}' ';'
'';
doCheck = true;
meta = {
description = "A C library implementing the Cangjie input method";
longDescription = ''
libcangjie is a library implementing the Cangjie input method.
'';
homepage = http://cangjians.github.io/projects/libcangjie/;
license = "LGPLv3+";
maintainers = [ stdenv.lib.maintainers.linquize ];
platforms = stdenv.lib.platforms.all;
};
}
|