about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-21 18:01:13 +0000
committerPeter Simons <simons@cryp.to>2011-08-21 18:01:13 +0000
commitc67ce898cf32011b7c65198bb90caa403ee132df (patch)
tree7da701f03d857981bd64f0d7e508ffcd9655be29 /pkgs/applications/office
parent56477a99f5b28b51c71693138eee289aeb3f15a2 (diff)
pkgs/applications/office/hledger-interest: initial version 1.0
svn path=/nixpkgs/trunk/; revision=28724
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/hledger-interest/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/office/hledger-interest/default.nix b/pkgs/applications/office/hledger-interest/default.nix
new file mode 100644
index 0000000000000..eec11610d9aa9
--- /dev/null
+++ b/pkgs/applications/office/hledger-interest/default.nix
@@ -0,0 +1,17 @@
+{ cabal, hledgerLib, mtl, time }:
+
+cabal.mkDerivation (self: {
+  pname = "hledger-interest";
+  version = "1.0";
+  sha256 = "082cyyyina7w5zvzsy1b9m9a7vb12ccxd351s8ajk11pg628zb80";
+  isLibrary = false;
+  isExecutable = true;
+  buildDepends = [ hledgerLib mtl time ];
+  meta = {
+    homepage = "http://github.com/peti/hledger-interest";
+    description = "computes interest for a given account";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+    maintainers = [ self.stdenv.lib.maintainers.simons ];
+  };
+})