mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #92300 from marsam/fix-libdigidoc-darwin
libdigidoc: enable on darwin
This commit is contained in:
commit
c93e159e53
2 changed files with 10 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2 }:
|
||||
{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2, Security }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
|
@ -12,13 +12,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ openssl pcsclite opensc libxml2 ];
|
||||
buildInputs = [ openssl pcsclite opensc libxml2 ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [ "-DFRAMEWORK=OFF" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library for creating DigiDoc signature files";
|
||||
homepage = "http://www.id.ee/";
|
||||
homepage = "https://github.com/open-eid/libdigidoc";
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.jagajaga ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12901,7 +12901,9 @@ in
|
|||
libGL = null;
|
||||
};
|
||||
|
||||
libdigidoc = callPackage ../development/libraries/libdigidoc { };
|
||||
libdigidoc = callPackage ../development/libraries/libdigidoc {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
libdigidocpp = callPackage ../development/libraries/libdigidocpp { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue