Merge pull request #131605 from Stunkymonkey/gnucash-phases

gnucash: deprecate phases
This commit is contained in:
Sandro 2021-07-27 09:03:54 +00:00 committed by GitHub
commit 598ed9ffcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@ let
name = perl.name + "-wrapper-for-gnucash";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl ] ++ (with perlPackages; [ FinanceQuote DateManip ]);
phases = [ "installPhase" ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
for script in ${perl}/bin/*; do
@ -40,10 +41,10 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ pkg-config makeWrapper cmake gtest ];
nativeBuildInputs = [ pkg-config makeWrapper cmake gtest swig ];
buildInputs = [
boost icu libxml2 libxslt gettext swig isocodes gtk3 glibcLocales
boost icu libxml2 libxslt gettext isocodes gtk3 glibcLocales
webkitgtk dconf libofx aqbanking gwenhywfar libdbi
libdbiDrivers guile
perlWrapper perl