Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "3.83"; in
|
||||
let version = "4.02"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "man-pages-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
|
||||
sha256 = "1wksxxfvn8avfl01qk0i61zzgkkay29lpmbfal26a542yahydz3j";
|
||||
sha256 = "1lqdzw6n3rqhd097lk5w16jcjhwfqs5zvi42hsbk3p92smswpaj8";
|
||||
};
|
||||
|
||||
makeFlags = "MANDIR=$(out)/share/man";
|
||||
|
||||
@@ -1,48 +1,38 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, qt5, libarchive }:
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, qt5, libarchive, xorg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20141123";
|
||||
version = "0.1.1";
|
||||
name = "zeal-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zealdocs";
|
||||
repo = "zeal";
|
||||
rev = "76405f8387d6a82697faab9630c78f31417d8450";
|
||||
sha256 = "1057py3j2flzxyiks031s0mwm9h82v033iqn5cq8sycmrb3ihj2s";
|
||||
rev = "v${version}";
|
||||
sha256 = "172wf50fq1l5p8hq1irvpwr7ljxkjaby71afrm82jz3ixl6dg2ii";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig qt5.base qt5.webkit libarchive ];
|
||||
buildInputs = [
|
||||
xorg.xcbutilkeysyms pkgconfig qt5.base qt5.webkit qt5.imageformats libarchive
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace src/main.cpp \
|
||||
--replace /usr/share/pixmaps/zeal $out/share/pixmaps/zeal
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
qmake PREFIX=$out
|
||||
make
|
||||
configurePhase = ''
|
||||
qmake PREFIX=/
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make INSTALL_ROOT=$out install
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
mv $out/usr/bin $out/bin
|
||||
mv $out/usr/share $out/share
|
||||
rmdir $out/usr
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Zeal is a simple offline API documentation browser";
|
||||
description = "A simple offline API documentation browser";
|
||||
longDescription = ''
|
||||
Zeal is a simple offline API documentation browser inspired by Dash (OS X
|
||||
app), available for Linux and Windows.
|
||||
'';
|
||||
homepage = "http://zealdocs.org/";
|
||||
license = with stdenv.lib.licenses; [ gpl3 ];
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ skeidel ];
|
||||
};
|
||||
|
||||
@@ -1,59 +1,31 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
url="http://www.i18nguy.com/unicode/andagii.zip";
|
||||
name="andagii";
|
||||
version="1.0.2";
|
||||
hash="0cknb8vin15akz4ahpyayrpqyaygp9dgrx6qw7zs7d6iv9v59ds1";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "andagii-${version}";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = http://www.i18nguy.com/unicode/andagii.zip;
|
||||
sha256 = "0a0c43y1fd5ksj50axhng7p00kgga0i15p136g68p35wj7kh5g2k";
|
||||
stripRoot = false;
|
||||
curlOpts = "--user-agent 'Mozilla/5.0'";
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
name = "${sourceInfo.name}-${sourceInfo.version}";
|
||||
inherit buildInputs;
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doUnpack" "doInstall"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
|
||||
'';
|
||||
|
||||
doUnpack = a.fullDepEntry ''
|
||||
unzip "${src}"
|
||||
'' ["addInputs"];
|
||||
|
||||
doInstall = a.fullDepEntry (''
|
||||
mkdir -p "$out"/share/fonts/ttf/
|
||||
cp ANDAGII_.TTF "$out"/share/fonts/ttf/andagii.ttf
|
||||
'') ["defEnsureDir" "minInit"];
|
||||
|
||||
meta = {
|
||||
# There are multiple claims that the font is GPL, so I include the
|
||||
# package; but I cannot find the original source, so use it on your
|
||||
# own risk Debian claims it is GPL - good enough for me.
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.i18nguy.com/unicode/unicode-font.HTML;
|
||||
description = "Unicode Plane 1 Osmanya script font";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
hydraPlatforms = [];
|
||||
# There are multiple claims that the font is GPL,
|
||||
# so I include the package; but I cannot find the
|
||||
# original source, so use it on your own risk
|
||||
# Debian claims it is GPL - good enough for me.
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = "unknown";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://www.i18nguy.com/unicode/unicode-font.html";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
@@ -1,50 +1,36 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version = "1.002";
|
||||
name="anonymousPro";
|
||||
url="http://www.ms-studio.com/FontSales/AnonymousPro-${version}.zip";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "anonymousPro-${version}";
|
||||
version = "1.002";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.marksimonson.com/assets/content/fonts/AnonymousPro-${version}.zip";
|
||||
sha256 = "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.sha256;
|
||||
};
|
||||
|
||||
name = "${sourceInfo.name}-${sourceInfo.version}";
|
||||
inherit buildInputs;
|
||||
nativeBuildInputs = [ unzip ];
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
find . -name "*.ttf" -exec cp -v {} $out/share/fonts/truetype \;
|
||||
find . -name "*.txt" -exec cp -v {} $out/share/doc/${name} \;
|
||||
'';
|
||||
|
||||
doUnpack = a.fullDepEntry (''
|
||||
unzip ${src}
|
||||
cd AnonymousPro*/
|
||||
'') ["addInputs"];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.marksimonson.com/fonts/view/anonymous-pro;
|
||||
description = "TrueType font set intended for source code";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
license = with a.lib.licenses; ofl;
|
||||
hydraPlatforms = [];
|
||||
homepage = "http://www.marksimonson.com/fonts/view/anonymous-pro";
|
||||
downloadPage = "http://www.ms-studio.com/FontSales/anonymouspro.html";
|
||||
inherit (sourceInfo) version;
|
||||
longDescription = ''
|
||||
Anonymous Pro (2009) is a family of four fixed-width fonts
|
||||
designed with coding in mind. Anonymous Pro features an
|
||||
international, Unicode-based character set, with support for
|
||||
most Western and Central European Latin-based languages, plus
|
||||
Greek and Cyrillic. It is designed by Mark Simonson.
|
||||
'';
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
@@ -2,21 +2,26 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "aurulent-sans-0.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/deepfire/hartke-aurulent-sans.git";
|
||||
rev = "refs/tags/${name}";
|
||||
sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
installPhase = "
|
||||
|
||||
installPhase = ''
|
||||
fontDir=$out/share/fonts/opentype
|
||||
mkdir -p $fontDir
|
||||
cp *.otf $fontDir
|
||||
";
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Aurulent Sans";
|
||||
longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";
|
||||
homepage = http://delubrum.org/;
|
||||
maintainers = with stdenv.lib.maintainers; [ deepfire ];
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
|
||||
@@ -1,40 +1,28 @@
|
||||
x@{builderDefsPackage
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version = "0.7.0";
|
||||
baseName="cm-unicode";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://sourceforge/${baseName}/${baseName}/${version}/${name}-otf.tar.xz";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cm-unicode-${version}";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz";
|
||||
sha256 = "0a0w9qm9g8qz2xh3lr61bj1ymqslqsvk4w2ybc3v2qa89nz7x2jl";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v *.otf $out/share/fonts/opentype/
|
||||
cp -v README FontLog.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
downloadPage = "http://sourceforge.net/projects/cm-unicode/files/cm-unicode/";
|
||||
inherit version;
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://canopus.iacp.dvo.ru/~panov/cm-unicode/;
|
||||
description = "Computer Modern Unicode fonts";
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{fetchurl, stdenv, fontforge, perl, fontconfig, FontTTF}:
|
||||
|
||||
let version = "2.34" ; in
|
||||
let version = "2.35" ; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dejavu-fonts-${version}";
|
||||
@@ -18,9 +18,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/dejavu/dejavu-fonts-${version}.tar.bz2";
|
||||
sha256 = "09wh9c9kk82i4kwy73fcqa0779bvf0ncikciqw2gxa9m2rkrxjmm";
|
||||
sha256 = "1xdbi4llrq1qbkd73352ibrfqcbz93dww8hab216qz5szd95yvv4";
|
||||
};
|
||||
|
||||
buildFlags = "full-ttf";
|
||||
|
||||
preBuild = ''
|
||||
sed -e s@/usr/bin/env@$(type -tP env)@ -i scripts/*
|
||||
sed -e s@/usr/bin/perl@$(type -tP perl)@ -i scripts/*
|
||||
@@ -30,13 +32,12 @@ stdenv.mkDerivation rec {
|
||||
ln -s ${unicodeData} resources/UnicodeData.txt
|
||||
ln -s ${blocks} resources/Blocks.txt
|
||||
'';
|
||||
installPhase = ''
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
for i in $(find build -name '*.ttf'); do
|
||||
cp $i $out/share/fonts/truetype;
|
||||
for i in $(find build -name '*.ttf'); do
|
||||
cp $i $out/share/fonts/truetype;
|
||||
done;
|
||||
mkdir -p $out/share/dejavu-fonts
|
||||
cp -r build/* $out/share/dejavu-fonts
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -56,6 +56,6 @@ stdenv.mkDerivation rec {
|
||||
downloadPage = https://www.donationcoder.com/Software/Jibz/Dina/;
|
||||
license = licenses.free;
|
||||
maintainers = [ maintainers.prikhi ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,50 +1,28 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="0.016";
|
||||
name="EBGaramond";
|
||||
url="https://bitbucket.org/georgd/eb-garamond/downloads/${name}-${version}.zip";
|
||||
hash="0y630khn5zh70al3mm84fs767ac94ffyz1w70zzhrhambx07pdx0";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "eb-garamond-${version}";
|
||||
version = "0.016";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
||||
sha256 = "0j40bg1di39q7zis64il67xchldyznrl8wij9il10c4wr8nl4r9z";
|
||||
};
|
||||
|
||||
name = "eb-garamond-${sourceInfo.version}";
|
||||
inherit buildInputs;
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v "otf/"*.otf $out/share/fonts/opentype/
|
||||
cp -v Changes README.markdown README.xelualatex $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
# This will clean up if/when 8263996 lands.
|
||||
doUnpack = a.fullDepEntry (''
|
||||
unzip ${src}
|
||||
cd ${sourceInfo.name}*
|
||||
mv {ttf,otf}/* .
|
||||
'') ["addInputs"];
|
||||
|
||||
meta = with a.lib; {
|
||||
description = "Digitization of the Garamond shown on the Egenolff-Berner specimen";
|
||||
maintainers = with maintainers; [ relrod ];
|
||||
platforms = platforms.all;
|
||||
license = licenses.ofl;
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.georgduffner.at/ebgaramond/;
|
||||
description = "Digitization of the Garamond shown on the Egenolff-Berner specimen";
|
||||
maintainers = with maintainers; [ relrod rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "https://github.com/georgd/EB-Garamond/releases";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
31
pkgs/data/fonts/fira-code/default.nix
Normal file
31
pkgs/data/fonts/fira-code/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fira-code-${version}";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/tonsky/FiraCode/releases/download/${version}/FiraCode-Regular.otf";
|
||||
sha256 = "1blalxnmrxqlm5i74jhm8j29n0zsnmqi3gppxa9szjzv4x2k5s0a";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp -v $src $out/share/fonts/opentype/FiraCode-Regular.otf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/tonsky/FiraCode;
|
||||
description = "Monospace font with programming ligatures";
|
||||
longDescription = ''
|
||||
Fira Code is a monospace font extending the Fira Mono font with
|
||||
a set of ligatures for common programming multi-character
|
||||
combinations.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,16 +1,16 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fira-mono-3.2";
|
||||
name = "fira-mono-3.205";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.carrois.com/downloads/fira_mono_3_2/FiraMonoFonts3200.zip;
|
||||
sha256 = "0g3i54q8czf3vylgasj62w2n7l1a2yrbyibjlx1qk3awh7fr1r7p";
|
||||
url = http://www.carrois.com/downloads/fira_mono_3_2/FiraMonoFonts3205.zip;
|
||||
sha256 = "0zd4wy8ksbz0qiiqgl9w7zyh34q8n983dyb44g5dfdcjakj09qlz";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
sourceRoot = "FiraMonoFonts3200";
|
||||
sourceRoot = "FiraMonoFonts3205";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fira-4.1";
|
||||
name = "fira-4.105";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.carrois.com/downloads/fira_4_1/FiraFonts4100.zip";
|
||||
sha256 = "0mqmmq1m2p0hb0x4mr74gghqr75iglilah7psfb3vdc80fc9h6yk";
|
||||
url = http://www.carrois.com/downloads/fira_4_1/FiraFonts4105.zip;
|
||||
sha256 = "1857kpn7p7fc1xsmqx9589hk396ggwzd167yc3dmn1mh5dixibfz";
|
||||
};
|
||||
|
||||
buildInputs = [unzip];
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
sourceRoot = "FiraFonts4100";
|
||||
sourceRoot = "FiraFonts4105";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
|
||||
28
pkgs/data/fonts/font-awesome-ttf/default.nix
Normal file
28
pkgs/data/fonts/font-awesome-ttf/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "font-awesome-4.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://fortawesome.github.io/Font-Awesome/assets/${name}.zip";
|
||||
sha256 = "1bmjh3j533awihdxihvlk2d1ypzs9q7azj0viqbm0df8jj2v4rwq";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
${unzip}/bin/unzip $src
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp */fonts/*.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Font Awesome - TTF font";
|
||||
longDescription = ''
|
||||
Font Awesome gives you scalable vector icons that can instantly be customized.
|
||||
This package includes only the TTF font. For full CSS etc. see the project website.
|
||||
'';
|
||||
homepage = "http://fortawesome.github.io/Font-Awesome/";
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.abaldeau ];
|
||||
};
|
||||
}
|
||||
@@ -1,30 +1,31 @@
|
||||
args : with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
src =""; /* put a fetchurl here */
|
||||
buildInputs = [mkfontdir mkfontscale];
|
||||
configureFlags = [];
|
||||
};
|
||||
in with localDefs;
|
||||
args @ { fetchurl, stdenv, builderDefs, paths, mkfontdir, mkfontscale }:
|
||||
with args;
|
||||
let localDefs = builderDefs.passthru.function {
|
||||
src =""; /* put a fetchurl here */
|
||||
buildInputs = [mkfontdir mkfontscale];
|
||||
configureFlags = [];
|
||||
};
|
||||
in with localDefs;
|
||||
let
|
||||
doInstall = fullDepEntry ("
|
||||
mkdir -p \$out/share/fonts/
|
||||
cd \$out/share/fonts
|
||||
for i in ${toString paths}; do
|
||||
find \$i -type f -exec ln -s '{}' . ';' ;
|
||||
done
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
") [minInit addInputs defEnsureDir] ;
|
||||
doInstall = fullDepEntry ("
|
||||
mkdir -p \$out/share/fonts/
|
||||
cd \$out/share/fonts
|
||||
for i in ${toString paths}; do
|
||||
find \$i -type f -exec ln -s '{}' . ';' ;
|
||||
done
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
") [minInit addInputs defEnsureDir] ;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wrapped-font-dir";
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs [ doInstall doForceShare doPropagate]);
|
||||
name = "wrapped-font-dir";
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs [ doInstall doForceShare doPropagate]);
|
||||
preferLocalBuild = true;
|
||||
meta = {
|
||||
description = "
|
||||
Just a wrapper to create fonts.dir and fonts.scale .
|
||||
meta = {
|
||||
description = "
|
||||
Just a wrapper to create fonts.dir and fonts.scale .
|
||||
";
|
||||
inherit src;
|
||||
};
|
||||
inherit src;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,17 +17,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "GNU Free UCS Outline Fonts";
|
||||
|
||||
longDescription = ''
|
||||
The GNU Freefont project aims to provide a set of free outline
|
||||
(PostScript Type0, TrueType, OpenType...) fonts covering the ISO
|
||||
10646/Unicode UCS (Universal Character Set).
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/freefont/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,46 +1,29 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="1.504";
|
||||
baseName="GentiumPlus";
|
||||
name="${baseName}-${version}";
|
||||
url="http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=${name}.zip&filename=${name}";
|
||||
hash="04kslaqbscpfrc6igkifcv1nkrclrm35hqpapjhw9102wpq12fpr";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
name = "${sourceInfo.name}.zip";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gentium-${version}";
|
||||
version = "1.504";
|
||||
|
||||
src = fetchzip {
|
||||
name = "${name}.zip";
|
||||
url = "http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumPlus-${version}.zip&filename=${name}.zip";
|
||||
sha256 = "1xdx80dfal0b8rkrp1janybx2hki7algnvkx4hyghgikpjcjkdh7";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
phaseNames = ["addInputs" "doUnpack" "installFonts"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v *.ttf $out/share/fonts/truetype/
|
||||
cp -v FONTLOG.txt GENTIUM-FAQ.txt README.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium";
|
||||
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://scripts.sil.org/cms/scripts/page.php?item_id=Gentium_download";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
62
pkgs/data/fonts/gohufont/default.nix
Normal file
62
pkgs/data/fonts/gohufont/default.nix
Normal file
@@ -0,0 +1,62 @@
|
||||
{ stdenv, fetchurl, mkfontdir, mkfontscale, bdf2psf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gohufont-2.0";
|
||||
|
||||
pcf = fetchurl {
|
||||
url = "http://font.gohu.org/gohufont-2.0.tar.gz";
|
||||
sha256 = "0vi87fvj3m52piz2k6vqday03cah6zvz3dzrvjch3qjna1i1nb7s";
|
||||
};
|
||||
|
||||
bdf = fetchurl {
|
||||
url = "http://font.gohu.org/gohufont-bdf-2.0.tar.gz";
|
||||
sha256 = "0rqqavhqbs7pajcblg92mjlz2dxk8b60vgdh271axz7kjs2wf9mr";
|
||||
};
|
||||
|
||||
buildInputs = [ mkfontdir mkfontscale bdf2psf ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir pcf bdf
|
||||
tar -xzf $pcf --strip-components=1 -C pcf
|
||||
tar -xzf $bdf --strip-components=1 -C bdf
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
# convert bdf to psf fonts
|
||||
sourceRoot="$(pwd)"
|
||||
mkdir psf
|
||||
|
||||
cd "${bdf2psf}/usr/share/bdf2psf"
|
||||
for i in $sourceRoot/bdf/*.bdf; do
|
||||
bdf2psf --fb $i standard.equivalents \
|
||||
ascii.set+useful.set+linux.set 512 \
|
||||
"$sourceRoot/psf/$(basename $i .bdf).psf"
|
||||
done
|
||||
cd "$sourceRoot"
|
||||
|
||||
# install the psf fonts (for the virtual console)
|
||||
fontDir="$out/share/consolefonts"
|
||||
mkdir -p "$fontDir"
|
||||
mv psf/*.psf "$fontDir"
|
||||
|
||||
|
||||
# install the pcf fonts (for xorg applications)
|
||||
fontDir="$out/share/fonts/misc"
|
||||
mkdir -p "$fontDir"
|
||||
mv pcf/*.pcf.gz "$fontDir"
|
||||
|
||||
cd "$fontDir"
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = ''
|
||||
A monospace bitmap font well suited for programming and terminal use
|
||||
'';
|
||||
homepage = http://font.gohu.org/;
|
||||
license = licenses.wtfpl;
|
||||
maintainers = with maintainers; [ epitrochoid ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
@@ -21,17 +21,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX";
|
||||
|
||||
longDescription = ''The Gyre project started in 2006, and will
|
||||
eventually include enhanced releases of all 35 freely available
|
||||
PostScript fonts distributed with Ghostscript v4.00. These are
|
||||
being converted to OpenType and extended with diacritical marks
|
||||
covering all modern European languages and then some'';
|
||||
|
||||
longDescription = ''
|
||||
The Gyre project started in 2006, and will
|
||||
eventually include enhanced releases of all 35 freely available
|
||||
PostScript fonts distributed with Ghostscript v4.00. These are
|
||||
being converted to OpenType and extended with diacritical marks
|
||||
covering all modern European languages and then some
|
||||
'';
|
||||
homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings";
|
||||
|
||||
license = stdenv.lib.licenses.lppl13c;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = with stdenv.lib.maintainers; [ bergey ];
|
||||
};
|
||||
|
||||
48
pkgs/data/fonts/hack/default.nix
Normal file
48
pkgs/data/fonts/hack/default.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
let version = "2.015"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "hack-font-${version}";
|
||||
|
||||
src = let
|
||||
version_ = with stdenv.lib;
|
||||
concatStringsSep "_" (splitString "." version);
|
||||
in fetchurl {
|
||||
sha256 = "0x0c3wwxiidl5a6axbcwizxny5q2yc6l4724smdj4gmn1xa137g5";
|
||||
url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version_}-ttf.zip";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/hack
|
||||
cp *.ttf $out/share/fonts/hack
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "A typeface designed for source code";
|
||||
longDescription = ''
|
||||
Hack is hand groomed and optically balanced to be a workhorse face for
|
||||
code. It has deep roots in the libre, open source typeface community and
|
||||
expands upon the contributions of the Bitstream Vera & DejaVu projects.
|
||||
The face has been re-designed with a larger glyph set, modifications of
|
||||
the original glyph shapes, and meticulous attention to metrics.
|
||||
'';
|
||||
homepage = http://sourcefoundry.org/hack/;
|
||||
|
||||
/*
|
||||
"The font binaries are released under a license that permits unlimited
|
||||
print, desktop, and web use for commercial and non-commercial
|
||||
applications. It may be embedded and distributed in documents and
|
||||
applications. The source is released in the widely supported UFO format
|
||||
and may be modified to derive new typeface branches. The full text of
|
||||
the license is available in LICENSE.md" (From the GitHub page)
|
||||
*/
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ nckx ];
|
||||
};
|
||||
}
|
||||
@@ -1,51 +1,26 @@
|
||||
x@{builderDefsPackage
|
||||
, fontforge
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
name="inconsolata";
|
||||
url="http://www.levien.com/type/myfonts/Inconsolata.sfd";
|
||||
hash="1cd29c8396adb18bfeddb1abf5bdb98b677649bb9b09f126d1335b123a4cfddb";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "inconsolata-${version}";
|
||||
version = "1.010";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.levien.com/type/myfonts/Inconsolata.otf";
|
||||
sha256 = "06js6znbcf7swn8y3b8ki416bz96ay7d3yvddqnvi88lqhbfcq8m";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name;
|
||||
inherit buildInputs;
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["copySrc" "generateFontsFromSFD" "installFonts"];
|
||||
|
||||
copySrc = a.fullDepEntry (''
|
||||
cp ${src} inconsolata.sfd
|
||||
'') ["minInit"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp -v $src $out/share/fonts/opentype/inconsolata.otf
|
||||
'';
|
||||
|
||||
generateFontsFromSFD = a.generateFontsFromSFD // {deps=["addInputs"];};
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.levien.com/type/myfonts/inconsolata.html;
|
||||
description = "A monospace font for both screen and print";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://www.levien.com/type/myfonts/inconsolata.html";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
59
pkgs/data/fonts/inconsolata/lgc.nix
Normal file
59
pkgs/data/fonts/inconsolata/lgc.nix
Normal file
@@ -0,0 +1,59 @@
|
||||
{stdenv, fetchFromGitHub, fontforge}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "inconsolata-lgc-${version}";
|
||||
version = "git-2015-04-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MihailJP";
|
||||
repo = "Inconsolata-LGC";
|
||||
rev = "30bbc1bd82502bf76f1cc5553f17388da2ba20e7";
|
||||
sha256 = "02af2gpksdxdp7zfh5qhgfqzc6gvah9v4ph818irwhs9gcq8833c";
|
||||
};
|
||||
|
||||
buildInputs = [ fontforge ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v $(find . -name '*.ttf') $out/share/fonts/truetype
|
||||
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp -v $(find . -name '*.otf') $out/share/fonts/opentype
|
||||
|
||||
mkdir -p "$out/doc/${name}"
|
||||
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}" || true
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fork of Inconsolata font, with proper support of Cyrillic and Greek";
|
||||
longDescription = ''
|
||||
Inconsolata is one of the most suitable font for programmers created by Raph
|
||||
Levien. Since the original Inconsolata does not contain Cyrillic alphabet,
|
||||
it was slightly inconvenient for not a few programmers from Russia.
|
||||
|
||||
Inconsolata LGC is a modified version of Inconsolata with added the Cyrillic
|
||||
alphabet which directly descends from Inconsolata Hellenic supporting modern
|
||||
Greek.
|
||||
|
||||
Inconsolata LGC is licensed under SIL OFL.
|
||||
|
||||
|
||||
Inconsolata LGC changes:
|
||||
* Cyrillic glyphs added.
|
||||
* Italic and Bold font added.
|
||||
|
||||
Changes inherited from Inconsolata Hellenic:
|
||||
* Greek glyphs.
|
||||
|
||||
Changes inherited from Inconsolata-dz:
|
||||
* Straight quotation marks.
|
||||
'';
|
||||
|
||||
# See `License.txt' for details.
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
homepage = https://github.com/MihailJP/Inconsolata-LGC;
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.avnik
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
args: with args; rec {
|
||||
args @ { fetchurl, fontforge, lib, ... }: with args; rec {
|
||||
name = "linux-libertine-5.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
@@ -2,14 +2,18 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "MPH-2B-Damase";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.wazu.jp/downloads/damase_v.2.zip;
|
||||
sha256 = "0y7rakbysjjrzcc5y100hkn64j7js434x20pyi6rllnw2w2n1y1h";
|
||||
};
|
||||
|
||||
buildInputs = [unzip];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src;
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
|
||||
@@ -40,19 +40,18 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "OpenType Urdu font from the Center for Research in Urdu Language Processing";
|
||||
|
||||
longDescription = '' The Nafees font family is developed according
|
||||
to calligraphic rules, following the style of Syed Nafees
|
||||
Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
|
||||
Pakistan '';
|
||||
|
||||
longDescription = ''
|
||||
The Nafees font family is developed according
|
||||
to calligraphic rules, following the style of Syed Nafees
|
||||
Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
|
||||
Pakistan
|
||||
'';
|
||||
homepage = "http://www.cle.org.pk/software/localization.htm";
|
||||
|
||||
# Used to be GPLv2. The license distributed with the fonts looks
|
||||
# more like a modified BSD, but still contains the GPLv2 embedded
|
||||
# font exception, and some not-for-resale language.
|
||||
license = "unknown";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = with stdenv.lib.maintainers; [ bergey ];
|
||||
};
|
||||
|
||||
128
pkgs/data/fonts/noto-fonts/default.nix
Normal file
128
pkgs/data/fonts/noto-fonts/default.nix
Normal file
@@ -0,0 +1,128 @@
|
||||
{ stdenv, fetchurl, fetchFromGitHub, optipng, cairo, unzip, fontforge, pythonPackages, pkgconfig }:
|
||||
rec {
|
||||
# 18MB
|
||||
noto-fonts = let version = "git-2015-09-08"; in stdenv.mkDerivation {
|
||||
name = "noto-fonts-${version}";
|
||||
src = fetchFromGitHub {
|
||||
owner = "googlei18n";
|
||||
repo = "noto-fonts";
|
||||
rev = "9d677e7e47a13f6e88052833277783fe4f27671f";
|
||||
sha256 = "1dw1142znlk19a4mzhfi9pg3jzmz8pl1ivix7sd2grg70vxscxqc";
|
||||
};
|
||||
phases = "unpackPhase installPhase";
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/noto
|
||||
cp hinted/*.ttf $out/share/fonts/noto
|
||||
# Also copy unhinted & alpha fonts for better glyph coverage,
|
||||
# if they don't have a hinted version
|
||||
# (see https://groups.google.com/d/msg/noto-font/ZJSkZta4n5Y/tZBnLcPdbS0J)
|
||||
cp -n unhinted/*.ttf $out/share/fonts/noto
|
||||
cp -n alpha/*.ttf $out/share/fonts/noto
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Beautiful and free fonts for many languages";
|
||||
homepage = https://www.google.com/get/noto/;
|
||||
longDescription =
|
||||
''
|
||||
When text is rendered by a computer, sometimes characters are displayed as
|
||||
“tofu”. They are little boxes to indicate your device doesn’t have a font to
|
||||
display the text.
|
||||
|
||||
Google has been developing a font family called Noto, which aims to support all
|
||||
languages with a harmonious look and feel. Noto is Google’s answer to tofu. The
|
||||
name noto is to convey the idea that Google’s goal is to see “no more tofu”.
|
||||
Noto has multiple styles and weights, and freely available to all.
|
||||
|
||||
This package also includes the Arimo, Cousine, and Tinos fonts.
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ mathnerd314 ];
|
||||
};
|
||||
};
|
||||
# 89MB
|
||||
noto-fonts-cjk = let version = "1.004"; in stdenv.mkDerivation {
|
||||
name = "noto-fonts-cjk-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
# Same as https://noto-website.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip but versioned & with no extra SIL license file
|
||||
url = "https://raw.githubusercontent.com/googlei18n/noto-cjk/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJK.ttc.zip";
|
||||
sha256 = "1vg3si6slvk8cklq6s5c76s84kqjc4wvwzr4ysljzjpgzra2rfn6";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/noto
|
||||
cp *.ttc $out/share/fonts/noto
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Beautiful and free fonts for CJK languages";
|
||||
homepage = https://www.google.com/get/noto/help/cjk/;
|
||||
longDescription =
|
||||
''
|
||||
Noto Sans CJK is a sans serif typeface designed as an intermediate style
|
||||
between the modern and traditional. It is intended to be a multi-purpose
|
||||
digital font for user interface designs, digital content, reading on laptops,
|
||||
mobile devices, and electronic books. Noto Sans CJK comprehensively covers
|
||||
Simplified Chinese, Traditional Chinese, Japanese, and Korean in a unified font
|
||||
family. It supports regional variants of ideographic characters for each of the
|
||||
four languages. In addition, it supports Japanese kana, vertical forms, and
|
||||
variant characters (itaiji); it supports Korean hangeul — both contemporary and
|
||||
archaic.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ mathnerd314 ];
|
||||
};
|
||||
};
|
||||
# 12MB
|
||||
noto-fonts-emoji = let version = "git-2015-08-17"; in stdenv.mkDerivation {
|
||||
name = "noto-fonts-emoji-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "googlei18n";
|
||||
repo = "noto-emoji";
|
||||
rev = "ffd7cfd0c84b7bf37210d0908ac94adfe3259ff2";
|
||||
sha256 = "1pa94gw2y0b6p8r81zbjzcjgi5nrx4dqrqr6mk98wj6jbi465sh2";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [
|
||||
optipng cairo fontforge python nototools fonttools pkgconfig
|
||||
];
|
||||
|
||||
#FIXME: perhaps use our pngquant instead
|
||||
preConfigure = ''
|
||||
for f in ./*.py ./third_party/pngquant/configure; do
|
||||
patchShebangs "$f"
|
||||
done
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
export PYTHONPATH=$PYTHONPATH:$PWD
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/noto
|
||||
cp NotoColorEmoji.ttf NotoEmoji-Regular.ttf $out/share/fonts/noto
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Color and Black-and-White emoji fonts";
|
||||
homepage = https://github.com/googlei18n/noto-emoji;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ mathnerd314 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,50 +1,29 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="2.2";
|
||||
baseName="oldstandard";
|
||||
name="${baseName}-${version}";
|
||||
url="http://www.thessalonica.org.ru/downloads/${name}.otf.zip";
|
||||
hash="0xhbksrh9mv1cs6dl2mc8l6sypialy9wirkjr54nf7s9bcynv1h6";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "oldstandard-${version}";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchzip {
|
||||
stripRoot = false;
|
||||
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${name}.otf.zip";
|
||||
sha256 = "1hl78jw5szdjq9dhbcv2ln75wpp2lzcxrnfc36z35v5wk4l7jc3h";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v *.otf $out/share/fonts/opentype/
|
||||
cp -v FONTLOG.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
doUnpack = a.fullDepEntry ''
|
||||
unzip ${src}
|
||||
'' ["addInputs"];
|
||||
|
||||
meta = {
|
||||
description = "An old-style font";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/akryukov/oldstand;
|
||||
description = "An attempt to revive a specific type of Modern style of serif typefaces";
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://www.thessalonica.org.ru/ru/fonts-download.html";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
@@ -19,15 +19,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Open Sans fonts";
|
||||
|
||||
longDescription = ''
|
||||
Open Sans is a humanist sans serif typeface designed by Steve Matteson,
|
||||
Type Director of Ascender Corp.
|
||||
'';
|
||||
|
||||
homepage = "http://en.wikipedia.org/wiki/Open_Sans";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pecita-${version}";
|
||||
version = "1.1";
|
||||
version = "5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pecita.eu/b/Pecita.otf";
|
||||
sha256 = "07krzpbmc5yhfbf3aklv1f150i2g1spaan9girmg3189jsn6qw6p";
|
||||
url = "http://archive.rycee.net/pecita/${name}.tar.xz";
|
||||
sha256 = "0ryfvxdla5iinwwin4dc1k89hk1bjq2mfdrrv67q6fdgz41l0qf0";
|
||||
};
|
||||
|
||||
phases = ["installPhase"];
|
||||
phases = ["unpackPhase" "installPhase"];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp -v ${src} $out/share/fonts/opentype/Pecita.otf
|
||||
cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -30,14 +30,14 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Medium contrast serif font";
|
||||
longDescription = ''
|
||||
With short ascenders and a very high x-height, Poly is efficient in small
|
||||
sizes. Thanks to its careful balance between the x-height and glyph widths,
|
||||
it allows more economy and legibility than standard web serifs, even in
|
||||
small sizes. The aglutinative language for which it was designed contains
|
||||
very long words. The goal was to develop a typeface that would tolerate
|
||||
cramped tracking and that would increase the number of letters on a single
|
||||
line. Poly is a Unicode typeface family that supports Open Type features
|
||||
and languages that use the Latin script and its variants.
|
||||
With short ascenders and a very high x-height, Poly is efficient in small
|
||||
sizes. Thanks to its careful balance between the x-height and glyph widths,
|
||||
it allows more economy and legibility than standard web serifs, even in
|
||||
small sizes. The aglutinative language for which it was designed contains
|
||||
very long words. The goal was to develop a typeface that would tolerate
|
||||
cramped tracking and that would increase the number of letters on a single
|
||||
line. Poly is a Unicode typeface family that supports Open Type features
|
||||
and languages that use the Latin script and its variants.
|
||||
'';
|
||||
homepage = http://www.fontsquirrel.com/fonts/poly;
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "powerline-fonts-2014-12-27";
|
||||
name = "powerline-fonts-2015-06-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "powerline";
|
||||
repo = "fonts";
|
||||
rev = "39c99c02652f25290b64e24a7e9a7cfb8ce89a3e";
|
||||
sha256 = "9c83a30f36dc980582c0a079bd2896f95d19e1cb0ba5afbd8cae936c944256dd";
|
||||
rev = "97dc451724fb24e1dd9892c988642b239b5dc67c";
|
||||
sha256 = "1m0a8k916s74iv2k0kk36dz7d2hfb2zgf8m0b9hg71w4yd3bmj4w";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
@@ -23,11 +23,11 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/powerline/fonts;
|
||||
description = "Patched fonts for Powerline users.";
|
||||
description = "Patched fonts for Powerline users";
|
||||
longDescription = ''
|
||||
Pre-patched and adjusted fonts for usage with the Powerline plugin.
|
||||
'';
|
||||
license = "asl20 free ofl";
|
||||
license = with licenses; [ asl20 free ofl ];
|
||||
platforms = platforms.all;
|
||||
maintainer = with maintainers; [ malyn ];
|
||||
};
|
||||
|
||||
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
|
||||
|
||||
longDescription = ''
|
||||
The Liberation Fonts are intended to be replacements for the three most
|
||||
commonly used fonts on Microsoft systems: Times New Roman, Arial, and
|
||||
@@ -38,9 +37,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# See `License.txt' for details.
|
||||
license = stdenv.lib.licenses.gpl2Oss;
|
||||
|
||||
homepage = https://fedorahosted.org/liberation-fonts/;
|
||||
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.raskin
|
||||
];
|
||||
|
||||
@@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
|
||||
|
||||
longDescription = ''
|
||||
The Liberation Fonts are intended to be replacements for the three most
|
||||
commonly used fonts on Microsoft systems: Times New Roman, Arial, and
|
||||
@@ -40,9 +39,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# See `License.txt' for details.
|
||||
license = stdenv.lib.licenses.gpl2Oss;
|
||||
|
||||
homepage = https://fedorahosted.org/liberation-fonts/;
|
||||
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.raskin
|
||||
];
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "source-code-pro-${version}";
|
||||
version = "1.017";
|
||||
version = "2.010";
|
||||
version_italic = "1.030";
|
||||
|
||||
src = fetchurl {
|
||||
url="https://github.com/adobe-fonts/source-code-pro/archive/${version}R.tar.gz";
|
||||
sha256="03q4a0f142c6zlngv6kjaik52y0yzwq5z5qj3j0fvvcbfy9sanjr";
|
||||
url="https://github.com/adobe-fonts/source-code-pro/archive/${version}R-ro/${version_italic}R-it.tar.gz";
|
||||
sha256="12wijgxrdzqxpw2q420nsq9aj454vhg3rq6n81jbqvgzxhxjpf7w";
|
||||
};
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
|
||||
@@ -1,23 +1,29 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
makePackage = {language, region, description}: stdenv.mkDerivation rec {
|
||||
version = "1.001R";
|
||||
name = "source-han-sans-${language}-${version}";
|
||||
makePackage = {variant, language, region, sha256}: stdenv.mkDerivation rec {
|
||||
version = "1.004R";
|
||||
name = "source-han-sans-${variant}-${version}";
|
||||
revision = "5f5311e71cb628321cc0cffb51fb38d862b726aa";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/adobe-fonts/source-han-sans/archive/${version}.tar.gz";
|
||||
sha256 = "0cwz3d8jancl0a7vbjxhnh1vgwsjba62lahfjya9yrjkp1ndxlap";
|
||||
url = "https://github.com/adobe-fonts/source-han-sans/raw/${revision}/SubsetOTF/SourceHanSans${region}.zip";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$( echo SourceHanSans* )
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp $( find SubsetOTF/${region} -name '*.otf' ) $out/share/fonts/opentype
|
||||
cp $( find . -name '*.otf' ) $out/share/fonts/opentype
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit description;
|
||||
|
||||
description = "${language} subset of an open source Pan-CJK typeface";
|
||||
homepage = https://github.com/adobe-fonts/source-han-sans;
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
@@ -25,23 +31,27 @@ let
|
||||
in
|
||||
{
|
||||
japanese = makePackage {
|
||||
language = "japanese";
|
||||
variant = "japanese";
|
||||
language = "Japanese";
|
||||
region = "JP";
|
||||
description = "Japanese subset of an open source Pan-CJK typeface";
|
||||
sha256 = "0m1zprwqnqp3za42firg53hyzir6p0q73fl8mh5j4px3zgivlvfw";
|
||||
};
|
||||
korean = makePackage {
|
||||
language = "korean";
|
||||
variant = "korean";
|
||||
language = "Korean";
|
||||
region = "KR";
|
||||
description = "Korean subset of an open source Pan-CJK typeface";
|
||||
sha256 = "1bz6n2sd842vgnqky0i7a3j3i2ixhzzkkbx1m8plk04r1z41bz9q";
|
||||
};
|
||||
simplified-chinese = makePackage {
|
||||
language = "simplified-chinese";
|
||||
variant = "simplified-chinese";
|
||||
language = "Simplified Chinese";
|
||||
region = "CN";
|
||||
description = "Simplified Chinese subset of an open source Pan-CJK typeface";
|
||||
sha256 = "0ksafcwmnpj3yxkgn8qkqkpw10ivl0nj9n2lsi9c6fw3aa71s3ha";
|
||||
};
|
||||
traditional-chinese = makePackage {
|
||||
language = "traditional-chinese";
|
||||
variant = "traditional-chinese";
|
||||
language = "Traditional Chinese";
|
||||
region = "TW";
|
||||
description = "Traditional Chinese subset of an open source Pan-CJK typeface";
|
||||
sha256 = "1l4zymd5n4nl9gmja707xq6bar88dxki2mwdixdfrkf544cidflj";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "symbola-7.21";
|
||||
name = "symbola-8.00";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://users.teilar.gr/~g1951d/Symbola.zip";
|
||||
sha256 = "0sqmvq8c8wn4xq0p25gd2jfyjqi8jhiycqah19wzq1gqkaaw94nq";
|
||||
sha256 = "07bczpl3vqdpg2gakfddhzzgpb6v2wpasv7rwqxkyg9yd9lmbr0s";
|
||||
};
|
||||
docs_pdf = fetchurl {
|
||||
url = "http://users.teilar.gr/~g1951d/Symbola.pdf";
|
||||
sha256 = "0jjjydb6c0glfb6krvdyi9kh5bsx9gz5w66j378bdqgkrvspl0d2";
|
||||
sha256 = "1zmq1ijl0k5hrc6vpa2xp9n1x2zrrd7ng3jwc9yf0qsi3pmkpk0p";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Basic Latin, Greek, Cyrillic and many Symbol blocks of Unicode";
|
||||
# In lieu of a licence:
|
||||
# In lieu of a license:
|
||||
# Fonts in this site are offered free for any use;
|
||||
# they may be installed, embedded, opened, edited, modified, regenerated, posted, packaged and redistributed.
|
||||
license = stdenv.lib.licenses.free;
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
make install fontdir
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A clean fixed width font";
|
||||
longDescription = ''
|
||||
Terminus Font is designed for long (8 and more hours per day) work
|
||||
@@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
|
||||
EGA/VGA-bold for 8x14 and 8x16.
|
||||
'';
|
||||
homepage = http://www.is-vn.bg/hamster/;
|
||||
license = [ "GPLv2+" ];
|
||||
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ astsmtl ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
47
pkgs/data/fonts/tewi/default.nix
Normal file
47
pkgs/data/fonts/tewi/default.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{stdenv, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
date = "2015-06-07";
|
||||
name = "tewi-font-${date}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/lucy/tewi-font";
|
||||
rev = "ff930e66ae471da4fdc226ffe65fd1ccd13d4a69";
|
||||
sha256 = "d641b911cc2132a00c311e3d978c1ca454b0fb3bc3ff4b4742b9f765b765a94b";
|
||||
};
|
||||
|
||||
buildInputs = [ bdftopcf mkfontdir mkfontscale ];
|
||||
buildPhase = ''
|
||||
for i in *.bdf; do
|
||||
bdftopcf -o ''${i/bdf/pcf} $i
|
||||
done
|
||||
|
||||
gzip *.pcf
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
fontDir="$out/share/fonts/misc"
|
||||
mkdir -p "$fontDir"
|
||||
mv *.pcf.gz "$fontDir"
|
||||
|
||||
cd "$fontDir"
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A nice bitmap font, readable even at small sizes";
|
||||
longDescription = ''
|
||||
Tewi is a bitmap font, readable even at very small font sizes. This is
|
||||
particularily useful while programming, to fit a lot of code on your
|
||||
screen.
|
||||
'';
|
||||
homepage = "https://github.com/lucy/tewi-font";
|
||||
license = {
|
||||
fullName = "GNU General Public License with a font exception";
|
||||
url = "https://www.gnu.org/licenses/gpl-faq.html#FontException";
|
||||
};
|
||||
maintainers = [ maintainers.fro_ozen ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,50 +1,29 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="2.0";
|
||||
baseName="theano";
|
||||
name="${baseName}-${version}";
|
||||
url="http://www.thessalonica.org.ru/downloads/${name}.otf.zip";
|
||||
hash="1xiykqbbiawvfk33639awmgdn25b8s2k7vpwncl17bzlk887b4z6";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "theano-${version}";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchzip {
|
||||
stripRoot = false;
|
||||
url = "https://github.com/akryukov/theano/releases/download/v${version}/theano-${version}.otf.zip";
|
||||
sha256 = "1z3c63rcp4vfjyfv8xwc3br10ydwjyac3ipbl09y01s7qhfz02gp";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
find . -name "*.otf" -exec cp -v {} $out/share/fonts/opentype \;
|
||||
find . -name "*.txt" -exec cp -v {} $out/share/doc/${name} \;
|
||||
'';
|
||||
|
||||
doUnpack = a.fullDepEntry ''
|
||||
unzip ${src}
|
||||
'' ["addInputs"];
|
||||
|
||||
meta = {
|
||||
description = "An old-style font";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/akryukov/theano;
|
||||
description = "An old-style font designed from historic samples";
|
||||
maintainers = with maintainers; [ raskin rycee ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://www.thessalonica.org.ru/ru/fonts-download.html";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
||||
@@ -2,11 +2,14 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ttf-bitstream-vera-1.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
|
||||
sha256 = "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = "
|
||||
fontDir=$out/share/fonts/truetype
|
||||
mkdir -p $fontDir
|
||||
|
||||
28
pkgs/data/fonts/uni-vga/default.nix
Normal file
28
pkgs/data/fonts/uni-vga/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, mkfontdir, mkfontscale }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "uni-vga";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.inp.nsk.su/~bolkhov/files/fonts/univga/uni-vga.tgz;
|
||||
sha256 = "05sns8h5yspa7xkl81ri7y1yxf5icgsnl497f3xnaryhx11s2rv6";
|
||||
};
|
||||
|
||||
buildInputs = [ mkfontdir mkfontscale ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts
|
||||
cp *.bdf $out/share/fonts
|
||||
cd $out/share/fonts
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Unicode VGA font";
|
||||
maintainers = [stdenv.lib.maintainers.ftrvxmtrx];
|
||||
homepage = http://www.inp.nsk.su/~bolkhov/files/fonts/univga/;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "unifont-${version}";
|
||||
version = "7.0.06";
|
||||
version = "8.0.01";
|
||||
|
||||
ttf = fetchurl {
|
||||
url = "http://unifoundry.com/pub/${name}/font-builds/${name}.ttf";
|
||||
sha256 = "0qmk06rwhxs43n1xbwj14fanbih60zqli002qhy0609da24r3957";
|
||||
url = "http://fossies.org/linux/unifont/font/precompiled/${name}.ttf";
|
||||
sha256 = "0g4g2n024072cdrs2wjp7xmkr3i9dm52a5g9hiafxjgj5a45c8kl";
|
||||
};
|
||||
|
||||
pcf = fetchurl {
|
||||
url = "http://unifoundry.com/pub/${name}/font-builds/${name}.pcf.gz";
|
||||
sha256 = "1wplig57wpc79mlqamhknn39cibg5z8dvbyibp1490ljcjs1dxdc";
|
||||
url = "http://fossies.org/linux/unifont/font/precompiled/${name}.pcf.gz";
|
||||
sha256 = "0mpdy2k7z9s60x8i6sbv64p9wrihfwgrw81x5yj13rl6x7zzghr8";
|
||||
};
|
||||
|
||||
buildInputs = [ mkfontscale mkfontdir ];
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ stdenv, fetchFromGitHub, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "d7e8c4cdcf";
|
||||
version = "4727aa5";
|
||||
|
||||
package-name = "numix-icon-theme-circle";
|
||||
|
||||
name = "${package-name}-20150304";
|
||||
name = "${package-name}-20151005";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/numixproject/${package-name}/archive/${version}.zip";
|
||||
sha256 = "672d6f4d000c4c75a64e0297f9609afab1035d082d7ab4f7abe3e2173cba9324";
|
||||
src = fetchFromGitHub {
|
||||
owner = "numixproject";
|
||||
repo = package-name;
|
||||
rev = version;
|
||||
sha256 = "0khps3il0wyjizzzv8rxznhywp3nqd1hj1zhdvyqzgql3gffylqc";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
@@ -21,10 +23,11 @@ stdenv.mkDerivation rec {
|
||||
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Numix icon theme (circle version)";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ jgeerds ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2c11fbfcee";
|
||||
version = "ae57260";
|
||||
|
||||
package-name = "numix-icon-theme";
|
||||
|
||||
name = "${package-name}-20150302";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/numixproject/${package-name}/archive/${version}.zip";
|
||||
sha256 = "61dc170b8a70b20a9075f06e1668d6bd8907a6db0ef9e3568c473296d0f351e1";
|
||||
name = "${package-name}-20150910";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "numixproject";
|
||||
repo = package-name;
|
||||
rev = version;
|
||||
sha256 = "147a8d9wkhrq4f4154gb0l16rj849lsccxl8npicr6zixvsjgqlq";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
@@ -20,11 +20,12 @@ stdenv.mkDerivation rec {
|
||||
install -dm 755 $out/share/icons
|
||||
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Numix icon theme";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ romildo jgeerds ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg }:
|
||||
{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg
|
||||
, gtk/*any version*/
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tango-icon-theme-0.8.90";
|
||||
@@ -14,6 +16,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = "--enable-png-creation";
|
||||
|
||||
postInstall = '''${gtk}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
|
||||
|
||||
meta = {
|
||||
description = "A basic set of icons";
|
||||
homepage = http://tango.freedesktop.org/Tango_Icon_Library;
|
||||
|
||||
@@ -1,23 +1,29 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, nss, curl, perl, perlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cacert-20140715";
|
||||
name = "nss-cacert-${nss.version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tarballs.nixos.org/${name}.pem.bz2";
|
||||
sha256 = "1l4j7z6ysnllx99isjzlc8zc34rbbgj4kzlg1y5sy9bgphc8cssl";
|
||||
};
|
||||
src = nss.src;
|
||||
|
||||
unpackPhase = "true";
|
||||
postPatch = ''
|
||||
unpackFile ${curl.src};
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/etc
|
||||
bunzip2 < $src > $out/etc/ca-bundle.crt
|
||||
'';
|
||||
nativeBuildInputs = [ perl perlPackages.LWP ];
|
||||
|
||||
meta = {
|
||||
buildPhase = ''
|
||||
perl curl-*/lib/mk-ca-bundle.pl -d "file://$(pwd)/nss/lib/ckfw/builtins/certdata.txt" ca-bundle.crt
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out/etc/ssl/certs
|
||||
cp -v ca-bundle.crt $out/etc/ssl/certs
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://curl.haxx.se/docs/caextract.html;
|
||||
description = "A bundle of X.509 certificates of public Certificate Authorities (CA)";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,4 +16,5 @@ for var in "${!src@}"; do
|
||||
cp "$src" "$dest"
|
||||
done
|
||||
|
||||
gunzip -v *.gz
|
||||
gzip -dv *.gz
|
||||
xz -dv *.xz
|
||||
|
||||
@@ -1,36 +1,43 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
fetchDB = name: sha256: fetchurl {
|
||||
inherit sha256;
|
||||
url = "https://geolite.maxmind.com/download/geoip/database/${name}.dat.gz";
|
||||
fetchDB = src: name: sha256: fetchurl {
|
||||
inherit name sha256;
|
||||
url = "https://geolite.maxmind.com/download/geoip/database/${src}";
|
||||
};
|
||||
|
||||
# Annoyingly, these files are updated without a change in URL. This means that
|
||||
# builds will start failing every month or so, until the hashes are updated.
|
||||
version = "2015-04-21";
|
||||
version = "2015-09-29";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "geolite-legacy-${version}";
|
||||
|
||||
srcGeoIP = fetchDB "GeoLiteCountry/GeoIP"
|
||||
"15c7j6yyjl0k42ij7smdz2j451y3hhfbmxwkx8kp5ja0afrlw41k";
|
||||
srcGeoIPv6 = fetchDB "GeoIPv6"
|
||||
"0kz6yjprzqr2pi4rczbmw7489gdjzf957azahdqjai8fx0s5w93i";
|
||||
srcGeoLiteCity = fetchDB "GeoLiteCity"
|
||||
"0lc696axcdgz7xrh9p6ac5aa7nlxfgngwyabjwqiwazz3wcmw05a";
|
||||
srcGeoLiteCityv6 = fetchDB "GeoLiteCityv6-beta/GeoLiteCityv6"
|
||||
"1k8sig8w43cdm19rpwndr1akj1d3mxl5sch60qbinjrb05l6xbgv";
|
||||
srcGeoIPASNum = fetchDB "asnum/GeoIPASNum"
|
||||
"0r4v2zs4alxb46kz679hw4w34s7n9pxw32wcfs5x4nhnq051y6ms";
|
||||
srcGeoIPASNumv6 = fetchDB "asnum/GeoIPASNumv6"
|
||||
"04ciwh5gaxja4lzlsgbg1p7rkrhnn637m4nj9ld8sb36bl2ph6gc";
|
||||
srcGeoIP = fetchDB
|
||||
"GeoLiteCountry/GeoIP.dat.gz" "GeoIP.dat.gz"
|
||||
"11xv6ws0gzyj9bf1j1g67cklkkl6s4wb6z6n7kxjcxnn2274nfy0";
|
||||
srcGeoIPv6 = fetchDB
|
||||
"GeoIPv6.dat.gz" "GeoIPv6.dat.gz"
|
||||
"1q5vgk522wq5ybhbw86zk8njgg611kc46a22vkrp08vklbni3akz";
|
||||
srcGeoLiteCity = fetchDB
|
||||
"GeoLiteCity.dat.xz" "GeoIPCity.dat.xz"
|
||||
"07hx9g6kif75icsblcdk64rq13w2knpns4lrxdbf63mmqbqxj29g";
|
||||
srcGeoLiteCityv6 = fetchDB
|
||||
"GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz" "GeoIPCityv6.dat.gz"
|
||||
"0f3y1cpjfd4q55a2kvhzsklmmp6k19v9vsdsjxr4sapc8f5fgfc9";
|
||||
srcGeoIPASNum = fetchDB
|
||||
"asnum/GeoIPASNum.dat.gz" "GeoIPASNum.dat.gz"
|
||||
"1b8rk3crnm94ndlkw99h7iyn9daznf7sirck1zs80ppg7c69gknp";
|
||||
srcGeoIPASNumv6 = fetchDB
|
||||
"asnum/GeoIPASNumv6.dat.gz" "GeoIPASNumv6.dat.gz"
|
||||
"06hwj3ksfz4ikh84cqcdl1xi4rkrc9cz26h31vg9w5awx5kbbc10";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "GeoLite Legacy IP geolocation databases";
|
||||
homepage = https://geolite.maxmind.com/download/geoip;
|
||||
license = with licenses; cc-by-sa-30;
|
||||
platforms = with platforms; linux;
|
||||
license = licenses.cc-by-sa-30;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ nckx ];
|
||||
};
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ in
|
||||
meta = with stdenv.lib; {
|
||||
description = "A repository of data files describing media player capabilities";
|
||||
homepage = "http://www.freedesktop.org/wiki/Software/media-player-info/";
|
||||
license = with licenses; [ bsd3 ];
|
||||
license = licenses.bsd3;
|
||||
maintainer = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
||||
|
||||
23
pkgs/data/misc/nixos-artwork/default.nix
Normal file
23
pkgs/data/misc/nixos-artwork/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "nixos-artwork-2015-02-27";
|
||||
# Remember to check the default lightdm wallpaper when updating
|
||||
|
||||
GnomeDark = fetchurl {
|
||||
url = https://raw.githubusercontent.com/NixOS/nixos-artwork/7ece5356398db14b5513392be4b31f8aedbb85a2/gnome/Gnome_Dark.png;
|
||||
sha256 = "0c7sl9k4zdjwvdz3nhlm8i4qv4cjr0qagalaa1a438jigixx27l7";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/artwork/gnome
|
||||
ln -s $GnomeDark $out/share/artwork/gnome/Gnome_Dark.png
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/NixOS/nixos-artwork;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,20 +1,23 @@
|
||||
{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
|
||||
, libxml2, glib}:
|
||||
|
||||
let version = "1.5"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "shared-mime-info-1.3";
|
||||
name = "shared-mime-info-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://freedesktop.org/~hadess/${name}.tar.xz";
|
||||
sha256 = "0fijrc8j2kw6bvdx7fmlfafbcwxvinhr8l44b46b3v59gj69rm2g";
|
||||
sha256 = "1021x95xbkfc5ipx3gi2rdc0y6x2pv36yyzxc5pg6nr6xd02hhfn";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
pkgconfig gettext intltool perl perlXMLParser libxml2 glib
|
||||
];
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
description = "A database of common MIME types";
|
||||
homepage = http://freedesktop.org/wiki/Software/shared-mime-info;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
22
pkgs/data/misc/sound-theme-freedesktop/default.nix
Normal file
22
pkgs/data/misc/sound-theme-freedesktop/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, intltool }:
|
||||
|
||||
let version = "0.8"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sound-theme-freedesktop-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "054abv4gmfk9maw93fis0bf605rc56dah7ys5plc4pphxqh8nlfb";
|
||||
url = "https://people.freedesktop.org/~mccann/dist/${name}.tar.bz2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ intltool ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Freedesktop reference sound theme";
|
||||
homepage = http://freedesktop.org/wiki/Specifications/sound-theme-spec;
|
||||
# See http://cgit.freedesktop.org/sound-theme-freedesktop/tree/CREDITS:
|
||||
license = with licenses; [ cc-by-30 cc-by-sa-25 gpl2 gpl2Plus ];
|
||||
maintainers = with maintainers; [ nckx ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "2015c";
|
||||
let version = "2015g";
|
||||
|
||||
self = stdenv.mkDerivation rec {
|
||||
name = "tzdata-${version}";
|
||||
@@ -8,11 +8,11 @@ self = stdenv.mkDerivation rec {
|
||||
srcs =
|
||||
[ (fetchurl {
|
||||
url = "http://www.iana.org/time-zones/repository/releases/tzdata${version}.tar.gz";
|
||||
sha256 = "0nin48g5dmkfgckp25bngxchn3sw3yyjss5sq7gs5xspbxgsq3w6";
|
||||
sha256 = "0qb1awqrn3215zd2jikpqnmkzrxwfjf0d3dw2xmnk4c40yzws8xr";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "http://www.iana.org/time-zones/repository/releases/tzcode${version}.tar.gz";
|
||||
sha256 = "0bplibiy70dvlrhwqzkzxgmg81j6d2kklvjgi2f1g2zz1nkb3vkz";
|
||||
sha256 = "1i3y1kzjiz2j62c7vd4wf85983sqk9x9lg3473njvbdz4kph5r0q";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
13
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/4.4.nix
Normal file
13
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/4.4.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
import ./generic.nix {
|
||||
inherit stdenv fetchurl unzip;
|
||||
name = "docbook-xml-4.4";
|
||||
src = fetchurl {
|
||||
url = http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip;
|
||||
sha256 = "141h4zsyc71sfi2zzd89v4bb4qqq9ca1ri9ix2als9f4i3mmkw82";
|
||||
};
|
||||
meta = {
|
||||
branch = "4.4";
|
||||
};
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "docbook-xsl-ns-1.78.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
|
||||
sha256 = "1x3sc0axk9z3i6n0jhlsmzlmb723a4sjgslm9g12by6phirdx3ng";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
dst=$out/share/xml/docbook-xsl-ns
|
||||
mkdir -p $dst
|
||||
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh svn* tools log Makefile tests extensions webhelp
|
||||
mv * $dst/
|
||||
|
||||
# Backwards compatibility. Will remove eventually.
|
||||
mkdir -p $out/xml/xsl
|
||||
ln -s $dst $out/xml/xsl/docbook
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://wiki.docbook.org/topic/DocBookXslStylesheets;
|
||||
description = "XSL stylesheets for transforming DocBook documents into HTML and various other formats";
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unpackFile $src
|
||||
mkdir xml
|
||||
mkdir xml/xsl
|
||||
mv docbook-xsl-* xml/xsl/docbook
|
||||
@@ -1,10 +1,47 @@
|
||||
{stdenv, fetchurl}:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "docbook-xsl-1.78.1";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/docbook/docbook-xsl-1.78.1.tar.bz2;
|
||||
let
|
||||
|
||||
common = { pname, sha256 }: stdenv.mkDerivation rec {
|
||||
name = "${pname}-1.78.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
dst=$out/share/xml/${pname}
|
||||
mkdir -p $dst
|
||||
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh svn* tools log Makefile tests extensions webhelp
|
||||
mv * $dst/
|
||||
|
||||
# Backwards compatibility. Will remove eventually.
|
||||
mkdir -p $out/xml/xsl
|
||||
ln -s $dst $out/xml/xsl/docbook
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://wiki.docbook.org/topic/DocBookXslStylesheets;
|
||||
description = "XSL stylesheets for transforming DocBook documents into HTML and various other formats";
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
docbook_xsl = common {
|
||||
pname = "docbook-xsl";
|
||||
sha256 = "0rxl013ncmz1n6ymk2idvx3hix9pdabk8xn01cpcv32wmfb753y9";
|
||||
};
|
||||
|
||||
docbook_xsl_ns = common {
|
||||
pname = "docbook-xsl-ns";
|
||||
sha256 = "1x3sc0axk9z3i6n0jhlsmzlmb723a4sjgslm9g12by6phirdx3ng";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user