nixpkgs-suyu/pkgs/development/libraries/libcangjie/default.nix

33 lines
936 B
Nix
Raw Normal View History

2014-01-30 15:38:34 +01:00
{ stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkgconfig, sqlite }:
stdenv.mkDerivation rec {
2014-02-02 12:38:31 +01:00
name = "libcangjie-1.1";
2014-01-30 15:38:34 +01:00
src = fetchurl {
2014-02-02 12:38:31 +01:00
url = "https://github.com/Cangjians/libcangjie/archive/v1.1.tar.gz";
sha256 = "1iy57vlmwgai9763adx6q4fisg2c63cmp31d1cd8mk00c222bw1z";
2014-01-30 15:38:34 +01:00
};
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 = stdenv.lib.licenses.lgpl3Plus;
2014-01-30 15:38:34 +01:00
maintainers = [ stdenv.lib.maintainers.linquize ];
platforms = stdenv.lib.platforms.all;
};
}