haskellPackages.stylish-haskell: 0.14.5.0 -> 0.14.4.0

This commit is contained in:
Dennis Gosnell 2023-07-06 13:28:43 +09:00
parent 8dc6c6812d
commit 7c9c1c4802
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4
3 changed files with 47 additions and 4 deletions

View file

@ -129,10 +129,14 @@ self: super: {
# https://github.com/supki/ldap-client/issues/18
ldap-client-og = dontCheck super.ldap-client-og;
# For -fghc-lib see cabal.project in haskell-language-server.
stylish-haskell = if lib.versionAtLeast super.ghc.version "9.2"
then enableCabalFlag "ghc-lib" super.stylish-haskell
else super.stylish-haskell;
stylish-haskell =
# Too-strict upper bounds, no Hackage revisions
doJailbreak
# For -fghc-lib see cabal.project in haskell-language-server.
(if lib.versionAtLeast super.ghc.version "9.2"
then enableCabalFlag "ghc-lib" super.stylish-haskell
else super.stylish-haskell
);
hiedb =
lib.pipe

View file

@ -51,6 +51,10 @@ default-package-overrides:
# https://github.com/haskell/haskell-language-server/blob/feb596592de95f09cf4ee885f3e74178161919f1/ghcide/ghcide.cabal#L107-L111
- implicit-hie < 0.1.3
# 2023-07-06: newer versions of stylish-haskell require
# ghc-lib-parser-ex >= 9.6, but LTS-21 contains ghc-lib-parser-ex-9.4
- stylish-haskell < 0.14.5.0
extra-packages:
- Cabal-syntax == 3.6.* # Dummy package that ensures packages depending on Cabal-syntax can work for Cabal < 3.8
- Cabal == 3.2.* # Used for packages needing newer Cabal on ghc 8.6 and 8.8

View file

@ -279673,6 +279673,40 @@ self: {
}) {};
"stylish-haskell" = callPackage
({ mkDerivation, aeson, base, bytestring, Cabal, containers
, directory, file-embed, filepath, ghc, ghc-boot, ghc-boot-th
, ghc-lib-parser-ex, HsYAML, HsYAML-aeson, HUnit, mtl
, optparse-applicative, random, regex-tdfa, strict, syb
, test-framework, test-framework-hunit, text
}:
mkDerivation {
pname = "stylish-haskell";
version = "0.14.4.0";
sha256 = "0y0vfz5vkvw0wzcsw2ym3nix0v3pwjw2vas0qv3lrhdvn3ba9gb7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring Cabal containers directory file-embed
filepath ghc ghc-boot ghc-boot-th ghc-lib-parser-ex HsYAML
HsYAML-aeson mtl regex-tdfa syb text
];
executableHaskellDepends = [
aeson base bytestring Cabal containers directory file-embed
filepath ghc ghc-boot ghc-boot-th ghc-lib-parser-ex HsYAML
HsYAML-aeson mtl optparse-applicative regex-tdfa strict syb text
];
testHaskellDepends = [
aeson base bytestring Cabal containers directory file-embed
filepath ghc ghc-boot ghc-boot-th ghc-lib-parser-ex HsYAML
HsYAML-aeson HUnit mtl random regex-tdfa syb test-framework
test-framework-hunit text
];
description = "Haskell code prettifier";
license = lib.licenses.bsd3;
mainProgram = "stylish-haskell";
}) {};
"stylish-haskell_0_14_5_0" = callPackage
({ mkDerivation, aeson, base, bytestring, Cabal, containers
, directory, file-embed, filepath, ghc-lib-parser
, ghc-lib-parser-ex, HsYAML, HsYAML-aeson, HUnit, mtl
@ -279702,6 +279736,7 @@ self: {
];
description = "Haskell code prettifier";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "stylish-haskell";
}) {};