From 856fa922c49294295363182e5989ef72d75cdb6a Mon Sep 17 00:00:00 2001 From: Daniel Bergey Date: Fri, 19 Dec 2014 16:42:05 +0000 Subject: haskell: add csv-conduit, packdeps csv-conduit is a CSV library using conduit (streams) packdeps is an executable to compare Haskell dependencies to latest available versions --- .../libraries/haskell/csv-conduit/default.nix | 31 ++++++++++++++++++++++ .../development/tools/haskell/packdeps/default.nix | 19 +++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++ 3 files changed, 54 insertions(+) create mode 100644 pkgs/development/libraries/haskell/csv-conduit/default.nix create mode 100644 pkgs/development/tools/haskell/packdeps/default.nix diff --git a/pkgs/development/libraries/haskell/csv-conduit/default.nix b/pkgs/development/libraries/haskell/csv-conduit/default.nix new file mode 100644 index 000000000000..f0c01481dbd4 --- /dev/null +++ b/pkgs/development/libraries/haskell/csv-conduit/default.nix @@ -0,0 +1,31 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, attoparsec, attoparsecConduit, blazeBuilder, conduit +, conduitExtra, dataDefault, HUnit, mmorph, monadControl, mtl +, primitive, resourcet, testFramework, testFrameworkHunit, text +, transformers, unorderedContainers, vector +}: + +cabal.mkDerivation (self: { + pname = "csv-conduit"; + version = "0.6.3"; + sha256 = "1db1wlpl0ryyf8cmkrg1hgz4ggsvzy6z9ayzcc6n6rdywpfi29z4"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + attoparsec attoparsecConduit blazeBuilder conduit conduitExtra + dataDefault mmorph monadControl mtl primitive resourcet text + transformers unorderedContainers vector + ]; + testDepends = [ + HUnit mtl primitive testFramework testFrameworkHunit text + transformers vector + ]; + meta = { + homepage = "http://github.com/ozataman/csv-conduit"; + description = "A flexible, fast, conduit-based CSV parser library for Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ bergey ]; + }; +}) diff --git a/pkgs/development/tools/haskell/packdeps/default.nix b/pkgs/development/tools/haskell/packdeps/default.nix new file mode 100644 index 000000000000..292f6af944fc --- /dev/null +++ b/pkgs/development/tools/haskell/packdeps/default.nix @@ -0,0 +1,19 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, Cabal, filepath, split, tar, text, time }: + +cabal.mkDerivation (self: { + pname = "packdeps"; + version = "0.4.0.3"; + sha256 = "08an9nwg448d3w4yds67l02mgikmjmn52pvva3i386fv4hfkabhp"; + isLibrary = true; + isExecutable = true; + buildDepends = [ Cabal filepath split tar text time ]; + meta = { + homepage = "http://packdeps.haskellers.com/"; + description = "Check your cabal packages for lagging dependencies"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ bergey ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7d3f59486cb7..04896aaa90e0 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -556,6 +556,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in csv = callPackage ../development/libraries/haskell/csv {}; + csv-conduit = callPackage ../development/libraries/haskell/csv-conduit {}; + cssText = callPackage ../development/libraries/haskell/css-text {}; cufft = callPackage ../development/libraries/haskell/cufft {}; @@ -1884,6 +1886,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in optparseApplicative_0_11_0_1 = callPackage ../development/libraries/haskell/optparse-applicative/0.11.0.1.nix {}; optparseApplicative = self.optparseApplicative_0_11_0_1; + packdeps = callPackage ../development/tools/haskell/packdeps {}; + pathPieces = callPackage ../development/libraries/haskell/path-pieces {}; patience = callPackage ../development/libraries/haskell/patience {}; -- cgit v1.2.3