diff --git a/pkgs/development/libraries/haskell/here/default.nix b/pkgs/development/libraries/haskell/here/default.nix new file mode 100644 index 00000000000..2179ad0d85f --- /dev/null +++ b/pkgs/development/libraries/haskell/here/default.nix @@ -0,0 +1,20 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! +# The file was later edited to add the state patch. +# https://github.com/np/here/commit/3c16a4e4ce16c08904454972c0d9b43007d1c0cc + +{ cabal, haskellSrcMeta, mtl, parsec, fetchpatch }: + +cabal.mkDerivation (self: { + pname = "here"; + version = "1.2.5"; + sha256 = "0r7hjsvbx7vshbdhi60955mdfnq6arg5ihfz9f2zyilh4l5cyzwb"; + buildDepends = [ haskellSrcMeta mtl parsec ]; + patches = [ (fetchpatch { url = "https://github.com/np/here/commit/3c16a4e4ce16c08904454972c0d9b43007d1c0cc.patch"; sha256 = "1qibwbcpnl1cg35zvvdd2k8nr6bgd36qbla3naim3g08qaapm82h"; }) ]; + meta = with self.stdenv.lib; { + homepage = "https://github.com/tmhedberg/here"; + description = "Here docs & interpolated strings via quasiquotation"; + license = licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = with maintainers; [ edwtjo ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 943dd6e2f15..0a4b2f2328e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1105,6 +1105,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in heredoc = callPackage ../development/libraries/haskell/heredoc {}; + here = callPackage ../development/libraries/haskell/here {}; + hexpat = callPackage ../development/libraries/haskell/hexpat {}; hex = callPackage ../development/libraries/haskell/hex {};