about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/unix-time/default.nix
blob: e329c1ef40676df1c179158f52d081772b6f1ae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ cabal, doctest, hspec, QuickCheck, time }:

cabal.mkDerivation (self: {
  pname = "unix-time";
  version = "0.2.2";
  sha256 = "0xnl12mscc5nwjl9s2lx4xr8q8agzcpxh3bmxxidfjrg19drfwrm";
  testDepends = [ doctest hspec QuickCheck time ];
  configureFlags = self.stdenv.lib.optionalString self.enableSharedLibraries "--ghc-option=-fPIC";
  meta = {
    description = "Unix time parser/formatter and utilities";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})