Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3a6bc6e35d61
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2806041afc05
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 30, 2019

  1. nika-fonts: init at 1.0.0 (#58495)

    LinArcX authored and veprbl committed Mar 30, 2019
    Copy the full SHA
    2806041 View commit details
Showing with 28 additions and 0 deletions.
  1. +26 −0 pkgs/data/fonts/nika-fonts/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
26 changes: 26 additions & 0 deletions pkgs/data/fonts/nika-fonts/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "nika-fonts";
version = "1.0.0";

src = fetchFromGitHub {
owner = "font-store";
repo = "NikaFont";
rev = "v${version}";
sha256 = "16dhk87vmjnywl5wqsl9dzp12ddpfk57w08f7811m3ijqadscdwc";
};

installPhase = ''
mkdir -p $out/share/fonts/nika-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/nika-fonts
'';

meta = with stdenv.lib; {
homepage = https://github.com/font-store/NikaFont/;
description = "Persian/Arabic Open Source Font";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.linarcx ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -11926,6 +11926,8 @@ in
nix = nixUnstable;
};

nika-fonts = callPackage ../data/fonts/nika-fonts { };

nlohmann_json = callPackage ../development/libraries/nlohmann_json { };

nntp-proxy = callPackage ../applications/networking/nntp-proxy { };