nixpkgs/pkgs/top-level/haskell-packages.nix

3140 lines
128 KiB
Nix
Raw Normal View History

# Haskell packages in Nixpkgs
#
# This file defines a function parameterized by the following:
#
# pkgs:
# the whole Nixpkgs (so that we can depend on non-Haskell packages)
#
# newScope:
# for redefining callPackage locally to resolve dependencies of
# Haskell packages automatically
#
# ghc:
# the GHC version to be used for building the Haskell packages
#
# prefFun:
# version preferences for Haskell packages (see below)
#
# enableLibraryProfiling:
# Boolean flag indicating whether profiling libraries for all Haskell
# packages should be built. If a library is to be built with profiling
# enabled, its dependencies should have profiling enabled as well.
# Therefore, this is implemented as a global flag.
#
# modifyPrio:
# Either the identity function or lowPrio is intended to be passed
# here. The idea is that we can make a complete set of Haskell packages
# have low priority from the outside.
#
#
# Policy for keeping multiple versions:
#
# We keep multiple versions for
#
# * packages that are part of the Haskell Platform
# * packages that are known to have severe interface changes
#
# For the packages where we keep multiple versions, version x.y.z is mapped
# to an attribute of name package_x_y_z and stored in a Nix expression called
# x.y.z.nix. There is no default.nix for such packages. There also is an
# attribute package that is defined to be self.package_x_y_z where x.y.z is
# the default version of the package. The global default can be overridden by
# passing a preferences function.
#
# For most packages, however, we keep only one version, and use default.nix.
Rework the knot-tying code for defining Haskell packages. The existing knot-tying code I felt was a bit incoherent with result, finalReturn, self, refering to different various forms of the "haskellPackages" value and often different forms in the same place. This commit instills some object-oriented discipline to the construction of hasekllPackages using a small number of fundamental OO concepts: * An class is a open recursive function of the form (self : fooBody) where fooBody is a set. * An instance of a class is the fixed point of the class. This value is sometimes refered to as an object and the values in the resulting set are sometimes refered to as methods. * A class, foo = self : fooBody, can be extended by an extension which is a function bar = (self : super : barBody) where barBody a set of overrides for fooBody. The result of a class extension is a new class whose value is self : foo self // bar self (foo self). The super parameter gives access to the original methods that barBody may be overriding. This commit turns the haskell-packages value into a "class". The knot-tying, a.k.a the object instanitation, is moved into haskells-defaults. The "finalReturn" is no longer needed and is eliminated from the body of haskell-packages. All the work done by prefFun is moved to haskell-defaults, so that parameter is eliminated form haskell-packages. Notice that the old prefFun took two pameters named "self" and "super", but both parameters got passed the same value "result". There seems to have been some confusion in the old code. Inside haskell-defaults, the haskell-packages class is extended twice before instantiation. The first extension is done using prefFun argument. The second extension is done the extension argument, which is a renamed version of extraPrefs. This two stage approach means that extension's super gets access to the post "perfFun" object while previously the extraPrefs only had access to the pre "prefFun" object. Also the extension function has access to both the super (post "perfFun") object and to self, the final object. With extraPrefs, one needed to use the "finalReturn" of the haskell packages to get access to the final object. Due to significant changes in semantics, I thought it best to replace extraPrefs with extension so that people using extraPrefs know to update thier cod. Lastly, all the Prefs functions have renamed the "self" parameter to "super". This is because "self" was never actually a self-reference in the object oriented sense of the word. For example Cabal_1_18_1_3 = self.Cabal_1_18_1_3.override { deepseq = self.deepseq_1_3_0_2; }; doesn't actually make sense from an object oriented standpoint because, barring further method overriding, the value of Cabal_1_18_1_3 would be trying to override it's own value which simply causes a loop exception. Thankfully all these uses of self were really uses of super: Cabal_1_18_1_3 = super.Cabal_1_18_1_3.override { deepseq = super.deepseq_1_3_0_2; }; In this notation the overriden Cabal_1_18_1_3 method calls the Cabal_1_18_1_3 of the super-class, which is a well-founded notion. Below is an example use of using "extension" parameter { packageOverrides = pkgs : { testHaskellPackages = pkgs.haskellPackages.override { extension = self : super : { transformers_0_4_1_0 = self.cabal.mkDerivation (pkgs: { pname = "transformers"; version = "0.4.1.0"; sha256 = "0jlnz86f87jndv4sifg1zpv5b2g2cxy1x2575x727az6vyaarwwg"; meta = { description = "Concrete functor and monad transformers"; license = pkgs.stdenv.lib.licenses.bsd3; platforms = pkgs.ghc.meta.platforms; maintainers = [ pkgs.stdenv.lib.maintainers.andres ]; }; }); transformers = self.transformers_0_4_1_0; lensFamilyCore = super.lensFamilyCore.override { transformers = self.transformers_0_3_0_0; }; }; }; }; } Notice the use of self in the body of the override of the transformers method which references the newly defined transformers_0_4_1_0 method. With the previous code, one would have to instead akwardly write transformers = super.finalReturn.transformers_0_4_1_0; or use a rec clause, which would prevent futher overriding of transformers_0_4_1_0.
2014-05-08 17:01:45 +01:00
{ pkgs, newScope, ghc, modifyPrio ? (x : x)
, enableLibraryProfiling ? false
, enableSharedLibraries ? pkgs.stdenv.lib.versionOlder "7.7" ghc.version
, enableSharedExecutables ? pkgs.stdenv.lib.versionOlder "7.7" ghc.version
, enableCheckPhase ? pkgs.stdenv.lib.versionOlder "7.4" ghc.version
, enableStaticLibraries ? true
}:
# We redefine callPackage to take into account the new scope. The optional
# modifyPrio argument can be set to lowPrio to make all Haskell packages have
# low priority.
Rework the knot-tying code for defining Haskell packages. The existing knot-tying code I felt was a bit incoherent with result, finalReturn, self, refering to different various forms of the "haskellPackages" value and often different forms in the same place. This commit instills some object-oriented discipline to the construction of hasekllPackages using a small number of fundamental OO concepts: * An class is a open recursive function of the form (self : fooBody) where fooBody is a set. * An instance of a class is the fixed point of the class. This value is sometimes refered to as an object and the values in the resulting set are sometimes refered to as methods. * A class, foo = self : fooBody, can be extended by an extension which is a function bar = (self : super : barBody) where barBody a set of overrides for fooBody. The result of a class extension is a new class whose value is self : foo self // bar self (foo self). The super parameter gives access to the original methods that barBody may be overriding. This commit turns the haskell-packages value into a "class". The knot-tying, a.k.a the object instanitation, is moved into haskells-defaults. The "finalReturn" is no longer needed and is eliminated from the body of haskell-packages. All the work done by prefFun is moved to haskell-defaults, so that parameter is eliminated form haskell-packages. Notice that the old prefFun took two pameters named "self" and "super", but both parameters got passed the same value "result". There seems to have been some confusion in the old code. Inside haskell-defaults, the haskell-packages class is extended twice before instantiation. The first extension is done using prefFun argument. The second extension is done the extension argument, which is a renamed version of extraPrefs. This two stage approach means that extension's super gets access to the post "perfFun" object while previously the extraPrefs only had access to the pre "prefFun" object. Also the extension function has access to both the super (post "perfFun") object and to self, the final object. With extraPrefs, one needed to use the "finalReturn" of the haskell packages to get access to the final object. Due to significant changes in semantics, I thought it best to replace extraPrefs with extension so that people using extraPrefs know to update thier cod. Lastly, all the Prefs functions have renamed the "self" parameter to "super". This is because "self" was never actually a self-reference in the object oriented sense of the word. For example Cabal_1_18_1_3 = self.Cabal_1_18_1_3.override { deepseq = self.deepseq_1_3_0_2; }; doesn't actually make sense from an object oriented standpoint because, barring further method overriding, the value of Cabal_1_18_1_3 would be trying to override it's own value which simply causes a loop exception. Thankfully all these uses of self were really uses of super: Cabal_1_18_1_3 = super.Cabal_1_18_1_3.override { deepseq = super.deepseq_1_3_0_2; }; In this notation the overriden Cabal_1_18_1_3 method calls the Cabal_1_18_1_3 of the super-class, which is a well-founded notion. Below is an example use of using "extension" parameter { packageOverrides = pkgs : { testHaskellPackages = pkgs.haskellPackages.override { extension = self : super : { transformers_0_4_1_0 = self.cabal.mkDerivation (pkgs: { pname = "transformers"; version = "0.4.1.0"; sha256 = "0jlnz86f87jndv4sifg1zpv5b2g2cxy1x2575x727az6vyaarwwg"; meta = { description = "Concrete functor and monad transformers"; license = pkgs.stdenv.lib.licenses.bsd3; platforms = pkgs.ghc.meta.platforms; maintainers = [ pkgs.stdenv.lib.maintainers.andres ]; }; }); transformers = self.transformers_0_4_1_0; lensFamilyCore = super.lensFamilyCore.override { transformers = self.transformers_0_3_0_0; }; }; }; }; } Notice the use of self in the body of the override of the transformers method which references the newly defined transformers_0_4_1_0 method. With the previous code, one would have to instead akwardly write transformers = super.finalReturn.transformers_0_4_1_0; or use a rec clause, which would prevent futher overriding of transformers_0_4_1_0.
2014-05-08 17:01:45 +01:00
self : let callPackage = x : y : modifyPrio (newScope self x y); in
# Indentation deliberately broken at this point to keep the bulk
# of this file at a low indentation level.
{
Rework the knot-tying code for defining Haskell packages. The existing knot-tying code I felt was a bit incoherent with result, finalReturn, self, refering to different various forms of the "haskellPackages" value and often different forms in the same place. This commit instills some object-oriented discipline to the construction of hasekllPackages using a small number of fundamental OO concepts: * An class is a open recursive function of the form (self : fooBody) where fooBody is a set. * An instance of a class is the fixed point of the class. This value is sometimes refered to as an object and the values in the resulting set are sometimes refered to as methods. * A class, foo = self : fooBody, can be extended by an extension which is a function bar = (self : super : barBody) where barBody a set of overrides for fooBody. The result of a class extension is a new class whose value is self : foo self // bar self (foo self). The super parameter gives access to the original methods that barBody may be overriding. This commit turns the haskell-packages value into a "class". The knot-tying, a.k.a the object instanitation, is moved into haskells-defaults. The "finalReturn" is no longer needed and is eliminated from the body of haskell-packages. All the work done by prefFun is moved to haskell-defaults, so that parameter is eliminated form haskell-packages. Notice that the old prefFun took two pameters named "self" and "super", but both parameters got passed the same value "result". There seems to have been some confusion in the old code. Inside haskell-defaults, the haskell-packages class is extended twice before instantiation. The first extension is done using prefFun argument. The second extension is done the extension argument, which is a renamed version of extraPrefs. This two stage approach means that extension's super gets access to the post "perfFun" object while previously the extraPrefs only had access to the pre "prefFun" object. Also the extension function has access to both the super (post "perfFun") object and to self, the final object. With extraPrefs, one needed to use the "finalReturn" of the haskell packages to get access to the final object. Due to significant changes in semantics, I thought it best to replace extraPrefs with extension so that people using extraPrefs know to update thier cod. Lastly, all the Prefs functions have renamed the "self" parameter to "super". This is because "self" was never actually a self-reference in the object oriented sense of the word. For example Cabal_1_18_1_3 = self.Cabal_1_18_1_3.override { deepseq = self.deepseq_1_3_0_2; }; doesn't actually make sense from an object oriented standpoint because, barring further method overriding, the value of Cabal_1_18_1_3 would be trying to override it's own value which simply causes a loop exception. Thankfully all these uses of self were really uses of super: Cabal_1_18_1_3 = super.Cabal_1_18_1_3.override { deepseq = super.deepseq_1_3_0_2; }; In this notation the overriden Cabal_1_18_1_3 method calls the Cabal_1_18_1_3 of the super-class, which is a well-founded notion. Below is an example use of using "extension" parameter { packageOverrides = pkgs : { testHaskellPackages = pkgs.haskellPackages.override { extension = self : super : { transformers_0_4_1_0 = self.cabal.mkDerivation (pkgs: { pname = "transformers"; version = "0.4.1.0"; sha256 = "0jlnz86f87jndv4sifg1zpv5b2g2cxy1x2575x727az6vyaarwwg"; meta = { description = "Concrete functor and monad transformers"; license = pkgs.stdenv.lib.licenses.bsd3; platforms = pkgs.ghc.meta.platforms; maintainers = [ pkgs.stdenv.lib.maintainers.andres ]; }; }); transformers = self.transformers_0_4_1_0; lensFamilyCore = super.lensFamilyCore.override { transformers = self.transformers_0_3_0_0; }; }; }; }; } Notice the use of self in the body of the override of the transformers method which references the newly defined transformers_0_4_1_0 method. With the previous code, one would have to instead akwardly write transformers = super.finalReturn.transformers_0_4_1_0; or use a rec clause, which would prevent futher overriding of transformers_0_4_1_0.
2014-05-08 17:01:45 +01:00
inherit callPackage;
# GHC and its wrapper
#
# We use a wrapped version of GHC for nearly everything. The wrapped version
# adds functionality to GHC to find libraries depended on or installed via
# Nix. Because the wrapper is so much more useful than the plain GHC, we
# call the plain GHC ghcPlain and the wrapped GHC simply ghc.
ghcPlain = pkgs.lowPrio ghc; # Note that "ghc" is not "self.ghc" and
# refers to the function argument at the
# top of this file.
ghc = callPackage ../development/compilers/ghc/wrapper.nix {
ghc = ghc; # refers to ghcPlain
};
# An experimental wrapper around ghcPlain that does not automatically
# pick up packages from the profile, but instead has a fixed set of packages
# in its global database. The set of packages can be specified as an
# argument to this function.
ghcWithPackages = pkgs : callPackage ../development/compilers/ghc/with-packages.nix {
ghc = ghc; # refers to ghcPlain
packages = pkgs self;
ignoreCollisions = false;
};
ghcWithPackagesOld = pkgs : (self.ghcWithPackages pkgs).override { ignoreCollisions = true; };
# This is the Cabal builder, the function we use to build most Haskell
# packages. It isn't the Cabal library, which is spelled "Cabal".
cabal = callPackage ../build-support/cabal {
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
Cabal = null; # prefer the Cabal version shipped with the compiler
hscolour = self.hscolourBootstrap;
inherit enableLibraryProfiling enableCheckPhase
enableStaticLibraries enableSharedLibraries enableSharedExecutables;
glibcLocales = if pkgs.stdenv.isLinux then pkgs.glibcLocales else null;
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
extension = self : super : {};
};
# A variant of the cabal build driver that disables unit testing.
# Useful for breaking cycles, where the unit test of a package A
# depends on package B, which has A as a regular build input.
haskell-packages.nix: fix the implementation of 'cabalNoTest' The previous implementation used the following tying-the-knot trickery to override 'doCheck' to false for the given build: cabalNoTest = { mkDerivation = x: rec { final = self.cabal.mkDerivation (self: (x final) // { doCheck = false; }); }.final; }; That seemed to work, but for some reason it caused trouble with some builds -- not all -- that use jailbreakCabal. The problem was the 'stdenv' attribute couldn't be evaluated properly anymore: $ nix-build ~/pkgs/top-level/release-haskell.nix -A optparseApplicative.ghc6104.x86_64-linux --show-trace error: while evaluating the attribute `drvPath' at `/nix/store/qkj5cxknwspz8ak0ganm97zfr2bhksgn-nix-1.5.2pre3082_2398417/share/nix/corepkgs/derivation.nix:19:9': while evaluating the builtin function `derivationStrict': while instantiating the derivation named `haskell-optparse-applicative-ghc6.10.4-0.5.2.1' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:40:13': while evaluating the derivation attribute `configurePhase' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:107:13': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/strings.nix:55:26': while evaluating the attribute `outPath' at `/nix/store/qkj5cxknwspz8ak0ganm97zfr2bhksgn-nix-1.5.2pre3082_2398417/share/nix/corepkgs/derivation.nix:18:9': while evaluating the builtin function `getAttr': while evaluating the builtin function `derivationStrict': while instantiating the derivation named `jailbreak-cabal-1.1' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:40:13': while evaluating the derivation attribute `nativeBuildInputs' at `/home/simons/.nix-defexpr/pkgs/stdenv/generic/default.nix:76:17': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/lists.nix:135:21': while evaluating the attribute `buildInputs' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:22:17': while evaluating the builtin function `filter': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:22:60': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:119:17': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/customisation.nix:61:22': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/customisation.nix:56:24': while evaluating the builtin function `isAttrs': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/development/libraries/haskell/Cabal/1.14.0.nix:1:1': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:113:20': while evaluating the attribute `final' at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:114:7': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:9:5': while evaluating the function at `/home/simons/.nix-defexpr/pkgs/stdenv/generic/default.nix:51:24': while evaluating the attribute `meta.license' at `/home/simons/.nix-defexpr/pkgs/development/libraries/haskell/Cabal/1.14.0.nix:17:5': infinite recursion encountered I tried to figure out why this happens, but eventually gave up. The new implementation passes an argument called 'enableCheckPhase' to the Cabal builder, which determines whether the user-specified doCheck value has any effect or not. Now, a normal override can be used to disable unit testing.
2013-04-19 09:31:08 +01:00
cabalNoTest = self.cabal.override { enableCheckPhase = false; };
# Convenience helper function.
disableTest = x: x.override { cabal = self.cabalNoTest; };
# Haskell libraries.
acidState = callPackage ../development/libraries/haskell/acid-state {};
accelerate = callPackage ../development/libraries/haskell/accelerate {};
accelerateCuda = callPackage ../development/libraries/haskell/accelerate-cuda {};
accelerateExamples = callPackage ../development/libraries/haskell/accelerate-examples {};
accelerateFft = callPackage ../development/libraries/haskell/accelerate-fft {};
accelerateIo = callPackage ../development/libraries/haskell/accelerate-io {};
active = callPackage ../development/libraries/haskell/active {};
ACVector = callPackage ../development/libraries/haskell/AC-Vector {};
abstractDeque = callPackage ../development/libraries/haskell/abstract-deque {};
abstractDequeTests = callPackage ../development/libraries/haskell/abstract-deque-tests {};
abstractPar = callPackage ../development/libraries/haskell/abstract-par {};
ad = callPackage ../development/libraries/haskell/ad {};
2014-01-30 07:32:38 +00:00
adjunctions = callPackage ../development/libraries/haskell/adjunctions {};
AES = callPackage ../development/libraries/haskell/AES {};
2014-03-13 20:23:34 +00:00
aeson_0_7_0_4 = callPackage ../development/libraries/haskell/aeson/0.7.0.4.nix { blazeBuilder = null; };
2014-08-16 06:12:35 +01:00
aeson_0_7_0_6 = callPackage ../development/libraries/haskell/aeson/0.7.0.6.nix { blazeBuilder = null; };
2014-07-18 11:27:00 +01:00
aeson_0_8_0_0 = callPackage ../development/libraries/haskell/aeson/0.8.0.0.nix { blazeBuilder = null; };
2014-08-09 09:51:34 +01:00
aeson = self.aeson_0_8_0_0;
2013-09-18 16:44:57 +01:00
aesonPretty = callPackage ../development/libraries/haskell/aeson-pretty {};
2014-06-03 14:14:04 +01:00
aesonQq = callPackage ../development/libraries/haskell/aeson-qq {};
aesonUtils = callPackage ../development/libraries/haskell/aeson-utils {};
2014-08-16 04:26:13 +01:00
algebra = callPackage ../development/libraries/haskell/algebra {};
alsaCore = callPackage ../development/libraries/haskell/alsa-core {};
2013-12-17 17:33:26 +00:00
alsaMixer = callPackage ../development/libraries/haskell/alsa-mixer {};
alsaPcm = callPackage ../development/libraries/haskell/alsa-pcm {};
amqp = callPackage ../development/libraries/haskell/amqp {};
annotatedWlPprint = callPackage ../development/libraries/haskell/annotated-wl-pprint {};
2012-11-15 11:34:07 +00:00
appar = callPackage ../development/libraries/haskell/appar {};
ansiTerminal = callPackage ../development/libraries/haskell/ansi-terminal {};
ansiWlPprint = callPackage ../development/libraries/haskell/ansi-wl-pprint {};
applicativeQuoters = callPackage ../development/libraries/haskell/applicative-quoters {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
ariadne = callPackage ../development/libraries/haskell/ariadne {};
2013-03-24 16:44:05 +00:00
arithmoi = callPackage ../development/libraries/haskell/arithmoi {};
arrows = callPackage ../development/libraries/haskell/arrows {};
assertFailure = callPackage ../development/libraries/haskell/assert-failure {};
asn1Data = callPackage ../development/libraries/haskell/asn1-data {};
asn1Encoding = callPackage ../development/libraries/haskell/asn1-encoding {};
asn1Parse = callPackage ../development/libraries/haskell/asn1-parse {};
2013-04-09 11:39:27 +01:00
asn1Types = callPackage ../development/libraries/haskell/asn1-types {};
async_2_0_1_3 = callPackage ../development/libraries/haskell/async/2.0.1.3.nix {};
async_2_0_1_4 = callPackage ../development/libraries/haskell/async/2.0.1.4.nix {};
async_2_0_1_6 = callPackage ../development/libraries/haskell/async/2.0.1.6.nix {};
async = self.async_2_0_1_6;
atomicPrimops = callPackage ../development/libraries/haskell/atomic-primops {};
attempt = callPackage ../development/libraries/haskell/attempt {};
2013-08-16 15:58:15 +01:00
attoLisp = callPackage ../development/libraries/haskell/atto-lisp {};
attoparsec_0_10_4_0 = callPackage ../development/libraries/haskell/attoparsec/0.10.4.0.nix {};
attoparsec_0_11_3_1 = callPackage ../development/libraries/haskell/attoparsec/0.11.3.1.nix {};
attoparsec_0_11_3_4 = callPackage ../development/libraries/haskell/attoparsec/0.11.3.4.nix {};
attoparsec_0_12_1_2 = callPackage ../development/libraries/haskell/attoparsec/0.12.1.2.nix {};
attoparsec = self.attoparsec_0_12_1_2;
2012-09-21 15:29:55 +01:00
attoparsecBinary = callPackage ../development/libraries/haskell/attoparsec-binary {};
2012-09-21 15:29:12 +01:00
attoparsecConduit = callPackage ../development/libraries/haskell/attoparsec-conduit {};
attoparsecEnumerator = callPackage ../development/libraries/haskell/attoparsec-enumerator {};
autoUpdate = callPackage ../development/libraries/haskell/auto-update {};
2014-01-11 22:15:57 +00:00
aws = callPackage ../development/libraries/haskell/aws {};
authenticate = callPackage ../development/libraries/haskell/authenticate {};
2013-03-18 12:29:00 +00:00
authenticateOauth = callPackage ../development/libraries/haskell/authenticate-oauth {};
base16Bytestring = callPackage ../development/libraries/haskell/base16-bytestring {};
base32Bytestring = callPackage ../development/libraries/haskell/base32-bytestring {};
base64String = callPackage ../development/libraries/haskell/base64-string {};
base64Bytestring = callPackage ../development/libraries/haskell/base64-bytestring {};
2013-02-24 21:09:56 +00:00
baseCompat = callPackage ../development/libraries/haskell/base-compat {};
baseUnicodeSymbols = callPackage ../development/libraries/haskell/base-unicode-symbols {};
basePrelude = callPackage ../development/libraries/haskell/base-prelude {};
basicPrelude = callPackage ../development/libraries/haskell/basic-prelude {};
benchpress = callPackage ../development/libraries/haskell/benchpress {};
2014-07-31 18:12:43 +01:00
bencoding = callPackage ../development/libraries/haskell/bencoding {};
bert = callPackage ../development/libraries/haskell/bert {};
2013-01-22 15:06:13 +00:00
bifunctors = callPackage ../development/libraries/haskell/bifunctors {};
bimap = callPackage ../development/libraries/haskell/bimap {};
2014-05-17 11:17:10 +01:00
binary_0_6_1_0 = callPackage ../development/libraries/haskell/binary/0.6.1.0.nix {};
binary_0_7_2_1 = callPackage ../development/libraries/haskell/binary/0.7.2.1.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
binary = null; # core package since ghc >= 7.2.x
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
binaryConduit = callPackage ../development/libraries/haskell/binary-conduit {};
binaryShared = callPackage ../development/libraries/haskell/binary-shared {};
bindingsDSL = callPackage ../development/libraries/haskell/bindings-DSL {};
bindingsGLFW = callPackage ../development/libraries/haskell/bindings-GLFW {};
2013-10-08 08:35:05 +01:00
bindingsLibusb = callPackage ../development/libraries/haskell/bindings-libusb {
libusb = pkgs.libusb1;
};
bindingsPosix = callPackage ../development/libraries/haskell/bindings-posix {};
bitarray = callPackage ../development/libraries/haskell/bitarray {};
bitmap = callPackage ../development/libraries/haskell/bitmap {};
bitsAtomic = callPackage ../development/libraries/haskell/bits-atomic {};
2014-08-16 11:46:53 +01:00
bitsExtras = callPackage ../development/libraries/haskell/bits-extras {};
bktrees = callPackage ../development/libraries/haskell/bktrees {};
blazeBuilder = callPackage ../development/libraries/haskell/blaze-builder {};
blazeBuilderConduit = callPackage ../development/libraries/haskell/blaze-builder-conduit {};
blazeBuilderEnumerator = callPackage ../development/libraries/haskell/blaze-builder-enumerator {};
2014-07-16 02:14:10 +01:00
blazeFromHtml = callPackage ../development/libraries/haskell/blaze-from-html {};
blazeHtml = callPackage ../development/libraries/haskell/blaze-html {};
blazeMarkup = callPackage ../development/libraries/haskell/blaze-markup {};
2012-12-12 10:40:10 +00:00
blazeSvg = callPackage ../development/libraries/haskell/blaze-svg {};
blazeTextual = callPackage ../development/libraries/haskell/blaze-textual {};
2014-05-26 08:03:39 +01:00
BlogLiterately = callPackage ../development/libraries/haskell/BlogLiterately {};
bloomfilter = callPackage ../development/libraries/haskell/bloomfilter {};
bmp = callPackage ../development/libraries/haskell/bmp {
binary = self.binary_0_7_2_1;
};
Boolean = callPackage ../development/libraries/haskell/Boolean {};
2014-05-26 08:03:39 +01:00
boolExtras = callPackage ../development/libraries/haskell/bool-extras {};
boundingboxes = callPackage ../development/libraries/haskell/boundingboxes {};
2014-05-23 04:51:33 +01:00
2014-06-12 14:36:26 +01:00
BoundedChan = callPackage ../development/libraries/haskell/BoundedChan {};
2014-06-16 22:01:17 +01:00
boxes = callPackage ../development/libraries/haskell/boxes {};
2012-07-16 21:17:49 +01:00
brainfuck = callPackage ../development/libraries/haskell/brainfuck {};
2012-07-16 20:34:53 +01:00
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
bson = callPackage ../development/libraries/haskell/bson {};
2012-11-03 10:52:12 +00:00
boomerang = callPackage ../development/libraries/haskell/boomerang {};
2014-08-12 18:07:23 +01:00
bound = callPackage ../development/libraries/haskell/bound {};
bv = callPackage ../development/libraries/haskell/bv {};
2013-07-01 10:38:45 +01:00
byteable = callPackage ../development/libraries/haskell/byteable {};
bytedump = callPackage ../development/libraries/haskell/bytedump {};
byteorder = callPackage ../development/libraries/haskell/byteorder {};
2014-06-08 10:18:25 +01:00
bytes = callPackage ../development/libraries/haskell/bytes {};
bytestringNums = callPackage ../development/libraries/haskell/bytestring-nums {};
bytestringLexing = callPackage ../development/libraries/haskell/bytestring-lexing {};
bytestringMmap = callPackage ../development/libraries/haskell/bytestring-mmap {};
2014-03-11 20:20:27 +00:00
bytestringShow = callPackage ../development/libraries/haskell/bytestring-show {};
bytestringTrie = callPackage ../development/libraries/haskell/bytestring-trie {};
bytestringProgress = callPackage ../development/libraries/haskell/bytestring-progress {};
2014-04-15 00:59:19 +01:00
bzlib = callPackage ../development/libraries/haskell/bzlib {};
c2hs = callPackage ../development/libraries/haskell/c2hs {};
2014-04-11 16:34:56 +01:00
c2hsc = callPackage ../development/libraries/haskell/c2hsc {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
Cabal_1_14_0 = callPackage ../development/libraries/haskell/Cabal/1.14.0.nix {};
Cabal_1_16_0_3 = callPackage ../development/libraries/haskell/Cabal/1.16.0.3.nix {};
Cabal_1_18_1_3 = callPackage ../development/libraries/haskell/Cabal/1.18.1.3.nix {};
Cabal_1_20_0_2 = callPackage ../development/libraries/haskell/Cabal/1.20.0.2.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
Cabal = null; # core package since forever
2014-06-09 04:56:52 +01:00
cabalCargs = callPackage ../development/libraries/haskell/cabal-cargs {};
cabalFileTh = callPackage ../development/libraries/haskell/cabal-file-th {};
2014-05-04 21:59:12 +01:00
cabalLenses = callPackage ../development/libraries/haskell/cabal-lenses {};
cabalMacosx = callPackage ../development/libraries/haskell/cabal-macosx {};
cairo = callPackage ../development/libraries/haskell/cairo {
inherit (pkgs) cairo zlib;
libc = pkgs.stdenv.gcc.libc;
};
carray = callPackage ../development/libraries/haskell/carray {};
2014-05-23 15:54:35 +01:00
categories = callPackage ../development/libraries/haskell/categories {};
cassava = callPackage ../development/libraries/haskell/cassava {};
caseInsensitive_1_0_0_1 = callPackage ../development/libraries/haskell/case-insensitive/1.0.0.1.nix {};
caseInsensitive_1_1_0_3 = callPackage ../development/libraries/haskell/case-insensitive/1.1.0.3.nix {};
caseInsensitive_1_2_0_1 = callPackage ../development/libraries/haskell/case-insensitive/1.2.0.1.nix {};
caseInsensitive = self.caseInsensitive_1_2_0_1;
cautiousFile = callPackage ../development/libraries/haskell/cautious-file {};
2014-05-04 05:01:00 +01:00
CCdelcont = callPackage ../development/libraries/haskell/CC-delcont {};
cereal = callPackage ../development/libraries/haskell/cereal {};
2013-03-16 14:24:09 +00:00
cerealConduit = callPackage ../development/libraries/haskell/cereal-conduit {};
certificate = callPackage ../development/libraries/haskell/certificate {};
cgi_3001_1_7_1 = callPackage ../development/libraries/haskell/cgi/3001.1.7.1.nix {};
cgi_3001_1_7_2 = callPackage ../development/libraries/haskell/cgi/3001.1.7.2.nix {};
cgi_3001_1_7_3 = callPackage ../development/libraries/haskell/cgi/3001.1.7.3.nix {};
cgi_3001_1_7_4 = callPackage ../development/libraries/haskell/cgi/3001.1.7.4.nix {};
cgi_3001_1_7_5 = callPackage ../development/libraries/haskell/cgi/3001.1.7.5.nix {};
cgi_3001_1_8_5 = callPackage ../development/libraries/haskell/cgi/3001.1.8.5.nix {};
2014-08-28 17:13:44 +01:00
cgi_3001_2_0_0 = callPackage ../development/libraries/haskell/cgi/3001.2.0.0.nix {};
cgi = self.cgi_3001_2_0_0;
2014-07-19 05:21:15 +01:00
cgrep = callPackage ../development/libraries/haskell/cgrep {};
2013-09-25 17:32:37 +01:00
charset = callPackage ../development/libraries/haskell/charset {};
Chart = callPackage ../development/libraries/haskell/Chart {};
2013-08-30 10:04:59 +01:00
ChartCairo = callPackage ../development/libraries/haskell/Chart-cairo {};
2014-02-07 01:00:17 +00:00
ChartDiagrams = callPackage ../development/libraries/haskell/Chart-diagrams {};
ChartGtk = callPackage ../development/libraries/haskell/Chart-gtk {};
ChasingBottoms = callPackage ../development/libraries/haskell/ChasingBottoms { QuickCheck = self.QuickCheck_2_6; };
cheapskate = callPackage ../development/libraries/haskell/cheapskate {};
checkers = callPackage ../development/libraries/haskell/checkers {};
2013-04-20 19:36:57 +01:00
2014-03-15 08:24:55 +00:00
chell = callPackage ../development/libraries/haskell/chell {};
chellQuickcheck = callPackage ../development/libraries/haskell/chell-quickcheck {};
chunkedData = callPackage ../development/libraries/haskell/chunked-data {};
citeprocHs = callPackage ../development/libraries/haskell/citeproc-hs {};
2012-08-28 11:18:10 +01:00
cipherAes = callPackage ../development/libraries/haskell/cipher-aes {};
2013-12-24 17:07:43 +00:00
cipherAes128 = callPackage ../development/libraries/haskell/cipher-aes128 {};
cipherBlowfish = callPackage ../development/libraries/haskell/cipher-blowfish {};
cipherCamellia = callPackage ../development/libraries/haskell/cipher-camellia {};
cipherDes = callPackage ../development/libraries/haskell/cipher-des {};
2013-01-16 11:30:55 +00:00
cipherRc4 = callPackage ../development/libraries/haskell/cipher-rc4 {};
circlePacking = callPackage ../development/libraries/haskell/circle-packing {};
classyPrelude = callPackage ../development/libraries/haskell/classy-prelude {};
classyPreludeConduit = callPackage ../development/libraries/haskell/classy-prelude-conduit {};
clay = callPackage ../development/libraries/haskell/clay {};
clientsession = callPackage ../development/libraries/haskell/clientsession {};
2013-10-19 11:43:56 +01:00
clock = callPackage ../development/libraries/haskell/clock {};
cmdargs = callPackage ../development/libraries/haskell/cmdargs {};
cmdlib = callPackage ../development/libraries/haskell/cmdlib {};
2013-09-06 22:21:00 +01:00
cmdtheline = callPackage ../development/libraries/haskell/cmdtheline {};
2014-07-15 01:04:59 +01:00
codeBuilder = callPackage ../development/libraries/haskell/code-builder {};
CodecImageDevIL = callPackage ../development/libraries/haskell/codec-image-devil {};
colorizeHaskell = callPackage ../development/libraries/haskell/colorize-haskell {};
2014-05-23 04:51:16 +01:00
colors = callPackage ../development/libraries/haskell/colors {};
colour = callPackage ../development/libraries/haskell/colour {};
comonad = callPackage ../development/libraries/haskell/comonad {};
2012-11-21 11:22:55 +00:00
comonadsFd = callPackage ../development/libraries/haskell/comonads-fd {};
comonadTransformers = callPackage ../development/libraries/haskell/comonad-transformers {};
compactStringFix = callPackage ../development/libraries/haskell/compact-string-fix {};
compdata = if (pkgs.stdenv.lib.versionOlder "7.8" ghc.version)
then callPackage ../development/libraries/haskell/compdata {}
else null;
2014-05-23 15:54:46 +01:00
2014-05-04 05:01:00 +01:00
composition = callPackage ../development/libraries/haskell/composition {};
2014-05-29 08:26:40 +01:00
compressed = callPackage ../development/libraries/haskell/compressed {};
2013-06-12 12:23:00 +01:00
concatenative = callPackage ../development/libraries/haskell/concatenative {};
concreteTyperep = callPackage ../development/libraries/haskell/concreteTyperep {};
2014-05-04 05:01:00 +01:00
cond = callPackage ../development/libraries/haskell/cond {};
conduit = callPackage ../development/libraries/haskell/conduit {};
conduitCombinators = callPackage ../development/libraries/haskell/conduit-combinators {};
conduitExtra = callPackage ../development/libraries/haskell/conduit-extra {};
ConfigFile = callPackage ../development/libraries/haskell/ConfigFile {};
configurator = callPackage ../development/libraries/haskell/configurator {};
2013-10-13 09:42:20 +01:00
connection = callPackage ../development/libraries/haskell/connection {};
2013-03-11 11:46:26 +00:00
constraints = callPackage ../development/libraries/haskell/constraints {};
2014-05-23 04:51:48 +01:00
controlBool = callPackage ../development/libraries/haskell/control-bool {};
controlMonadFree = callPackage ../development/libraries/haskell/control-monad-free {};
controlMonadLoop = callPackage ../development/libraries/haskell/control-monad-loop {};
convertible_1_0_11_1 = callPackage ../development/libraries/haskell/convertible/1.0.11.1.nix {};
convertible_1_1_0_0 = callPackage ../development/libraries/haskell/convertible/1.1.0.0.nix {};
convertible = self.convertible_1_1_0_0;
continuedFractions = callPackage ../development/libraries/haskell/continued-fractions {};
contravariant = callPackage ../development/libraries/haskell/contravariant {};
concurrentExtra = callPackage ../development/libraries/haskell/concurrent-extra {};
converge = callPackage ../development/libraries/haskell/converge {};
cookie = callPackage ../development/libraries/haskell/cookie {};
coroutineObject = callPackage ../development/libraries/haskell/coroutine-object {};
cprngAes = callPackage ../development/libraries/haskell/cprng-aes {};
criterion = callPackage ../development/libraries/haskell/criterion {};
Crypto = callPackage ../development/libraries/haskell/Crypto {};
cryptoApi = callPackage ../development/libraries/haskell/crypto-api {};
cryptocipher = callPackage ../development/libraries/haskell/cryptocipher {};
cryptoCipherTests = callPackage ../development/libraries/haskell/crypto-cipher-tests {};
cryptoCipherTypes = callPackage ../development/libraries/haskell/crypto-cipher-types {};
cryptoConduit = callPackage ../development/libraries/haskell/crypto-conduit {};
cryptohash = callPackage ../development/libraries/haskell/cryptohash {};
cryptohashConduit = callPackage ../development/libraries/haskell/cryptohash-conduit {};
cryptohashCryptoapi = callPackage ../development/libraries/haskell/cryptohash-cryptoapi {};
cryptoNumbers = callPackage ../development/libraries/haskell/crypto-numbers {};
cryptoPubkeyTypes = callPackage ../development/libraries/haskell/crypto-pubkey-types {};
cryptoPubkey = callPackage ../development/libraries/haskell/crypto-pubkey {};
cryptoRandom = callPackage ../development/libraries/haskell/crypto-random {};
cryptoRandomApi = callPackage ../development/libraries/haskell/crypto-random-api {};
cuda = callPackage ../development/libraries/haskell/cuda {
inherit (pkgs.linuxPackages) nvidia_x11;
};
csv = callPackage ../development/libraries/haskell/csv {};
cssText = callPackage ../development/libraries/haskell/css-text {};
2013-05-11 14:33:59 +01:00
cufft = callPackage ../development/libraries/haskell/cufft {};
curl = callPackage ../development/libraries/haskell/curl { curl = pkgs.curl; };
cpu = callPackage ../development/libraries/haskell/cpu {};
dataAccessor = callPackage ../development/libraries/haskell/data-accessor/data-accessor.nix {};
dataAccessorTemplate = callPackage ../development/libraries/haskell/data-accessor/data-accessor-template.nix {};
dataAccessorTransformers = callPackage ../development/libraries/haskell/data-accessor/data-accessor-transformers.nix {};
dataAccessorMtl = callPackage ../development/libraries/haskell/data-accessor/data-accessor-mtl.nix {};
dataBinaryIeee754 = callPackage ../development/libraries/haskell/data-binary-ieee754 {};
dataDefault = callPackage ../development/libraries/haskell/data-default {};
dataDefaultClass = callPackage ../development/libraries/haskell/data-default-class {};
2013-04-03 12:24:54 +01:00
dataDefaultInstancesBase = callPackage ../development/libraries/haskell/data-default-instances-containers {};
dataDefaultInstancesContainers = callPackage ../development/libraries/haskell/data-default-instances-base {};
dataDefaultInstancesDlist = callPackage ../development/libraries/haskell/data-default-instances-dlist {};
dataDefaultInstancesOldLocale = callPackage ../development/libraries/haskell/data-default-instances-old-locale {};
dataenc = callPackage ../development/libraries/haskell/dataenc {};
2014-08-05 18:56:27 +01:00
dataFin = callPackage ../development/libraries/haskell/data-fin {};
2014-07-11 21:41:51 +01:00
dataFix = callPackage ../development/libraries/haskell/data-fix {};
2014-04-05 09:42:17 +01:00
dataHash = callPackage ../development/libraries/haskell/data-hash {};
2012-07-16 21:20:06 +01:00
dataInttrie = callPackage ../development/libraries/haskell/data-inttrie {};
dataLens = callPackage ../development/libraries/haskell/data-lens {};
dataLensLight = callPackage ../development/libraries/haskell/data-lens-light {};
dataLensTemplate = callPackage ../development/libraries/haskell/data-lens-template {};
2012-07-16 20:45:10 +01:00
dataMemocombinators = callPackage ../development/libraries/haskell/data-memocombinators {};
dataOrdlist = callPackage ../development/libraries/haskell/data-ordlist {};
dataPprint = callPackage ../development/libraries/haskell/data-pprint {};
dataReify = callPackage ../development/libraries/haskell/data-reify {};
2012-09-03 13:19:35 +01:00
dateCache = callPackage ../development/libraries/haskell/date-cache {};
2014-06-07 22:38:41 +01:00
dataChecked = callPackage ../development/libraries/haskell/data-checked {};
datetime = callPackage ../development/libraries/haskell/datetime {};
2012-11-21 11:23:55 +00:00
DAV = callPackage ../development/libraries/haskell/DAV {};
dbmigrations = callPackage ../development/libraries/haskell/dbmigrations {};
2012-10-15 19:08:01 +01:00
dbus = callPackage ../development/libraries/haskell/dbus {};
deepseq_1_1_0_0 = callPackage ../development/libraries/haskell/deepseq/1.1.0.0.nix {};
deepseq_1_1_0_2 = callPackage ../development/libraries/haskell/deepseq/1.1.0.2.nix {};
deepseq_1_2_0_1 = callPackage ../development/libraries/haskell/deepseq/1.2.0.1.nix {};
2013-11-07 09:29:42 +00:00
deepseq_1_3_0_2 = callPackage ../development/libraries/haskell/deepseq/1.3.0.2.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
deepseq = null; # core package since ghc >= 7.4.x
deepseqGenerics = callPackage ../development/libraries/haskell/deepseq-generics {};
deepseqTh = callPackage ../development/libraries/haskell/deepseq-th {};
derive = callPackage ../development/libraries/haskell/derive {};
2013-05-21 10:00:28 +01:00
dependentMap = callPackage ../development/libraries/haskell/dependent-map {};
dependentSum = callPackage ../development/libraries/haskell/dependent-sum {};
dependentSumTemplate = callPackage ../development/libraries/haskell/dependent-sum-template {};
derp = callPackage ../development/libraries/haskell/derp {};
2013-05-21 10:00:28 +01:00
dice = callPackage ../development/libraries/haskell/dice {};
diagrams = callPackage ../development/libraries/haskell/diagrams/diagrams.nix {};
diagramsCairo = callPackage ../development/libraries/haskell/diagrams/cairo.nix {};
diagramsCore = callPackage ../development/libraries/haskell/diagrams/core.nix {};
diagramsContrib = callPackage ../development/libraries/haskell/diagrams/contrib.nix {};
diagramsLib = callPackage ../development/libraries/haskell/diagrams/lib.nix {};
diagramsPostscript = callPackage ../development/libraries/haskell/diagrams/postscript.nix {};
diagramsRasterific = callPackage ../development/libraries/haskell/diagrams/rasterific.nix {};
diagramsSvg = callPackage ../development/libraries/haskell/diagrams/svg.nix {};
Diff = callPackage ../development/libraries/haskell/Diff {};
2014-02-09 12:12:31 +00:00
diff3 = callPackage ../development/libraries/haskell/diff3 {};
digest = callPackage ../development/libraries/haskell/digest {
inherit (pkgs) zlib;
};
digestiveFunctors = callPackage ../development/libraries/haskell/digestive-functors {};
digestiveFunctorsAeson = callPackage ../development/libraries/haskell/digestive-functors-aeson {};
digestiveFunctorsHeist = callPackage ../development/libraries/haskell/digestive-functors-heist {};
digestiveFunctorsSnap = callPackage ../development/libraries/haskell/digestive-functors-snap {};
2013-11-19 21:36:30 +00:00
digits = callPackage ../development/libraries/haskell/digits {};
dimensional = callPackage ../development/libraries/haskell/dimensional {};
dimensionalTf = callPackage ../development/libraries/haskell/dimensional-tf {};
2013-11-11 15:36:09 +00:00
directSqlite = callPackage ../development/libraries/haskell/direct-sqlite {};
2014-08-30 23:03:49 +01:00
directoryLayout = callPackage ../development/libraries/haskell/directory-layout {};
directoryTree = callPackage ../development/libraries/haskell/directory-tree {};
distributedStatic = callPackage ../development/libraries/haskell/distributed-static {};
distributedProcess = callPackage ../development/libraries/haskell/distributed-process {};
distributive = callPackage ../development/libraries/haskell/distributive {};
djinn = callPackage ../development/libraries/haskell/djinn {};
djinnGhc = callPackage ../development/libraries/haskell/djinn-ghc {};
djinnLib = callPackage ../development/libraries/haskell/djinn-lib {};
dlist = callPackage ../development/libraries/haskell/dlist {};
dlistInstances = callPackage ../development/libraries/haskell/dlist-instances {};
2012-11-15 11:35:21 +00:00
dns = callPackage ../development/libraries/haskell/dns {};
2013-01-21 11:08:24 +00:00
doctest = callPackage ../development/libraries/haskell/doctest {};
2014-05-04 05:01:00 +01:00
doctestProp = callPackage ../development/libraries/haskell/doctest-prop {};
2014-07-14 06:42:31 +01:00
domSelector = callPackage ../development/libraries/haskell/dom-selector {};
dotgen = callPackage ../development/libraries/haskell/dotgen {};
doubleConversion = callPackage ../development/libraries/haskell/double-conversion {};
download = callPackage ../development/libraries/haskell/download {};
downloadCurl = callPackage ../development/libraries/haskell/download-curl {};
2013-12-24 17:07:52 +00:00
DRBG = callPackage ../development/libraries/haskell/DRBG {};
2014-03-17 11:27:08 +00:00
dsp = callPackage ../development/libraries/haskell/dsp {};
dstring = callPackage ../development/libraries/haskell/dstring {};
2012-12-12 10:40:00 +00:00
dualTree = callPackage ../development/libraries/haskell/dual-tree {};
2014-05-05 20:48:53 +01:00
dynamicCabal = callPackage ../development/libraries/haskell/dynamic-cabal {};
dyre = callPackage ../development/libraries/haskell/dyre {};
2014-07-28 11:16:57 +01:00
easyFile = callPackage ../development/libraries/haskell/easy-file {};
editDistance = callPackage ../development/libraries/haskell/edit-distance {};
editline_0_2_1_0 = callPackage ../development/libraries/haskell/editline/0.2.1.0.nix {};
editline_0_2_1_1 = callPackage ../development/libraries/haskell/editline/0.2.1.1.nix {};
editline = self.editline_0_2_1_1;
2013-11-21 15:24:41 +00:00
ekg = callPackage ../development/libraries/haskell/ekg {};
ekgCarbon = callPackage ../development/libraries/haskell/ekg-carbon {};
2014-05-03 15:36:03 +01:00
ekgCore = callPackage ../development/libraries/haskell/ekg-core {};
2013-11-21 15:24:41 +00:00
2012-10-22 19:18:35 +01:00
elerea = callPackage ../development/libraries/haskell/elerea {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
Elm = callPackage ../development/compilers/elm/elm.nix {};
2013-06-12 12:23:00 +01:00
elmServer = callPackage ../development/compilers/elm/elm-server.nix {};
emailValidate = callPackage ../development/libraries/haskell/email-validate {};
enclosedExceptions = callPackage ../development/libraries/haskell/enclosed-exceptions {};
2013-02-24 21:10:41 +00:00
encoding = callPackage ../development/libraries/haskell/encoding {};
engineIo = callPackage ../development/libraries/haskell/engine-io {};
engineIoSnap = callPackage ../development/libraries/haskell/engine-io-snap {};
enumerator = callPackage ../development/libraries/haskell/enumerator {};
enummapset = callPackage ../development/libraries/haskell/enummapset {};
enummapsetTh = callPackage ../development/libraries/haskell/enummapset-th {};
enumset = callPackage ../development/libraries/haskell/enumset {};
entropy = callPackage ../development/libraries/haskell/entropy {};
equationalReasoning = callPackage ../development/libraries/haskell/equational-reasoning {};
equivalence_0_2_3 = callPackage ../development/libraries/haskell/equivalence/0.2.3.nix {};
equivalence_0_2_5 = callPackage ../development/libraries/haskell/equivalence/0.2.5.nix {};
equivalence = self.equivalence_0_2_5;
2014-06-16 22:00:42 +01:00
erf = callPackage ../development/libraries/haskell/erf {};
errorcallEqInstance = callPackage ../development/libraries/haskell/errorcall-eq-instance {};
errors = callPackage ../development/libraries/haskell/errors {};
either = callPackage ../development/libraries/haskell/either {};
EitherT = callPackage ../development/libraries/haskell/EitherT {};
esqueleto = callPackage ../development/libraries/haskell/esqueleto {};
2013-12-23 08:42:41 +00:00
eventList = callPackage ../development/libraries/haskell/event-list {};
2014-08-31 12:29:48 +01:00
exPool = callPackage ../development/libraries/haskell/ex-pool {};
2013-12-09 23:32:00 +00:00
exceptionMtl = callPackage ../development/libraries/haskell/exception-mtl {};
exceptionTransformers = callPackage ../development/libraries/haskell/exception-transformers {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
exceptions = callPackage ../development/libraries/haskell/exceptions {};
explicitException = callPackage ../development/libraries/haskell/explicit-exception {};
executablePath = callPackage ../development/libraries/haskell/executable-path {};
2014-04-15 00:58:31 +01:00
Extra = callPackage ../development/libraries/haskell/Extra {};
fay = callPackage ../development/libraries/haskell/fay {};
2014-04-04 22:23:01 +01:00
fayBase = callPackage ../development/libraries/haskell/fay-base {};
2014-01-27 14:19:22 +00:00
fayText = callPackage ../development/libraries/haskell/fay-text {};
2014-04-04 22:23:01 +01:00
fdoNotify = callPackage ../development/libraries/haskell/fdo-notify {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
filepath = null; # core package since forever
fileLocation = callPackage ../development/libraries/haskell/file-location {};
2014-05-21 15:18:47 +01:00
fmlist = callPackage ../development/libraries/haskell/fmlist {};
ftphs = callPackage ../development/libraries/haskell/ftphs {};
extensibleEffects = callPackage ../development/libraries/haskell/extensible-effects {};
extensibleExceptions_0_1_1_0 = callPackage ../development/libraries/haskell/extensible-exceptions/0.1.1.0.nix {};
extensibleExceptions_0_1_1_2 = callPackage ../development/libraries/haskell/extensible-exceptions/0.1.1.2.nix {};
extensibleExceptions_0_1_1_3 = callPackage ../development/libraries/haskell/extensible-exceptions/0.1.1.3.nix {};
extensibleExceptions_0_1_1_4 = callPackage ../development/libraries/haskell/extensible-exceptions/0.1.1.4.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
extensibleExceptions = self.extensibleExceptions_0_1_1_4;
failure = callPackage ../development/libraries/haskell/failure {};
2013-12-30 14:34:09 +00:00
fastcgi = callPackage ../development/libraries/haskell/fastcgi {};
fastLogger = callPackage ../development/libraries/haskell/fast-logger {};
2014-02-22 11:31:10 +00:00
fb = callPackage ../development/libraries/haskell/fb {};
fclabels = callPackage ../development/libraries/haskell/fclabels {};
FerryCore = callPackage ../development/libraries/haskell/FerryCore {};
funcmp = callPackage ../development/libraries/haskell/funcmp {};
feed = callPackage ../development/libraries/haskell/feed {};
fileEmbed = callPackage ../development/libraries/haskell/file-embed {};
filemanip = callPackage ../development/libraries/haskell/filemanip {};
flexibleDefaults = callPackage ../development/libraries/haskell/flexible-defaults {};
filestore = callPackage ../development/libraries/haskell/filestore {};
filesystemConduit = callPackage ../development/libraries/haskell/filesystem-conduit {};
2013-08-31 15:10:09 +01:00
final = callPackage ../development/libraries/haskell/final {};
fgl_5_4_2_2 = callPackage ../development/libraries/haskell/fgl/5.4.2.2.nix {};
fgl_5_4_2_3 = callPackage ../development/libraries/haskell/fgl/5.4.2.3.nix {};
fgl_5_4_2_4 = callPackage ../development/libraries/haskell/fgl/5.4.2.4.nix {};
2014-05-03 10:48:47 +01:00
fgl_5_5_0_1 = callPackage ../development/libraries/haskell/fgl/5.5.0.1.nix {};
fgl = self.fgl_5_5_0_1;
fglVisualize = callPackage ../development/libraries/haskell/fgl-visualize {};
fingertree = callPackage ../development/libraries/haskell/fingertree {};
focus = callPackage ../development/libraries/haskell/focus {};
2013-11-27 12:22:21 +00:00
foldl = callPackage ../development/libraries/haskell/foldl {};
2014-06-26 19:41:00 +01:00
folds = callPackage ../development/libraries/haskell/folds {};
FontyFruity = callPackage ../development/libraries/haskell/FontyFruity {};
forceLayout = callPackage ../development/libraries/haskell/force-layout {};
2012-12-12 10:39:51 +00:00
2014-08-12 23:21:11 +01:00
formatting = callPackage ../development/libraries/haskell/formatting {};
free = callPackage ../development/libraries/haskell/free {};
freeGame = callPackage ../development/libraries/haskell/free-game {};
2012-11-08 13:50:52 +00:00
2014-05-23 05:36:03 +01:00
fsnotify = callPackage ../development/libraries/haskell/fsnotify {};
2014-05-23 05:16:52 +01:00
freetype2 = callPackage ../development/libraries/haskell/freetype2 {};
2014-06-07 13:15:54 +01:00
fuzzcheck = callPackage ../development/libraries/haskell/fuzzcheck {};
2014-09-11 17:35:42 +01:00
functorInfix = callPackage ../development/libraries/haskell/functor-infix {};
2014-05-23 05:36:03 +01:00
gamma = callPackage ../development/libraries/haskell/gamma {};
2012-11-12 11:33:58 +00:00
geniplate = callPackage ../development/libraries/haskell/geniplate {};
gd = callPackage ../development/libraries/haskell/gd {
inherit (pkgs) gd zlib;
};
gdiff = callPackage ../development/libraries/haskell/gdiff {};
genericAeson = callPackage ../development/libraries/haskell/generic-aeson {};
genericDeriving = callPackage ../development/libraries/haskell/generic-deriving {};
genericsSop = callPackage ../development/libraries/haskell/generics-sop {};
ghcCore = callPackage ../development/libraries/haskell/ghc-core {};
ghcEvents = callPackage ../development/libraries/haskell/ghc-events {};
2014-02-21 23:55:26 +00:00
ghcEventsAnalyze = callPackage ../development/tools/haskell/ghc-events-analyze {};
2014-04-25 11:33:07 +01:00
ghcGcTune = callPackage ../development/tools/haskell/ghc-gc-tune {};
ghcHeapView = callPackage ../development/libraries/haskell/ghc-heap-view {
cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled
};
2014-09-04 11:17:15 +01:00
ghcServer = callPackage ../development/libraries/haskell/ghc-server {};
2014-03-11 12:28:07 +00:00
ghcjsDom = callPackage ../development/libraries/haskell/ghcjs-codemirror {};
ghcjsCodemirror = callPackage ../development/libraries/haskell/ghcjs-codemirror {};
ghcMod_4_1_6 = callPackage ../development/libraries/haskell/ghc-mod/4.1.6.nix { inherit (pkgs) emacs; };
ghcMod_5_0_1_2 = callPackage ../development/libraries/haskell/ghc-mod/5.0.1.2.nix { inherit (pkgs) emacs; };
ghcMod = self.ghcMod_4_1_6;
ghcMtl = callPackage ../development/libraries/haskell/ghc-mtl {};
ghcPaths = callPackage ../development/libraries/haskell/ghc-paths {};
ghcSyb = callPackage ../development/libraries/haskell/ghc-syb {};
ghcSybUtils = callPackage ../development/libraries/haskell/ghc-syb-utils {};
ghcVis = callPackage ../development/libraries/haskell/ghc-vis {
cabal = self.cabal.override { enableLibraryProfiling = false; }; # pkg cannot be built with profiling enabled
};
gio = callPackage ../development/libraries/haskell/gio {};
2014-03-30 07:27:58 +01:00
gitDate = callPackage ../development/libraries/haskell/git-date {};
2013-02-25 14:25:24 +00:00
github = callPackage ../development/libraries/haskell/github {};
gitit = callPackage ../development/libraries/haskell/gitit {};
gitlib = callPackage ../development/libraries/haskell/gitlib {};
gitlibLibgit2 = callPackage ../development/libraries/haskell/gitlib-libgit2 {};
gitlibTest = callPackage ../development/libraries/haskell/gitlib-test {};
glade = callPackage ../development/libraries/haskell/glade {
inherit (pkgs.gnome) libglade;
gtkC = pkgs.gtk;
libc = pkgs.stdenv.gcc.libc;
};
GLFW = callPackage ../development/libraries/haskell/GLFW {};
GLFWB = callPackage ../development/libraries/haskell/GLFW-b {};
glib = callPackage ../development/libraries/haskell/glib {
glib = pkgs.glib;
libc = pkgs.stdenv.gcc.libc;
};
2013-02-18 10:19:55 +00:00
Glob = callPackage ../development/libraries/haskell/Glob {};
GlomeVec = callPackage ../development/libraries/haskell/GlomeVec {};
gloss = callPackage ../development/libraries/haskell/gloss {};
glossAccelerate = callPackage ../development/libraries/haskell/gloss-accelerate {};
2014-01-11 19:01:55 +00:00
glossRaster = callPackage ../development/libraries/haskell/gloss-raster {};
glossRasterAccelerate = callPackage ../development/libraries/haskell/gloss-raster-accelerate {};
2012-07-18 09:07:22 +01:00
glpkHs = callPackage ../development/libraries/haskell/glpk-hs {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
GLURaw_1_3_0_0 = callPackage ../development/libraries/haskell/GLURaw/1.3.0.0.nix { OpenGLRaw = self.OpenGLRaw_1_3_0_0; };
GLURaw_1_4_0_1 = callPackage ../development/libraries/haskell/GLURaw/1.4.0.1.nix {};
GLURaw = self.GLURaw_1_4_0_1;
GLUT_2_1_1_2 = callPackage ../development/libraries/haskell/GLUT/2.1.1.2.nix {};
GLUT_2_1_2_1 = callPackage ../development/libraries/haskell/GLUT/2.1.2.1.nix {};
GLUT_2_1_2_2 = callPackage ../development/libraries/haskell/GLUT/2.1.2.2.nix {};
GLUT_2_2_2_1 = callPackage ../development/libraries/haskell/GLUT/2.2.2.1.nix {
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
OpenGL = self.OpenGL_2_6_0_1;
};
GLUT_2_3_1_0 = callPackage ../development/libraries/haskell/GLUT/2.3.1.0.nix {
2014-05-12 13:06:06 +01:00
OpenGLRaw = self.OpenGLRaw_1_3_0_0;
OpenGL = self.OpenGL_2_6_0_1.override { OpenGLRaw = self.OpenGLRaw_1_3_0_0; GLURaw = self.GLURaw_1_3_0_0; };
};
2013-03-18 10:50:22 +00:00
GLUT_2_4_0_0 = callPackage ../development/libraries/haskell/GLUT/2.4.0.0.nix {
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
OpenGLRaw = self.OpenGLRaw_1_3_0_0;
OpenGL = self.OpenGL_2_8_0_0.override { OpenGLRaw = self.OpenGLRaw_1_3_0_0; GLURaw = self.GLURaw_1_3_0_0; };
2013-03-18 10:50:22 +00:00
};
GLUT_2_5_1_1 = callPackage ../development/libraries/haskell/GLUT/2.5.1.1.nix {
OpenGL = self.OpenGL_2_9_2_0;
2013-09-16 09:53:44 +01:00
};
GLUT = self.GLUT_2_5_1_1;
2014-05-26 22:59:13 +01:00
GLUtil = callPackage ../development/libraries/haskell/GLUtil {};
2012-11-15 11:36:34 +00:00
gnuidn = callPackage ../development/libraries/haskell/gnuidn {};
2014-03-01 20:25:59 +00:00
gnuplot = callPackage ../development/libraries/haskell/gnuplot {};
2012-11-15 11:36:59 +00:00
gnutls = callPackage ../development/libraries/haskell/gnutls { inherit (pkgs) gnutls; };
2012-11-15 11:37:10 +00:00
gsasl = callPackage ../development/libraries/haskell/gsasl { inherit (pkgs) gsasl; };
gtk = callPackage ../development/libraries/haskell/gtk {
inherit (pkgs) gtk;
libc = pkgs.stdenv.gcc.libc;
};
2014-08-19 03:42:12 +01:00
gtk3 = callPackage ../development/libraries/haskell/gtk3 {
inherit (pkgs) gtk3;
};
gtkglext = callPackage ../development/libraries/haskell/gtkglext { gtkglext = pkgs.gnome2.gtkglext; };
gtk2hsBuildtools = callPackage ../development/libraries/haskell/gtk2hs-buildtools {};
gtksourceview2 = callPackage ../development/libraries/haskell/gtksourceview2 {
inherit (pkgs.gnome) gtksourceview;
libc = pkgs.stdenv.gcc.libc;
};
2014-02-08 20:09:04 +00:00
gtkTraymanager = callPackage ../development/libraries/haskell/gtk-traymanager {};
Graphalyze = callPackage ../development/libraries/haskell/Graphalyze {};
graphviz = callPackage ../development/libraries/haskell/graphviz {};
graphSCC = callPackage ../development/libraries/haskell/graphscc {};
2014-02-26 11:07:22 +00:00
graphWrapper = callPackage ../development/libraries/haskell/graph-wrapper {};
2014-05-01 11:19:28 +01:00
groom = callPackage ../development/libraries/haskell/groom {};
2013-09-02 10:00:56 +01:00
groups = callPackage ../development/libraries/haskell/groups {};
2013-01-22 15:06:23 +00:00
groupoids = callPackage ../development/libraries/haskell/groupoids {};
hakyll = callPackage ../development/libraries/haskell/hakyll {};
hamlet = callPackage ../development/libraries/haskell/hamlet {};
happstackServer = callPackage ../development/libraries/haskell/happstack/happstack-server.nix {};
happstackHamlet = callPackage ../development/libraries/haskell/happstack/happstack-hamlet.nix {};
2013-07-19 12:30:16 +01:00
happstackLite = callPackage ../development/libraries/haskell/happstack/happstack-lite.nix {};
2013-12-30 22:53:29 +00:00
happstackFastCGI = callPackage ../development/libraries/haskell/happstack/happstack-fastcgi.nix {};
2012-12-23 19:00:08 +00:00
hashable_1_1_2_5 = callPackage ../development/libraries/haskell/hashable/1.1.2.5.nix {};
hashable_1_2_2_0 = callPackage ../development/libraries/haskell/hashable/1.2.2.0.nix {};
hashable = self.hashable_1_2_2_0;
2014-08-12 18:07:23 +01:00
hashableExtras = callPackage ../development/libraries/haskell/hashable-extras {};
hashedStorage = callPackage ../development/libraries/haskell/hashed-storage {};
hashtables = callPackage ../development/libraries/haskell/hashtables {};
haskelldb = callPackage ../development/libraries/haskell/haskelldb {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
haskeline = callPackage ../development/libraries/haskell/haskeline {};
haskelineClass = callPackage ../development/libraries/haskell/haskeline-class {};
2014-05-05 20:43:10 +01:00
haskellGenerate = callPackage ../development/libraries/haskell/haskell-generate {};
haskellLexer = callPackage ../development/libraries/haskell/haskell-lexer {};
haskellMpi = callPackage ../development/libraries/haskell/haskell-mpi {
mpi = pkgs.openmpi;
};
haskellNames = callPackage ../development/libraries/haskell/haskell-names {};
2014-08-13 14:55:04 +01:00
HaskellNet = callPackage ../development/libraries/haskell/HaskellNet {};
2014-08-15 15:14:23 +01:00
HaskellNetSSL = callPackage ../development/libraries/haskell/HaskellNet-SSL {};
2014-08-13 14:55:04 +01:00
haskellPackages = callPackage ../development/libraries/haskell/haskell-packages {};
haskellSrc_1_0_1_3 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.3.nix {};
haskellSrc_1_0_1_4 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.4.nix {};
haskellSrc_1_0_1_5 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.5.nix {};
haskellSrc_1_0_1_6 = callPackage ../development/libraries/haskell/haskell-src/1.0.1.6.nix {};
haskellSrc = self.haskellSrc_1_0_1_6;
haskellSrcExts = callPackage ../development/libraries/haskell/haskell-src-exts {};
haskellSrcMeta = callPackage ../development/libraries/haskell/haskell-src-meta {};
2014-08-08 15:08:04 +01:00
haskintex = callPackage ../development/libraries/haskell/haskintex {};
2014-08-18 01:25:51 +01:00
haskoin = callPackage ../development/libraries/haskell/haskoin {};
2013-12-23 09:22:37 +00:00
haskore = callPackage ../development/libraries/haskell/haskore {};
hastache = callPackage ../development/libraries/haskell/hastache {};
2014-07-04 14:10:57 +01:00
hasteCompiler = callPackage ../development/libraries/haskell/haste-compiler {};
2014-08-13 01:45:22 +01:00
hastePerch = callPackage ../development/libraries/haskell/haste-perch {};
2014-08-08 15:07:52 +01:00
HaTeX = callPackage ../development/libraries/haskell/HaTeX {};
2014-05-05 20:44:28 +01:00
hcltest = callPackage ../development/libraries/haskell/hcltest {};
2014-06-12 14:36:26 +01:00
hedis = callPackage ../development/libraries/haskell/hedis {};
heredoc = callPackage ../development/libraries/haskell/heredoc {};
2012-11-01 08:40:09 +00:00
hexpat = callPackage ../development/libraries/haskell/hexpat {};
2014-08-15 14:17:40 +01:00
hex = callPackage ../development/libraries/haskell/hex {};
2012-11-01 08:40:09 +00:00
hgal = callPackage ../development/libraries/haskell/hgal {};
2014-05-04 21:58:58 +01:00
hourglass = callPackage ../development/libraries/haskell/hourglass {};
2014-08-13 01:37:22 +01:00
hplayground = callPackage ../development/libraries/haskell/hplayground {};
hseCpp = callPackage ../development/libraries/haskell/hse-cpp {};
hsimport = callPackage ../development/libraries/haskell/hsimport {};
2013-10-23 09:29:15 +01:00
HTF = callPackage ../development/libraries/haskell/HTF {};
HTTP_4000_0_6 = callPackage ../development/libraries/haskell/HTTP/4000.0.6.nix {};
HTTP_4000_0_9 = callPackage ../development/libraries/haskell/HTTP/4000.0.9.nix {};
HTTP_4000_1_1 = callPackage ../development/libraries/haskell/HTTP/4000.1.1.nix {};
HTTP_4000_1_2 = callPackage ../development/libraries/haskell/HTTP/4000.1.2.nix {};
HTTP_4000_2_1 = callPackage ../development/libraries/haskell/HTTP/4000.2.1.nix {};
HTTP_4000_2_2 = callPackage ../development/libraries/haskell/HTTP/4000.2.2.nix {};
HTTP_4000_2_3 = callPackage ../development/libraries/haskell/HTTP/4000.2.3.nix {};
HTTP_4000_2_5 = callPackage ../development/libraries/haskell/HTTP/4000.2.5.nix {};
HTTP_4000_2_8 = callPackage ../development/libraries/haskell/HTTP/4000.2.8.nix {};
HTTP_4000_2_18 = callPackage ../development/libraries/haskell/HTTP/4000.2.18.nix {};
HTTP = self.HTTP_4000_2_18;
httpAttoparsec = callPackage ../development/libraries/haskell/http-attoparsec {};
2013-12-09 11:58:47 +00:00
httpClient = callPackage ../development/libraries/haskell/http-client {};
httpClientConduit = callPackage ../development/libraries/haskell/http-client-conduit {};
httpClientMultipart = callPackage ../development/libraries/haskell/http-client-multipart {};
httpClientTls = callPackage ../development/libraries/haskell/http-client-tls {};
httpCommon = callPackage ../development/libraries/haskell/http-common {};
2014-04-24 18:06:01 +01:00
httpKit = callPackage ../development/libraries/haskell/http-kit {};
httpReverseProxy = callPackage ../development/libraries/haskell/http-reverse-proxy {};
hackageDb = callPackage ../development/libraries/haskell/hackage-db {};
haskellForMaths = callPackage ../development/libraries/haskell/HaskellForMaths {};
2014-07-10 18:55:47 +01:00
haxl = callPackage ../development/libraries/haskell/haxl {};
haxr = callPackage ../development/libraries/haskell/haxr {
HTTP = self.HTTP.override { network = self.network_2_6_0_2; };
};
haxr_th = callPackage ../development/libraries/haskell/haxr-th {};
HaXml = callPackage ../development/libraries/haskell/HaXml {};
hdaemonize = callPackage ../development/libraries/haskell/hdaemonize {};
HDBC = callPackage ../development/libraries/haskell/HDBC/HDBC.nix {};
HDBCOdbc = callPackage ../development/libraries/haskell/HDBC/HDBC-odbc.nix {
odbc = pkgs.unixODBC;
};
HDBCPostgresql = callPackage ../development/libraries/haskell/HDBC/HDBC-postgresql.nix {};
HDBCSqlite3 = callPackage ../development/libraries/haskell/HDBC/HDBC-sqlite3.nix {};
2014-07-08 08:07:34 +01:00
HPDF = callPackage ../development/libraries/haskell/HPDF {};
heist = callPackage ../development/libraries/haskell/heist {};
2013-06-12 20:25:53 +01:00
hflags = callPackage ../development/libraries/haskell/hflags {};
hfsevents = callPackage ../development/libraries/haskell/hfsevents {};
HFuse = callPackage ../development/libraries/haskell/HFuse {};
highlightingKate = callPackage ../development/libraries/haskell/highlighting-kate {};
2012-06-27 17:58:34 +01:00
hinotify = callPackage ../development/libraries/haskell/hinotify {};
hi = callPackage ../development/libraries/haskell/hi {};
2014-09-02 11:48:34 +01:00
hindent = callPackage ../development/libraries/haskell/hindent {};
hint = callPackage ../development/libraries/haskell/hint {};
hit = callPackage ../development/libraries/haskell/hit {};
hjsmin = callPackage ../development/libraries/haskell/hjsmin {};
hledger = callPackage ../development/libraries/haskell/hledger {};
hledgerLib = callPackage ../development/libraries/haskell/hledger-lib {};
hledgerInterest = callPackage ../applications/office/hledger-interest {};
hledgerIrr = callPackage ../applications/office/hledger-irr {};
hledgerWeb = callPackage ../development/libraries/haskell/hledger-web {};
hlibgit2 = callPackage ../development/libraries/haskell/hlibgit2 {};
HList = callPackage ../development/libraries/haskell/HList {};
hmatrix = callPackage ../development/libraries/haskell/hmatrix {
liblapack = pkgs.liblapack.override { shared = true; };
};
hmatrixSpecial = callPackage ../development/libraries/haskell/hmatrix-special {};
2014-04-18 19:07:31 +01:00
2012-07-11 10:05:24 +01:00
hoauth = callPackage ../development/libraries/haskell/hoauth {};
2014-03-11 20:20:27 +00:00
hoauth2 = callPackage ../development/libraries/haskell/hoauth2 {};
hoodle = callPackage ../applications/graphics/hoodle {};
hoodleBuilder = callPackage ../development/libraries/haskell/hoodle-builder {};
hoodleCore = callPackage ../development/libraries/haskell/hoodle-core {};
hoodleParser = callPackage ../development/libraries/haskell/hoodle-parser {};
hoodleRender = callPackage ../development/libraries/haskell/hoodle-render {};
hoodleTypes = callPackage ../development/libraries/haskell/hoodle-types {};
hoogle = callPackage ../development/libraries/haskell/hoogle {};
hoogleLocal = callPackage ../development/libraries/haskell/hoogle/local.nix {};
hopenssl = callPackage ../development/libraries/haskell/hopenssl {};
hostname = callPackage ../development/libraries/haskell/hostname {};
hp2anyCore = callPackage ../development/libraries/haskell/hp2any-core {};
hp2anyGraph = callPackage ../development/libraries/haskell/hp2any-graph {};
hS3 = callPackage ../development/libraries/haskell/hS3 {};
hsBibutils = callPackage ../development/libraries/haskell/hs-bibutils {};
hsdns = callPackage ../development/libraries/haskell/hsdns {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
hsemail = if (pkgs.stdenv.lib.versionOlder ghc.version "7") then null else
callPackage ../development/libraries/haskell/hsemail {};
2013-10-30 13:05:53 +00:00
hslua = callPackage ../development/libraries/haskell/hslua {
lua = pkgs.lua5_1;
};
2013-09-16 10:11:30 +01:00
HSH = callPackage ../development/libraries/haskell/HSH {};
2014-03-04 10:29:30 +00:00
hsini = callPackage ../development/libraries/haskell/hsini {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
HsSyck_0_51 = callPackage ../development/libraries/haskell/HsSyck/0.51.nix {};
HsSyck_0_52 = callPackage ../development/libraries/haskell/HsSyck/0.52.nix {};
HsSyck = self.HsSyck_0_52;
HsOpenSSL = callPackage ../development/libraries/haskell/HsOpenSSL {};
2013-06-09 19:00:29 +01:00
hsshellscript = callPackage ../development/libraries/haskell/hsshellscript {};
HStringTemplate = callPackage ../development/libraries/haskell/HStringTemplate {};
hspread = callPackage ../development/libraries/haskell/hspread {};
hsloggerTemplate = callPackage ../development/libraries/haskell/hslogger-template {};
hspec = callPackage ../development/libraries/haskell/hspec {};
hspecAttoparsec = callPackage ../development/libraries/haskell/hspec-attoparsec {};
2014-06-14 08:13:40 +01:00
hspecWai = callPackage ../development/libraries/haskell/hspec-wai {};
2014-06-11 08:57:48 +01:00
hspec2 = callPackage ../development/libraries/haskell/hspec2 {};
hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {};
hspecExpectationsLens = callPackage ../development/libraries/haskell/hspec-expectations-lens {};
hspecMeta = callPackage ../development/libraries/haskell/hspec-meta {};
2013-02-24 21:11:11 +00:00
2013-05-21 10:00:09 +01:00
hstatsd = callPackage ../development/libraries/haskell/hstatsd {};
hsyslog = callPackage ../development/libraries/haskell/hsyslog {};
html_1_0_1_2 = callPackage ../development/libraries/haskell/html/1.0.1.2.nix {};
html = self.html_1_0_1_2;
htmlConduit = callPackage ../development/libraries/haskell/html-conduit {};
httpConduit = callPackage ../development/libraries/haskell/http-conduit {};
httpdShed = callPackage ../development/libraries/haskell/httpd-shed {};
httpDate = callPackage ../development/libraries/haskell/http-date {};
httpStreams = callPackage ../development/libraries/haskell/http-streams {};
httpTypes = callPackage ../development/libraries/haskell/http-types {};
holyProject = callPackage ../development/libraries/haskell/holy-project {};
HUnit_1_2_0_3 = callPackage ../development/libraries/haskell/HUnit/1.2.0.3.nix {};
HUnit_1_2_2_1 = callPackage ../development/libraries/haskell/HUnit/1.2.2.1.nix {};
HUnit_1_2_2_3 = callPackage ../development/libraries/haskell/HUnit/1.2.2.3.nix {};
HUnit_1_2_4_2 = callPackage ../development/libraries/haskell/HUnit/1.2.4.2.nix {};
HUnit_1_2_4_3 = callPackage ../development/libraries/haskell/HUnit/1.2.4.3.nix {};
HUnit_1_2_5_1 = callPackage ../development/libraries/haskell/HUnit/1.2.5.1.nix {};
2013-04-02 10:19:31 +01:00
HUnit_1_2_5_2 = callPackage ../development/libraries/haskell/HUnit/1.2.5.2.nix {};
HUnit = self.HUnit_1_2_5_2;
2014-07-22 11:20:39 +01:00
HUnitApprox = callPackage ../development/libraries/haskell/HUnit-approx {};
2014-06-22 15:23:33 +01:00
hweblib = callPackage ../development/libraries/haskell/hweblib/default.nix {};
hxt = callPackage ../development/libraries/haskell/hxt {};
hxtCharproperties = callPackage ../development/libraries/haskell/hxt-charproperties {};
hxtHttp = callPackage ../development/libraries/haskell/hxt-http {};
hxtPickleUtils = callPackage ../development/libraries/haskell/hxt-pickle-utils {};
hxtRegexXmlschema = callPackage ../development/libraries/haskell/hxt-regex-xmlschema {};
2014-06-16 06:32:24 +01:00
hxtTagsoup = callPackage ../development/libraries/haskell/hxt-tagsoup {};
hxtUnicode = callPackage ../development/libraries/haskell/hxt-unicode {};
hxtXpath = callPackage ../development/libraries/haskell/hxt-xpath {};
hybridVectors = callPackage ../development/libraries/haskell/hybrid-vectors {};
iCalendar = callPackage ../development/libraries/haskell/iCalendar {};
2013-02-24 21:16:16 +00:00
idna = callPackage ../development/libraries/haskell/idna {};
IfElse = callPackage ../development/libraries/haskell/IfElse {};
ieee754 = callPackage ../development/libraries/haskell/ieee754 {};
2014-05-22 15:07:25 +01:00
imm = callPackage ../development/libraries/haskell/imm {};
implicit = callPackage ../development/libraries/haskell/implicit {
optparseApplicative = self.optparseApplicative_0_9_1_1;
};
2013-06-12 12:23:00 +01:00
indents = callPackage ../development/libraries/haskell/indents {};
indexed = callPackage ../development/libraries/haskell/indexed {};
indexedFree = callPackage ../development/libraries/haskell/indexed-free {};
2013-06-12 12:23:00 +01:00
instantGenerics = callPackage ../development/libraries/haskell/instant-generics {};
2014-01-14 05:44:48 +00:00
interlude = callPackage ../development/libraries/haskell/interlude {};
2014-03-04 14:01:35 +00:00
interpolate = callPackage ../development/libraries/haskell/interpolate {};
interpolatedstringPerl6 = callPackage ../development/libraries/haskell/interpolatedstring-perl6 {};
2013-08-11 18:20:18 +01:00
intervals = callPackage ../development/libraries/haskell/intervals {};
IntervalMap = callPackage ../development/libraries/haskell/IntervalMap {};
ioChoice = callPackage ../development/libraries/haskell/io-choice {};
ioMemoize = callPackage ../development/libraries/haskell/io-memoize {};
IORefCAS = callPackage ../development/libraries/haskell/IORefCAS {};
2012-07-16 20:53:30 +01:00
IOSpec = callPackage ../development/libraries/haskell/IOSpec {};
ioStorage = callPackage ../development/libraries/haskell/io-storage {};
ioStreams = callPackage ../development/libraries/haskell/io-streams {};
ipprint = callPackage ../development/libraries/haskell/ipprint {};
2012-11-15 11:35:30 +00:00
iproute = callPackage ../development/libraries/haskell/iproute {};
irc = callPackage ../development/libraries/haskell/irc {};
iteratee = callPackage ../development/libraries/haskell/iteratee {};
ivor = callPackage ../development/libraries/haskell/ivor {};
2014-08-26 07:21:09 +01:00
ivory = callPackage ../development/libraries/haskell/ivory {};
2014-02-06 01:18:43 +00:00
ixdopp = callPackage ../development/libraries/haskell/ixdopp {
preprocessorTools = self.preprocessorTools_0_1_3;
};
ixset = callPackage ../development/libraries/haskell/ixset {};
ixShapable = callPackage ../development/libraries/haskell/ix-shapable {};
jack = callPackage ../development/libraries/haskell/jack {};
2012-07-11 20:55:09 +01:00
JuicyPixels = callPackage ../development/libraries/haskell/JuicyPixels {};
2014-07-15 11:08:39 +01:00
jmacro = callPackage ../development/libraries/haskell/jmacro {};
jmacroRpc = callPackage ../development/libraries/haskell/jmacro-rpc {};
jmacroRpcHappstack = callPackage ../development/libraries/haskell/jmacro-rpc-happstack {};
jmacroRpcSnap = callPackage ../development/libraries/haskell/jmacro-rpc-snap {};
jpeg = callPackage ../development/libraries/haskell/jpeg {};
json = callPackage ../development/libraries/haskell/json {};
jsonAssertions = callPackage ../development/libraries/haskell/json-assertions {};
2014-08-18 01:27:27 +01:00
jsonRpc = callPackage ../development/libraries/haskell/json-rpc {};
jsonSchema = callPackage ../development/libraries/haskell/json-schema {};
jsonTypes = callPackage ../development/libraries/haskell/jsonTypes {};
2014-05-23 05:29:50 +01:00
JuicyPixelsUtil = callPackage ../development/libraries/haskell/JuicyPixels-util {};
2014-05-04 05:01:00 +01:00
kanExtensions = callPackage ../development/libraries/haskell/kan-extensions {};
kansasLava = callPackage ../development/libraries/haskell/kansas-lava {};
2013-09-21 09:19:34 +01:00
keys = callPackage ../development/libraries/haskell/keys {};
2013-05-21 09:59:57 +01:00
knob = callPackage ../development/libraries/haskell/knob {};
languageC = callPackage ../development/libraries/haskell/language-c {};
2014-04-25 10:18:29 +01:00
languageCInline = callPackage ../development/libraries/haskell/language-c-inline {};
languageCQuote = callPackage ../development/libraries/haskell/language-c-quote {};
languageEcmascript = callPackage ../development/libraries/haskell/language-ecmascript {};
languageGlsl = callPackage ../development/libraries/haskell/language-glsl {};
2013-06-04 16:44:47 +01:00
languageJava = callPackage ../development/libraries/haskell/language-java {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
languageJavascript = callPackage ../development/libraries/haskell/language-javascript {};
languageHaskellExtract = callPackage ../development/libraries/haskell/language-haskell-extract {};
2012-07-16 21:17:49 +01:00
lambdabot = callPackage ../development/libraries/haskell/lambdabot {};
2012-07-15 00:21:01 +01:00
lambdabotWrapper = callPackage ../development/libraries/haskell/lambdabot/wrapper.nix {
mueval = self.muevalWrapper.override {
additionalPackages = [ self.lambdabot ];
};
};
2014-07-10 11:15:29 +01:00
2012-07-16 20:56:38 +01:00
lambdabotUtils = callPackage ../development/libraries/haskell/lambdabot-utils {};
lambdacubeEngine = callPackage ../development/libraries/haskell/lambdacube-engine {};
largeword = callPackage ../development/libraries/haskell/largeword {};
lazysmallcheck = callPackage ../development/libraries/haskell/lazysmallcheck {};
lens = callPackage ../development/libraries/haskell/lens {};
2012-11-21 11:23:11 +00:00
lensAeson = callPackage ../development/libraries/haskell/lens-aeson {};
2013-08-25 20:42:46 +01:00
lensDatetime = callPackage ../development/libraries/haskell/lens-datetime {};
2014-03-04 15:42:52 +00:00
lensFamilyCore = callPackage ../development/libraries/haskell/lens-family-core {};
2013-05-16 11:58:49 +01:00
lenses = callPackage ../development/libraries/haskell/lenses {};
leveldbHaskell = callPackage ../development/libraries/haskell/leveldb-haskell {};
2013-06-04 16:44:28 +01:00
libffi = callPackage ../development/libraries/haskell/libffi {
libffi = pkgs.libffi;
};
libjenkins = callPackage ../development/libraries/haskell/libjenkins {};
2014-02-25 16:09:26 +00:00
libmpd = callPackage ../development/libraries/haskell/libmpd {};
2012-09-05 19:38:07 +01:00
liblastfm = callPackage ../development/libraries/haskell/liblastfm {};
2014-03-22 10:20:36 +00:00
libsystemdJournal = callPackage ../development/libraries/haskell/libsystemd-journal {
systemd-journal = pkgs.systemd;
};
2012-10-15 19:07:54 +01:00
libxmlSax = callPackage ../development/libraries/haskell/libxml-sax {};
liftedAsync = callPackage ../development/libraries/haskell/lifted-async {};
liftedBase = callPackage ../development/libraries/haskell/lifted-base {};
linear = callPackage ../development/libraries/haskell/linear {};
2013-08-27 16:11:33 +01:00
2012-11-01 08:40:00 +00:00
List = callPackage ../development/libraries/haskell/List {};
lists = callPackage ../development/libraries/haskell/lists {};
listExtras = callPackage ../development/libraries/haskell/listExtras {};
2013-09-17 14:31:35 +01:00
listTries = callPackage ../development/libraries/haskell/list-tries {};
ListLike = callPackage ../development/libraries/haskell/ListLike {};
2012-10-24 12:25:18 +01:00
ListZipper = callPackage ../development/libraries/haskell/ListZipper {};
# Needed for idris for now
llvmGeneral_3_3_8_2 = callPackage ../development/libraries/haskell/llvm-general/3.3.8.2.nix {
llvmConfig = pkgs.llvm_33;
llvmGeneralPure = self.llvmGeneralPure_3_3_8_2;
};
llvmGeneral_3_4_4_0 = callPackage ../development/libraries/haskell/llvm-general/3.4.4.0.nix {
llvmConfig = pkgs.llvm;
2013-08-01 07:24:31 +01:00
};
llvmGeneral = self.llvmGeneral_3_4_4_0;
llvmGeneralPure_3_3_8_2 = callPackage ../development/libraries/haskell/llvm-general-pure/3.3.8.2.nix {};
llvmGeneralPure_3_4_4_0 = callPackage ../development/libraries/haskell/llvm-general-pure/3.4.4.0.nix {};
llvmGeneralPure = self.llvmGeneralPure_3_4_4_0;
2012-08-10 10:47:48 +01:00
lrucache = callPackage ../development/libraries/haskell/lrucache {};
lochTh = callPackage ../development/libraries/haskell/loch-th {};
lockfreeQueue = callPackage ../development/libraries/haskell/lockfree-queue {};
logfloat = callPackage ../development/libraries/haskell/logfloat {};
logging = callPackage ../development/libraries/haskell/logging {};
2012-07-16 20:59:10 +01:00
logict = callPackage ../development/libraries/haskell/logict {};
2014-08-16 16:26:32 +01:00
loop = callPackage ../development/libraries/haskell/loop {};
2014-02-07 12:20:47 +00:00
lushtags = callPackage ../development/libraries/haskell/lushtags {};
2014-03-15 06:01:54 +00:00
lzmaEnumerator = callPackage ../development/libraries/haskell/lzma-enumerator {};
2013-02-18 10:20:08 +00:00
maccatcher = callPackage ../development/libraries/haskell/maccatcher {};
2014-05-26 08:50:14 +01:00
machines = callPackage ../development/libraries/haskell/machines {};
managed = callPackage ../development/libraries/haskell/managed {};
markdown = callPackage ../development/libraries/haskell/markdown {};
markdownUnlit = callPackage ../development/libraries/haskell/markdown-unlit {};
mathFunctions = callPackage ../development/libraries/haskell/math-functions {};
mainlandPretty = callPackage ../development/libraries/haskell/mainland-pretty {};
2013-12-23 09:13:34 +00:00
markovChain = callPackage ../development/libraries/haskell/markov-chain {};
2014-08-08 15:07:37 +01:00
matrix = callPackage ../development/libraries/haskell/matrix {};
2012-07-14 10:02:38 +01:00
maude = callPackage ../development/libraries/haskell/maude {};
MaybeT = callPackage ../development/libraries/haskell/MaybeT {};
2014-08-30 23:23:50 +01:00
meep = callPackage ../development/libraries/haskell/meep {};
MemoTrie = callPackage ../development/libraries/haskell/MemoTrie {};
mersenneRandomPure64 = callPackage ../development/libraries/haskell/mersenne-random-pure64 {};
2014-06-09 04:44:11 +01:00
MFlow = callPackage ../development/libraries/haskell/MFlow {};
2013-12-23 09:21:27 +00:00
midi = callPackage ../development/libraries/haskell/midi {};
mime = callPackage ../development/libraries/haskell/mime {};
minimorph = callPackage ../development/libraries/haskell/minimorph {};
2014-05-23 05:32:50 +01:00
minioperational = callPackage ../development/libraries/haskell/minioperational {};
miniutter = callPackage ../development/libraries/haskell/miniutter {
binary = self.binary_0_7_2_1;
};
mimeMail = callPackage ../development/libraries/haskell/mime-mail {};
mimeTypes = callPackage ../development/libraries/haskell/mime-types {};
misfortune = callPackage ../development/libraries/haskell/misfortune {};
missingForeign = callPackage ../development/libraries/haskell/missing-foreign {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
MissingH = callPackage ../development/libraries/haskell/MissingH { testpack = null; };
mmap = callPackage ../development/libraries/haskell/mmap {};
2013-08-20 16:46:58 +01:00
modularArithmetic = callPackage ../development/libraries/haskell/modular-arithmetic {};
MonadCatchIOMtl = callPackage ../development/libraries/haskell/MonadCatchIO-mtl {};
MonadCatchIOTransformers = callPackage ../development/libraries/haskell/MonadCatchIO-transformers {};
monadControl = callPackage ../development/libraries/haskell/monad-control {};
2014-05-04 05:01:00 +01:00
monadCoroutine = callPackage ../development/libraries/haskell/monad-coroutine {};
Updated Haskell packages. - aeson: updated to version 0.6.0.2 - attoparsec-conduit: updated to version 0.4.0 - authenticate: updated to version 1.2.0.1 - blaze-builder-conduit: updated to version 0.4.0 - certificate: updated to version 1.1.1 - conduit: updated to version 0.4.0.1 - crypto-conduit: updated to version 0.3.0.1 - hakyll: patched to support the latest version of hamlet - hamlet: updated to version 1.0.1 - happstack-happstack-hamlet: patched to support the latest version of hamlet - happstack-server: updated to version 7.0.0 - hoogle: patched to accept the latest versions of wai, warp, and conduit - http-conduit: updated to version 1.4.0.2 - monadcryptorandom: added version 0.4 - persistent-sqlite: updated to version 0.9.0 - persistent-template: updated to version 0.9.0 - persistent: updated to version 0.9.0 - pool-conduit: updated to version 0.1.0 - reactive-banana: updated to version 0.5.0.0 - shakespeare-css: updated to version 1.0.1 - shakespeare-i18n: updated to version 1.0.0 - shakespeare-js: updated to version 1.0.0 - shakespeare-text: updated to version 1.0.0 - shakespeare: updated to version 1.0.0 - simple-sendfile: updated to version 0.2.2 - texmath: updated to version 0.6.0.4 - tls-extra: updated to version 0.4.4 - tls: updated to version 0.9.2 - wai-app-static: updated to version 1.2.0 - wai-extra: updated to version 1.2.0.2 - wai: updated to version 1.2.0 - warp: updated to version 1.2.0 - xml-conduit: updated to version 0.7.0.1 - yaml: updated to version 0.7.0 - yesod-auth: updated to version 1.0.0 - yesod-core: updated to version 1.0.0 - yesod-default: updated to version 1.0.0 - yesod-form: updated to version 1.0.0 - yesod-json: updated to version 1.0.0 - yesod-persistent: updated to version 1.0.0 - yesod-routes: updated to version 1.0.0 - yesod-static: updated to version 1.0.0 - yesod: updated to version 1.0.0 - zlib-conduit: updated to version 0.4.0 - zlib-enum: updated to version 0.2.2 svn path=/nixpkgs/trunk/; revision=33629
2012-04-05 17:51:59 +01:00
monadcryptorandom = callPackage ../development/libraries/haskell/monadcryptorandom {};
2014-04-13 09:19:30 +01:00
monadExtras = callPackage ../development/libraries/haskell/monad-extras {};
monadJournal = callPackage ../development/libraries/haskell/monad-journal {};
monadLib = callPackage ../development/libraries/haskell/monadlib {};
2014-03-30 22:26:11 +01:00
monadloc = callPackage ../development/libraries/haskell/monadloc {};
2014-06-26 04:51:50 +01:00
monadlocPp = callPackage ../development/libraries/haskell/monadloc-pp {};
monadLoops = callPackage ../development/libraries/haskell/monad-loops {};
monadLogger = callPackage ../development/libraries/haskell/monad-logger {};
monadPar_0_1_0_3 = callPackage ../development/libraries/haskell/monad-par/0.1.0.3.nix {};
monadPar_0_3_4_6 = callPackage ../development/libraries/haskell/monad-par/0.3.4.6.nix {};
monadPar = self.monadPar_0_3_4_6;
2014-05-04 05:01:00 +01:00
monadParallel = callPackage ../development/libraries/haskell/monad-parallel {};
monadParExtras = callPackage ../development/libraries/haskell/monad-par-extras {};
monadPeel = callPackage ../development/libraries/haskell/monad-peel {};
MonadPrompt = callPackage ../development/libraries/haskell/MonadPrompt {};
MonadRandom_0_1_13 = callPackage ../development/libraries/haskell/MonadRandom/0.1.13.nix {};
MonadRandom_0_2_0_1 = callPackage ../development/libraries/haskell/MonadRandom/0.2.0.1.nix {};
MonadRandom = self.MonadRandom_0_2_0_1;
2014-05-04 05:01:00 +01:00
monadStm = callPackage ../development/libraries/haskell/monad-stm {};
monadSupply = callPackage ../development/libraries/haskell/monad-supply {};
monadsTf = callPackage ../development/libraries/haskell/monads-tf {};
monadUnify = callPackage ../development/libraries/haskell/monad-unify {};
monoidExtras = callPackage ../development/libraries/haskell/monoid-extras {};
2013-12-23 08:53:48 +00:00
monoidTransformer = callPackage ../development/libraries/haskell/monoid-transformer {};
mongoDB = callPackage ../development/libraries/haskell/mongoDB {};
2014-08-24 17:00:06 +01:00
monomorphic = callPackage ../development/libraries/haskell/monomorphic {};
monoTraversable = callPackage ../development/libraries/haskell/mono-traversable {};
2013-03-18 10:46:01 +00:00
mmorph = callPackage ../development/libraries/haskell/mmorph {};
mpppc = callPackage ../development/libraries/haskell/mpppc {};
2014-04-23 09:06:19 +01:00
msgpack = callPackage ../development/libraries/haskell/msgpack {};
mtl_1_1_0_2 = callPackage ../development/libraries/haskell/mtl/1.1.0.2.nix {};
mtl_2_0_1_0 = callPackage ../development/libraries/haskell/mtl/2.0.1.0.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
mtl_2_1_1 = callPackage ../development/libraries/haskell/mtl/2.1.1.nix {};
mtl_2_1_2 = callPackage ../development/libraries/haskell/mtl/2.1.2.nix {};
mtl_2_2_1 = callPackage ../development/libraries/haskell/mtl/2.2.1.nix {};
2014-05-15 15:16:23 +01:00
mtl = null; # tightly coupled with 'transformers' which is a core package
mtlparse = callPackage ../development/libraries/haskell/mtlparse {};
2013-05-21 09:59:13 +01:00
mueval = callPackage ../development/libraries/haskell/mueval {};
muevalWrapper = callPackage ../development/libraries/haskell/mueval/wrapper.nix {};
multiarg = callPackage ../development/libraries/haskell/multiarg {};
2014-05-04 05:01:00 +01:00
multimap = callPackage ../development/libraries/haskell/multimap {};
multipart = callPackage ../development/libraries/haskell/multipart {};
multiplate = callPackage ../development/libraries/haskell/multiplate {};
multirec = callPackage ../development/libraries/haskell/multirec {};
multiset = callPackage ../development/libraries/haskell/multiset {};
murmurHash = callPackage ../development/libraries/haskell/murmur-hash {};
mwcRandom = callPackage ../development/libraries/haskell/mwc-random {};
2014-03-04 14:11:14 +00:00
mysql = callPackage ../development/libraries/haskell/mysql {
mysqlConfig = pkgs.mysql;
inherit (pkgs) zlib;
};
2014-03-04 14:12:41 +00:00
mysqlSimple = callPackage ../development/libraries/haskell/mysql-simple {};
2013-02-24 21:16:46 +00:00
nanospec = callPackage ../development/libraries/haskell/nanospec {};
2013-01-09 15:44:11 +00:00
nat = callPackage ../development/libraries/haskell/nat {};
2013-01-07 11:05:16 +00:00
nats = callPackage ../development/libraries/haskell/nats {};
2013-01-09 15:44:25 +00:00
naturals = callPackage ../development/libraries/haskell/naturals {};
ncurses = callPackage ../development/libraries/haskell/ncurses {
inherit (pkgs) ncurses;
};
2013-08-21 22:39:07 +01:00
netlist = callPackage ../development/libraries/haskell/netlist {};
netlistToVhdl = callPackage ../development/libraries/haskell/netlist-to-vhdl {};
2013-03-16 14:14:29 +00:00
netwire = callPackage ../development/libraries/haskell/netwire {};
network_2_2_1_4 = callPackage ../development/libraries/haskell/network/2.2.1.4.nix {};
network_2_2_1_7 = callPackage ../development/libraries/haskell/network/2.2.1.7.nix {};
network_2_3_0_2 = callPackage ../development/libraries/haskell/network/2.3.0.2.nix {};
network_2_3_0_5 = callPackage ../development/libraries/haskell/network/2.3.0.5.nix {};
network_2_3_0_13 = callPackage ../development/libraries/haskell/network/2.3.0.13.nix {};
network_2_3_1_0 = callPackage ../development/libraries/haskell/network/2.3.1.0.nix {};
2013-02-22 11:56:26 +00:00
network_2_4_1_2 = callPackage ../development/libraries/haskell/network/2.4.1.2.nix {};
network_2_5_0_0 = callPackage ../development/libraries/haskell/network/2.5.0.0.nix {};
network_2_6_0_2 = callPackage ../development/libraries/haskell/network/2.6.0.2.nix {};
network = self.network_2_5_0_0;
networkCarbon = callPackage ../development/libraries/haskell/network-carbon {};
networkConduit = callPackage ../development/libraries/haskell/network-conduit {};
networkConduitTls = callPackage ../development/libraries/haskell/network-conduit-tls {};
2014-08-24 11:33:19 +01:00
networkFancy = callPackage ../development/libraries/haskell/network-fancy {};
networkInfo = callPackage ../development/libraries/haskell/network-info {};
networkMetrics = callPackage ../development/libraries/haskell/network-metrics {};
networkMulticast = callPackage ../development/libraries/haskell/network-multicast {};
networkProtocolXmpp = callPackage ../development/libraries/haskell/network-protocol-xmpp {};
2014-08-31 12:29:48 +01:00
networkSimple = callPackage ../development/libraries/haskell/network-simple {};
networkTransport = callPackage ../development/libraries/haskell/network-transport {};
networkTransportTcp = callPackage ../development/libraries/haskell/network-transport-tcp {};
networkTransportTests = callPackage ../development/libraries/haskell/network-transport-tests {};
2014-08-18 14:29:16 +01:00
networkUri = callPackage ../development/libraries/haskell/network-uri {};
newtype = callPackage ../development/libraries/haskell/newtype {};
nonNegative = callPackage ../development/libraries/haskell/non-negative {};
numericExtras = callPackage ../development/libraries/haskell/numeric-extras {};
numericPrelude = callPackage ../development/libraries/haskell/numeric-prelude {};
NumInstances = callPackage ../development/libraries/haskell/NumInstances {};
2012-07-16 21:04:06 +01:00
numbers = callPackage ../development/libraries/haskell/numbers {};
numtype = callPackage ../development/libraries/haskell/numtype {};
2013-01-09 16:08:17 +00:00
numtypeTf = callPackage ../development/libraries/haskell/numtype-tf {};
OneTuple = callPackage ../development/libraries/haskell/OneTuple {};
ObjectName = callPackage ../development/libraries/haskell/ObjectName {};
2012-07-16 21:06:53 +01:00
oeis = callPackage ../development/libraries/haskell/oeis {};
OpenAL = callPackage ../development/libraries/haskell/OpenAL {};
OpenGL_2_2_1_1 = callPackage ../development/libraries/haskell/OpenGL/2.2.1.1.nix {};
OpenGL_2_2_3_0 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.0.nix {};
OpenGL_2_2_3_1 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.1.nix {};
OpenGL_2_4_0_2 = callPackage ../development/libraries/haskell/OpenGL/2.4.0.2.nix {};
2012-11-06 10:44:37 +00:00
OpenGL_2_6_0_1 = callPackage ../development/libraries/haskell/OpenGL/2.6.0.1.nix {};
2013-03-18 10:50:03 +00:00
OpenGL_2_8_0_0 = callPackage ../development/libraries/haskell/OpenGL/2.8.0.0.nix {};
OpenGL_2_9_2_0 = callPackage ../development/libraries/haskell/OpenGL/2.9.2.0.nix {};
OpenGL = self.OpenGL_2_9_2_0;
OpenGLRaw_1_3_0_0 = callPackage ../development/libraries/haskell/OpenGLRaw/1.3.0.0.nix {};
2013-09-16 09:52:27 +01:00
OpenGLRaw_1_4_0_0 = callPackage ../development/libraries/haskell/OpenGLRaw/1.4.0.0.nix {};
OpenGLRaw_1_5_0_0 = callPackage ../development/libraries/haskell/OpenGLRaw/1.5.0.0.nix {};
OpenGLRaw = self.OpenGLRaw_1_5_0_0;
opensslStreams = callPackage ../development/libraries/haskell/openssl-streams {};
operational = callPackage ../development/libraries/haskell/operational {};
2014-05-22 15:07:25 +01:00
opml = callPackage ../development/libraries/haskell/opml {};
2014-03-15 08:25:26 +00:00
options = callPackage ../development/libraries/haskell/options {};
optparseApplicative_0_9_1_1 = callPackage ../development/libraries/haskell/optparse-applicative/0.9.1.1.nix {};
optparseApplicative_0_10_0 = callPackage ../development/libraries/haskell/optparse-applicative/0.10.0.nix {};
optparseApplicative = self.optparseApplicative_0_10_0;
pathPieces = callPackage ../development/libraries/haskell/path-pieces {};
2014-01-25 23:05:35 +00:00
patience = callPackage ../development/libraries/haskell/patience {};
pandoc = callPackage ../development/libraries/haskell/pandoc {};
pandocCiteproc = callPackage ../development/libraries/haskell/pandoc-citeproc {};
pandocTypes = callPackage ../development/libraries/haskell/pandoc-types {};
pango = callPackage ../development/libraries/haskell/pango {
inherit (pkgs) pango;
libc = pkgs.stdenv.gcc.libc;
};
parallel_1_1_0_1 = callPackage ../development/libraries/haskell/parallel/1.1.0.1.nix {};
parallel_2_2_0_1 = callPackage ../development/libraries/haskell/parallel/2.2.0.1.nix {};
parallel_3_1_0_1 = callPackage ../development/libraries/haskell/parallel/3.1.0.1.nix {};
parallel_3_2_0_2 = callPackage ../development/libraries/haskell/parallel/3.2.0.2.nix {};
parallel_3_2_0_3 = callPackage ../development/libraries/haskell/parallel/3.2.0.3.nix {};
parallel_3_2_0_4 = callPackage ../development/libraries/haskell/parallel/3.2.0.4.nix {};
parallel = self.parallel_3_2_0_4;
2012-09-28 20:45:00 +01:00
parallelIo = callPackage ../development/libraries/haskell/parallel-io {};
parseargs = callPackage ../development/libraries/haskell/parseargs {};
parsec_2_1_0_1 = callPackage ../development/libraries/haskell/parsec/2.1.0.1.nix {};
parsec_3_1_1 = callPackage ../development/libraries/haskell/parsec/3.1.1.nix {};
parsec_3_1_2 = callPackage ../development/libraries/haskell/parsec/3.1.2.nix {};
parsec_3_1_3 = callPackage ../development/libraries/haskell/parsec/3.1.3.nix {};
parsec_3_1_6 = callPackage ../development/libraries/haskell/parsec/3.1.6.nix {};
parsec = self.parsec_3_1_6;
2014-08-25 12:53:53 +01:00
parsers = callPackage ../development/libraries/haskell/parsers {};
2013-09-25 17:28:09 +01:00
parsimony = callPackage ../development/libraries/haskell/parsimony {};
2014-08-11 06:03:19 +01:00
PastePipe = callPackage ../development/tools/haskell/PastePipe {};
pathtype = callPackage ../development/libraries/haskell/pathtype {};
patternArrows = callPackage ../development/libraries/haskell/pattern-arrows {};
2014-03-13 16:49:45 +00:00
pbkdf = callPackage ../development/libraries/haskell/pbkdf {};
2013-08-16 14:51:24 +01:00
pcap = callPackage ../development/libraries/haskell/pcap {};
2013-08-16 14:51:35 +01:00
pcapEnumerator = callPackage ../development/libraries/haskell/pcap-enumerator {};
pcreLight = callPackage ../development/libraries/haskell/pcre-light {};
pem = callPackage ../development/libraries/haskell/pem {};
permutation = callPackage ../development/libraries/haskell/permutation {};
persistent = callPackage ../development/libraries/haskell/persistent {};
persistentMysql = callPackage ../development/libraries/haskell/persistent-mysql {};
persistentPostgresql = callPackage ../development/libraries/haskell/persistent-postgresql {};
persistentSqlite = callPackage ../development/libraries/haskell/persistent-sqlite {};
persistentTemplate = callPackage ../development/libraries/haskell/persistent-template {};
pgm = callPackage ../development/libraries/haskell/pgm {};
2013-06-04 10:52:25 +01:00
pipes = callPackage ../development/libraries/haskell/pipes {};
pipesAeson = callPackage ../development/libraries/haskell/pipes-aeson {};
pipesAttoparsec = callPackage ../development/libraries/haskell/pipes-attoparsec {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
pipesBinary = callPackage ../development/libraries/haskell/pipes-binary {};
2014-03-04 16:35:22 +00:00
pipesBytestring = callPackage ../development/libraries/haskell/pipes-bytestring {};
pipesConcurrency = callPackage ../development/libraries/haskell/pipes-concurrency {};
2014-07-01 20:52:09 +01:00
pipesCsv = callPackage ../development/libraries/haskell/pipes-csv {};
pipesHttp = callPackage ../development/libraries/haskell/pipes-http {};
pipesNetwork = callPackage ../development/libraries/haskell/pipes-network {};
2014-02-02 19:12:42 +00:00
pipesGroup = callPackage ../development/libraries/haskell/pipes-group {};
pipesParse = callPackage ../development/libraries/haskell/pipes-parse {};
pipesPostgresqlSimple = callPackage ../development/libraries/haskell/pipes-postgresql-simple {};
pipesSafe = callPackage ../development/libraries/haskell/pipes-safe {};
2014-06-11 17:49:48 +01:00
pipesText = callPackage ../development/libraries/haskell/pipes-text {};
pipesZlib = callPackage ../development/libraries/haskell/pipes-zlib {};
placeholders = callPackage ../development/libraries/haskell/placeholders {};
2014-07-21 14:44:39 +01:00
plugins= callPackage ../development/libraries/haskell/plugins {};
polyparse = callPackage ../development/libraries/haskell/polyparse {};
2013-09-25 17:34:15 +01:00
pointed = callPackage ../development/libraries/haskell/pointed {};
pointedlist = callPackage ../development/libraries/haskell/pointedlist {};
poolConduit = callPackage ../development/libraries/haskell/pool-conduit {};
pop3client = callPackage ../development/libraries/haskell/pop3-client {};
2014-01-05 14:52:12 +00:00
poppler = callPackage ../development/libraries/haskell/poppler {
popplerGlib = pkgs.poppler.poppler_glib;
libc = pkgs.stdenv.gcc.libc;
};
posixPaths = callPackage ../development/libraries/haskell/posix-paths {};
postgresqlLibpq = callPackage ../development/libraries/haskell/postgresql-libpq {
inherit (pkgs) postgresql;
};
postgresqlSimple = callPackage ../development/libraries/haskell/postgresql-simple {};
ppm = callPackage ../development/libraries/haskell/ppm {};
2014-01-29 11:00:31 +00:00
pqueue = callPackage ../development/libraries/haskell/pqueue {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
process_1_2_0_0 = callPackage ../development/libraries/haskell/process/1.2.0.0.nix {};
process = null; # core package since forever
2014-05-04 22:02:46 +01:00
profiteur = callPackage ../development/tools/haskell/profiteur {};
preludeExtras = callPackage ../development/libraries/haskell/prelude-extras {};
preludeSafeenum = callPackage ../development/libraries/haskell/prelude-safeenum {};
preprocessorTools_0_1_3 = callPackage ../development/libraries/haskell/preprocessor-tools/0.1.3.nix {};
preprocessorTools_1_0_1 = callPackage ../development/libraries/haskell/preprocessor-tools/1.0.1.nix {};
preprocessorTools = self.preprocessorTools_1_0_1;
presburger = callPackage ../development/libraries/haskell/presburger {};
2014-08-29 13:18:27 +01:00
present = callPackage ../development/libraries/haskell/present {};
prettyclass = callPackage ../development/libraries/haskell/prettyclass {};
prettyShow = callPackage ../development/libraries/haskell/pretty-show {};
2013-02-24 21:17:01 +00:00
punycode = callPackage ../development/libraries/haskell/punycode {};
pureCdb = callPackage ../development/libraries/haskell/pure-cdb { testSimple = null; };
2014-04-28 18:13:37 +01:00
primitive_0_5_0_1 = callPackage ../development/libraries/haskell/primitive/0.5.0.1.nix {};
primitive_0_5_2_1 = callPackage ../development/libraries/haskell/primitive/0.5.2.1.nix {};
primitive_0_5_3_0 = callPackage ../development/libraries/haskell/primitive/0.5.3.0.nix {};
primitive = self.primitive_0_5_3_0;
2014-08-03 23:58:17 +01:00
probability = callPackage ../development/libraries/haskell/probability {};
2013-01-22 15:06:36 +00:00
profunctors = callPackage ../development/libraries/haskell/profunctors {};
projectTemplate = callPackage ../development/libraries/haskell/project-template {};
processConduit = callPackage ../development/libraries/haskell/process-conduit {};
processExtras = callPackage ../development/libraries/haskell/process-extras {};
prolog = callPackage ../development/libraries/haskell/prolog {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
prologGraphLib = callPackage ../development/libraries/haskell/prolog-graph-lib {};
prologGraph = callPackage ../development/libraries/haskell/prolog-graph {};
2014-08-15 14:17:40 +01:00
protobuf = callPackage ../development/libraries/haskell/protobuf {};
2013-11-09 00:09:06 +00:00
protocolBuffers = callPackage ../development/libraries/haskell/protocol-buffers {};
protocolBuffersDescriptor = callPackage ../development/libraries/haskell/protocol-buffers-descriptor {};
PSQueue = callPackage ../development/libraries/haskell/PSQueue {};
publicsuffixlist = callPackage ../development/libraries/haskell/publicsuffixlist {};
pureMD5 = callPackage ../development/libraries/haskell/pureMD5 {};
purescript = callPackage ../development/libraries/haskell/purescript {};
pwstoreFast = callPackage ../development/libraries/haskell/pwstore-fast {};
QuickCheck_1_2_0_0 = callPackage ../development/libraries/haskell/QuickCheck/1.2.0.0.nix {};
QuickCheck_1_2_0_1 = callPackage ../development/libraries/haskell/QuickCheck/1.2.0.1.nix {};
QuickCheck_2_1_1_1 = callPackage ../development/libraries/haskell/QuickCheck/2.1.1.1.nix {};
QuickCheck_2_4_0_1 = callPackage ../development/libraries/haskell/QuickCheck/2.4.0.1.nix {};
QuickCheck_2_4_1_1 = callPackage ../development/libraries/haskell/QuickCheck/2.4.1.1.nix {};
QuickCheck_2_4_2 = callPackage ../development/libraries/haskell/QuickCheck/2.4.2.nix {};
QuickCheck_2_5_1_1 = callPackage ../development/libraries/haskell/QuickCheck/2.5.1.1.nix {};
QuickCheck_2_6 = callPackage ../development/libraries/haskell/QuickCheck/2.6.nix {};
QuickCheck_2_7_5 = callPackage ../development/libraries/haskell/QuickCheck/2.7.5.nix {};
2014-07-18 11:25:33 +01:00
QuickCheck_2_7_6 = callPackage ../development/libraries/haskell/QuickCheck/2.7.6.nix {};
QuickCheck = self.QuickCheck_2_7_6;
quickcheckAssertions = callPackage ../development/libraries/haskell/quickcheck-assertions {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
quickcheckInstances = callPackage ../development/libraries/haskell/quickcheck-instances {};
quickcheckIo = callPackage ../development/libraries/haskell/quickcheck-io {};
quickcheckPropertyMonad = callPackage ../development/libraries/haskell/quickcheck-property-monad {};
2013-07-20 09:56:51 +01:00
qrencode = callPackage ../development/libraries/haskell/qrencode {
inherit (pkgs) qrencode;
};
RangedSets = callPackage ../development/libraries/haskell/Ranged-sets {};
random_1_0_1_1 = callPackage ../development/libraries/haskell/random/1.0.1.1.nix {};
random_1_0_1_3 = callPackage ../development/libraries/haskell/random/1.0.1.3.nix {};
random = self.random_1_0_1_3;
randomFu = callPackage ../development/libraries/haskell/random-fu {};
randomSource = callPackage ../development/libraries/haskell/random-source {};
randomShuffle = callPackage ../development/libraries/haskell/random-shuffle {};
rank1dynamic = callPackage ../development/libraries/haskell/rank1dynamic {};
ranges = callPackage ../development/libraries/haskell/ranges {};
Rasterific = callPackage ../development/libraries/haskell/Rasterific {};
2014-08-21 11:04:25 +01:00
reserve = callPackage ../development/libraries/haskell/reserve {};
rvar = callPackage ../development/libraries/haskell/rvar {};
reactiveBanana = callPackage ../development/libraries/haskell/reactive-banana {};
reactiveBananaWx = callPackage ../development/libraries/haskell/reactive-banana-wx {};
2012-11-08 13:51:45 +00:00
ReadArgs = callPackage ../development/libraries/haskell/ReadArgs {};
readline = callPackage ../development/libraries/haskell/readline {
inherit (pkgs) readline ncurses;
};
recaptcha = callPackage ../development/libraries/haskell/recaptcha {};
recursionSchemes = callPackage ../development/libraries/haskell/recursion-schemes {};
2013-09-25 17:33:17 +01:00
reducers = callPackage ../development/libraries/haskell/reducers {};
2013-01-25 13:12:02 +00:00
reflection = callPackage ../development/libraries/haskell/reflection {};
2014-06-09 04:44:11 +01:00
RefSerialize = callPackage ../development/libraries/haskell/RefSerialize {};
2014-05-04 05:01:00 +01:00
regexApplicative = callPackage ../development/libraries/haskell/regex-applicative {};
regexBase_0_72_0_2 = callPackage ../development/libraries/haskell/regex-base/0.72.0.2.nix {};
2014-04-28 18:13:37 +01:00
regexBase_0_93_1 = callPackage ../development/libraries/haskell/regex-base/0.93.1.nix {};
regexBase_0_93_2 = callPackage ../development/libraries/haskell/regex-base/0.93.2.nix {};
regexBase = self.regexBase_0_93_2;
regexCompat_0_71_0_1 = callPackage ../development/libraries/haskell/regex-compat/0.71.0.1.nix {};
2014-04-28 18:13:37 +01:00
regexCompat_0_92 = callPackage ../development/libraries/haskell/regex-compat/0.92.nix {};
regexCompat_0_93_1 = callPackage ../development/libraries/haskell/regex-compat/0.93.1.nix {};
regexCompat_0_95_1 = callPackage ../development/libraries/haskell/regex-compat/0.95.1.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
regexCompat = self.regexCompat_0_95_1;
regexCompatTdfa = callPackage ../development/libraries/haskell/regex-compat-tdfa {};
regexPcreBuiltin = callPackage ../development/libraries/haskell/regex-pcre-builtin {};
regexPosix_0_72_0_3 = callPackage ../development/libraries/haskell/regex-posix/0.72.0.3.nix {};
regexPosix_0_94_1 = callPackage ../development/libraries/haskell/regex-posix/0.94.1.nix {};
regexPosix_0_94_2 = callPackage ../development/libraries/haskell/regex-posix/0.94.2.nix {};
regexPosix_0_94_4 = callPackage ../development/libraries/haskell/regex-posix/0.94.4.nix {};
regexPosix_0_95_1 = callPackage ../development/libraries/haskell/regex-posix/0.95.1.nix {};
regexPosix_0_95_2 = callPackage ../development/libraries/haskell/regex-posix/0.95.2.nix {};
regexPosix = self.regexPosix_0_95_2;
regexTdfa = callPackage ../development/libraries/haskell/regex-tdfa {};
regexTdfaRc = callPackage ../development/libraries/haskell/regex-tdfa-rc {};
2013-06-25 12:01:41 +01:00
regexTdfaText = callPackage ../development/libraries/haskell/regex-tdfa-text {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
regexPcre = callPackage ../development/libraries/haskell/regex-pcre {};
regexpr = callPackage ../development/libraries/haskell/regexpr {};
regular = callPackage ../development/libraries/haskell/regular {};
regularXmlpickler = callPackage ../development/libraries/haskell/regular-xmlpickler {};
2012-07-01 17:58:50 +01:00
remote = callPackage ../development/libraries/haskell/remote {};
repa = callPackage ../development/libraries/haskell/repa {};
repaAlgorithms = callPackage ../development/libraries/haskell/repa-algorithms {};
repaExamples = callPackage ../development/libraries/haskell/repa-examples {};
repaIo = callPackage ../development/libraries/haskell/repa-io {};
RepLib = callPackage ../development/libraries/haskell/RepLib {};
repr = callPackage ../development/libraries/haskell/repr {};
resourcePool = callPackage ../development/libraries/haskell/resource-pool {};
resourcePoolCatchio = callPackage ../development/libraries/haskell/resource-pool-catchio {};
resourcet = callPackage ../development/libraries/haskell/resourcet {};
2014-07-15 01:04:59 +01:00
restClient = callPackage ../development/libraries/haskell/rest-client {};
2014-07-19 09:25:30 +01:00
restCore = callPackage ../development/libraries/haskell/rest-core {};
2014-07-15 01:04:59 +01:00
restGen = callPackage ../development/libraries/haskell/rest-gen {};
2014-07-15 01:04:59 +01:00
restHappstack = callPackage ../development/libraries/haskell/rest-happstack {};
restSnap = callPackage ../development/libraries/haskell/rest-snap {};
restStringmap = callPackage ../development/libraries/haskell/rest-stringmap {};
restTypes = callPackage ../development/libraries/haskell/rest-types {};
2014-07-15 01:04:59 +01:00
restWai = callPackage ../development/libraries/haskell/rest-wai {};
retry = callPackage ../development/libraries/haskell/retry {};
2013-11-09 00:04:42 +00:00
rethinkdb = callPackage ../development/libraries/haskell/rethinkdb {};
2014-05-04 05:01:00 +01:00
rex = callPackage ../development/libraries/haskell/rex {};
2013-09-18 16:45:07 +01:00
rfc5051 = callPackage ../development/libraries/haskell/rfc5051 {};
robotsTxt = callPackage ../development/libraries/haskell/robots-txt {};
2014-09-05 00:32:25 +01:00
rope = callPackage ../development/libraries/haskell/rope {};
2013-09-06 22:21:08 +01:00
rosezipper = callPackage ../development/libraries/haskell/rosezipper {};
RSA = callPackage ../development/libraries/haskell/RSA {};
2014-09-01 17:07:37 +01:00
saltine = callPackage ../development/libraries/haskell/saltine {};
sampleFrame = callPackage ../development/libraries/haskell/sample-frame {};
safe = callPackage ../development/libraries/haskell/safe {};
2013-04-19 06:07:44 +01:00
safecopy = callPackage ../development/libraries/haskell/safecopy {};
SafeSemaphore = callPackage ../development/libraries/haskell/SafeSemaphore {};
sbv = callPackage ../development/libraries/haskell/sbv {};
scientific_0_2_0_2 = callPackage ../development/libraries/haskell/scientific/0.2.0.2.nix {};
scientific_0_3_3_1 = callPackage ../development/libraries/haskell/scientific/0.3.3.1.nix {};
scientific = self.scientific_0_3_3_1;
scotty = callPackage ../development/libraries/haskell/scotty {};
scottyHastache = callPackage ../development/libraries/haskell/scotty-hastache {};
2014-03-14 22:46:13 +00:00
scrypt = callPackage ../development/libraries/haskell/scrypt {};
2013-08-11 17:52:33 +01:00
securemem = callPackage ../development/libraries/haskell/securemem {};
sendfile = callPackage ../development/libraries/haskell/sendfile {};
semigroups = callPackage ../development/libraries/haskell/semigroups {};
semigroupoids = callPackage ../development/libraries/haskell/semigroupoids {};
semigroupoidExtras = callPackage ../development/libraries/haskell/semigroupoid-extras {};
servant = callPackage ../development/libraries/haskell/servant {};
servantPool = callPackage ../development/libraries/haskell/servant-pool {};
servantPostgresql = callPackage ../development/libraries/haskell/servant-postgresql {};
servantResponse = callPackage ../development/libraries/haskell/servant-response {};
servantScotty = callPackage ../development/libraries/haskell/servant-scotty {};
2012-11-09 10:36:09 +00:00
setenv = callPackage ../development/libraries/haskell/setenv {};
2014-05-22 22:45:46 +01:00
setlocale = callPackage ../development/libraries/haskell/setlocale {};
shellish = callPackage ../development/libraries/haskell/shellish {};
shellmate = callPackage ../development/libraries/haskell/shellmate {};
shelly_0_15_4_1 = callPackage ../development/libraries/haskell/shelly/0.15.4.1.nix {};
shelly_1_5_3_1 = callPackage ../development/libraries/haskell/shelly {};
shelly = self.shelly_1_5_3_1;
2012-06-28 10:32:20 +01:00
2014-07-16 01:41:58 +01:00
simpleConduit = callPackage ../development/libraries/haskell/simple-conduit {};
simpleReflect = callPackage ../development/libraries/haskell/simple-reflect {};
simpleSendfile = callPackage ../development/libraries/haskell/simple-sendfile {};
2014-06-22 06:49:31 +01:00
simpleSqlParser = callPackage ../development/libraries/haskell/simple-sql-parser {};
silently = callPackage ../development/libraries/haskell/silently {};
2014-08-24 17:01:26 +01:00
sized = callPackage ../development/libraries/haskell/sized {};
sizedTypes = callPackage ../development/libraries/haskell/sized-types {};
skein = callPackage ../development/libraries/haskell/skein {};
smallcheck = callPackage ../development/libraries/haskell/smallcheck {};
smtLib = callPackage ../development/libraries/haskell/smtLib {};
smtpMail = callPackage ../development/libraries/haskell/smtp-mail {};
2014-02-11 10:56:47 +00:00
smtpsGmail = callPackage ../development/libraries/haskell/smtps-gmail {};
snap = callPackage ../development/libraries/haskell/snap/snap.nix {};
snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {};
snapletPostgresqlSimple = callPackage ../development/libraries/haskell/snaplet-postgresql-simple {};
snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {};
snapletStripe = callPackage ../development/libraries/haskell/snaplet-stripe {};
snapBlaze = callPackage ../development/libraries/haskell/snap-blaze/default.nix {};
snapCore = callPackage ../development/libraries/haskell/snap/core.nix {};
snapCORS = callPackage ../development/libraries/haskell/snap-cors {};
snapLoaderDynamic = callPackage ../development/libraries/haskell/snap/loader-dynamic.nix {};
snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {};
snapServer = callPackage ../development/libraries/haskell/snap/server.nix {};
snapWebRoutes = callPackage ../development/libraries/haskell/snap-web-routes {};
2014-03-14 22:45:47 +00:00
snowball = callPackage ../development/libraries/haskell/snowball {};
socks = callPackage ../development/libraries/haskell/socks {};
socketIo = callPackage ../development/libraries/haskell/socket-io {};
sodium = callPackage ../development/libraries/haskell/sodium {};
sparse = callPackage ../development/libraries/haskell/sparse {};
2014-06-11 08:55:19 +01:00
spawn = callPackage ../development/libraries/haskell/spawn {};
2014-05-04 05:01:00 +01:00
speculation = callPackage ../development/libraries/haskell/speculation {};
2014-05-01 11:19:40 +01:00
spoon = callPackage ../development/libraries/haskell/spoon {};
srcloc = callPackage ../development/libraries/haskell/srcloc {};
stateref = callPackage ../development/libraries/haskell/stateref {};
2013-11-26 10:50:34 +00:00
statestack = callPackage ../development/libraries/haskell/statestack {};
StateVar = callPackage ../development/libraries/haskell/StateVar {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
statistics = callPackage ../development/libraries/haskell/statistics {};
2013-09-10 15:06:56 +01:00
statvfs = callPackage ../development/libraries/haskell/statvfs {};
StrafunskiStrategyLib = callPackage ../development/libraries/haskell/Strafunski-StrategyLib {};
streamingCommons = callPackage ../development/libraries/haskell/streaming-commons {};
streamproc = callPackage ../development/libraries/haskell/streamproc {};
strict = callPackage ../development/libraries/haskell/strict {};
2013-09-16 10:33:24 +01:00
stringable = callPackage ../development/libraries/haskell/stringable {};
stringCombinators = callPackage ../development/libraries/haskell/string-combinators {};
stringConversions = callPackage ../development/libraries/haskell/string-conversions {};
2013-02-24 21:17:30 +00:00
stringprep = callPackage ../development/libraries/haskell/stringprep {};
stringQq = callPackage ../development/libraries/haskell/string-qq {};
stringsearch = callPackage ../development/libraries/haskell/stringsearch {};
2012-09-18 10:57:13 +01:00
strptime = callPackage ../development/libraries/haskell/strptime {};
stylishHaskell = callPackage ../development/libraries/haskell/stylish-haskell {};
2012-08-30 09:11:23 +01:00
syb_0_3 = callPackage ../development/libraries/haskell/syb/0.3.nix {};
syb_0_3_3 = callPackage ../development/libraries/haskell/syb/0.3.3.nix {};
syb_0_3_6_1 = callPackage ../development/libraries/haskell/syb/0.3.6.1.nix {};
2012-07-05 08:48:41 +01:00
syb_0_3_7 = callPackage ../development/libraries/haskell/syb/0.3.7.nix {};
2013-03-08 12:43:35 +00:00
syb_0_4_0 = callPackage ../development/libraries/haskell/syb/0.4.0.nix {};
2014-06-10 18:20:14 +01:00
syb_0_4_2 = callPackage ../development/libraries/haskell/syb/0.4.2.nix {};
syb = self.syb_0_4_2;
sybWithClass = callPackage ../development/libraries/haskell/syb/syb-with-class.nix {};
sybWithClassInstancesText = callPackage ../development/libraries/haskell/syb/syb-with-class-instances-text.nix {};
2014-04-05 09:36:21 +01:00
syntactic = callPackage ../development/libraries/haskell/syntactic {};
2013-09-06 22:20:41 +01:00
syz = callPackage ../development/libraries/haskell/syz {};
SDLImage = callPackage ../development/libraries/haskell/SDL-image {};
SDLMixer = callPackage ../development/libraries/haskell/SDL-mixer {};
SDLTtf = callPackage ../development/libraries/haskell/SDL-ttf {};
SDL = callPackage ../development/libraries/haskell/SDL {
inherit (pkgs) SDL;
};
SHA = callPackage ../development/libraries/haskell/SHA {};
2014-06-29 01:12:42 +01:00
SHA2 = callPackage ../development/libraries/haskell/SHA2 {};
2013-03-09 12:11:48 +00:00
shake = callPackage ../development/libraries/haskell/shake {};
shakespeare = callPackage ../development/libraries/haskell/shakespeare {};
shakespeareCss = callPackage ../development/libraries/haskell/shakespeare-css {};
shakespeareI18n = callPackage ../development/libraries/haskell/shakespeare-i18n {};
shakespeareJs = callPackage ../development/libraries/haskell/shakespeare-js {};
shakespeareText = callPackage ../development/libraries/haskell/shakespeare-text {};
Shellac = callPackage ../development/libraries/haskell/Shellac/Shellac.nix {};
2013-02-21 15:04:59 +00:00
show = callPackage ../development/libraries/haskell/show {};
2012-07-16 21:09:27 +01:00
singletons = callPackage ../development/libraries/haskell/singletons {};
SMTPClient = callPackage ../development/libraries/haskell/SMTPClient {};
socketActivation = callPackage ../development/libraries/haskell/socket-activation {};
2014-01-27 14:19:22 +00:00
sourcemap = callPackage ../development/libraries/haskell/sourcemap {};
split_0_1_4_3 = callPackage ../development/libraries/haskell/split/0.1.4.3.nix {};
split_0_2_1_1 = callPackage ../development/libraries/haskell/split/0.2.1.1.nix {};
2013-04-14 19:54:42 +01:00
split_0_2_2 = callPackage ../development/libraries/haskell/split/0.2.2.nix {};
split = self.split_0_2_2;
sqliteSimple = callPackage ../development/libraries/haskell/sqlite-simple/default.nix {};
stbImage = callPackage ../development/libraries/haskell/stb-image {};
stm_2_1_1_2 = callPackage ../development/libraries/haskell/stm/2.1.1.2.nix {};
stm_2_1_2_1 = callPackage ../development/libraries/haskell/stm/2.1.2.1.nix {};
stm_2_2_0_1 = callPackage ../development/libraries/haskell/stm/2.2.0.1.nix {};
stm_2_3 = callPackage ../development/libraries/haskell/stm/2.3.nix {};
2012-07-05 08:47:47 +01:00
stm_2_4 = callPackage ../development/libraries/haskell/stm/2.4.nix {};
2012-11-17 10:37:21 +00:00
stm_2_4_2 = callPackage ../development/libraries/haskell/stm/2.4.2.nix {};
2014-03-30 21:04:13 +01:00
stm_2_4_3 = callPackage ../development/libraries/haskell/stm/2.4.3.nix {};
stm = self.stm_2_4_3;
stmChans = callPackage ../development/libraries/haskell/stm-chans {};
stmConduit = callPackage ../development/libraries/haskell/stm-conduit {};
stmContainers = callPackage ../development/libraries/haskell/stm-containers {};
2014-06-16 22:00:15 +01:00
STMonadTrans = callPackage ../development/libraries/haskell/STMonadTrans {};
2014-05-04 05:01:00 +01:00
stmStats = callPackage ../development/libraries/haskell/stm-stats {};
storableComplex = callPackage ../development/libraries/haskell/storable-complex {};
storableEndian = callPackage ../development/libraries/haskell/storable-endian {};
storableRecord = callPackage ../development/libraries/haskell/storable-record {};
Stream = callPackage ../development/libraries/haskell/Stream {};
strictConcurrency = callPackage ../development/libraries/haskell/strict-concurrency {};
stringbuilder = callPackage ../development/libraries/haskell/stringbuilder {};
stripe = callPackage ../development/libraries/haskell/stripe {};
2014-03-03 15:40:07 +00:00
svgcairo = callPackage ../development/libraries/haskell/svgcairo {
libc = pkgs.stdenv.gcc.libc;
};
2014-02-07 00:59:19 +00:00
SVGFonts = callPackage ../development/libraries/haskell/SVGFonts {};
symbol = callPackage ../development/libraries/haskell/symbol {};
systemFilepath = callPackage ../development/libraries/haskell/system-filepath {};
systemFileio = callPackage ../development/libraries/haskell/system-fileio {};
systemPosixRedirect = callPackage ../development/libraries/haskell/system-posix-redirect {};
systemTimeMonotonic = callPackage ../development/libraries/haskell/system-time-monotonic {};
TableAlgebra = callPackage ../development/libraries/haskell/TableAlgebra {};
tables = callPackage ../development/libraries/haskell/tables {};
tabular = callPackage ../development/libraries/haskell/tabular {};
tagged = callPackage ../development/libraries/haskell/tagged {};
2014-08-30 23:36:49 +01:00
taggedTransformer = callPackage ../development/libraries/haskell/tagged-transformer {};
taggy = callPackage ../development/libraries/haskell/taggy {};
taggyLens = callPackage ../development/libraries/haskell/taggy-lens {};
2014-03-19 10:44:32 +00:00
tagshare = callPackage ../development/libraries/haskell/tagshare {};
tagsoup = callPackage ../development/libraries/haskell/tagsoup {};
tagstreamConduit = callPackage ../development/libraries/haskell/tagstream-conduit {};
2013-08-21 09:18:45 +01:00
tasty = callPackage ../development/libraries/haskell/tasty {};
tastyAntXml = callPackage ../development/libraries/haskell/tasty-ant-xml {};
tastyGolden = callPackage ../development/libraries/haskell/tasty-golden {};
tastyHspec = callPackage ../development/libraries/haskell/tasty-hspec {};
2013-08-21 09:18:45 +01:00
tastyHunit = callPackage ../development/libraries/haskell/tasty-hunit {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
tastyQuickcheck = callPackage ../development/libraries/haskell/tasty-quickcheck {};
tastyRerun = callPackage ../development/libraries/haskell/tasty-rerun {};
2013-08-21 09:18:45 +01:00
tastySmallcheck = callPackage ../development/libraries/haskell/tasty-smallcheck {};
tastyTh = callPackage ../development/libraries/haskell/tasty-th {};
2014-06-09 04:44:11 +01:00
TCache = callPackage ../development/libraries/haskell/TCache {};
2014-06-18 06:01:45 +01:00
tcacheAWS = callPackage ../development/libraries/haskell/tcache-AWS {};
template = callPackage ../development/libraries/haskell/template {};
2013-06-14 12:02:58 +01:00
templateDefault = callPackage ../development/libraries/haskell/template-default {};
temporary = callPackage ../development/libraries/haskell/temporary {};
temporaryRc = callPackage ../development/libraries/haskell/temporary-rc {};
Tensor = callPackage ../development/libraries/haskell/Tensor {};
terminalProgressBar = callPackage ../development/libraries/haskell/terminal-progress-bar {};
2014-03-15 16:05:02 +00:00
terminalSize = callPackage ../development/libraries/haskell/terminal-size {};
terminfo_0_3_2_6 = callPackage ../development/libraries/haskell/terminfo/0.3.2.6.nix { inherit (pkgs) ncurses; };
terminfo_0_4_0_0 = callPackage ../development/libraries/haskell/terminfo/0.4.0.0.nix { inherit (pkgs) ncurses; };
terminfo = self.terminfo_0_4_0_0;
testFramework = callPackage ../development/libraries/haskell/test-framework {};
testFrameworkHunit = callPackage ../development/libraries/haskell/test-framework-hunit {};
testFrameworkQuickcheck = callPackage ../development/libraries/haskell/test-framework-quickcheck {
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
QuickCheck = self.QuickCheck_1_2_0_1; # doesn't support version 2.x
};
testFrameworkQuickcheck2 = callPackage ../development/libraries/haskell/test-framework-quickcheck2 {};
2014-06-06 22:55:42 +01:00
testFrameworkSmallcheck = callPackage ../development/libraries/haskell/test-framework-smallcheck {};
testFrameworkTh = callPackage ../development/libraries/haskell/test-framework-th {};
testFrameworkThPrime = callPackage ../development/libraries/haskell/test-framework-th-prime {};
testingFeat = callPackage ../development/libraries/haskell/testing-feat {};
texmath = callPackage ../development/libraries/haskell/texmath {};
text_0_11_0_5 = callPackage ../development/libraries/haskell/text/0.11.0.5.nix {};
text_0_11_0_6 = callPackage ../development/libraries/haskell/text/0.11.0.6.nix {};
text_0_11_1_5 = callPackage ../development/libraries/haskell/text/0.11.1.5.nix {};
text_0_11_2_0 = callPackage ../development/libraries/haskell/text/0.11.2.0.nix {};
text_0_11_2_3 = callPackage ../development/libraries/haskell/text/0.11.2.3.nix {};
text_0_11_3_1 = callPackage ../development/libraries/haskell/text/0.11.3.1.nix {};
text_1_1_1_3 = callPackage ../development/libraries/haskell/text/1.1.1.3.nix {};
text = self.text_1_1_1_3;
2013-10-22 00:08:05 +01:00
textFormat = callPackage ../development/libraries/haskell/text-format {};
2013-02-24 21:17:49 +00:00
textIcu = callPackage ../development/libraries/haskell/text-icu {};
textStreamDecode = callPackage ../development/libraries/haskell/text-stream-decode {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
tfRandom = if (pkgs.stdenv.lib.versionOlder ghc.version "7") then null else
callPackage ../development/libraries/haskell/tf-random {};
2014-03-20 08:31:54 +00:00
these = callPackage ../development/libraries/haskell/these {};
thespian = callPackage ../development/libraries/haskell/thespian {};
thDesugar = callPackage ../development/libraries/haskell/th-desugar {};
2014-05-04 05:01:00 +01:00
thExpandSyns = callPackage ../development/libraries/haskell/th-expand-syns {};
thExtras = callPackage ../development/libraries/haskell/th-extras {};
thLift = callPackage ../development/libraries/haskell/th-lift {};
thLiftInstances = callPackage ../development/libraries/haskell/th-lift-instances {};
2012-09-10 13:19:47 +01:00
thOrphans = callPackage ../development/libraries/haskell/th-orphans {};
threadmanager = callPackage ../development/libraries/haskell/threadmanager {};
2012-09-24 10:58:57 +01:00
threads = callPackage ../development/libraries/haskell/threads {};
2014-07-02 13:38:02 +01:00
Thrift = callPackage ../development/libraries/haskell/Thrift {};
2014-07-02 05:14:06 +01:00
2013-08-27 16:17:41 +01:00
thyme = callPackage ../development/libraries/haskell/thyme {};
threepennyGui = callPackage ../development/libraries/haskell/threepenny-gui {};
time_1_1_2_4 = callPackage ../development/libraries/haskell/time/1.1.2.4.nix {};
2014-09-12 12:12:44 +01:00
time_1_5 = callPackage ../development/libraries/haskell/time/1.5.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
time = null; # core package since ghc >= 6.12.x
2014-05-22 15:07:25 +01:00
timerep = callPackage ../development/libraries/haskell/timerep {};
timeparsers = callPackage ../development/libraries/haskell/timeparsers {};
timeRecurrence = callPackage ../development/libraries/haskell/time-recurrence {};
timezoneOlson = callPackage ../development/libraries/haskell/timezone-olson {};
timezoneSeries = callPackage ../development/libraries/haskell/timezone-series {};
timeCompat = callPackage ../development/libraries/haskell/time-compat {};
tls = callPackage ../development/libraries/haskell/tls {};
tostring = callPackage ../development/libraries/haskell/tostring {};
transformers_0_2_2_0 = callPackage ../development/libraries/haskell/transformers/0.2.2.0.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
transformers_0_3_0_0 = callPackage ../development/libraries/haskell/transformers/0.3.0.0.nix {};
transformers_0_4_1_0 = callPackage ../development/libraries/haskell/transformers/0.4.1.0.nix {};
2014-07-10 11:15:29 +01:00
transformers = null; # core package since ghc >= 7.8.x
transformersBase = callPackage ../development/libraries/haskell/transformers-base {};
transformersCompat_0_3_3 = callPackage ../development/libraries/haskell/transformers-compat/0.3.3.nix {};
transformersCompat_0_3_3_4 = callPackage ../development/libraries/haskell/transformers-compat/0.3.3.4.nix {};
transformersCompat = self.transformersCompat_0_3_3_4;
transformersFree = callPackage ../development/libraries/haskell/transformers-free {};
traverseWithClass = callPackage ../development/libraries/haskell/traverse-with-class {};
2014-04-05 09:44:52 +01:00
treeView = callPackage ../development/libraries/haskell/tree-view {};
2014-03-01 19:03:49 +00:00
trifecta = callPackage ../development/libraries/haskell/trifecta {};
2013-09-25 17:30:37 +01:00
tuple = callPackage ../development/libraries/haskell/tuple {};
twitterConduit = callPackage ../development/libraries/haskell/twitter-conduit {};
twitterTypes = callPackage ../development/libraries/haskell/twitter-types {};
TypeCompose = callPackage ../development/libraries/haskell/TypeCompose {};
typeEq = callPackage ../development/libraries/haskell/type-eq {};
typeEquality = callPackage ../development/libraries/haskell/type-equality {};
2014-08-24 17:01:08 +01:00
typeNatural = callPackage ../development/libraries/haskell/type-natural {};
typeLevelNaturalNumber = callPackage ../development/libraries/haskell/type-level-natural-number {};
2014-04-25 15:19:12 +01:00
tz = callPackage ../development/libraries/haskell/tz {
pkgs_tzdata = pkgs.tzdata;
};
2014-04-25 15:12:36 +01:00
tzdata = callPackage ../development/libraries/haskell/tzdata {};
unbound = callPackage ../development/libraries/haskell/unbound {};
unboundedDelays = callPackage ../development/libraries/haskell/unbounded-delays {};
2013-08-11 22:56:02 +01:00
unionFind = callPackage ../development/libraries/haskell/union-find {};
uniplate = callPackage ../development/libraries/haskell/uniplate {};
2014-05-26 08:03:39 +01:00
units = callPackage ../development/libraries/haskell/units {};
uniqueid = callPackage ../development/libraries/haskell/uniqueid {};
2013-08-16 16:55:34 +01:00
unixBytestring = callPackage ../development/libraries/haskell/unix-bytestring {};
unixCompat = callPackage ../development/libraries/haskell/unix-compat {};
2014-05-05 16:32:23 +01:00
unixMemory = callPackage ../development/libraries/haskell/unix-memory {};
unixProcessConduit = callPackage ../development/libraries/haskell/unix-process-conduit {};
2012-08-09 10:12:45 +01:00
unixTime = callPackage ../development/libraries/haskell/unix-time {};
Unixutils = callPackage ../development/libraries/haskell/Unixutils {};
2012-07-16 21:12:01 +01:00
unlambda = callPackage ../development/libraries/haskell/unlambda {};
unorderedContainers_0_2_3_0 = callPackage ../development/libraries/haskell/unordered-containers/0.2.3.0.nix {};
unorderedContainers_0_2_4_0 = callPackage ../development/libraries/haskell/unordered-containers/0.2.4.0.nix {};
unorderedContainers_0_2_5_0 = callPackage ../development/libraries/haskell/unordered-containers/0.2.5.0.nix {};
unorderedContainers = self.unorderedContainers_0_2_5_0;
2014-04-12 15:59:29 +01:00
uri = callPackage ../development/libraries/haskell/uri {};
uriEncode = callPackage ../development/libraries/haskell/uri-encode {};
url = callPackage ../development/libraries/haskell/url {};
urlencoded = callPackage ../development/libraries/haskell/urlencoded {};
2012-09-05 19:37:35 +01:00
2013-10-08 08:35:05 +01:00
usb = callPackage ../development/libraries/haskell/usb {};
utf8Light = callPackage ../development/libraries/haskell/utf8-light {};
utf8String = callPackage ../development/libraries/haskell/utf8-string {};
utilityHt = callPackage ../development/libraries/haskell/utility-ht {};
uulib = callPackage ../development/libraries/haskell/uulib {};
2013-02-18 10:20:20 +00:00
uuid = callPackage ../development/libraries/haskell/uuid {};
uuOptions = callPackage ../development/libraries/haskell/uu-options {};
uuInterleaved = callPackage ../development/libraries/haskell/uu-interleaved {};
2013-02-18 10:20:20 +00:00
uuParsinglib = callPackage ../development/libraries/haskell/uu-parsinglib {};
vacuum = callPackage ../development/libraries/haskell/vacuum {};
vacuumCairo = callPackage ../development/libraries/haskell/vacuum-cairo {};
2014-04-04 13:35:44 +01:00
vacuumGraphviz = callPackage ../development/libraries/haskell/vacuum-graphviz {};
2014-03-11 12:27:43 +00:00
vado = callPackage ../development/libraries/haskell/vado {};
vault = callPackage ../development/libraries/haskell/vault {};
2014-03-11 12:27:27 +00:00
vcsgui = callPackage ../development/libraries/haskell/vcsgui {};
vcsRevision = callPackage ../development/libraries/haskell/vcs-revision {};
2014-03-11 12:26:49 +00:00
vcswrapper = callPackage ../development/libraries/haskell/vcswrapper {};
Vec = callPackage ../development/libraries/haskell/Vec {};
vect = callPackage ../development/libraries/haskell/vect {};
2014-04-28 18:13:37 +01:00
vector_0_10_0_1 = callPackage ../development/libraries/haskell/vector/0.10.0.1.nix {};
vector_0_10_9_3 = callPackage ../development/libraries/haskell/vector/0.10.9.3.nix {};
2014-06-09 09:40:31 +01:00
vector_0_10_11_0 = callPackage ../development/libraries/haskell/vector/0.10.11.0.nix {};
vector = self.vector_0_10_11_0;
vectorAlgorithms = callPackage ../development/libraries/haskell/vector-algorithms {};
vectorBinaryInstances = callPackage ../development/libraries/haskell/vector-binary-instances {};
vectorInstances = callPackage ../development/libraries/haskell/vector-instances {};
vectorSpace = callPackage ../development/libraries/haskell/vector-space {};
vectorSpacePoints = callPackage ../development/libraries/haskell/vector-space-points {};
2013-06-14 12:09:11 +01:00
vectorThUnbox = callPackage ../development/libraries/haskell/vector-th-unbox {};
2014-05-04 12:19:22 +01:00
vinyl = callPackage ../development/libraries/haskell/vinyl {};
void = callPackage ../development/libraries/haskell/void {};
2014-06-06 22:56:29 +01:00
vty_4_7_5 = callPackage ../development/libraries/haskell/vty/4.7.5.nix {};
2014-08-26 11:36:54 +01:00
vty_5_2_1 = callPackage ../development/libraries/haskell/vty/5.2.1.nix {};
vty = self.vty_5_2_1;
vtyUi = callPackage ../development/libraries/haskell/vty-ui {
vty = self.vty_4_7_5;
};
2013-02-06 15:32:35 +00:00
wai = callPackage ../development/libraries/haskell/wai {};
waiAppStatic = callPackage ../development/libraries/haskell/wai-app-static {};
2014-06-10 19:33:03 +01:00
waiConduit = callPackage ../development/libraries/haskell/wai-conduit {};
waiExtra = callPackage ../development/libraries/haskell/wai-extra {};
waiHandlerLaunch = callPackage ../development/libraries/haskell/wai-handler-launch {};
waiHandlerFastcgi = callPackage ../development/libraries/haskell/wai-handler-fastcgi { inherit (pkgs) fcgi; };
waiLogger = callPackage ../development/libraries/haskell/wai-logger {};
waiMiddlewareStatic = callPackage ../development/libraries/haskell/wai-middleware-static {};
waiTest = callPackage ../development/libraries/haskell/wai-test {};
waiWebsockets = callPackage ../development/libraries/haskell/wai-websockets {};
warp = callPackage ../development/libraries/haskell/warp {};
2013-07-01 10:38:54 +01:00
warpTls = callPackage ../development/libraries/haskell/warp-tls {};
2014-05-22 22:46:12 +01:00
wcwidth = callPackage ../development/libraries/haskell/wcwidth {};
webdriver = callPackage ../development/libraries/haskell/webdriver {};
2014-08-06 16:44:35 +01:00
webkit = callPackage ../development/libraries/haskell/webkit {
webkit = pkgs.webkitgtk2;
};
webRoutes = callPackage ../development/libraries/haskell/web-routes {};
webRoutesBoomerang = callPackage ../development/libraries/haskell/web-routes-boomerang {};
websockets = callPackage ../development/libraries/haskell/websockets {
testFrameworkQuickcheck2 = self.testFrameworkQuickcheck2.override { QuickCheck = self.QuickCheck_2_6; };
QuickCheck = self.QuickCheck_2_6;
};
websocketsSnap = callPackage ../development/libraries/haskell/websockets-snap {};
CouchDB = callPackage ../development/libraries/haskell/CouchDB {};
wlPprint = callPackage ../development/libraries/haskell/wl-pprint {};
wlPprintExtras = callPackage ../development/libraries/haskell/wl-pprint-extras {};
wlPprintTerminfo = callPackage ../development/libraries/haskell/wl-pprint-terminfo {};
wlPprintText = callPackage ../development/libraries/haskell/wl-pprint-text {};
2014-03-03 20:45:20 +00:00
wizards = callPackage ../development/libraries/haskell/wizards {};
2012-11-08 13:51:34 +00:00
word8 = callPackage ../development/libraries/haskell/word8 {};
2014-08-31 18:54:02 +01:00
wordexp = callPackage ../development/libraries/haskell/wordexp {};
2014-06-09 04:44:11 +01:00
Workflow = callPackage ../development/libraries/haskell/Workflow {};
wreq = callPackage ../development/libraries/haskell/wreq {};
2014-04-25 10:18:29 +01:00
wx = callPackage ../development/libraries/haskell/wxHaskell/wx.nix {};
wxc = callPackage ../development/libraries/haskell/wxHaskell/wxc.nix {
wxGTK = pkgs.wxGTK29;
};
wxcore = callPackage ../development/libraries/haskell/wxHaskell/wxcore.nix {
wxGTK = pkgs.wxGTK29;
};
wxdirect = callPackage ../development/libraries/haskell/wxHaskell/wxdirect.nix {};
x509 = callPackage ../development/libraries/haskell/x509 {};
x509Store = callPackage ../development/libraries/haskell/x509-store {};
x509System = callPackage ../development/libraries/haskell/x509-system {};
x509Validation = callPackage ../development/libraries/haskell/x509-validation {};
X11 = callPackage ../development/libraries/haskell/X11 {};
X11Xft = callPackage ../development/libraries/haskell/X11-xft {};
xdgBasedir = callPackage ../development/libraries/haskell/xdg-basedir {};
xdot = callPackage ../development/libraries/haskell/xdot {};
xhtml_3000_2_0_1 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.1.nix {};
xhtml_3000_2_0_4 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.4.nix {};
xhtml_3000_2_0_5 = callPackage ../development/libraries/haskell/xhtml/3000.2.0.5.nix {};
xhtml_3000_2_1 = callPackage ../development/libraries/haskell/xhtml/3000.2.1.nix {};
xhtml = self.xhtml_3000_2_1;
xml = callPackage ../development/libraries/haskell/xml {};
xmlConduit = callPackage ../development/libraries/haskell/xml-conduit {};
xmlConduitWriter = callPackage ../development/libraries/haskell/xml-conduit-writer {};
2013-10-23 09:28:57 +01:00
xmlgen = callPackage ../development/libraries/haskell/xmlgen {};
xmlHamlet = callPackage ../development/libraries/haskell/xml-hamlet {};
xmlhtml = callPackage ../development/libraries/haskell/xmlhtml {};
xmlHtmlConduitLens = callPackage ../development/libraries/haskell/xml-html-conduit-lens {};
2014-04-18 03:40:11 +01:00
xmlLens = callPackage ../development/libraries/haskell/xml-lens {};
xmlTypes = callPackage ../development/libraries/haskell/xml-types {};
2014-08-07 09:32:39 +01:00
xorshift = callPackage ../development/libraries/haskell/xorshift {};
xournalParser = callPackage ../development/libraries/haskell/xournal-parser {};
xournalTypes = callPackage ../development/libraries/haskell/xournal-types {};
2013-06-14 10:35:52 +01:00
xtest = callPackage ../development/libraries/haskell/xtest {};
xssSanitize = callPackage ../development/libraries/haskell/xss-sanitize {};
2014-06-29 20:38:38 +01:00
Yampa = callPackage ../development/libraries/haskell/Yampa {};
yaml = callPackage ../development/libraries/haskell/yaml {};
yamlLight = callPackage ../development/libraries/haskell/yaml-light {};
yap = callPackage ../development/libraries/haskell/yap {};
yeganesh = callPackage ../applications/misc/yeganesh {};
yesod = callPackage ../development/libraries/haskell/yesod {};
yesodAuth = callPackage ../development/libraries/haskell/yesod-auth {};
yesodAuthHashdb = callPackage ../development/libraries/haskell/yesod-auth-hashdb {};
yesodBin = callPackage ../development/libraries/haskell/yesod-bin {};
yesodCore = callPackage ../development/libraries/haskell/yesod-core {};
yesodDefault = callPackage ../development/libraries/haskell/yesod-default {};
yesodForm = callPackage ../development/libraries/haskell/yesod-form {};
yesodJson = callPackage ../development/libraries/haskell/yesod-json {};
yesodPersistent = callPackage ../development/libraries/haskell/yesod-persistent {};
yesodRoutes = callPackage ../development/libraries/haskell/yesod-routes {};
yesodStatic = callPackage ../development/libraries/haskell/yesod-static {};
yesodTest = callPackage ../development/libraries/haskell/yesod-test {};
yst = callPackage ../development/libraries/haskell/yst {};
zeromqHaskell = callPackage ../development/libraries/haskell/zeromq-haskell { zeromq = pkgs.zeromq2; };
zeromq3Haskell = callPackage ../development/libraries/haskell/zeromq3-haskell { zeromq = pkgs.zeromq3; };
2014-05-01 12:52:21 +01:00
zeromq4Haskell = callPackage ../development/libraries/haskell/zeromq4-haskell { zeromq = pkgs.zeromq4; };
zipArchive_0_2_2_1 = callPackage ../development/libraries/haskell/zip-archive/0.2.2.1.nix {};
zipArchive_0_2_3_4 = callPackage ../development/libraries/haskell/zip-archive/0.2.3.4.nix {};
zipArchive = self.zipArchive_0_2_3_4;
zipper = callPackage ../development/libraries/haskell/zipper {};
2014-07-14 08:47:56 +01:00
zippers = callPackage ../development/libraries/haskell/zippers {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
zlib_0_5_0_0 = callPackage ../development/libraries/haskell/zlib/0.5.0.0.nix { inherit (pkgs) zlib; };
zlib_0_5_2_0 = callPackage ../development/libraries/haskell/zlib/0.5.2.0.nix { inherit (pkgs) zlib; };
zlib_0_5_3_1 = callPackage ../development/libraries/haskell/zlib/0.5.3.1.nix { inherit (pkgs) zlib; };
zlib_0_5_3_3 = callPackage ../development/libraries/haskell/zlib/0.5.3.3.nix { inherit (pkgs) zlib; };
zlib_0_5_4_0 = callPackage ../development/libraries/haskell/zlib/0.5.4.0.nix { inherit (pkgs) zlib; };
zlib_0_5_4_1 = callPackage ../development/libraries/haskell/zlib/0.5.4.1.nix { inherit (pkgs) zlib;};
2013-03-01 09:13:03 +00:00
zlib = self.zlib_0_5_4_1;
Updated Haskell packages. - aeson: updated to version 0.6.0.2 - attoparsec-conduit: updated to version 0.4.0 - authenticate: updated to version 1.2.0.1 - blaze-builder-conduit: updated to version 0.4.0 - certificate: updated to version 1.1.1 - conduit: updated to version 0.4.0.1 - crypto-conduit: updated to version 0.3.0.1 - hakyll: patched to support the latest version of hamlet - hamlet: updated to version 1.0.1 - happstack-happstack-hamlet: patched to support the latest version of hamlet - happstack-server: updated to version 7.0.0 - hoogle: patched to accept the latest versions of wai, warp, and conduit - http-conduit: updated to version 1.4.0.2 - monadcryptorandom: added version 0.4 - persistent-sqlite: updated to version 0.9.0 - persistent-template: updated to version 0.9.0 - persistent: updated to version 0.9.0 - pool-conduit: updated to version 0.1.0 - reactive-banana: updated to version 0.5.0.0 - shakespeare-css: updated to version 1.0.1 - shakespeare-i18n: updated to version 1.0.0 - shakespeare-js: updated to version 1.0.0 - shakespeare-text: updated to version 1.0.0 - shakespeare: updated to version 1.0.0 - simple-sendfile: updated to version 0.2.2 - texmath: updated to version 0.6.0.4 - tls-extra: updated to version 0.4.4 - tls: updated to version 0.9.2 - wai-app-static: updated to version 1.2.0 - wai-extra: updated to version 1.2.0.2 - wai: updated to version 1.2.0 - warp: updated to version 1.2.0 - xml-conduit: updated to version 0.7.0.1 - yaml: updated to version 0.7.0 - yesod-auth: updated to version 1.0.0 - yesod-core: updated to version 1.0.0 - yesod-default: updated to version 1.0.0 - yesod-form: updated to version 1.0.0 - yesod-json: updated to version 1.0.0 - yesod-persistent: updated to version 1.0.0 - yesod-routes: updated to version 1.0.0 - yesod-static: updated to version 1.0.0 - yesod: updated to version 1.0.0 - zlib-conduit: updated to version 0.4.0 - zlib-enum: updated to version 0.2.2 svn path=/nixpkgs/trunk/; revision=33629
2012-04-05 17:51:59 +01:00
zlibBindings = callPackage ../development/libraries/haskell/zlib-bindings {};
zlibConduit = callPackage ../development/libraries/haskell/zlib-conduit {};
Updated Haskell packages. - aeson: updated to version 0.6.0.2 - attoparsec-conduit: updated to version 0.4.0 - authenticate: updated to version 1.2.0.1 - blaze-builder-conduit: updated to version 0.4.0 - certificate: updated to version 1.1.1 - conduit: updated to version 0.4.0.1 - crypto-conduit: updated to version 0.3.0.1 - hakyll: patched to support the latest version of hamlet - hamlet: updated to version 1.0.1 - happstack-happstack-hamlet: patched to support the latest version of hamlet - happstack-server: updated to version 7.0.0 - hoogle: patched to accept the latest versions of wai, warp, and conduit - http-conduit: updated to version 1.4.0.2 - monadcryptorandom: added version 0.4 - persistent-sqlite: updated to version 0.9.0 - persistent-template: updated to version 0.9.0 - persistent: updated to version 0.9.0 - pool-conduit: updated to version 0.1.0 - reactive-banana: updated to version 0.5.0.0 - shakespeare-css: updated to version 1.0.1 - shakespeare-i18n: updated to version 1.0.0 - shakespeare-js: updated to version 1.0.0 - shakespeare-text: updated to version 1.0.0 - shakespeare: updated to version 1.0.0 - simple-sendfile: updated to version 0.2.2 - texmath: updated to version 0.6.0.4 - tls-extra: updated to version 0.4.4 - tls: updated to version 0.9.2 - wai-app-static: updated to version 1.2.0 - wai-extra: updated to version 1.2.0.2 - wai: updated to version 1.2.0 - warp: updated to version 1.2.0 - xml-conduit: updated to version 0.7.0.1 - yaml: updated to version 0.7.0 - yesod-auth: updated to version 1.0.0 - yesod-core: updated to version 1.0.0 - yesod-default: updated to version 1.0.0 - yesod-form: updated to version 1.0.0 - yesod-json: updated to version 1.0.0 - yesod-persistent: updated to version 1.0.0 - yesod-routes: updated to version 1.0.0 - yesod-static: updated to version 1.0.0 - yesod: updated to version 1.0.0 - zlib-conduit: updated to version 0.4.0 - zlib-enum: updated to version 0.2.2 svn path=/nixpkgs/trunk/; revision=33629
2012-04-05 17:51:59 +01:00
zlibEnum = callPackage ../development/libraries/haskell/zlib-enum {};
# Compilers.
2014-07-31 11:28:35 +01:00
Agda = callPackage ../development/compilers/agda {};
uhc = callPackage ../development/compilers/uhc {};
epic = callPackage ../development/compilers/epic {};
pakcs = callPackage ../development/compilers/pakcs {};
# Development tools.
alex_2_3_1 = callPackage ../development/tools/parsing/alex/2.3.1.nix {};
alex_2_3_2 = callPackage ../development/tools/parsing/alex/2.3.2.nix {};
alex_2_3_3 = callPackage ../development/tools/parsing/alex/2.3.3.nix {};
alex_2_3_5 = callPackage ../development/tools/parsing/alex/2.3.5.nix {};
alex_3_0_1 = callPackage ../development/tools/parsing/alex/3.0.1.nix {};
alex_3_0_2 = callPackage ../development/tools/parsing/alex/3.0.2.nix {};
2013-03-11 10:03:29 +00:00
alex_3_0_5 = callPackage ../development/tools/parsing/alex/3.0.5.nix {};
2013-12-02 19:41:51 +00:00
alex_3_1_3 = callPackage ../development/tools/parsing/alex/3.1.3.nix {};
alex = self.alex_3_1_3;
BNFC = callPackage ../development/tools/haskell/BNFC {};
cake3 = callPackage ../development/tools/haskell/cake3 {
optparseApplicative = self.optparseApplicative_0_9_1_1;
};
2014-03-30 22:26:21 +01:00
cpphs = callPackage ../development/tools/misc/cpphs {};
2014-05-17 11:25:23 +01:00
DrIFT = callPackage ../development/tools/haskell/DrIFT {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
haddock_2_4_2 = callPackage ../development/tools/documentation/haddock/2.4.2.nix { Cabal = null; };
haddock_2_7_2 = callPackage ../development/tools/documentation/haddock/2.7.2.nix { alex = self.alex_2_3_5; };
haddock_2_9_2 = callPackage ../development/tools/documentation/haddock/2.9.2.nix {};
haddock_2_9_4 = callPackage ../development/tools/documentation/haddock/2.9.4.nix {};
haddock_2_10_0 = callPackage ../development/tools/documentation/haddock/2.10.0.nix {};
2012-09-10 13:18:40 +01:00
haddock_2_11_0 = callPackage ../development/tools/documentation/haddock/2.11.0.nix {};
haddock_2_12_0 = callPackage ../development/tools/documentation/haddock/2.12.0.nix {};
2013-05-03 08:59:40 +01:00
haddock_2_13_2 = callPackage ../development/tools/documentation/haddock/2.13.2.nix {};
2014-04-11 09:17:44 +01:00
haddock_2_14_2 = callPackage ../development/tools/documentation/haddock/2.14.2.nix {};
2014-07-18 11:24:43 +01:00
haddock_2_14_3 = callPackage ../development/tools/documentation/haddock/2.14.3.nix {};
2014-09-01 14:12:59 +01:00
haddock_2_15_0 = callPackage ../development/tools/documentation/haddock/2.15.0.nix {};
haddock = self.haddock_2_15_0;
haddockApi = callPackage ../development/libraries/haskell/haddock-api {};
haddockLibrary = callPackage ../development/libraries/haskell/haddock-library {};
HandsomeSoup = callPackage ../development/libraries/haskell/HandsomeSoup {};
happy_1_18_4 = callPackage ../development/tools/parsing/happy/1.18.4.nix {};
happy_1_18_5 = callPackage ../development/tools/parsing/happy/1.18.5.nix {};
happy_1_18_6 = callPackage ../development/tools/parsing/happy/1.18.6.nix {};
happy_1_18_9 = callPackage ../development/tools/parsing/happy/1.18.9.nix {};
2012-09-24 10:21:52 +01:00
happy_1_18_10 = callPackage ../development/tools/parsing/happy/1.18.10.nix {};
2014-07-14 09:50:16 +01:00
happy_1_19_4 = callPackage ../development/tools/parsing/happy/1.19.4.nix {};
happy = self.happy_1_19_4;
happyMeta = callPackage ../development/tools/haskell/happy-meta {};
2014-08-13 23:55:49 +01:00
haskellDocs = callPackage ../development/tools/haskell/haskell-docs {};
haskdogs = callPackage ../development/tools/haskell/haskdogs {};
hasktags = callPackage ../development/tools/haskell/hasktags {};
2013-11-18 03:16:33 +00:00
hdevtools = callPackage ../development/tools/haskell/hdevtools {};
hlint = callPackage ../development/tools/haskell/hlint {};
hp2anyManager = callPackage ../development/tools/haskell/hp2any-manager {};
hscolour = callPackage ../development/tools/haskell/hscolour {};
hscolourBootstrap = self.hscolour.override {
cabal = self.cabal.override {
extension = self : super : {
hyperlinkSource = false;
configureFlags = super.configureFlags or "" +
pkgs.lib.optionalString (pkgs.stdenv.lib.versionOlder "6.12" ghc.version) " --ghc-option=-rtsopts";
};
};
};
hscope = callPackage ../development/tools/haskell/hscope { testSimple = null; };
hslogger = callPackage ../development/tools/haskell/hslogger {};
2014-08-13 22:32:49 +01:00
pointfree = callPackage ../development/tools/haskell/pointfree {};
2014-08-13 23:40:33 +01:00
pointful = callPackage ../development/tools/haskell/pointful {};
2014-08-31 12:29:48 +01:00
ShellCheck = callPackage ../development/tools/misc/ShellCheck {};
SourceGraph = callPackage ../development/tools/haskell/SourceGraph {};
tar = callPackage ../development/libraries/haskell/tar {};
threadscope = callPackage ../development/tools/haskell/threadscope {};
uuagcBootstrap = callPackage ../development/tools/haskell/uuagc/bootstrap.nix {};
uuagcCabal = callPackage ../development/tools/haskell/uuagc/cabal.nix {};
uuagc = callPackage ../development/tools/haskell/uuagc {};
# Applications.
arbtt = callPackage ../applications/misc/arbtt {};
idris_plain = callPackage ../development/compilers/idris {
llvmGeneral = self.llvmGeneral_3_3_8_2;
llvmGeneralPure = self.llvmGeneralPure_3_3_8_2;
};
2013-06-05 21:29:10 +01:00
idris = callPackage ../development/compilers/idris/wrapper.nix {};
2013-06-04 17:11:31 +01:00
2014-02-17 22:04:13 +00:00
nc-indicators = callPackage ../applications/misc/nc-indicators {};
sloane = callPackage ../applications/science/math/sloane {
optparseApplicative = self.optparseApplicative_0_9_1_1;
};
2014-02-08 20:16:43 +00:00
taffybar = callPackage ../applications/misc/taffybar {};
yi = callPackage ../applications/editors/yi/yi.nix {
vty = self.vty_4_7_5;
};
yiContrib = callPackage ../applications/editors/yi/yi-contrib.nix {};
2014-08-18 15:57:24 +01:00
xlsx = callPackage ../development/libraries/haskell/xlsx {};
xmobar = callPackage ../applications/misc/xmobar {};
xmonad = callPackage ../applications/window-managers/xmonad {};
xmonadContrib = callPackage ../applications/window-managers/xmonad/xmonad-contrib.nix {};
xmonadExtras = callPackage ../applications/window-managers/xmonad/xmonad-extras.nix {};
# Tools.
2014-06-09 09:58:18 +01:00
cabalDb = callPackage ../development/tools/haskell/cabal-db {};
cabal2nix = callPackage ../development/tools/haskell/cabal2nix {};
2014-03-23 02:40:35 +00:00
# Build a cabal package given a local .cabal file
buildLocalCabalWithArgs = { src
, name
, args ? {}
, cabalDrvArgs ? { jailbreak = true; }
# for import-from-derivation, want to use current system
, nativePkgs ? import pkgs.path {}
}: let
cabalExpr = nativePkgs.stdenv.mkDerivation ({
2014-03-23 02:40:35 +00:00
name = "${name}.nix";
buildCommand = ''
export HOME="$TMPDIR"
${nativePkgs.haskellPackages.cabal2nix}/bin/cabal2nix ${src + "/${name}.cabal"} --sha256=FILTERME \
2014-03-23 02:40:35 +00:00
| grep -v FILTERME | sed \
-e 's/licenses.proprietary/licenses.unfree/' \
-e 's/{ cabal/{ cabal, cabalInstall, cabalDrvArgs ? {}, src/' \
-e 's/cabal.mkDerivation (self: {/cabal.mkDerivation (self: cabalDrvArgs \/\/ {/' \
-e 's/buildDepends = \[/buildDepends = \[ cabalInstall/' \
-e 's/pname = \([^\n]*\)/pname = \1\n inherit src;\n/' > $out
2014-03-23 02:40:35 +00:00
'';
} // pkgs.lib.optionalAttrs nativePkgs.stdenv.isLinux {
LANG = "en_US.UTF-8";
LOCALE_ARCHIVE = "${nativePkgs.glibcLocales}/lib/locale/locale-archive";
});
in callPackage cabalExpr ({ inherit src cabalDrvArgs; } // args);
buildLocalCabal = src: name: self.buildLocalCabalWithArgs { inherit src name; };
2014-03-23 02:40:35 +00:00
2014-04-15 10:16:55 +01:00
cabalDelete = callPackage ../development/tools/haskell/cabal-delete {};
2014-03-18 12:40:16 +00:00
cabalBounds = callPackage ../development/tools/haskell/cabal-bounds {
Cabal = self.Cabal_1_20_0_2;
cabalLenses = self.cabalLenses.override {
Cabal = self.Cabal_1_20_0_2;
};
2014-03-18 12:40:16 +00:00
};
cabalMeta = callPackage ../development/tools/haskell/cabal-meta {};
cabal2Ghci = callPackage ../development/tools/haskell/cabal2ghci {};
cabalGhci = callPackage ../development/tools/haskell/cabal-ghci {};
2014-04-28 18:13:37 +01:00
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 {};
cabalInstall_0_10_2 = callPackage ../tools/package-management/cabal-install/0.10.2.nix {};
cabalInstall_0_14_0 = callPackage ../tools/package-management/cabal-install/0.14.0.nix {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
cabalInstall_1_16_0_2 = callPackage ../tools/package-management/cabal-install/1.16.0.2.nix { Cabal = self.Cabal_1_16_0_3; };
cabalInstall_1_18_0_3 = callPackage ../tools/package-management/cabal-install/1.18.0.3.nix { Cabal = self.Cabal_1_18_1_3; };
cabalInstall_1_20_0_3 = callPackage ../tools/package-management/cabal-install/1.20.0.3.nix { Cabal = self.Cabal_1_20_0_2; };
cabalInstall = self.cabalInstall_1_20_0_3;
2014-05-23 15:55:12 +01:00
codex = callPackage ../development/tools/haskell/codex {};
2014-06-29 01:25:23 +01:00
commandQq = callPackage ../development/libraries/haskell/command-qq {};
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
gitAnnex = callPackage ../applications/version-management/git-and-tools/git-annex {};
githubBackup = callPackage ../applications/version-management/git-and-tools/github-backup {};
2014-05-23 15:55:23 +01:00
hobbes = callPackage ../development/tools/haskell/hobbes {};
jailbreakCabal = callPackage ../development/tools/haskell/jailbreak-cabal {};
keter = callPackage ../development/tools/haskell/keter {};
lhs2tex = callPackage ../tools/typesetting/lhs2tex {};
packunused = callPackage ../development/tools/haskell/packunused {};
rehoo = callPackage ../development/tools/haskell/rehoo {};
2014-04-15 08:28:02 +01:00
sizes = callPackage ../tools/system/sizes {};
2012-09-18 10:58:05 +01:00
splot = callPackage ../development/tools/haskell/splot {};
2012-09-18 10:57:56 +01:00
timeplot = callPackage ../development/tools/haskell/timeplot {};
una = callPackage ../development/tools/haskell/una {};
# Games.
LambdaHack = callPackage ../games/LambdaHack {
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
vectorBinaryInstances = self.vectorBinaryInstances.override {
binary = self.binary_0_7_2_1; # the miniutter build input requires this version
Re-write the Haskell Platform out of haskell-defaults.nix. 1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are now called haskell-platform-VVVV.X.Y.Z. The latest version can be installed by running "nix-env -i haskell-platform". 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist. Instead, we have attributes like haskellPlatformPackages."2012_4_0_0". (The last numeric bit must be quoted when used in a Nix file, but not on the command line to nix-env, nix-build, etc.) The latest Platform has a top-level alias called simply haskellPlatform. 3) The haskellPackages_ghcXYZ package sets offer the latest version of every library that GHC x.y.z can compile. For example, if 2.7 is the latest version of QuickCheck and if GHC 7.0.4 can compile that version, then haskellPackages_ghc704.QuickCheck refers to version 2.7. 4) All intermediate GHC releases were dropped from all-packages.nix to simplify our configuration. What remains is a haskellPackages_ghcXYZ set for the latest version of every major release branch, i.e. GHC 6.10.4, 6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot). 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides from newer to older compilers, i.e. an override configured for GHC 7.0.4 will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has reduced the redundancy in those configuration functions. The downside is that overriding an attribute for only one particular GHC version has become more difficult. In practice, this case doesn't occur much, though. 6) The 'cabal' builder has a brand-new argument called 'extension'. That function is "self : super : {}" by default and users can override it to mess with the attribute set passed to cabal.mkDerivation. An example use would be the definition of darcs in all-packages.nix: | darcs = haskellPackages.darcs.override { | cabal = haskellPackages.cabal.override { | extension = self : super : { | isLibrary = false; | configureFlags = "-f-library " + super.configureFlags or ""; | }; | }; | }; In this case, extension disables building the library part of the package to give us an executable-only version that has no dependencies on GHC or any other Haskell packages. The 'self' argument refers to the final version of the attribute set and 'super' refers to the original attribute set. Note that ... - Haskell Platform packages always provide the Haddock binary that came with the compiler. - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and cabal-install. - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-07 18:36:45 +01:00
};
};
2014-08-12 09:59:40 +01:00
Allure = callPackage ../games/Allure {};
# End of the main part of the file.
Rework the knot-tying code for defining Haskell packages. The existing knot-tying code I felt was a bit incoherent with result, finalReturn, self, refering to different various forms of the "haskellPackages" value and often different forms in the same place. This commit instills some object-oriented discipline to the construction of hasekllPackages using a small number of fundamental OO concepts: * An class is a open recursive function of the form (self : fooBody) where fooBody is a set. * An instance of a class is the fixed point of the class. This value is sometimes refered to as an object and the values in the resulting set are sometimes refered to as methods. * A class, foo = self : fooBody, can be extended by an extension which is a function bar = (self : super : barBody) where barBody a set of overrides for fooBody. The result of a class extension is a new class whose value is self : foo self // bar self (foo self). The super parameter gives access to the original methods that barBody may be overriding. This commit turns the haskell-packages value into a "class". The knot-tying, a.k.a the object instanitation, is moved into haskells-defaults. The "finalReturn" is no longer needed and is eliminated from the body of haskell-packages. All the work done by prefFun is moved to haskell-defaults, so that parameter is eliminated form haskell-packages. Notice that the old prefFun took two pameters named "self" and "super", but both parameters got passed the same value "result". There seems to have been some confusion in the old code. Inside haskell-defaults, the haskell-packages class is extended twice before instantiation. The first extension is done using prefFun argument. The second extension is done the extension argument, which is a renamed version of extraPrefs. This two stage approach means that extension's super gets access to the post "perfFun" object while previously the extraPrefs only had access to the pre "prefFun" object. Also the extension function has access to both the super (post "perfFun") object and to self, the final object. With extraPrefs, one needed to use the "finalReturn" of the haskell packages to get access to the final object. Due to significant changes in semantics, I thought it best to replace extraPrefs with extension so that people using extraPrefs know to update thier cod. Lastly, all the Prefs functions have renamed the "self" parameter to "super". This is because "self" was never actually a self-reference in the object oriented sense of the word. For example Cabal_1_18_1_3 = self.Cabal_1_18_1_3.override { deepseq = self.deepseq_1_3_0_2; }; doesn't actually make sense from an object oriented standpoint because, barring further method overriding, the value of Cabal_1_18_1_3 would be trying to override it's own value which simply causes a loop exception. Thankfully all these uses of self were really uses of super: Cabal_1_18_1_3 = super.Cabal_1_18_1_3.override { deepseq = super.deepseq_1_3_0_2; }; In this notation the overriden Cabal_1_18_1_3 method calls the Cabal_1_18_1_3 of the super-class, which is a well-founded notion. Below is an example use of using "extension" parameter { packageOverrides = pkgs : { testHaskellPackages = pkgs.haskellPackages.override { extension = self : super : { transformers_0_4_1_0 = self.cabal.mkDerivation (pkgs: { pname = "transformers"; version = "0.4.1.0"; sha256 = "0jlnz86f87jndv4sifg1zpv5b2g2cxy1x2575x727az6vyaarwwg"; meta = { description = "Concrete functor and monad transformers"; license = pkgs.stdenv.lib.licenses.bsd3; platforms = pkgs.ghc.meta.platforms; maintainers = [ pkgs.stdenv.lib.maintainers.andres ]; }; }); transformers = self.transformers_0_4_1_0; lensFamilyCore = super.lensFamilyCore.override { transformers = self.transformers_0_3_0_0; }; }; }; }; } Notice the use of self in the body of the override of the transformers method which references the newly defined transformers_0_4_1_0 method. With the previous code, one would have to instead akwardly write transformers = super.finalReturn.transformers_0_4_1_0; or use a rec clause, which would prevent futher overriding of transformers_0_4_1_0.
2014-05-08 17:01:45 +01:00
}