mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:36:27 +00:00
15 lines
502 B
Nix
15 lines
502 B
Nix
{ 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;
|
|
};
|
|
})
|