diff options
Diffstat (limited to 'pkgs/development/libraries/haskell/haskell-src-exts/default.nix')
-rw-r--r-- | pkgs/development/libraries/haskell/haskell-src-exts/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/haskell-src-exts/default.nix b/pkgs/development/libraries/haskell/haskell-src-exts/default.nix new file mode 100644 index 00000000000..b044437e527 --- /dev/null +++ b/pkgs/development/libraries/haskell/haskell-src-exts/default.nix @@ -0,0 +1,23 @@ +{ cabal, cpphs, filepath, happy, smallcheck, tasty, tastyHunit +, tastySmallcheck +}: + +cabal.mkDerivation (self: { + pname = "haskell-src-exts"; + version = "1.14.0"; + sha256 = "070khsw56xwyrclamv5wckj9na2xbzibv702xx52ik2wbs21dr0d"; + buildDepends = [ cpphs ]; + testDepends = [ + filepath smallcheck tasty tastyHunit tastySmallcheck + ]; + buildTools = [ happy ]; + doCheck = false; + preConfigure = "runhaskell Setup.hs clean"; + meta = { + homepage = "https://github.com/haskell-suite/haskell-src-exts"; + description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) |