2009-04-20 16:30:01 +02:00
|
|
|
{cabal, gtk2hs, binary, parsec, regexPosix, utf8String, libedit, makeWrapper}:
|
2009-04-19 21:06:34 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "leksah";
|
|
|
|
version = "0.4.4.1";
|
|
|
|
sha256 = "092a8gi73jhalgs4ppg8ki761vwk3gdnjwlyd4chnahbv5i1wrjw";
|
|
|
|
|
|
|
|
# !!! The explicit libedit dependency shouldn't be necessary.
|
2009-04-20 16:30:01 +02:00
|
|
|
extraBuildInputs = [gtk2hs binary parsec regexPosix utf8String libedit makeWrapper];
|
2009-04-19 21:06:34 +02:00
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
substituteInPlace leksah.cabal --replace 'Cabal ==1.6.0.1' 'Cabal >=1.6.0.1'
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
wrapProgram $out/bin/leksah --prefix XDG_DATA_DIRS : ${gtk2hs.gtksourceview}/share
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://leksah.org/;
|
|
|
|
description = "An Integrated Development Environment for Haskell written in Haskell";
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|