mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
53e790e7a8
Since I’m already at it, this has been bothering me for a while.
26 lines
672 B
Nix
26 lines
672 B
Nix
{stdenv, fetchzip}:
|
|
|
|
let
|
|
version = "1.1";
|
|
in fetchzip {
|
|
name = "hasklig-${version}";
|
|
|
|
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
|
|
|
|
postFetch = ''
|
|
unzip $downloadedFile
|
|
mkdir -p $out/share/fonts/opentype
|
|
cp *.otf $out/share/fonts/opentype
|
|
'';
|
|
|
|
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|