mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
borg-sans-mono: init at 0.2.0
This commit is contained in:
parent
73ad5f9e14
commit
ae3cb6ac70
2 changed files with 28 additions and 0 deletions
26
pkgs/data/fonts/borg-sans-mono/default.nix
Normal file
26
pkgs/data/fonts/borg-sans-mono/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
pname = "borg-sans-mono";
|
||||
version = "0.2.0";
|
||||
in
|
||||
fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# https://github.com/marnen/borg-sans-mono/issues/19
|
||||
url = "https://github.com/marnen/borg-sans-mono/files/107663/BorgSansMono.ttf.zip";
|
||||
sha256 = "1gz4ab0smw76ih5cs2l3n92c77nv7ld5zghq42avjsfhxrc2n5ri";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2381,6 +2381,8 @@ with pkgs;
|
|||
|
||||
borgmatic = callPackage ../tools/backup/borgmatic { };
|
||||
|
||||
borg-sans-mono = callPackage ../data/fonts/borg-sans-mono { };
|
||||
|
||||
boringtun = callPackage ../tools/networking/boringtun { };
|
||||
|
||||
bookstack = callPackage ../servers/web-apps/bookstack { };
|
||||
|
|
Loading…
Reference in a new issue