{ mkDerivation, array, base, Cabal, containers, directory, fetchurl , filepath, mtl, process }: mkDerivation { pname = "happy"; version = "1.19.8"; src = fetchurl { url = "http://example.org/"; sha256 = "abc"; }; isLibrary = false; isExecutable = true; setupHaskellDepends = [ base Cabal directory filepath ]; executableHaskellDepends = [ array base containers mtl ]; testHaskellDepends = [ base process ]; homepage = "https://www.haskell.org/happy/"; description = "Happy is a parser generator for Haskell"; license = stdenv.lib.licenses.bsd2; }