1{ lib, stdenv, fetchurl }:
2
3with lib;
4
5stdenv.mkDerivation rec {
6 version = "1.3.2";
7 pname = "libthreadar";
8
9 src = fetchurl {
10 url = "mirror://sourceforge/libthreadar/${pname}-${version}.tar.gz";
11 sha256 = "sha256-q5FiBlncbhdXDgRm7wgxcd4rkxqje/1ls9kPGqmomP0=";
12 };
13
14 outputs = [ "out" "dev" ];
15
16 configureFlags = [
17 "--disable-build-html"
18 ];
19
20 postInstall = ''
21 # Disable html help
22 rm -r "$out"/share
23 '';
24
25 meta = {
26 homepage = "http://libthreadar.sourceforge.net/";
27 description = "A C++ library that provides several classes to manipulate threads";
28 longDescription = ''
29 Libthreadar is a C++ library providing a small set of C++ classes to manipulate
30 threads in a very simple and efficient way from your C++ code.
31 '';
32 maintainers = with maintainers; [ izorkin ];
33 license = licenses.lgpl3;
34 platforms = platforms.unix;
35 };
36}