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

25 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 ];
};
}