2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, hspec, systemFilepath, text }:
|
2012-11-08 14:51:45 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ReadArgs";
|
2012-11-17 11:39:25 +01:00
|
|
|
version = "1.2.1";
|
|
|
|
sha256 = "099gg6nq70yf2pl5ya8f083lw8x5rncnv54y2p5jlkdwfwmpmbnv";
|
2012-11-08 14:51:45 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ systemFilepath text ];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [ hspec systemFilepath text ];
|
2012-11-08 14:51:45 +01: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;
|
|
|
|
};
|
|
|
|
})
|