haskell.packages.ghc92.weeder: pin to supported 2.4.* versions

weeder 2.5.* requires GHC 9.4
This commit is contained in:
sternenseemann 2023-02-02 12:46:21 +01:00
parent 615351069b
commit a0b05699ae
3 changed files with 31 additions and 0 deletions

View file

@ -61,6 +61,9 @@ self: super: {
process = self.process_1_6_16_0;
});
# weeder == 2.5.* requires GHC 9.4
weeder = doDistribute self.weeder_2_4_1;
# Jailbreaks & Version Updates
hashable-time = doJailbreak super.hashable-time;

View file

@ -157,6 +157,7 @@ extra-packages:
- vty == 5.35.1 # 2022-07-08: needed for glirc-2.39.0.1
- weeder == 2.2.* # 2022-02-21: preserve for GHC 8.10.7
- weeder == 2.3.* # 2022-05-31: preserve for GHC 9.0.2
- weeder == 2.4.* # 2023-02-02: preserve for GHC 9.2.*
- commonmark-extensions < 0.2.3.3 # 2022-12-17: required by emanote 1.0.0.0 (to avoid a bug in 0.2.3.3)
- ShellCheck == 0.8.0 # 2022-12-28: required by haskell-ci 0.14.3
- retrie < 1.2.0.0 # 2022-12-30: required for hls on ghc < 9.2

View file

@ -308542,6 +308542,33 @@ self: {
maintainers = [ lib.maintainers.maralorn ];
}) {};
"weeder_2_4_1" = callPackage
({ mkDerivation, algebraic-graphs, base, bytestring, containers
, dhall, directory, filepath, generic-lens, ghc, lens, mtl
, optparse-applicative, regex-tdfa, text, transformers
}:
mkDerivation {
pname = "weeder";
version = "2.4.1";
sha256 = "1z17w8q0s1pgqrxx7f1zijy1j4fwl8x2f5r9y11i0vcsqlx12pi9";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
algebraic-graphs base bytestring containers dhall directory
filepath generic-lens ghc lens mtl optparse-applicative regex-tdfa
text transformers
];
executableHaskellDepends = [
base bytestring containers directory filepath ghc
optparse-applicative transformers
];
description = "Detect dead code";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "weeder";
maintainers = [ lib.maintainers.maralorn ];
}) {};
"weeder" = callPackage
({ mkDerivation, algebraic-graphs, base, bytestring, containers
, dhall, directory, filepath, generic-lens, ghc, lens, mtl