mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
hasklig: new font
Closes #4847 Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
This commit is contained in:
parent
3a0f2619ce
commit
1628cee892
@ -46,6 +46,7 @@
|
||||
coroa = "Jonas Hörsch <jonas@chaoflow.net>";
|
||||
cstrahan = "Charles Strahan <charles.c.strahan@gmail.com>";
|
||||
DamienCassou = "Damien Cassou <damien.cassou@gmail.com>";
|
||||
davidrusu = "David Rusu <davidrusu.me@gmail.com>";
|
||||
dbohdan = "Danyil Bohdan <danyil.bohdan@gmail.com>";
|
||||
DerGuteMoritz = "Moritz Heidkamp <moritz@twoticketsplease.de>";
|
||||
dmalikov = "Dmitry Malikov <malikov.d.y@gmail.com>";
|
||||
|
29
pkgs/data/fonts/hasklig/default.nix
Normal file
29
pkgs/data/fonts/hasklig/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -8790,6 +8790,8 @@ let
|
||||
|
||||
r5rs = callPackage ../data/documentation/rnrs/r5rs.nix { };
|
||||
|
||||
hasklig = callPackage ../data/fonts/hasklig {};
|
||||
|
||||
source-code-pro = callPackage ../data/fonts/source-code-pro {};
|
||||
|
||||
source-sans-pro = callPackage ../data/fonts/source-sans-pro { };
|
||||
|
Loading…
Reference in New Issue
Block a user