From 448dc959436a3a8db30be67258260bd5e8813285 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 21 May 2013 11:00:09 +0200 Subject: [PATCH] haskell-hstatsd: add version 0.1 --- .../libraries/haskell/hstatsd/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/hstatsd/default.nix diff --git a/pkgs/development/libraries/haskell/hstatsd/default.nix b/pkgs/development/libraries/haskell/hstatsd/default.nix new file mode 100644 index 00000000000..91a6159784a --- /dev/null +++ b/pkgs/development/libraries/haskell/hstatsd/default.nix @@ -0,0 +1,14 @@ +{ cabal, mtl, network, text }: + +cabal.mkDerivation (self: { + pname = "hstatsd"; + version = "0.1"; + sha256 = "092q52yyb1xdji1y72bdcgvp8by2w1z9j717sl1gmh2p89cpjrs4"; + buildDepends = [ mtl network text ]; + meta = { + homepage = "https://github.com/mokus0/hstatsd"; + description = "Quick and dirty statsd interface"; + license = self.stdenv.lib.licenses.publicDomain; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 84324b92f9a..e1681269181 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1199,6 +1199,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); hspecMeta = callPackage ../development/libraries/haskell/hspec-meta {}; + 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 {};