2023-01-28 05:13:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2014-11-05 19:10:15 +00:00
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "hasklig";
|
2017-03-03 18:21:19 +00:00
|
|
|
version = "1.1";
|
2014-11-05 19:10:15 +00:00
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
|
|
|
|
stripRoot = false;
|
|
|
|
hash = "sha256-jsPQtjuegMePt4tB1dZ9mq15LSxXBYwtakbq4od/sko=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2014-11-05 19:10:15 +00:00
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +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
|
|
|
};
|
2023-01-28 05:13:31 +00:00
|
|
|
}
|