More docs/manpages in separate outputs
This commit is contained in:
parent
f41201ef97
commit
e1f78bf677
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c";
|
sha256 = "4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
buildInputs = [ libogg ];
|
buildInputs = [ libogg ];
|
||||||
|
|
||||||
#doCheck = true; # takes lots of time
|
#doCheck = true; # takes lots of time
|
||||||
|
@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "17cvplgpxbm1hshxlkra2fldn4da1iap1lsnb04hdm8ply93k95i";
|
sha256 = "17cvplgpxbm1hshxlkra2fldn4da1iap1lsnb04hdm8ply93k95i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[ # Do not look in /usr etc. for dependencies.
|
[ # Do not look in /usr etc. for dependencies.
|
||||||
./no-sys-dirs.patch
|
./no-sys-dirs.patch
|
||||||
|
@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0g5bl8sdpzx9gx2g5jq3py4bj07z2ylk7s1qn0fvsss2yl3hhs8c";
|
sha256 = "0g5bl8sdpzx9gx2g5jq3py4bj07z2ylk7s1qn0fvsss2yl3hhs8c";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[ # Do not look in /usr etc. for dependencies.
|
[ # Do not look in /usr etc. for dependencies.
|
||||||
./no-sys-dirs.patch
|
./no-sys-dirs.patch
|
||||||
|
@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn";
|
sha256 = "005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
||||||
|
@ -8,6 +8,8 @@ stdenv.mkDerivation (rec {
|
|||||||
sha256 = "0cbp498ckjwj7qr8b9pmkry8hkhldgkvg5yix8hi9c8z1hxxb651";
|
sha256 = "0cbp498ckjwj7qr8b9pmkry8hkhldgkvg5yix8hi9c8z1hxxb651";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
|
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
|
||||||
|
|
||||||
configureFlags = [ "--disable-csharp" "--with-xz" ]
|
configureFlags = [ "--disable-csharp" "--with-xz" ]
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
inherit src patches;
|
inherit src patches;
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
# FIXME: perhaps use $SSL_CERT_FILE instead
|
# FIXME: perhaps use $SSL_CERT_FILE instead
|
||||||
optional stdenv.isLinux "--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt"
|
optional stdenv.isLinux "--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "16z74q422jmprhyvy7c9x909li8cqzmvzyr8cgbm52xcsp6pqs1z";
|
sha256 = "16z74q422jmprhyvy7c9x909li8cqzmvzyr8cgbm52xcsp6pqs1z";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://xiph.org/ogg/;
|
homepage = http://xiph.org/ogg/;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0wj8d1iwk9vnpax2h29xqc2hwknxg3s0ay2d5pxkg59ihbifn6pa";
|
sha256 = "0wj8d1iwk9vnpax2h29xqc2hwknxg3s0ay2d5pxkg59ihbifn6pa";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" "man" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection)
|
propagatedBuildInputs = [ zlib libjpeg xz ]; #TODO: opengl support (bogus configure detection)
|
||||||
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1lg1n3a6r41492r7in0fpvzc7909mc5ir9z0gd3qh2pz4yalmyal";
|
sha256 = "1lg1n3a6r41492r7in0fpvzc7909mc5ir9z0gd3qh2pz4yalmyal";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
propagatedBuildInputs = [ libogg ];
|
propagatedBuildInputs = [ libogg ];
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "13029baw9kkyjgr7q3jccw2mz38amq7mmpr5p3bh775qawd1bisz";
|
sha256 = "13029baw9kkyjgr7q3jccw2mz38amq7mmpr5p3bh775qawd1bisz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
buildInputs = [ libxml2 ];
|
buildInputs = [ libxml2 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ findXMLCatalogs ];
|
propagatedBuildInputs = [ findXMLCatalogs ];
|
||||||
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0vkzfd1pmin6xsv8lb1nabfxma8n1q00khr6nfifqkxlm2s6p197";
|
sha256 = "0vkzfd1pmin6xsv8lb1nabfxma8n1q00khr6nfifqkxlm2s6p197";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf ];
|
nativeBuildInputs = [ autoconf ];
|
||||||
buildInputs = [ openssl cyrus_sasl db groff ];
|
buildInputs = [ openssl cyrus_sasl db groff ];
|
||||||
|
|
||||||
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha1 = "9d1977cc89242cd11471269ece2ed4650947c046";
|
sha1 = "9d1977cc89242cd11471269ece2ed4650947c046";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
patches = optional stdenv.isCygwin ./1.0.1-cygwin64.patch
|
patches = optional stdenv.isCygwin ./1.0.1-cygwin64.patch
|
||||||
++ optional (stdenv.isDarwin || (stdenv ? cross && stdenv.cross.libc == "libSystem")) ./darwin-arch.patch;
|
++ optional (stdenv.isDarwin || (stdenv ? cross && stdenv.cross.libc == "libSystem")) ./darwin-arch.patch;
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "17bqykp604p7376wj3q2nmjdhrb6v1ny8q08zdwi7qvc02l9wrsi";
|
sha256 = "17bqykp604p7376wj3q2nmjdhrb6v1ny8q08zdwi7qvc02l9wrsi";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" "man" ];
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--enable-jit
|
--enable-jit
|
||||||
${if unicodeSupport then "--enable-unicode-properties" else ""}
|
${if unicodeSupport then "--enable-unicode-properties" else ""}
|
||||||
|
@ -73,6 +73,7 @@ in
|
|||||||
libxcb = attrs : attrs // {
|
libxcb = attrs : attrs // {
|
||||||
nativeBuildInputs = [ args.python ];
|
nativeBuildInputs = [ args.python ];
|
||||||
configureFlags = "--enable-xkb";
|
configureFlags = "--enable-xkb";
|
||||||
|
outputs = [ "out" "doc" "man" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
xcbproto = attrs : attrs // {
|
xcbproto = attrs : attrs // {
|
||||||
@ -97,6 +98,7 @@ in
|
|||||||
rm -rf $out/share/doc
|
rm -rf $out/share/doc
|
||||||
'';
|
'';
|
||||||
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
|
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
libXfont = attrs: attrs // {
|
libXfont = attrs: attrs // {
|
||||||
@ -107,7 +109,6 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
libXxf86vm = attrs: attrs // {
|
libXxf86vm = attrs: attrs // {
|
||||||
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
||||||
};
|
};
|
||||||
@ -126,6 +127,7 @@ in
|
|||||||
'';
|
'';
|
||||||
propagatedBuildInputs = [ xorg.libSM ];
|
propagatedBuildInputs = [ xorg.libSM ];
|
||||||
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
|
CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
|
||||||
|
outputs = [ "out" "doc" "man" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# See https://bugs.freedesktop.org/show_bug.cgi?id=47792
|
# See https://bugs.freedesktop.org/show_bug.cgi?id=47792
|
||||||
@ -420,4 +422,17 @@ in
|
|||||||
xwd = attrs: attrs // {
|
xwd = attrs: attrs // {
|
||||||
buildInputs = with xorg; attrs.buildInputs ++ [libXt libxkbfile];
|
buildInputs = with xorg; attrs.buildInputs ++ [libXt libxkbfile];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kbproto = attrs: attrs // {
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
xextproto = attrs: attrs // {
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
xproto = attrs: attrs // {
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = ''
|
NIX_CFLAGS_COMPILE = ''
|
||||||
-DSYS_BASHRC="/etc/bashrc"
|
-DSYS_BASHRC="/etc/bashrc"
|
||||||
-DSYS_BASH_LOGOUT="/etc/bash_logout"
|
-DSYS_BASH_LOGOUT="/etc/bash_logout"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user