about summary refs log tree commit diff
path: root/pkgs/tools/text/ledger2beancount
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2021-02-15 22:14:11 -0500
committerBenjamin Hipple <bhipple@protonmail.com>2021-02-16 17:34:12 -0500
commit3604933308b556a8b87e90b5fe9e55b13aa4597c (patch)
treeed109c0b0894d6683defebab3f1a75d027fc78ea /pkgs/tools/text/ledger2beancount
parent0547c594124ed35be71248cbdd6a89f15f356e37 (diff)
downloadnixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.tar
nixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.tar.gz
nixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.tar.bz2
nixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.tar.lz
nixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.tar.xz
nixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.tar.zst
nixlib-3604933308b556a8b87e90b5fe9e55b13aa4597c.zip
ledger2beancount: 2.1 -> 2.5
Also, move to fetch src off the official `beancount` github org and update
dependencies. I've run this on my ledger file and it seems to work without issue.
Diffstat (limited to 'pkgs/tools/text/ledger2beancount')
-rw-r--r--pkgs/tools/text/ledger2beancount/default.nix19
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/tools/text/ledger2beancount/default.nix b/pkgs/tools/text/ledger2beancount/default.nix
index fe2078222d2e..b3f48085d1db 100644
--- a/pkgs/tools/text/ledger2beancount/default.nix
+++ b/pkgs/tools/text/ledger2beancount/default.nix
@@ -4,21 +4,26 @@ with lib;
 
 let
   perlDeps = with perlPackages; [
-    ConfigOnion DateCalc
-    FileBaseDir YAMLLibYAML
-    GetoptLongDescriptive DateTimeFormatStrptime
+    DateCalc
+    DateTimeFormatStrptime
+    enum
+    FileBaseDir
+    GetoptLongDescriptive
+    ListMoreUtils
+    RegexpCommon
     StringInterpolate
+    YAMLLibYAML
   ];
 
 in stdenv.mkDerivation rec {
   pname = "ledger2beancount";
-  version = "2.1";
+  version = "2.5";
 
   src = fetchFromGitHub {
-    owner = "zacchiro";
+    owner = "beancount";
     repo = "ledger2beancount";
     rev = version;
-    sha256 = "0w88jb1x0w02jwwf6ipx3cxr89kzffrrdqws3556zrvvs01bh84j";
+    sha256 = "0kimp8l9ax37grfv5r5iw0g0xnrpkak022fl10y3i7kc4nyi1s99";
   };
 
   phases = [
@@ -50,7 +55,7 @@ in stdenv.mkDerivation rec {
 
       Conversion is based on (concrete) syntax, so that information that is not meaningful for accounting reasons but still valuable (e.g., comments, formatting, etc.) can be preserved.
     '';
-    homepage = "https://github.com/zacchiro/ledger2beancount";
+    homepage = "https://github.com/beancount/ledger2beancount";
     license = licenses.gpl3Plus;
     platforms = platforms.all;
     maintainers = with maintainers; [ pablovsky ];