From 0e5d5f2d2122749640d4d1c926cf3b233a802cf4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 8 Nov 2012 14:51:45 +0100 Subject: [PATCH] haskell-ReadArgs: add version 1.2 --- .../libraries/haskell/ReadArgs/default.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/ReadArgs/default.nix diff --git a/pkgs/development/libraries/haskell/ReadArgs/default.nix b/pkgs/development/libraries/haskell/ReadArgs/default.nix new file mode 100644 index 000000000000..9375eba3cd4c --- /dev/null +++ b/pkgs/development/libraries/haskell/ReadArgs/default.nix @@ -0,0 +1,16 @@ +{ cabal, systemFilepath, text }: + +cabal.mkDerivation (self: { + pname = "ReadArgs"; + version = "1.2"; + sha256 = "0qkrg9kii15gl5pqzk63vmcs2w3clwdsxzlc5g224cwi3rnc6flp"; + isLibrary = true; + isExecutable = true; + buildDepends = [ systemFilepath text ]; + meta = { + homepage = "http://github.com/rampion/ReadArgs"; + description = "Simple command line argument parsing"; + 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 adeeb66d1921..372b5d34acb7 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1377,6 +1377,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); reactiveBananaWx = callPackage ../development/libraries/haskell/reactive-banana-wx {}; + ReadArgs = callPackage ../development/libraries/haskell/ReadArgs {}; + readline = callPackage ../development/libraries/haskell/readline { inherit (pkgs) readline; };