summary refs log tree commit diff
path: root/pkgs/development/libraries/mac
diff options
context:
space:
mode:
authorJohannes Frankenau <johannes@frankenau.net>2018-07-16 15:36:59 +0200
committerJohannes Frankenau <johannes@frankenau.net>2018-07-16 15:36:59 +0200
commit3d60ae61e7f19522c609d74d761e9df3377f8514 (patch)
tree169845fe3fa362c607f071689573c89093e42dca /pkgs/development/libraries/mac
parent4d40a0a940db151f4010dc81bf486ec68c3f4ae1 (diff)
downloadnixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.tar
nixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.tar.gz
nixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.tar.bz2
nixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.tar.lz
nixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.tar.xz
nixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.tar.zst
nixpkgs-3d60ae61e7f19522c609d74d761e9df3377f8514.zip
mac: init at 4.11-u4-b5-s7
Diffstat (limited to 'pkgs/development/libraries/mac')
-rw-r--r--pkgs/development/libraries/mac/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mac/default.nix b/pkgs/development/libraries/mac/default.nix
new file mode 100644
index 00000000000..8a8a004a5e6
--- /dev/null
+++ b/pkgs/development/libraries/mac/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchurl, fetchpatch, yasm }:
+
+stdenv.mkDerivation rec {
+  name = "mac-${version}";
+  version = "4.11-u4-b5-s7";
+
+  src = fetchurl {
+    url = "https://www.deb-multimedia.org/pool/main/m/monkeys-audio/monkeys-audio_${version}.orig.tar.gz";
+    sha256 = "16i96cw5r3xbsivjigqp15vv32wa38k86mxq11qx1pzmpryqpqkk";
+  };
+
+  patches = [
+    (fetchpatch {
+      name = "mac-4.11.4.5.7-gcc6.patch";
+      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/mac/files/mac-4.11.4.5.7-gcc6.patch?id=1bd4e0e30e4d8a8862217d7067323851b34c7fe4";
+      sha256 = "093b8m8p8s6dmc62fc8vb4hlmjc2ncb4rdgc82g0a8gg6w5kcj8x";
+    })
+    (fetchpatch {
+      name = "mac-4.11.4.5.7-output.patch";
+      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/mac/files/mac-4.11.4.5.7-output.patch?id=1bd4e0e30e4d8a8862217d7067323851b34c7fe4";
+      sha256 = "0njmwj6d9jqi4pz4fax02w37gk22vda0grszrs2nn97zzmjl36zk";
+    })
+  ];
+
+  CXXFLAGS = "-DSHNTOOL";
+
+  nativeBuildInputs = [ yasm ];
+
+  meta = with stdenv.lib; {
+    description = "APE codec and decompressor";
+    homepage = http://www.deb-multimedia.org/dists/testing/main/binary-amd64/package/monkeys-audio.php;
+    license = licenses.unfreeRedistributable;
+    platforms = [ "x86_64-linux" ];
+    maintainers = with maintainers; [ jfrankenau ];
+  };
+}