mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
mononoki: init at 1.2
This commit is contained in:
parent
5f34b5476b
commit
e0e9df7c8d
27
pkgs/data/fonts/mononoki/default.nix
Normal file
27
pkgs/data/fonts/mononoki/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mononoki-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
|
||||
sha256 = "0n66bnn2i776fbky14qjijwsbrja9yzc1xfsmvz99znvcdvflafg";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
phases = [ "unpackPhase" ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir -p $out/share/fonts/mononoki
|
||||
unzip $src -d $out/share/fonts/mononoki
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/madmalik/mononoki;
|
||||
description = "A font for programming and code review";
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.hiberno ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -11648,6 +11648,8 @@ in
|
||||
|
||||
mobile_broadband_provider_info = callPackage ../data/misc/mobile-broadband-provider-info { };
|
||||
|
||||
mononoki = callPackage ../data/fonts/mononoki { };
|
||||
|
||||
montserrat = callPackage ../data/fonts/montserrat { };
|
||||
|
||||
mph_2b_damase = callPackage ../data/fonts/mph-2b-damase { };
|
||||
|
Loading…
Reference in New Issue
Block a user