Add libcangjie
This commit is contained in:
parent
cdd86c7875
commit
c27148d650
@ -34,6 +34,7 @@
|
||||
jcumming = "Jack Cummings <jack@mudshark.org>";
|
||||
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
|
||||
ktosiek = "Tomasz Kontusz <tomasz.kontusz@gmail.com>";
|
||||
linquize = "Linquize <linquize@yahoo.com.hk>";
|
||||
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
|
||||
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
||||
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
|
||||
|
32
pkgs/development/libraries/libcangjie/default.nix
Normal file
32
pkgs/development/libraries/libcangjie/default.nix
Normal file
@ -0,0 +1,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;
|
||||
};
|
||||
}
|
@ -4583,6 +4583,8 @@ let
|
||||
|
||||
inherit (gnome3) libcroco;
|
||||
|
||||
libcangjie = callPackage ../development/libraries/libcangjie { };
|
||||
|
||||
libctemplate = callPackage ../development/libraries/libctemplate { };
|
||||
|
||||
libcue = callPackage ../development/libraries/libcue { };
|
||||
|
Loading…
Reference in New Issue
Block a user