2019-05-13 01:55:32 +00:00
|
|
|
{ lib, fetchzip }:
|
2014-11-05 19:10:15 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
let
|
2017-03-03 18:21:19 +00:00
|
|
|
version = "1.1";
|
2017-08-10 19:43:49 +00:00
|
|
|
in fetchzip {
|
|
|
|
name = "hasklig-${version}";
|
2014-11-05 19:10:15 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
|
2014-11-05 19:10:15 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
postFetch = ''
|
|
|
|
unzip $downloadedFile
|
2019-05-13 01:55:32 +00:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
2014-11-05 19:10:15 +00:00
|
|
|
'';
|
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/i-tu/Hasklig;
|
2014-11-05 19:10:15 +00:00
|
|
|
description = "A font with ligatures for Haskell code based off Source Code Pro";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2018-02-12 06:18:12 +00:00
|
|
|
maintainers = with maintainers; [ davidrusu Profpatsch ];
|
2014-11-05 19:10:15 +00:00
|
|
|
};
|
|
|
|
}
|