2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-12-27 18:21:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "meslo-lgs-nf";
|
2021-11-15 15:53:39 +00:00
|
|
|
version = "2021-09-03";
|
2020-12-27 18:21:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "romkatv";
|
|
|
|
repo = "powerlevel10k-media";
|
2021-11-15 15:53:39 +00:00
|
|
|
rev = "389133fb8c9a2347929a23702ce3039aacc46c3d";
|
|
|
|
sha256 = "sha256-dWqRxjqsa/Tiv0Ww8VLHRDhftD3eqa1t2/T0irFeMFI=";
|
2020-12-27 18:21:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp $src/*.ttf $out/share/fonts/truetype
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-12-27 18:21:31 +00:00
|
|
|
description = "Meslo Nerd Font patched for Powerlevel10k";
|
|
|
|
homepage = "https://github.com/romkatv/powerlevel10k-media";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bbigras ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|