nixpkgs/pkgs/development/libraries/haskell/unix-time/default.nix

16 lines
435 B
Nix
Raw Normal View History

2012-08-09 11:12:45 +02:00
{ cabal }:
cabal.mkDerivation (self: {
pname = "unix-time";
version = "0.1.0";
sha256 = "063mssiq57g4bsalp653fa4yj9wmaynvg0x7vk67gds2l2zpd2gy";
patchPhase = ''
sed -i Setup.hs -e 's|main = defaultMain|main = defaultMainWithHooks autoconfUserHooks|'
'';
meta = {
description = "Unix time parser/formatter and utilities";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})