Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1180d547dafb
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e3382c54aecc
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 25, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    3d38fae View commit details
  2. darling-dmg: enable LZFSE support

    This allows decompressing DMGs which are compressed with LZFSE.
    Luflosi committed Oct 25, 2020
    Copy the full SHA
    9dbf2d6 View commit details
  3. Copy the full SHA
    7087cf9 View commit details

Commits on Nov 26, 2020

  1. Copy the full SHA
    e3382c5 View commit details
Showing with 13 additions and 10 deletions.
  1. +13 −10 pkgs/tools/filesystems/darling-dmg/default.nix
23 changes: 13 additions & 10 deletions pkgs/tools/filesystems/darling-dmg/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
{ 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";
version = "1.0.4+git20180914";
version = "1.0.4+git20200427";

src = fetchFromGitHub {
owner = "darlinghq";
repo = "darling-dmg";
rev = "97a92a6930e43cdbc9dedaee62716e3223deb027";
sha256 = "1bngr4827qnl4s2f7z39wjp13nfm3zzzykjshb43wvjz536bnqdj";
rev = "71cc76c792db30328663272788c0b64aca27fdb0";
sha256 = "08iphkxlmjddrxpbm13gxyqwcrd0k65z3l1944n4pccb6qbyj8gv";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu ];
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu lzfse ];

# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
CXXFLAGS = [
"-DCOMPILE_WITH_LZFSE=1"
"-llzfse"
];

meta = {
meta = with stdenv.lib; {
homepage = "https://www.darlinghq.org/";
description = "Darling lets you open macOS dmgs on Linux";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3;
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = with maintainers; [ Luflosi ];
};
}