2019-05-12 18:55:32 -07:00
|
|
|
{ lib, fetchzip }:
|
2014-11-05 11:10:15 -08:00
|
|
|
|
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}";
|
2014-11-05 11:10:15 -08:00
|
|
|
|
2017-08-10 12:43:49 -07:00
|
|
|
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
|
2014-11-05 11:10:15 -08:00
|
|
|
|
2017-08-10 12:43:49 -07:00
|
|
|
postFetch = ''
|
|
|
|
unzip $downloadedFile
|
2019-05-12 18:55:32 -07:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
2014-11-05 11:10:15 -08:00
|
|
|
'';
|
|
|
|
|
2017-08-10 12:43:49 -07:00
|
|
|
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
|
|
|
|
|
2019-05-12 18:55:32 -07:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/i-tu/Hasklig";
|
2014-11-05 11:10:15 -08:00
|
|
|
description = "A font with ligatures for Haskell code based off Source Code Pro";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2018-02-11 22:18:12 -08:00
|
|
|
maintainers = with maintainers; [ davidrusu Profpatsch ];
|
2014-11-05 11:10:15 -08:00
|
|
|
};
|
|
|
|
}
|