at 15.09-beta 24 lines 799 B view raw
1{ stdenv, fetchurl, cyrus_sasl, libevent }: 2 3stdenv.mkDerivation rec { 4 name = "libmemcached-1.0.18"; 5 6 src = fetchurl { 7 url = https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz; 8 sha256 = "10jzi14j32lpq0if0p9vygcl2c1352hwbywzvr9qzq7x6aq0nb72"; 9 }; 10 11 # Fix linking against libpthread (patch from Fedora) 12 # https://bugzilla.redhat.com/show_bug.cgi?id=1037707 13 # https://bugs.launchpad.net/libmemcached/+bug/1281907 14 patches = [ ./libmemcached-fix-linking-with-libpthread.patch ]; 15 16 buildInputs = [ cyrus_sasl libevent ]; 17 18 meta = with stdenv.lib; { 19 homepage = http://libmemcached.org; 20 description = "Open source C/C++ client library and tools for the memcached server"; 21 license = licenses.bsd3; 22 platforms = platforms.linux; 23 }; 24}