1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/data/fonts/hasklig/default.nix
Profpatsch 53e790e7a8 maintainers: capitalize the Profpatsch attribute (vanity)
Since I’m already at it, this has been bothering me for a while.
2018-02-12 07:24:50 +01:00

26 lines
672 B
Nix

{stdenv, fetchzip}:
let
version = "1.1";
in fetchzip {
name = "hasklig-${version}";
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype
'';
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
meta = with stdenv.lib; {
homepage = https://github.com/i-tu/Hasklig;
description = "A font with ligatures for Haskell code based off Source Code Pro";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ davidrusu Profpatsch ];
};
}