mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 16:34:15 +03:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
31 lines
652 B
Nix
31 lines
652 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "baekmuk-ttf-2.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz";
|
|
sha256 = "10hqspl70h141ywz1smlzdanlx9vwgsp1qrcjk68fn2xnpzpvaq8";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = let
|
|
fonts_dir = "$out/share/fonts";
|
|
doc_dir = "$out/share/doc/${name}";
|
|
in ''
|
|
mkdir -pv ${fonts_dir}
|
|
mkdir -pv ${doc_dir}
|
|
cp ttf/*.ttf ${fonts_dir}
|
|
cp COPYRIGHT* ${doc_dir}
|
|
'';
|
|
|
|
meta = {
|
|
description = "Korean font";
|
|
homepage = http://kldp.net/projects/baekmuk/;
|
|
license = "BSD-like";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|
|
|