diff --git a/pkgs/development/libraries/haskell/HGL/default.nix b/pkgs/development/libraries/haskell/HGL/default.nix new file mode 100644 index 000000000000..0faf430dcde8 --- /dev/null +++ b/pkgs/development/libraries/haskell/HGL/default.nix @@ -0,0 +1,13 @@ +{cabal, X11}: + +cabal.mkDerivation (self : { + pname = "HGL"; + version = "3.2.0.0"; + sha256 = "fa7cb1981f6e5a89b35e0fc2593c0945175a0d97fc3bc356cc8724fa1c881e86"; + propagatedBuildInputs = [X11]; + configureFlags = ''--constraint=base<4''; + meta = { + description = "A simple graphics library based on X11 or Win32"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index c80352d5bfea..0b0f98cd933b 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -217,6 +217,10 @@ rec { inherit (pkgs) sqlite; }; + HGL = import ../development/libraries/haskell/HGL { + inherit cabal X11; + }; + highlightingKate = import ../development/libraries/haskell/highlighting-kate { inherit cabal parsec pcreLight xhtml; };