libthreadar: 1.3.5 -> 1.4.0
This commit is contained in:
parent
2fbbbacd2b
commit
6475ad4ea8
@ -1,18 +1,20 @@
|
|||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl, gcc-unwrapped }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.3.5";
|
version = "1.4.0";
|
||||||
pname = "libthreadar";
|
pname = "libthreadar";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/libthreadar/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/libthreadar/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-T5W83Ry3e1hHrnpmSLkfJDYHrVP6YDpXTqmf0WGCjB8=";
|
sha256 = "sha256-LkcVF4AnuslzpIg/S8sGNJQye6iGcQRGqCqAhg8aN5E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
buildInputs = [ gcc-unwrapped ];
|
||||||
|
|
||||||
|
CXXFLAGS = [ "-std=c++14" ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-build-html"
|
"--disable-build-html"
|
||||||
];
|
];
|
||||||
@ -22,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
rm -r "$out"/share
|
rm -r "$out"/share
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "http://libthreadar.sourceforge.net/";
|
homepage = "http://libthreadar.sourceforge.net/";
|
||||||
description = "A C++ library that provides several classes to manipulate threads";
|
description = "A C++ library that provides several classes to manipulate threads";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -32,6 +34,5 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ izorkin ];
|
maintainers = with maintainers; [ izorkin ];
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/libthreadar.x86_64-darwin
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user