1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/fonts/hasklig/default.nix

25 lines
640 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2017-08-10 20:43:49 +01:00
let
2017-03-03 18:21:19 +00:00
version = "1.1";
2017-08-10 20:43:49 +01:00
in fetchzip {
name = "hasklig-${version}";
2017-08-10 20:43:49 +01:00
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
2017-08-10 20:43:49 +01:00
postFetch = ''
unzip $downloadedFile
install -m444 -Dt $out/share/fonts/opentype *.otf
'';
2017-08-10 20:43:49 +01:00
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
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 ];
};
}