2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, glib, ncurses}:
|
2009-11-04 22:38:26 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 21:14:04 +00:00
|
|
|
pname = "libpseudo";
|
|
|
|
version = "1.2.0";
|
2009-04-22 22:33:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 21:14:04 +00:00
|
|
|
url = "mirror://sourceforge/libpseudo/libpseudo-${version}.tar.gz";
|
2009-11-04 22:38:26 +00:00
|
|
|
sha256 = "0d3pw0m3frycr3x5kzqcaj4r2qh43iv6b0fpd6l4yk0aa4a9560n";
|
2009-04-22 22:33:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ -e /ldconfig/d Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/include
|
|
|
|
mkdir -p $out/lib
|
2009-04-22 22:33:24 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ glib ncurses ];
|
2009-04-22 22:33:24 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://libpseudo.sourceforge.net/";
|
2009-04-22 22:33:24 +01:00
|
|
|
description = "Simple, thread-safe messaging between threads";
|
2015-05-28 18:20:29 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.linux;
|
2009-04-22 22:33:24 +01:00
|
|
|
};
|
|
|
|
}
|