From 39dfef4af0ade551370ac3544c4e4cc8746e5f87 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Jun 2014 14:01:17 -0700 Subject: [PATCH] haskell-boxes: new expression --- .../development/libraries/haskell/boxes/default.nix | 13 +++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/haskell/boxes/default.nix diff --git a/pkgs/development/libraries/haskell/boxes/default.nix b/pkgs/development/libraries/haskell/boxes/default.nix new file mode 100644 index 000000000000..008a8f3b5655 --- /dev/null +++ b/pkgs/development/libraries/haskell/boxes/default.nix @@ -0,0 +1,13 @@ +{ cabal, split }: + +cabal.mkDerivation (self: { + pname = "boxes"; + version = "0.1.3"; + sha256 = "1sia3j0x7m68j6j9n7bi1l1yg56ivpkxd95l19xl5vpkg03qizkq"; + buildDepends = [ split ]; + meta = { + description = "2D text pretty-printing library"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 1157301842a9..09745e5c8dfb 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -288,6 +288,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in BoundedChan = callPackage ../development/libraries/haskell/BoundedChan {}; + boxes = callPackage ../development/libraries/haskell/boxes {}; + brainfuck = callPackage ../development/libraries/haskell/brainfuck {}; bson = callPackage ../development/libraries/haskell/bson {};