3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #234335 from isaozler/feat/kode-mono

kode-mono font added
This commit is contained in:
Pol Dellaiera 2023-06-02 04:42:56 +02:00 committed by GitHub
commit e18329cde9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -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";

View 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;
};
})

View file

@ -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 {