From 07562247506f0e1e9014bdbc34d9e943b87fcc4a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 12 May 2024 12:16:00 +0200 Subject: [PATCH] hledger-ui: pin to 1.32.* to match hledger{,-lib} --- .../configuration-hackage2nix/main.yaml | 2 ++ .../haskell-modules/hackage-packages.nix | 27 +++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index bda7d0aa68ca..5a1f41ed151d 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -29,6 +29,8 @@ default-package-overrides: # 2021-11-09: ghc-bignum is bundled starting with 9.0.1; only 1.0 builds with GHCs prior to 9.2.1 - ghc-bignum == 1.0 - hie-bios == 0.13.1 + # 2024-05-10: need to match hlegder from stackage + - hledger-ui < 1.33 extra-packages: - Cabal-syntax == 3.6.* # Dummy package that ensures packages depending on Cabal-syntax can work for Cabal < 3.8 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index a7a7daf8b1cd..e5eb72667971 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -150471,6 +150471,32 @@ self: { }) {}; "hledger-ui" = callPackage + ({ mkDerivation, ansi-terminal, async, base, brick, cmdargs + , containers, data-default, directory, doclayout, extra, filepath + , fsnotify, hledger, hledger-lib, megaparsec, microlens + , microlens-platform, mtl, process, safe, split, text, text-zipper + , time, transformers, unix, vector, vty, vty-crossplatform + }: + mkDerivation { + pname = "hledger-ui"; + version = "1.32.3"; + sha256 = "0981c039xp1l65vdn4y0rl3qvlprk15f4s22z1jkkrixx3aqnq4p"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + ansi-terminal async base brick cmdargs containers data-default + directory doclayout extra filepath fsnotify hledger hledger-lib + megaparsec microlens microlens-platform mtl process safe split text + text-zipper time transformers unix vector vty vty-crossplatform + ]; + executableHaskellDepends = [ base ]; + description = "Terminal interface for the hledger accounting system"; + license = lib.licenses.gpl3Only; + mainProgram = "hledger-ui"; + maintainers = [ lib.maintainers.maralorn ]; + }) {}; + + "hledger-ui_1_33" = callPackage ({ mkDerivation, ansi-terminal, async, base, brick, cmdargs , containers, data-default, directory, doclayout, extra, filepath , fsnotify, hledger, hledger-lib, megaparsec, microlens @@ -150492,6 +150518,7 @@ self: { executableHaskellDepends = [ base ]; description = "Terminal interface for the hledger accounting system"; license = lib.licenses.gpl3Only; + hydraPlatforms = lib.platforms.none; mainProgram = "hledger-ui"; maintainers = [ lib.maintainers.maralorn ]; }) {};