nixpkgs/pkgs/data/fonts/borg-sans-mono/default.nix

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

29 lines
740 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2022-03-15 00:07:23 +00:00
stdenvNoCC.mkDerivation {
2022-03-15 00:07:23 +00:00
pname = "borg-sans-mono";
version = "0.2.0";
src = fetchzip {
# https://github.com/marnen/borg-sans-mono/issues/19
url = "https://github.com/marnen/borg-sans-mono/files/107663/BorgSansMono.ttf.zip";
hash = "sha256-nn7TGeVm45t7QI8+eEREBTFg9aShYYKtdEYEwQwO2fQ=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
runHook postInstall
'';
2022-03-15 00:07:23 +00:00
meta = with lib; {
description = "Droid Sans Mono Slashed + Hasklig-style ligatures";
homepage = "https://github.com/marnen/borg-sans-mono";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ atila ];
};
}