mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
27 lines
710 B
Nix
27 lines
710 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "meslo-lgs-nf";
|
|
version = "unstable-2023-04-03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "romkatv";
|
|
repo = "powerlevel10k-media";
|
|
rev = "145eb9fbc2f42ee408dacd9b22d8e6e0e553f83d";
|
|
sha256 = "sha256-8xwVOlOP1SresbReNh1ce2Eu12KdIwdJSg6LKM+k2ng=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/truetype
|
|
cp $src/*.ttf $out/share/fonts/truetype
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Meslo Nerd Font patched for Powerlevel10k";
|
|
homepage = "https://github.com/romkatv/powerlevel10k-media";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ bbigras ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|