2014-01-11 22:13:47 +00:00
|
|
|
{ cabal, attoparsec, cmdargs, filepath, haskellSrcExts, lens, mtl
|
|
|
|
, split, tasty, tastyGolden, text
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hsimport";
|
2014-01-13 14:40:06 +00:00
|
|
|
version = "0.2.6.8";
|
|
|
|
sha256 = "0brz7lxbnkwhjlbvs7xk3012mp9419v9wpczwa3nahl5afzbsp3i";
|
2014-01-11 22:13:47 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
attoparsec cmdargs haskellSrcExts lens mtl split text
|
|
|
|
];
|
|
|
|
testDepends = [ filepath tasty tastyGolden ];
|
2014-01-13 14:40:06 +00:00
|
|
|
doCheck = false;
|
2014-01-11 22:13:47 +00:00
|
|
|
meta = {
|
|
|
|
description = "A command line program for extending the import list of a Haskell source file";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
|
|
|
};
|
|
|
|
})
|