{ mkDerivation, base, fetchurl, hspec, inline-c, safe-exceptions , template-haskell }: mkDerivation { pname = "inline-c-cpp"; version = "0.2.1.0"; src = fetchurl { url = "http://example.org/"; sha256 = "abc"; }; libraryHaskellDepends = [ base inline-c safe-exceptions template-haskell ]; testHaskellDepends = [ base hspec inline-c safe-exceptions ]; description = "Lets you embed C++ code into Haskell"; license = stdenv.lib.licenses.mit; }