libre: 2.9.0 -> 3.6.0
This commit is contained in:
parent
3e93e2445a
commit
2dfea1c1b7
2 changed files with 21 additions and 6 deletions
|
@ -1,16 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, zlib, openssl
|
||||
, cmake }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, zlib
|
||||
, openssl
|
||||
, cmake
|
||||
, SystemConfiguration
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.9.0";
|
||||
version = "3.6.0";
|
||||
pname = "libre";
|
||||
src = fetchFromGitHub {
|
||||
owner = "baresip";
|
||||
repo = "re";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YNAfHmohMqGGF8N/VdndJJ32PF/GMBoNtjo/t2lt6HA=";
|
||||
sha256 = "sha256-pFtrmrNRSL1lw10LjayOoNFrW/tTPXwmUipwC5v1MZs=";
|
||||
};
|
||||
buildInputs = [ zlib openssl ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
SystemConfiguration
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ]
|
||||
++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
|
||||
|
|
|
@ -23084,7 +23084,9 @@ with pkgs;
|
|||
inherit (lomiri) cmake-extras;
|
||||
};
|
||||
|
||||
libre = callPackage ../development/libraries/libre { };
|
||||
libre = callPackage ../development/libraries/libre {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
};
|
||||
|
||||
librecast = callPackage ../development/libraries/librecast { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue