forked from mirrors/nixpkgs
darling-dmg: enable LZFSE support
This allows decompressing DMGs which are compressed with LZFSE.
This commit is contained in:
parent
3d38fae90d
commit
9dbf2d600a
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
|
||||
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu, lzfse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "darling-dmg";
|
||||
|
@ -12,8 +12,12 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu ];
|
||||
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu lzfse ];
|
||||
|
||||
CXXFLAGS = [
|
||||
"-DCOMPILE_WITH_LZFSE=1"
|
||||
"-llzfse"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.darlinghq.org/";
|
||||
|
|
Loading…
Reference in a new issue