From a13bbb3b10f2d721be350081248d3b1aa84f7da9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Sep 2011 18:44:19 +0000 Subject: [PATCH] haskell-cabal-ghci: added version 0.1 svn path=/nixpkgs/trunk/; revision=29133 --- .../tools/haskell/cabal-ghci/default.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/tools/haskell/cabal-ghci/default.nix diff --git a/pkgs/development/tools/haskell/cabal-ghci/default.nix b/pkgs/development/tools/haskell/cabal-ghci/default.nix new file mode 100644 index 000000000000..a119301e90eb --- /dev/null +++ b/pkgs/development/tools/haskell/cabal-ghci/default.nix @@ -0,0 +1,20 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "cabal-ghci"; + version = "0.1"; + sha256 = "05xyd3xl238pi5vq392m62p4vdf1n8wwxvbi05bh8hamqrkd3j8p"; + isLibrary = true; + isExecutable = true; + noHaddock = true; + meta = { + homepage = "http://code.atnnn.com/projects/cabal-ghci/wiki"; + description = "Set up ghci with options taken from a .cabal file"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 63b551d74257..bbfac68f5150 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1370,6 +1370,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cabal2nix = callPackage ../development/tools/haskell/cabal2nix {}; + cabalGhci = callPackage ../development/tools/haskell/cabal-ghci {}; + cabalInstall_0_6_2 = callPackage ../tools/package-management/cabal-install/0.6.2.nix {}; cabalInstall_0_8_0 = callPackage ../tools/package-management/cabal-install/0.8.0.nix {}; cabalInstall_0_8_2 = callPackage ../tools/package-management/cabal-install/0.8.2.nix {};