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:
commit
c884430ab9
|
@ -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";
|
||||
|
|
31
pkgs/data/fonts/0xproto/default.nix
Normal file
31
pkgs/data/fonts/0xproto/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue