at v192 34 lines 1.0 kB view raw
1{ stdenv, fetchFromGitHub, automake, autoconf, libtool, openssl, expat, pkgconfig, check }: 2 3stdenv.mkDerivation rec { 4 name = "libstrophe-${version}"; 5 version = "0.8.7"; 6 7 src = fetchFromGitHub { 8 owner = "strophe"; 9 repo = "libstrophe"; 10 rev = version; 11 sha256 = "1iic8xbcxh21dzns8m9kkz0cj5f3ppn414gnhyh4y2wcjsz6hp8l"; 12 }; 13 14 buildInputs = [ automake autoconf openssl expat libtool pkgconfig check ]; 15 16 dontDisableStatic = true; 17 18 preConfigure = "mkdir m4 && sh bootstrap.sh"; 19 20 doCheck = true; 21 22 meta = { 23 description = "A simple, lightweight C library for writing XMPP clients"; 24 longDescription = '' 25 libstrophe is a lightweight XMPP client library written in C. It has 26 minimal dependencies and is configurable for various environments. It 27 runs well on both Linux, Unix, and Windows based platforms. 28 ''; 29 homepage = http://strophe.im/libstrophe/; 30 license = stdenv.lib.licenses.gpl3; 31 platforms = stdenv.lib.platforms.linux; 32 maintainers = [ stdenv.lib.maintainers.devhell ]; 33 }; 34}