2024-04-21 15:54:59 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
2024-06-20 14:57:18 +00:00
|
|
|
pname = "pixel-code";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.2";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/qwerasd205/PixelCode/releases/download/v${version}/otf.zip";
|
|
|
|
hash = "sha256-GNYEnv0bIWz5d8821N46FD2NBNBf3Dd7DNqjSdJKDoE=";
|
|
|
|
stripRoot=false;
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/otf/*.otf
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/qwerasd205/PixelCode";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Pixel font designed to actually be good for programming";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ mattpolzin ];
|
|
|
|
};
|
|
|
|
}
|