forked from mirrors/nixpkgs
Merge pull request #234335 from isaozler/feat/kode-mono
kode-mono font added
This commit is contained in:
commit
e18329cde9
|
@ -6901,6 +6901,12 @@
|
|||
githubId = 137306;
|
||||
name = "Michele Catalano";
|
||||
};
|
||||
isaozler = {
|
||||
email = "isaozler@gmail.com";
|
||||
github = "isaozler";
|
||||
githubId = 1378630;
|
||||
name = "Isa Ozler";
|
||||
};
|
||||
isgy = {
|
||||
name = "isgy";
|
||||
email = "isgy@teiyg.com";
|
||||
|
|
28
pkgs/data/fonts/kode-mono/default.nix
Normal file
28
pkgs/data/fonts/kode-mono/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "kode-mono";
|
||||
version = "1.017";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/isaozler/kode-mono/releases/download/${finalAttrs.version}/kode-mono-fonts.zip";
|
||||
hash = "sha256-5bTciBQhWNUokOP3YzAwrvp7jeyiF4JMdJDX+6NXvLU=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm644 kode-mono-fonts/fonts/ttf/*.ttf -t $out/share/fonts/truetype/
|
||||
install -Dm644 kode-mono-fonts/fonts/variable/*.ttf -t $out/share/fonts/truetype/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A custom-designed typeface explicitly created for the developer community";
|
||||
homepage = "https://kodemono.com/";
|
||||
changelog = "https://github.com/isaozler/kode-mono/blob/main/CHANGELOG.md";
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.isaozler ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
|
@ -28463,6 +28463,8 @@ with pkgs;
|
|||
|
||||
kochi-substitute-naga10 = callPackage ../data/fonts/kochi-substitute-naga10 { };
|
||||
|
||||
kode-mono = callPackage ../data/fonts/kode-mono { };
|
||||
|
||||
kopia = callPackage ../tools/backup/kopia { };
|
||||
|
||||
kora-icon-theme = callPackage ../data/icons/kora-icon-theme {
|
||||
|
|
Loading…
Reference in a new issue