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