@@ -8,12 +8,7 @@ This is the `hackage-server` code. This is what powers <http://hackage.haskell.o
8
8
9
9
## Installing dependencies
10
10
11
- ` hackage-server ` depends on ` icu ` and ` zlib ` . You'll also need ` libbrotli-dev ` for enabling tests.
12
-
13
- ICU stands for "International Components for Unicode". The ` icu4c ` is a set
14
- of libraries that provide Unicode and Globalization support.
15
- The [ text-icu] ( https://hackage.haskell.org/package/text-icu ) Haskell package
16
- uses the [ icu4c] ( http://icu-project.org/apiref/icu4c/ ) library to build.
11
+ ` hackage-server ` depends on ` libgd ` and ` zlib ` . You'll also need ` libbrotli-dev ` for enabling tests.
17
12
18
13
### [ ` nix-shell ` ] ( https://nixos.org/manual/nix/stable/command-ref/nix-shell.html )
19
14
@@ -31,35 +26,26 @@ If you have the [Nix package manager](https://nixos.org/) installed, the easiest
31
26
You can also install dependencies manually via your operating system's package
32
27
manager.
33
28
34
- #### ICU
29
+ #### Libgd
35
30
36
- You'll need to do the following to get ` hackage-server ` 's dependency ` text-icu ` to build:
31
+ You'll need to do the following to get ` hackage-server ` 's dependency ` hs-captcha ` (and transitively ` gd ` ) to build:
37
32
38
33
- Mac OS X
39
34
40
- brew install icu4c
41
- brew link icu4c --force
42
-
43
- Besides that, you might also need to include these in the ` cabal.project.local ` you created:
44
-
45
- ```
46
- package text-icu
47
- extra-include-dirs: /usr/local/opt/icu4c/include
48
- extra-lib-dirs: /usr/local/opt/icu4c/lib
49
- ```
35
+ brew install libgd
50
36
51
37
- Ubuntu/Debian
52
38
53
39
sudo apt-get update
54
- sudo apt-get install unzip libicu -dev
40
+ sudo apt-get install unzip libgd -dev
55
41
56
42
- Fedora/CentOS
57
43
58
- sudo dnf install unzip libicu -devel
44
+ sudo dnf install unzip libgd -devel
59
45
60
46
- Nix/NixOS
61
47
62
- nix-shell --packages icu
48
+ nix-shell --packages gd
63
49
64
50
#### libbrotli
65
51
0 commit comments