1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #263351 from EdSwordsmith/oxproto

_0xproto: init at 1.300
This commit is contained in:
h7x4 2024-01-16 19:23:24 +01:00 committed by GitHub
commit c884430ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 0 deletions

View file

@ -5217,6 +5217,12 @@
matrix = "@edrex:matrix.org";
name = "Eric Drechsel";
};
edswordsmith = {
email = "eduardo.espadeiro@tecnico.ulisboa.pt";
github = "EdSwordsmith";
githubId = 22300113;
name = "Eduardo Espadeiro";
};
eduarrrd = {
email = "e.bachmakov@gmail.com";
github = "eduarrrd";

View file

@ -0,0 +1,31 @@
{ lib
, stdenvNoCC
, fetchzip
}:
stdenvNoCC.mkDerivation rec {
pname = "0xproto";
version = "1.300";
src = let
underscoreVersion = builtins.replaceStrings ["."] ["_"] version;
in
fetchzip {
url = "https://github.com/0xType/0xProto/releases/download/${version}/0xProto_${underscoreVersion}.zip";
hash = "sha256-RanIMf9P2lFOF3kJS6jMlh/X6jttofbHSqFUJxWSqKk=";
};
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/opentype/ *.otf
install -Dm644 -t $out/share/fonts/truetype/ *.ttf
runHook postInstall
'';
meta = with lib; {
description = "Free and Open-source font for programming";
homepage = "https://github.com/0xType/0xProto";
license = licenses.ofl;
maintainers = [ maintainers.edswordsmith ];
platforms = platforms.all;
};
}

View file

@ -29718,6 +29718,8 @@ with pkgs;
office-code-pro = callPackage ../data/fonts/office-code-pro { };
_0xproto = callPackage ../data/fonts/0xproto { };
oldstandard = callPackage ../data/fonts/oldstandard { };
oldsindhi = callPackage ../data/fonts/oldsindhi { };