summary refs log tree commit diff
path: root/pkgs/applications/office/hledger-irr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/hledger-irr/default.nix')
-rw-r--r--pkgs/applications/office/hledger-irr/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/applications/office/hledger-irr/default.nix b/pkgs/applications/office/hledger-irr/default.nix
new file mode 100644
index 000000000000..1f4dd165c50e
--- /dev/null
+++ b/pkgs/applications/office/hledger-irr/default.nix
@@ -0,0 +1,16 @@
+{ cabal, Cabal, hledgerLib, statistics, time }:
+
+cabal.mkDerivation (self: {
+  pname = "hledger-irr";
+  version = "0.1.1.2";
+  sha256 = "1mh1lzhnxc8ps8n5j37wrmbqafwdyap60j8rqr6xdfa2syfyq8i2";
+  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 ];
+  };
+})