Merge remote-tracking branch 'upstream/master' into staging

Conflicts:
	pkgs/build-support/fetchbower/default.nix
	pkgs/build-support/fetchdarcs/default.nix
	pkgs/build-support/fetchgx/default.nix
	pkgs/development/python-modules/botocore/default.nix
	pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
	pkgs/tools/admin/awscli/default.nix
This commit is contained in:
Tuomas Tynkkynen
2018-01-14 21:18:27 +02:00
410 changed files with 50480 additions and 46866 deletions

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "1xn14jbv3m1khy7ydvad9ydkn7yygdbhjy9wm1v000jzjwr3lv21";
};
buildInputs = [ mkfontdir mkfontscale ];
nativeBuildInputs = [ mkfontdir mkfontscale ];
installPhase =
''

View File

@@ -32,7 +32,7 @@ stdenv.mkDerivation {
inherit sha256;
}) fonts;
buildInputs = [cabextract];
nativeBuildInputs = [cabextract];
buildCommand = ''
for i in $exes; do

View File

@@ -25,7 +25,7 @@ let
full-ttf = stdenv.mkDerivation {
name = "dejavu-fonts-full-${version}";
buildInputs = [fontforge perl FontTTF];
nativeBuildInputs = [fontforge perl FontTTF];
src = fetchFromGitHub {
owner = "dejavu-fonts";

View File

@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1kq86lbxxgik82aywwhawmj80vsbz3hfhdyhicnlv9km7yjvnl8z";
};
buildInputs = [ unzip bdftopcf mkfontdir mkfontscale ];
nativeBuildInputs = [ unzip bdftopcf mkfontdir mkfontscale ];
dontBuild = true;
patchPhase = "sed -i 's/microsoft-cp1252/ISO8859-1/' *.bdf";

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "bda67b6bc6d5d871a4d46565d4126729dfb8a0de9611dae6c68132a7b7db1270";
};
buildInputs = [ mkfontdir mkfontscale ];
nativeBuildInputs = [ mkfontdir mkfontscale ];
unpackPhase = ''
tar -xzf $src --strip-components=1

View File

@@ -1,11 +1,15 @@
{stdenv, fetchzip}:
{ stdenv, fetchzip }:
let
version = "1.7.1";
in fetchzip rec {
version = "1.7.2";
in
fetchzip rec {
name = "fantasque-sans-mono-${version}";
url = "https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono.zip";
url = "https://github.com/belluzj/fantasque-sans/releases/download/v${version}/FantasqueSansMono-Normal.zip";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
@@ -13,13 +17,13 @@ in fetchzip rec {
unzip -j $downloadedFile README.md -d $out/share/doc/${name}
'';
sha256 = "1sjdpnxyjdbqxzrylzkynxh1bmicc71h3pmwmr3a3cq0h53g28z0";
sha256 = "1fwvbqfrgb539xybwdawvwa8cg4f215kw905rgl9a6p0iwa1nxqk";
meta = with stdenv.lib; {
homepage = https://github.com/belluzj/fantasque-sans;
description = "A font family with a great monospaced variant for programmers";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [maintainers.rycee];
maintainers = [ maintainers.rycee ];
};
}

View File

@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "0rqqavhqbs7pajcblg92mjlz2dxk8b60vgdh271axz7kjs2wf9mr";
};
buildInputs = [ mkfontdir mkfontscale bdf2psf ];
nativeBuildInputs = [ mkfontdir mkfontscale bdf2psf ];
unpackPhase = ''
mkdir pcf bdf

View File

@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0dqjj3mlc28s8ljnph6l086b4j9r5dly4fldq59crycwys72zzai";
};
buildInputs = [ fontforge ];
nativeBuildInputs = [ fontforge ];
installPhase = ''
mkdir -p $out/share/fonts/truetype

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation {
sha256 = "91ce6c993a3a0f77ed85db76f62ce18632b4c0cbd8f864676359a17ae5e6fa3c";
};
buildInputs = [ dpkg ];
nativeBuildInputs = [ dpkg ];
unpackCmd = ''
dpkg-deb --fsys-tarfile $src | tar xf - ./usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
srcs = fonts;
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
sha256="0lnbkrvcpgz9chnvix79j6fiz36wj6n46brb7b1746182rl1l875";
};
buildInputs = [ unzip ];
nativeBuildInputs = [ unzip ];
sourceRoot = ".";

View File

@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
})
];
buildInputs = [unzip];
nativeBuildInputs = [unzip];
sourceRoot = ".";

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "1chzcy3kyi7wpr4iq4aj1v24fq1wwph1v5z96dimlqcrnvm66h2l";
};
buildInputs = [unzip];
nativeBuildInputs = [unzip];
sourceRoot = ".";

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "1plcm1sjpa3hdqhhin48fq6zmz3ndm4md72916hd8ff0w6596q0n";
};
buildInputs = [ mkfontdir mkfontscale ];
nativeBuildInputs = [ mkfontdir mkfontscale ];
installPhase =
''

View File

