mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #67503 from risicle/ris-poco-cctz-darwin
poco, cctz: enable for darwin
This commit is contained in:
commit
761cfbf986
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
{ stdenv, fetchFromGitHub, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cctz-${version}";
|
||||
|
@ -13,8 +13,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Foundation;
|
||||
|
||||
installTargets = [ "install_hdrs" "install_shared_lib" ];
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -id $out/lib/libcctz.so $out/lib/libcctz.so
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -28,6 +28,5 @@ stdenv.mkDerivation rec {
|
|||
description = "Cross-platform C++ libraries with a network/internet focus";
|
||||
license = licenses.boost;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue