From 023b9094aa68a9cefbd678f2bafbf3d0e38735c2 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 7 Jul 2014 11:21:22 +0200 Subject: [PATCH] haskell-haskell-token-utils: add version 0.0.0.2 --- .../haskell/haskell-token-utils/default.nix | 24 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/haskell/haskell-token-utils/default.nix diff --git a/pkgs/development/libraries/haskell/haskell-token-utils/default.nix b/pkgs/development/libraries/haskell/haskell-token-utils/default.nix new file mode 100644 index 000000000000..01e2edcab6e7 --- /dev/null +++ b/pkgs/development/libraries/haskell/haskell-token-utils/default.nix @@ -0,0 +1,24 @@ +{ cabal, Diff, dualTree, ghcMod, ghcPaths, ghcSybUtils +, haskellSrcExts, hspec, HUnit, monoidExtras, mtl, QuickCheck +, rosezipper, semigroups, syb +}: + +cabal.mkDerivation (self: { + pname = "haskell-token-utils"; + version = "0.0.0.2"; + sha256 = "115lqddhjra3wjnj5n8gpm0iawf6m1l2ggjh2n8nbx6wjraghrrv"; + buildDepends = [ + dualTree ghcSybUtils haskellSrcExts monoidExtras mtl rosezipper + semigroups syb + ]; + testDepends = [ + Diff dualTree ghcMod ghcPaths ghcSybUtils haskellSrcExts hspec + HUnit monoidExtras mtl QuickCheck rosezipper semigroups syb + ]; + meta = { + homepage = "https://github.com/alanz/haskell-token-utils"; + description = "Utilities to tie up tokens to an AST"; + 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 6827b9513179..59abab5e2d96 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1017,6 +1017,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in haskellSrcMeta = callPackage ../development/libraries/haskell/haskell-src-meta {}; + haskellTokenUtils = callPackage ../development/libraries/haskell/haskell-token-utils {}; + haskore = callPackage ../development/libraries/haskell/haskore {}; hastache = callPackage ../development/libraries/haskell/hastache {};