2013-02-24 21:09:07 +00:00
|
|
|
{ cabal, hspec, systemFilepath, text }:
|
2012-11-08 13:51:45 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ReadArgs";
|
2012-11-17 10:39:25 +00:00
|
|
|
version = "1.2.1";
|
|
|
|
sha256 = "099gg6nq70yf2pl5ya8f083lw8x5rncnv54y2p5jlkdwfwmpmbnv";
|
2012-11-08 13:51:45 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ systemFilepath text ];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [ hspec systemFilepath text ];
|
2012-11-08 13:51:45 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/rampion/ReadArgs";
|
|
|
|
description = "Simple command line argument parsing";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|