From 0695a74c68a5fafcbd89c6f9dfb548651d6f4a71 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 12 Sep 2012 05:31:49 +0200 Subject: [PATCH] haskell-silently: New package, v1.2.0.2. Let's begin silently and add the first dependency in our ongoing roadmap of butchering missing dependencies leading up to yesod-test: .---- yesod-test -------. | | | | | | .- hspec -. wai-test html-conduit -. | | | | : | | filesystem-conduit : hspec-expectations | : | : tagstream-conduit : : silently <- Yay, our first victim, silently killed by a chainsaw: .,.,.,.,.,.,.||\ ,-. ROAWRR! :::::::::::::: | o O `-' `'`'`'`'`'`'`---` Signed-off-by: aszlig --- .../libraries/haskell/silently/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/silently/default.nix diff --git a/pkgs/development/libraries/haskell/silently/default.nix b/pkgs/development/libraries/haskell/silently/default.nix new file mode 100644 index 000000000000..4fb4323bd170 --- /dev/null +++ b/pkgs/development/libraries/haskell/silently/default.nix @@ -0,0 +1,14 @@ +{ cabal, deepseq }: + +cabal.mkDerivation (self: { + pname = "silently"; + version = "1.2.0.2"; + sha256 = "0qcprbjnh351hc9v12gww478qd4pw7wgpyjj1gmkx4mr80w0qmm1"; + buildDepends = [ deepseq ]; + meta = { + homepage = "https://github.com/trystan/silently"; + description = "Prevent or capture writing to stdout and other handles"; + 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 30edecc335dd..eabe79f14ca7 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1347,6 +1347,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); simpleSendfile = callPackage ../development/libraries/haskell/simple-sendfile {}; + silently = callPackage ../development/libraries/haskell/silently {}; + skein = callPackage ../development/libraries/haskell/skein {}; smallcheck = callPackage ../development/libraries/haskell/smallcheck {};