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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
729 B
Nix
Raw Normal View History

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