mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
33 lines
936 B
Nix
33 lines
936 B
Nix
{ stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkgconfig, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcangjie-1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Cangjians/libcangjie/archive/v1.1.tar.gz";
|
|
sha256 = "1iy57vlmwgai9763adx6q4fisg2c63cmp31d1cd8mk00c222bw1z";
|
|
};
|
|
|
|
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;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.linquize ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|