3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libpseudo/default.nix
Tobias Geerinckx-Rice b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00

27 lines
645 B
Nix

{stdenv, fetchurl, pkgconfig, glib, ncurses}:
stdenv.mkDerivation rec {
name = "libpseudo-1.2.0";
src = fetchurl {
url = "mirror://sourceforge/libpseudo/${name}.tar.gz";
sha256 = "0d3pw0m3frycr3x5kzqcaj4r2qh43iv6b0fpd6l4yk0aa4a9560n";
};
patchPhase = ''
sed -i -e s@/usr/local@$out@ -e /ldconfig/d Makefile
'';
preInstall = ''
mkdir -p $out/include
mkdir -p $out/lib
'';
buildInputs = [ pkgconfig glib ncurses ];
meta = with stdenv.lib; {
homepage = http://libpseudo.sourceforge.net/;
description = "Simple, thread-safe messaging between threads";
license = with licenses; gpl2Plus;
};
}