mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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 New Issue
Block a user