mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
692 B
Nix
28 lines
692 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
name = "pixel-code";
|
|
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";
|
|
description = "Pixel font designed to actually be good for programming";
|
|
license = licenses.ofl;
|
|
maintainers = with maintainers; [ mattpolzin ];
|
|
};
|
|
}
|