2009-04-22 23:33:24 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, ncurses}:
|
2009-11-04 23:38:26 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libpseudo-1.2.0";
|
2009-04-22 23:33:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-04 23:38:26 +01:00
|
|
|
url = "mirror://sourceforge/libpseudo/${name}.tar.gz";
|
|
|
|
sha256 = "0d3pw0m3frycr3x5kzqcaj4r2qh43iv6b0fpd6l4yk0aa4a9560n";
|
2009-04-22 23:33:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ -e /ldconfig/d Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/include
|
|
|
|
mkdir -p $out/lib
|
2009-04-22 23:33:24 +02:00
|
|
|
'';
|
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
buildInputs = [ pkgconfig glib ncurses ];
|
2009-04-22 23:33:24 +02:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-22 23:33:24 +02:00
|
|
|
homepage = http://libpseudo.sourceforge.net/;
|
|
|
|
description = "Simple, thread-safe messaging between threads";
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2009-04-22 23:33:24 +02:00
|
|
|
};
|
|
|
|
}
|