Merge pull request #164403 from Izorkin/update-libthreadar

This commit is contained in:
Sandro 2022-03-23 04:06:02 +01:00 committed by GitHub
commit c4be9ee24a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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