2013-06-22 14:59:59 +02:00
|
|
|
{ cabal, Cabal, hledgerLib, statistics, time }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "hledger-irr";
|
2014-05-01 23:43:53 +02:00
|
|
|
version = "0.1.1.4";
|
|
|
|
sha256 = "0nqd8br86d71dpwq7p8956q74pgqdimid42xikp9zvf632x2s8ax";
|
2013-06-22 14:59:59 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ Cabal hledgerLib statistics time ];
|
|
|
|
meta = {
|
|
|
|
description = "computes the internal rate of return of an investment";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
|
|
|
})
|