Merge pull request #304513 from viraptor/cjose-darwin
cjose: fix darwin build
This commit is contained in:
commit
4e3275f6f1
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, doxygen
|
, doxygen
|
||||||
|
@ -20,6 +21,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-vDvCxMpgCdteGvNxy2HCNRaxbhxOuTadL0nM2wkFHtk=";
|
sha256 = "sha256-vDvCxMpgCdteGvNxy2HCNRaxbhxOuTadL0nM2wkFHtk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# avoid using empty prototypes; support Clang 15 and XCode 14.3 - https://github.com/OpenIDC/cjose/pull/19
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/OpenIDC/cjose/commit/63e90cf464d6a470e26886435e8d7d96a66747f6.patch";
|
||||||
|
hash = "sha256-+C5AIejb9InOGiOgUNfuP89J18O71rnq1pXyroxEDFQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config doxygen ];
|
nativeBuildInputs = [ autoreconfHook pkg-config doxygen ];
|
||||||
buildInputs = [ jansson openssl ];
|
buildInputs = [ jansson openssl ];
|
||||||
nativeCheckInputs = [ check ];
|
nativeCheckInputs = [ check ];
|
||||||
|
|
Loading…
Reference in a new issue