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: eaff32796be3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c29f267d9285
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 31, 2019

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

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

src = fetchFromGitHub {
owner = "rastikerdar";
repo = "parastoo-font";
rev = "v${version}";
sha256 = "1nya9cbbs6sgv2w3zyah3lb1kqylf922q3fazh4l7bi6zgm8q680";
};

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

meta = with stdenv.lib; {
homepage = https://github.com/rastikerdar/parastoo-font;
description = "A Persian (Farsi) 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
@@ -4838,6 +4838,8 @@ in

parallel = callPackage ../tools/misc/parallel { };

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

parcellite = callPackage ../tools/misc/parcellite { };

patchutils = callPackage ../tools/text/patchutils { };