@@ -4,14 +4,14 @@ let
inherit (python2.pkgs) fonttools;
common =
{version, url, sha256, buildInputs, postPatch ? null, outputHash}:
{version, url, sha256, nativeBuildInputs, postPatch ? null, outputHash}:
stdenv.mkDerivation rec {
name = "liberation-fonts-${version}";
src = fetchurl {
inherit url sha256;
};
inherit buildInputs postPatch;
inherit nativeBuildInputs postPatch;
installPhase = ''
mkdir -p $out/share/fonts/truetype
@@ -53,21 +53,21 @@ in {
version = "1.07.4";
url = "https://releases.pagure.org/liberation-fonts/liberation-fonts-${version}.tar.gz";
sha256 = "01jlg88q2s6by7qv6fmnrlx0lwjarrjrpxv811zjz6f2im4vg65d";
buildInputs = [ fontforge ];
nativeBuildInputs = [ fontforge ];
outputHash = "1q102rmg4004p74f8m4y8a6iklmnva0q39sq260jsq3lhcfypg7p";
};
liberation_ttf_v1_binary = common rec {
version = "1.07.4";
url = "https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${version}.tar.gz";
sha256 = "0p7frz29pmjlk2d0j2zs5kfspygwdnpzxkb2hwzcfhrafjvf59v1";
buildInputs = [ ];
nativeBuildInputs = [ ];
outputHash = "12gwb9b4ij9d93ky4c9ykgp03fqr62axy37pds88q7y6zgciwkab";
};
liberation_ttf_v2_from_source = common rec {
version = "2.00.1";
url = "https://releases.pagure.org/liberation-fonts/liberation-fonts-${version}.tar.gz";
sha256 = "1ymryvd2nw4jmw4w5y1i3ll2dn48rpkqzlsgv7994lk6qc9cdjvs";
buildInputs = [ fontforge fonttools ];
nativeBuildInputs = [ fontforge fonttools ];
postPatch = ''
substituteInPlace scripts/setisFixedPitch-fonttools.py --replace \
'font = ttLib.TTFont(fontfile)' \
@@ -79,7 +79,7 @@ in {
version = "2.00.1";
url = "https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${version}.tar.gz";
sha256 = "010m4zfqan4w04b6bs9pm3gapn9hsb18bmwwgp2p6y6idj52g43q";
buildInputs = [ ];
nativeBuildInputs = [ ];
outputHash = "19jky9li345zsig9pcb0rnlsjqqclh7r60vbi4pwh16f14850gpk";
};
}

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchzip }:
let
version = "2.136";
version = "2.138";
in fetchzip rec {
name = "roboto-${version}";
@@ -9,10 +9,10 @@ in fetchzip rec {
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.ttf -x __MACOSX/\* -d $out/share/fonts/truetype
'';
sha256 = "02fanxx2hg0kvxl693rc0fkbrbr2i8b14qmpparkrwmv0j35wnd7";
sha256 = "1s3c48wwvvwd3p4w3hfkri5v2c54j2bdxmd3bjv54klc5mrlh6z3";
meta = {
homepage = https://github.com/google/roboto;

View File

@@ -18,12 +18,12 @@ let
sha256 = "0iwa8wyydcpjss6d1jy4jibqxpvzph4vmaxwwmndpsqy1fz64y9i";
})
];
buildInputs = [
nativeBuildInputs = [
];
in
stdenv.mkDerivation {
name = "tempora-lgc";
inherit buildInputs;
inherit nativeBuildInputs;
inherit srcs;
phases = "installPhase";
installPhase = ''

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0c7k847cp68w20frzsdknpss2cwv3lp970asyybv65jxyl2jz3iq";
};
buildInputs = [ bdftopcf mkfontdir mkfontscale ];
nativeBuildInputs = [ bdftopcf mkfontdir mkfontscale ];
buildPhase = ''
for i in *.bdf; do
bdftopcf -o ''${i/bdf/pcf} $i

View File

@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
buildInputs = [ mkfontdir mkfontscale ];
nativeBuildInputs = [ mkfontdir mkfontscale ];
phases = [ "unpackPhase" "installPhase" ];

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "05sns8h5yspa7xkl81ri7y1yxf5icgsnl497f3xnaryhx11s2rv6";
};
buildInputs = [ mkfontdir mkfontscale ];
nativeBuildInputs = [ mkfontdir mkfontscale ];
installPhase = ''
mkdir -p $out/share/fonts

View File

@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "0ypkmwyfrsnag69h1c0mx89ranz4f6jc9y1sqkpq2rbzg64maik0";
};
buildInputs = [ mkfontscale mkfontdir ];
nativeBuildInputs = [ mkfontscale mkfontdir ];
phases = "installPhase";

View File

@@ -8,7 +8,6 @@ stdenv.mkDerivation rec {
url = "http://pelulamu.net/${pname}/${name}-src.tar.gz";
sha256 = "0qcxcnqz2nlwfzlrn115kkp3n8dd7593h762vxs6vfqm13i39lq1";
};
buildInputs = [];
nativeBuildInputs = [perl bdftopcf perlPackages.TextCharWidth fontforge
SDL SDL_image];
preConfigure = ''

View File

@@ -3,21 +3,17 @@
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "paper-icon-theme";
version = "2017-02-13";
version = "2017-11-20";
src = fetchFromGitHub {
owner = "snwh";
repo = package-name;
rev = "fcaf8bb2aacdd1bb7dcde3d45ef92d0751567e8e";
sha256 = "1l1w99411jrv4l7jr5dvwszghrncsir23c7lpc26gh2f0ydf3d0d";
rev = "af0296ecc872ad723fad7dca6e7e89eb85cbb3a8";
sha256 = "18a9zl9lbw9gc3zas49w329xrps4slvkp4nv815nlnmimz8dj85m";
};
nativeBuildInputs = [ autoreconfHook ];
postPatch = ''
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
'';
meta = with stdenv.lib; {
description = "Modern icon theme designed around bold colours and simple geometric shapes";
homepage = https://snwh.org/paper;