nixpkgs/pkgs/data/fonts/hasklig/default.nix

26 lines
672 B
Nix
Raw Normal View History

2017-08-10 12:43:49 -07:00
{stdenv, fetchzip}:
2017-08-10 12:43:49 -07:00
let
2017-03-03 10:21:19 -08:00
version = "1.1";
2017-08-10 12:43:49 -07:00
in fetchzip {
name = "hasklig-${version}";
2017-08-10 12:43:49 -07:00
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
2017-08-10 12:43:49 -07:00
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype
'';
2017-08-10 12:43:49 -07:00
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;
2016-07-25 12:18:09 -07:00
maintainers = with maintainers; [ davidrusu profpatsch ];
};
}