toxic: 0.15.1 -> 0.16.0
[NixPkgs.git] / pkgs / by-name / eu / eurofurence / package.nix
blob94e21df43a62117330bfef208393f08c68073a7a
2   lib,
3   stdenvNoCC,
4   fetchzip,
5 }:
7 stdenvNoCC.mkDerivation {
8   pname = "eurofurence";
9   version = "2000-04-21";
11   srcs =
12     map
13       (
14         { url, hash }:
15         fetchzip {
16           name = builtins.baseNameOf url;
17           stripRoot = false;
18           inherit url hash;
19         }
20       )
21       [
22         {
23           url = "https://web.archive.org/web/20200131023120/http://eurofurence.net/eurof_tt.zip";
24           hash = "sha256-Al4tT2/qV9/K5le/OctybxgPcNMVDJi0OPr2EUBk8cE=";
25         }
26         {
27           url = "https://web.archive.org/web/20200130083325/http://eurofurence.net/eurofctt.zip";
28           hash = "sha256-ZF0Neysp0+TQgNAN+2IrfR/7dn043rSq6S3NHJ3gLUI=";
29         }
30         {
31           url = "https://web.archive.org/web/20200206093756/http://eurofurence.net/monof_tt.zip";
32           hash = "sha256-Kvcsp/0LzHhwPudP1qWLxhaiJ5/su1k7FBuV9XPKIGs=";
33         }
34         {
35           url = "https://web.archive.org/web/20200206171841/http://eurofurence.net/pagebxtt.zip";
36           hash = "sha256-CvKhzvxSQqdEHihQBfCSu1QgjzKn38DWaONdz5BpM4M=";
37         }
38         {
39           url = "https://web.archive.org/web/20190812003003/http://eurofurence.net/unifurtt.zip";
40           hash = "sha256-n9xnzJi8wvK6oCVQUQnQ1X9jW6WgyMKKIiDsT4j2Aas=";
41         }
42       ];
44   dontUnpack = true;
46   installPhase = ''
47     runHook preInstall
48     for src in $srcs; do
49       install -D $src/*.ttf -t $out/share/fonts/truetype
50       install -D $src/*.txt -t $out/share/doc/$name
51     done
52     runHook postInstall
53   '';
55   meta = {
56     homepage = "https://web.archive.org/web/20200131023120/http://eurofurence.net/eurofurence.html";
57     description = "Family of geometric rounded sans serif fonts";
58     maintainers = with lib.maintainers; [ ehmry ];
59     license = lib.licenses.free;
60   };