nixpkgs/pkgs/tools/filesystems/darling-dmg/default.nix
davidak 3270aa896b replace "Mac OS X" and "OS X" with "macOS"
as it is the official name since 2016

https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop

exception are parts refering to older versions of macOS like

"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07 21:41:30 +02:00

22 lines
611 B
Nix

{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
stdenv.mkDerivation rec {
name = "darling-dmg-${version}";
version = "1.0.4";
src = fetchFromGitHub {
owner = "darlinghq";
repo = "darling-dmg";
rev = "v${version}";
sha256 = "0x285p16zfnp0p6injw1frc8krif748sfgxhdd7gb75kz0dfbkrk";
};
buildInputs = [ cmake fuse openssl zlib bzip2 libxml2 icu ];
meta = {
homepage = http://www.darlinghq.org/;
description = "Darling lets you open macOS dmgs on Linux";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3;
};
}