2012-02-28 00:09:59 +00:00
|
|
|
{ cabal, filepath, hslogger, MissingH, mtl, regexBase, regexCompat
|
2013-03-21 21:43:34 +00:00
|
|
|
, regexPosix, fetchurl
|
2012-02-28 00:09:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "HSH";
|
2013-03-06 10:06:00 +00:00
|
|
|
version = "2.1.0";
|
|
|
|
sha256 = "0gz2hzdvf0gqv33jihn67bvry38c6hkjapb1prxmb3w12lisr4l5";
|
2012-02-28 00:09:59 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
filepath hslogger MissingH mtl regexBase regexCompat regexPosix
|
|
|
|
];
|
2013-03-21 21:43:34 +00:00
|
|
|
patches = [ (fetchurl { url = "https://github.com/jgoerzen/hsh/pull/10.patch"; sha256 = "0fw2ihl4hlncggwf3v4d7aydm3rzgzpcxplfbwq7janysix4q950"; }) ];
|
2012-02-28 00:09:59 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://software.complete.org/hsh";
|
|
|
|
description = "Library to mix shell scripting with Haskell programs";
|
|
|
|
license = "LGPL";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-02-28 00:09:59 +00:00
|
|
|
};
|
|
|
|
})
|