blob: d2de6f63be3a1e4b91ecc25c0587dd81f11fe5f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "hasklig-0.4";
src = fetchurl {
url = "https://github.com/i-tu/Hasklig/releases/download/0.4/Hasklig-0.4.zip";
sha256 = "14j0zfapw6s6x5psp1rvx2i59rxdwb1jgwfgfhzhypr22qy40xi8";
};
buildInputs = [ unzip ];
sourceRoot = ".";
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype
'';
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 ];
};
}
|