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.
This commit is contained in:
Benjamin Hipple 2021-02-15 22:14:11 -05:00
parent 0547c59412
commit 3604933308

View file

@ -4,21 +4,26 @@ with lib;
let let
perlDeps = with perlPackages; [ perlDeps = with perlPackages; [
ConfigOnion DateCalc DateCalc
FileBaseDir YAMLLibYAML DateTimeFormatStrptime
GetoptLongDescriptive DateTimeFormatStrptime enum
FileBaseDir
GetoptLongDescriptive
ListMoreUtils
RegexpCommon
StringInterpolate StringInterpolate
YAMLLibYAML
]; ];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "ledger2beancount"; pname = "ledger2beancount";
version = "2.1"; version = "2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zacchiro"; owner = "beancount";
repo = "ledger2beancount"; repo = "ledger2beancount";
rev = version; rev = version;
sha256 = "0w88jb1x0w02jwwf6ipx3cxr89kzffrrdqws3556zrvvs01bh84j"; sha256 = "0kimp8l9ax37grfv5r5iw0g0xnrpkak022fl10y3i7kc4nyi1s99";
}; };
phases = [ 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. 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; license = licenses.gpl3Plus;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ pablovsky ]; maintainers = with maintainers; [ pablovsky ];