mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 08:58:58 +03:00
_0xproto: init at 1.300
This commit is contained in:
parent
86b0dfb6d6
commit
effe62a77a
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;
|
||||
};
|
||||
}
|
@ -29757,6 +29757,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 New Issue
Block a user