mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
haskellPackages.weeder: 2.8.0 -> 2.9.0
This commit is contained in:
parent
e8a9683fd8
commit
cc27161f1c
@ -185,6 +185,13 @@ self: super: {
|
||||
http-api-data = doJailbreak super.http-api-data;
|
||||
tasty-discover = doJailbreak super.tasty-discover;
|
||||
|
||||
# Out of date test data: https://github.com/ocharles/weeder/issues/176
|
||||
weeder = appendPatch (pkgs.fetchpatch {
|
||||
name = "weeder-2.9.0-test-fix-expected.patch";
|
||||
url = "https://github.com/ocharles/weeder/commit/56028d0c80fe89d4f2ae25275aedb72714fec7da.patch";
|
||||
sha256 = "10zkvclyir3zf21v41zdsvg68vrkq89n64kv9k54742am2i4aygf";
|
||||
}) super.weeder;
|
||||
|
||||
# Allow aeson == 2.1.*
|
||||
# https://github.com/hdgarrood/aeson-better-errors/issues/23
|
||||
aeson-better-errors = lib.pipe super.aeson-better-errors [
|
||||
|
@ -34,8 +34,6 @@ default-package-overrides:
|
||||
- chs-cabal < 0.1.1.2 # Incompatible with Cabal < 3.12
|
||||
# 2024-08-17: Stackage doesn't contain hnix-store-core >= 0.8 yet, so we need to restrict hnix-store-remote
|
||||
- hnix-store-remote < 0.7
|
||||
# 2024-08-26: test failure for >= 2.9 https://github.com/ocharles/weeder/issues/176
|
||||
- weeder < 2.9.0
|
||||
|
||||
|
||||
extra-packages:
|
||||
|
@ -332494,37 +332494,6 @@ self: {
|
||||
}) {};
|
||||
|
||||
"weeder" = callPackage
|
||||
({ mkDerivation, aeson, algebraic-graphs, async, base, bytestring
|
||||
, containers, directory, filepath, generic-lens, ghc, hspec, lens
|
||||
, mtl, optparse-applicative, parallel, process, regex-tdfa, text
|
||||
, toml-reader, transformers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "weeder";
|
||||
version = "2.8.0";
|
||||
sha256 = "086vni1i0sqy2xva63xdx1ppvwygyn1dav2bykggd6j1jrwi0m5p";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
algebraic-graphs async base bytestring containers directory
|
||||
filepath generic-lens ghc lens mtl optparse-applicative parallel
|
||||
regex-tdfa text toml-reader transformers
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base bytestring containers directory filepath ghc
|
||||
optparse-applicative transformers
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson algebraic-graphs base containers directory filepath ghc hspec
|
||||
process text toml-reader
|
||||
];
|
||||
description = "Detect dead code";
|
||||
license = lib.licenses.bsd3;
|
||||
mainProgram = "weeder";
|
||||
maintainers = [ lib.maintainers.maralorn ];
|
||||
}) {};
|
||||
|
||||
"weeder_2_9_0" = callPackage
|
||||
({ mkDerivation, aeson, algebraic-graphs, async, base, bytestring
|
||||
, containers, directory, filepath, generic-lens, ghc, Glob
|
||||
, hspec-discover, hspec-expectations, lens, mtl
|
||||
@ -332551,7 +332520,6 @@ self: {
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "Detect dead code";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
mainProgram = "weeder";
|
||||
maintainers = [ lib.maintainers.maralorn ];
|
||||
}) {};
|
||||
|
Loading…
Reference in New Issue
Block a user