2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, doctest, hspec, QuickCheck, time }:
|
2012-08-09 11:12:45 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "unix-time";
|
2013-12-01 23:29:11 +01:00
|
|
|
version = "0.2.2";
|
|
|
|
sha256 = "0xnl12mscc5nwjl9s2lx4xr8q8agzcpxh3bmxxidfjrg19drfwrm";
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [ doctest hspec QuickCheck time ];
|
2014-03-22 12:28:31 +01:00
|
|
|
configureFlags = self.stdenv.lib.optionalString self.enableSharedLibraries "--ghc-option=-fPIC";
|
2012-08-09 11:12:45 +02:00
|
|
|
meta = {
|
|
|
|
description = "Unix time parser/formatter and utilities";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|