From 6475ad4ea8b47849b0d54cc89856ccf45964ed07 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 16 Mar 2022 13:12:20 +0300 Subject: [PATCH] libthreadar: 1.3.5 -> 1.4.0 --- .../development/libraries/libthreadar/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/libthreadar/default.nix b/pkgs/development/libraries/libthreadar/default.nix index 5a88d4ba2056..8e94275babfd 100644 --- a/pkgs/development/libraries/libthreadar/default.nix +++ b/pkgs/development/libraries/libthreadar/default.nix @@ -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 }; }