2014-06-09 03:56:52 +00:00
|
|
|
{ cabal, Cabal, cabalLenses, cmdargs, either, filepath, lens
|
|
|
|
, strict, systemFileio, systemFilepath, tasty, tastyGolden, text
|
|
|
|
, transformers, unorderedContainers
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal-cargs";
|
2014-06-10 18:33:14 +00:00
|
|
|
version = "0.7";
|
|
|
|
sha256 = "1dzmvwmb9sxwdgkzszhk9d5qvq2alnqmprx83dlb17sdi6f9jns1";
|
2014-06-09 03:56:52 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
Cabal cabalLenses cmdargs either lens strict systemFileio
|
|
|
|
systemFilepath text transformers unorderedContainers
|
|
|
|
];
|
|
|
|
testDepends = [ filepath tasty tastyGolden ];
|
2014-06-09 08:03:56 +00:00
|
|
|
jailbreak = true;
|
2014-06-09 03:56:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "A command line program for extracting compiler arguments from a cabal file";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.tomberek ];
|
|
|
|
};
|
|
|
|
})
|