mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
libtbb: init at 2018_U1
This commit is contained in:
parent
06c154386e
commit
abf222ad38
30
pkgs/development/libraries/libtbb/default.nix
Normal file
30
pkgs/development/libraries/libtbb/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, tree }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libtbb-${version}";
|
||||
version = "2018_U1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "01org";
|
||||
repo = "tbb";
|
||||
rev = "${version}";
|
||||
sha256 = "1lygz07va6hsv2vlx9zwz5d2n81rxsdhmh0pqxgj8n1bvb1rp0qw";
|
||||
};
|
||||
|
||||
buildInputs = [ tree ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/usr/include "$out"/lib
|
||||
install -m755 build/linux_*/*.so* "$out"/lib/
|
||||
cp -a include/tbb "$out"/usr/include/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.threadingbuildingblocks.org/";
|
||||
description = "High level abstract threading library";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dizfer ];
|
||||
};
|
||||
}
|
||||
|
@ -3119,6 +3119,8 @@ with pkgs;
|
||||
|
||||
libsrs2 = callPackage ../development/libraries/libsrs2 { };
|
||||
|
||||
libtbb = callPackage ../development/libraries/libtbb { };
|
||||
|
||||
libtermkey = callPackage ../development/libraries/libtermkey { };
|
||||
|
||||
libtelnet = callPackage ../development/libraries/libtelnet { };
|
||||
|
Loading…
Reference in New Issue
Block a user