nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 34 lines 1.1 kB view raw
1{ stdenv, fetchFromGitHub, automake, autoconf, libtool, openssl, expat, pkgconfig, check }: 2 3stdenv.mkDerivation rec { 4 name = "libstrophe-${version}"; 5 version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "strophe"; 9 repo = "libstrophe"; 10 rev = version; 11 sha256 = "099iv13c03y1dsn2ngdhfx2cnax0aj2gfh00w55hlzpvmjm8dsml"; 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 = with stdenv.lib.licenses; [gpl3 mit]; 31 platforms = stdenv.lib.platforms.linux; 32 maintainers = with stdenv.lib.maintainers; [devhell flosse]; 33 }; 34}