From 6bf6769ae451d18bdb8fe48c800bee727217871b Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Wed, 27 Nov 2013 12:22:21 +0000 Subject: [PATCH] haskellPackages.foldl: New expression --- .../development/libraries/haskell/foldl/default.nix | 13 +++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/haskell/foldl/default.nix diff --git a/pkgs/development/libraries/haskell/foldl/default.nix b/pkgs/development/libraries/haskell/foldl/default.nix new file mode 100644 index 000000000000..44312abb35be --- /dev/null +++ b/pkgs/development/libraries/haskell/foldl/default.nix @@ -0,0 +1,13 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "foldl"; + version = "1.0.0"; + sha256 = "0r9lkyw33231nfl9ly25hk2i7k3c8ssmng473xvk76zkcrksj131"; + meta = { + description = "Composable, streaming, and efficient left folds"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index a6439cb88312..e775ce4c0f98 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1029,6 +1029,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x fingertree = callPackage ../development/libraries/haskell/fingertree {}; + foldl = callPackage ../development/libraries/haskell/foldl {}; + forceLayout = callPackage ../development/libraries/haskell/force-layout {}; free = callPackage ../development/libraries/haskell/free {};