Merge commit '3b29468313bc8604fe8f85c8d9316fd276d3985c' into HEAD

This commit is contained in:
Frederik Rietdijk
2017-08-21 04:44:40 +02:00
117 changed files with 614 additions and 652 deletions

View File

@@ -24,6 +24,9 @@ stdenv.mkDerivation {
sed -i 's,linux/../,,g' dao/sg_err.h
'';
# Needed on gcc >= 6.
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
meta = {
description = "A tool for recording audio or data CD-Rs in disk-at-once (DAO) mode";
homepage = http://cdrdao.sourceforge.net/;

View File

@@ -1,10 +1,10 @@
{stdenv, fetchurl, lzo}:
stdenv.mkDerivation {
name = "lzop-1.03";
stdenv.mkDerivation rec {
name = "lzop-1.04";
src = fetchurl {
url = http://www.lzop.org/download/lzop-1.03.tar.gz;
sha256 = "1jdjvc4yjndf7ihmlcsyln2rbnbaxa86q4jskmkmm7ylfy65nhn1";
url = "http://www.lzop.org/download/${name}.tar.gz";
sha256 = "0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky";
};
buildInputs = [ lzo ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libuuid, gettext }:
{ stdenv, fetchurl, pkgconfig, libuuid, gettext, texinfo }:
stdenv.mkDerivation rec {
name = "e2fsprogs-1.43.4";
@@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "a648a90a513f1b25113c7f981af978b8a19f832b3a32bd10707af3ff682ba66d";
};
outputs = [ "bin" "dev" "out" "man" ];
outputs = [ "bin" "dev" "out" "man" "info" ];
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig texinfo ];
buildInputs = [ libuuid ] ++ stdenv.lib.optional (!stdenv.isLinux) gettext;
crossAttrs = {

View File

@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1fyc2c7jzr7k797c2dqyyvapzc3szxwcp48r382yxz2yq558xgd9";
};
outputs = [ "out" "dev" "doc"];
outputs = [ "out" "dev" "man"];
cmakeFlags = ''
-DWITH_MATLAB=false

View File

@@ -1,14 +1,14 @@
{ stdenv, fetchzip, fetchgit, bash-completion
{ stdenv, fetchurl, bash-completion
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms
, gtk_doc, gobjectIntrospection, argyllcms
, libgudev, sane-backends }:
stdenv.mkDerivation rec {
name = "colord-1.2.12";
src = fetchzip {
src = fetchurl {
url = "http://www.freedesktop.org/software/colord/releases/${name}.tar.xz";
sha256 = "0rvvbpxd5x479v4p6pck317mlf3j29s154i1n8hlx8n4znhwrb0k";
sha256 = "0flcsr148xshjbff030pgyk9ar25an901m9q1pjgjdvaq5j1h96m";
};
enableParallelBuilding = true;
@@ -23,12 +23,11 @@ stdenv.mkDerivation rec {
# don't touch /var at install time, colord creates what it needs at runtime
postPatch = ''
sed -i -e "s|if test -w .*;|if false;|" src/Makefile.in
sed -i -e "s|if test -w .*;|if false;|" src/Makefile.am
sed -e "s|if test -w .*;|if false;|" -i src/Makefile.{am,in}
'';
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
bash-completion argyllcms automake autoconf libgudev sane-backends ];
bash-completion argyllcms libgudev sane-backends ];
postInstall = ''
mkdir -p $out/etc/bash_completion.d

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
patches = [ ./memory-leak.patch ./no-install-statedir.patch ];
buildInputs = optionals (hostPlatform == buildPlatform) [ coreutils ]; # bin/updatedb script needs to call sort
buildInputs = [ coreutils ]; # bin/updatedb script needs to call sort
# Since glibc-2.25 the i686 tests hang reliably right after test-sleep.
doCheck
@@ -25,7 +25,12 @@ stdenv.mkDerivation rec {
outputs = [ "out" "info" ];
configureFlags = [ "--localstatedir=/var/cache" ];
configureFlags = [
# "sort" need not be on the PATH as a run-time dep, so we need to tell
# configure where it is. Covers the cross and native case alike.
"SORT=${coreutils}/bin/sort"
"--localstatedir=/var/cache"
];
enableParallelBuilding = true;

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "03kfc65s5a9csa5i7xjsv0psq144k8d9yw7xlny61bg1h2kg1db4";
};
outputs = [ "out" "doc" ];
outputs = [ "out" "man" "doc" ];
buildInputs = [ bind libseccomp zlib ];

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "05an2vj0a3wjv5w672wgzyixbydin5jpja5zv6x81bc72dms0ymc";
};
outputs = [ "out" "doc" ];
outputs = [ "out" "man" "info" ];
nativeBuildInputs = [ autoreconfHook texinfo ];
buildInputs = [ ncurses readline zlib lzo openssl ];

View File

@@ -10,8 +10,14 @@ stdenv.mkDerivation rec {
outputs = [ "out" "info" ];
nativeBuildInputs = [ xz.bin ];
/* If no explicit coreutils is given, use the one from stdenv. */
nativeBuildInputs = [ xz.bin coreutils ];
buildInputs = [ coreutils ];
configureFlags =
# "pr" need not be on the PATH as a run-time dep, so we need to tell
# configure where it is. Covers the cross and native case alike.
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr";
meta = {
homepage = http://www.gnu.org/software/diffutils/diffutils.html;

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "1998v2kcs288d3y7kfxpvl369nqi06zbbvjzafyvyl3pr7bajj1s";
};
outputs = [ "out" "doc" ];
outputs = [ "out" "man" "doc" "info" ];
enableParallelBuilding = false;

View File

@@ -132,8 +132,7 @@ core = stdenv.mkDerivation rec {
'')
+ /* doc location identical with individual TeX pkgs */ ''
mkdir -p "$doc/doc"
mv "$doc"/share/{man,info} "$doc"/doc
rmdir "$doc"/share
mv "$out"/share/{man,info} "$doc"/doc
'' + cleanBrokenLinks;
setupHook = ./setup-hook.sh; # TODO: maybe texmf-nix -> texmf (and all references)