Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenvNoCC,
4 fetchzip,
5}:
6
7stdenvNoCC.mkDerivation rec {
8 pname = "encode-sans";
9 version = "1.002";
10
11 src = fetchzip {
12 url = "https://github.com/impallari/Encode-Sans/archive/11162b46892d20f55bd42a00b48cbf06b5871f75.zip";
13 hash = "sha256-TPAUc5msAUgJZHibjgYaS2TOuzKFy0rje9ZQTXE6s+w=";
14 };
15
16 installPhase = ''
17 runHook preInstall
18
19 install -Dm644 *.ttf -t $out/share/fonts/truetype
20 install -Dm644 README.md FONTLOG.txt -t $out/share/doc/${pname}-${version}
21
22 runHook postInstall
23 '';
24
25 meta = with lib; {
26 description = "Versatile sans serif font family";
27 longDescription = ''
28 The Encode Sans family is a versatile workhorse. Featuring a huge range of
29 weights and widths, it's ready for all kind of typographic challenges. It
30 also includes Tabular and Old Style figures, as well as full set of Small
31 Caps and other Open Type features.
32
33 Designed by Pablo Impallari and Andres Torresi.
34 '';
35 homepage = "https://github.com/impallari/Encode-Sans";
36 license = licenses.ofl;
37 maintainers = with maintainers; [ cmfwyp ];
38 platforms = platforms.all;
39 };
40}