forked from mirrors/nixpkgs
kreative-square-fonts: init at unstable-2021-01-29 (#111238)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
595363a38f
commit
10286fce21
28
pkgs/data/fonts/kreative-square-fonts/default.nix
Normal file
28
pkgs/data/fonts/kreative-square-fonts/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pname = "kreative-square-fonts";
|
||||
version = "unstable-2021-01-29";
|
||||
in
|
||||
fetchFromGitHub {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
owner = "kreativekorp";
|
||||
repo = "open-relay";
|
||||
rev = "084f05af3602307499981651eca56851bec01fca";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
install -Dm444 -t $out/share/fonts/truetype/ KreativeSquare/KreativeSquare.ttf
|
||||
install -Dm444 -t $out/share/fonts/truetype/ KreativeSquare/KreativeSquareSM.ttf
|
||||
'';
|
||||
sha256 = "15vvbbzv6b3jh7lxg77viycdd7yf3y8lxy54vs3rsrsxwncg0pak";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fullwidth scalable monospace font designed specifically to support pseudographics, semigraphics, and private use characters";
|
||||
homepage = "https://www.kreativekorp.com/software/fonts/ksquare.shtml";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.linus ];
|
||||
};
|
||||
}
|
|
@ -21038,6 +21038,8 @@ in
|
|||
|
||||
koreader = callPackage ../applications/misc/koreader {};
|
||||
|
||||
kreative-square-fonts = callPackage ../data/fonts/kreative-square-fonts { };
|
||||
|
||||
lato = callPackage ../data/fonts/lato {};
|
||||
|
||||
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};
|
||||
|
|
Loading…
Reference in a new issue