2014-01-11 23:13:47 +01:00
|
|
|
{ cabal, attoparsec, cmdargs, filepath, haskellSrcExts, lens, mtl
|
|
|
|
, split, tasty, tastyGolden, text
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hsimport";
|
2014-03-07 23:13:05 +01:00
|
|
|
version = "0.2.10";
|
|
|
|
sha256 = "0xvsjgckh2jab9q7l8pvnnn5x977mb6hkhqb175m10brr13yzk4z";
|
2014-01-11 23:13:47 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
attoparsec cmdargs haskellSrcExts lens mtl split text
|
|
|
|
];
|
|
|
|
testDepends = [ filepath tasty tastyGolden ];
|
2014-01-13 15:40:06 +01:00
|
|
|
doCheck = false;
|
2014-01-11 23:13:47 +01: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 ];
|
|
|
|
};
|
|
|
|
})
|