From 14968a4923aee17c3dd46b32ce36efeaeb80b033 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Thu, 17 May 2012 10:16:10 +0000 Subject: [PATCH] cabal-macosx haskell package svn path=/nixpkgs/trunk/; revision=34151 --- .../libraries/haskell/cabal-macosx/default.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/cabal-macosx/default.nix diff --git a/pkgs/development/libraries/haskell/cabal-macosx/default.nix b/pkgs/development/libraries/haskell/cabal-macosx/default.nix new file mode 100644 index 000000000000..45ca5b533a74 --- /dev/null +++ b/pkgs/development/libraries/haskell/cabal-macosx/default.nix @@ -0,0 +1,16 @@ +{ cabal, Cabal, fgl, filepath, MissingH, parsec }: + +cabal.mkDerivation (self: { + pname = "cabal-macosx"; + version = "0.2.2"; + sha256 = "14dc7swk03q2kp5fmhwibjh0x0pzf9ah1004skgd5six0vzfc1ch"; + isLibrary = true; + isExecutable = true; + buildDepends = [ Cabal fgl filepath MissingH parsec ]; + meta = { + homepage = "http://github.com/gimbo/cabal-macosx"; + description = "Cabal support for creating Mac OSX application bundles"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7ba7389ab77d..c732bc78fe47 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -454,6 +454,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cabalFileTh = callPackage ../development/libraries/haskell/cabal-file-th {}; + cabalMacosx = callPackage ../development/libraries/haskell/cabal-macosx {}; + cairo = callPackage ../development/libraries/haskell/cairo { inherit (pkgs) cairo zlib; libc = pkgs.stdenv.gcc.libc;