diff --git a/srcpkgs/hledger/files/stack.yaml b/srcpkgs/hledger/files/stack.yaml new file mode 100644 index 0000000000..2b1a63e34d --- /dev/null +++ b/srcpkgs/hledger/files/stack.yaml @@ -0,0 +1,13 @@ +resolver: lts-13.30 +packages: +- hledger-lib +- hledger +- hledger-ui +- hledger-web +- hledger-api +extra-deps: +- brick-0.46 +- text-zipper-0.10.1 +- config-ini-0.2.4.0 +- data-clist-0.1.2.3 +- word-wrap-0.4.1 diff --git a/srcpkgs/hledger/template b/srcpkgs/hledger/template index 54bf2edd3e..cc9c0bce91 100644 --- a/srcpkgs/hledger/template +++ b/srcpkgs/hledger/template @@ -1,19 +1,18 @@ # Template file for 'hledger' pkgname=hledger -version=1.10 +version=1.14.2 revision=1 +wrksrc="${pkgname}-${pkgname}-${version}" build_style=haskell-stack -stackage="lts-12.0" -nocross=yes # Can't yet cross compile Haskell +makedepends="zlib-devel ncurses-devel" short_desc="Simple, precise, plain text accounting" maintainer="Inokentiy Babushkin " license="GPL-3.0-or-later" homepage="http://hledger.org/" -makedepends="zlib-devel ncurses-devel" -wrksrc="${pkgname}-${pkgname}-${version}" distfiles="https://github.com/simonmichael/${pkgname}/archive/${pkgname}-${version}.tar.gz" -checksum=460b7bfd91748abf1cd501471c983e99323f31f4b0bb43b02eab777ad465d8c2 +checksum=127edf1a8ca5b3c16e9163ec777909eb6f045f3ae3f0500ba7333074ff78c393 nopie_files="/usr/bin/hledger" +nocross=yes # Can't yet cross compile Haskell post_install() { vman hledger/hledger.1