forked from mirrors/nixpkgs
svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32265
This commit is contained in:
commit
f7886ac78b
27
pkgs/applications/office/calligra/default.nix
Normal file
27
pkgs/applications/office/calligra/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchurl, cmake, kdelibs, attica, perl, zlib, libpng, boost, mesa
|
||||
, kdepimlibs, createresources ? null, eigen, qca2, exiv2, soprano, marble, lcms2
|
||||
, fontconfig, freetype, sqlite, icu, libwpd, libwpg, pkgconfig, popplerQt4
|
||||
, libkdcraw, libxslt, fftw, glew, gsl, shared_desktop_ontologies }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "calligra-2.3.87";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/unstable/${name}/${name}.tar.bz2";
|
||||
sha256 = "1arrk2ww3bykv4y8fsn1dn25gq9bf7a4ygggkrczfrxlbv1s9p9v";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ cmake perl pkgconfig ];
|
||||
|
||||
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
|
||||
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
|
||||
sqlite icu libwpd libwpg popplerQt4 libkdcraw libxslt fftw glew gsl
|
||||
shared_desktop_ontologies ];
|
||||
|
||||
meta = {
|
||||
description = "A Qt/KDE office suite, formely known as koffice";
|
||||
homepage = http://calligra.org;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
inherit (kdelibs.meta) platforms;
|
||||
};
|
||||
}
|
|
@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p "$out/lib/"
|
||||
[ "$system" = "x86_64-linux" ] && cp -v lib64/* "$out/lib/"
|
||||
[ "$system" = "i686-linux" ] && cp -v lib/* "$out/lib/"
|
||||
for mandir in man1 man3 manCg manCgFX
|
||||
for mandir in man1 man3 \
|
||||
${if stdenv.system == "x86_64-linux" then "manCg" else ""} manCgFX
|
||||
do
|
||||
mkdir -p "$out/share/man/$mandir/"
|
||||
cp -v share/man/$mandir/* "$out/share/man/$mandir/"
|
||||
|
|
33
pkgs/development/libraries/consolekit/commands.patch
Normal file
33
pkgs/development/libraries/consolekit/commands.patch
Normal file
|
@ -0,0 +1,33 @@
|
|||
This patch adds shutdown commands specific to NixOS, as NixOS does not have
|
||||
a /sbin or /usr/sbin directory. In order not to have a dependency on the
|
||||
package that provides "shutdown" when in an environment other than NixOS,
|
||||
we'll make it depend on /var/run/current-system.
|
||||
|
||||
Note: this patch does not compromise system security. Other systems than
|
||||
NixOS should have already shutdown in the earlier directories being searched,
|
||||
and otherwise /var/run is writable only be root.
|
||||
|
||||
--- ConsoleKit-0.4.1/tools/linux/ck-system-restart.org 2012-02-13 11:29:57.352902568 +0100
|
||||
+++ ConsoleKit-0.4.1/tools/linux/ck-system-restart 2012-02-13 11:43:27.593317712 +0100
|
||||
@@ -7,6 +7,9 @@
|
||||
elif [ -x "/usr/sbin/shutdown" ] ; then
|
||||
/usr/sbin/shutdown -r now
|
||||
exit $?
|
||||
+elif [ -x "/var/run/current-system/sw/sbin/shutdown" ] ; then
|
||||
+ /var/run/current-system/sw/sbin/shutdown -r now
|
||||
+ exit $?
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
--- ConsoleKit-0.4.1/tools/linux/ck-system-stop.org 2012-02-13 11:30:06.228950934 +0100
|
||||
+++ ConsoleKit-0.4.1/tools/linux/ck-system-stop 2012-02-13 11:44:12.664563304 +0100
|
||||
@@ -7,6 +7,9 @@
|
||||
elif [ -x "/usr/sbin/shutdown" ] ; then
|
||||
/usr/sbin/shutdown -h now
|
||||
exit $?
|
||||
+elif [ -x "/var/run/current-system/sw/sbin/shutdown" ] ; then
|
||||
+ /var/run/current-system/sw/sbin/shutdown -h now
|
||||
+ exit $?
|
||||
else
|
||||
exit 1
|
||||
fi
|
|
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 polkit expat ];
|
||||
patches = [ ./0001-Don-t-daemonize-when-activated.patch
|
||||
./0002-Don-t-take-bus-name-until-ready.patch ];
|
||||
./0002-Don-t-take-bus-name-until-ready.patch
|
||||
./commands.patch # adds shutdown commands for NixOS to the list of shutdown commands
|
||||
];
|
||||
|
||||
# For console-kit to get the rpath to libgcc_s, needed for pthread_cancel to work
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "HDBC";
|
||||
version = "2.3.1.0";
|
||||
sha256 = "1y3qcc0ids9k3af4qkhabwg82q03a21wl4vdqhj1h0zmf08b3m6k";
|
||||
version = "2.3.1.1";
|
||||
sha256 = "1gqihvsf5w7j8xbn1xy93mdrsh77qwxbhfmyjivbm6i95w1i0kb7";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ convertible mtl text time utf8String ];
|
||||
meta = {
|
||||
homepage = "https://github.com/jgoerzen/hdbc/wiki";
|
||||
homepage = "https://github.com/hdbc/hdbc";
|
||||
description = "Haskell Database Connectivity";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "attoparsec";
|
||||
version = "0.10.1.0";
|
||||
sha256 = "1wlil4zxnyrygvkgmap8kcqf4f6rc08ais20alyy4ggzmx73sl9q";
|
||||
version = "0.10.1.1";
|
||||
sha256 = "07zl85nkimpswlb4rxycisaphhyrlq4la2limxxi7sk21gyh88b0";
|
||||
buildDepends = [ deepseq text ];
|
||||
meta = {
|
||||
homepage = "https://github.com/bos/attoparsec";
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cmdargs";
|
||||
version = "0.9.2";
|
||||
sha256 = "1c0xy4g9b5jqy51qhgq7djafqz27z6q7ya31pgy186pfgl7604kr";
|
||||
version = "0.9.3";
|
||||
sha256 = "1mm16249nprclmgplw5bmmzsnmfm8dlkc5janrwvmlssbxw5hgnk";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ transformers ];
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "conduit";
|
||||
version = "0.2.0";
|
||||
sha256 = "0ljbxm6rxcxfw51kcjkmb041kz7k6frgc9l6gvfh2s9zrip8zq5v";
|
||||
version = "0.2.1";
|
||||
sha256 = "1350n6nylvn62pdnm1cpm75yli9x3adf9m9jjz04z0gmzd3mvhd9";
|
||||
buildDepends = [
|
||||
liftedBase monadControl text transformers transformersBase
|
||||
];
|
||||
|
|
|
@ -10,5 +10,9 @@ cabal.mkDerivation (self: {
|
|||
description = "Conduit interface for cryptographic operations (from crypto-api)";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [
|
||||
self.stdenv.lib.maintainers.andres
|
||||
self.stdenv.lib.maintainers.simons
|
||||
];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "highlighting-kate";
|
||||
version = "0.5.0.2";
|
||||
sha256 = "012hr5ci9j4fwnrc1ypx6ca562vzqlfk5phjs4xl3llxv8afdhgl";
|
||||
version = "0.5.0.4";
|
||||
sha256 = "1kn73gcjhndb5wbdy9hbjgar1bdcmy8cy831ib4ik1fn62zmvxrf";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ blazeHtml mtl parsec regexPcreBuiltin ];
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{ cabal, asn1Data, attoparsec, attoparsecConduit, base64Bytestring
|
||||
, blazeBuilder, blazeBuilderConduit, caseInsensitive, certificate
|
||||
, conduit, cookie, cprngAes, dataDefault, failure, httpTypes
|
||||
, liftedBase, monadControl, network, regexCompat, socks, text, time
|
||||
, tls, tlsExtra, transformers, transformersBase, utf8String
|
||||
, liftedBase, monadControl, mtl, network, regexCompat, socks, text
|
||||
, time, tls, tlsExtra, transformers, transformersBase, utf8String
|
||||
, zlibConduit
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "http-conduit";
|
||||
version = "1.2.5";
|
||||
sha256 = "0mb85akb7mgdhjkmp041lhqir2gys9bjixn2v1i848mijw1zx8zr";
|
||||
version = "1.2.6";
|
||||
sha256 = "0gspqkydw5v4wb9s0ipy5s708nmqp3phkh3j95mzn6nlbk2r9kvn";
|
||||
buildDepends = [
|
||||
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
|
||||
blazeBuilderConduit caseInsensitive certificate conduit cookie
|
||||
cprngAes dataDefault failure httpTypes liftedBase monadControl
|
||||
cprngAes dataDefault failure httpTypes liftedBase monadControl mtl
|
||||
network regexCompat socks text time tls tlsExtra transformers
|
||||
transformersBase utf8String zlibConduit
|
||||
];
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "numeric-prelude";
|
||||
version = "0.3";
|
||||
sha256 = "0zxqfsgyg7gf051qjzv57bb1cvrbzlvvyyl2d3gmikyy6h3pis1f";
|
||||
version = "0.3.0.1";
|
||||
sha256 = "14hi0l4pga4srrfypx4alsyq34y5wsanis6216cds3zjw6db3frg";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "pandoc";
|
||||
version = "1.9.1";
|
||||
sha256 = "00xwy1afy4cn7z2drsc4dnqd4g45i45v9f3jm9j6i32pz27y8s2a";
|
||||
version = "1.9.1.1";
|
||||
sha256 = "1npyc99f90fhbfddr6x5dlnwdc3i1pnhg4xiv12fmf1cl8xlcpyl";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "persistent-template";
|
||||
version = "0.8.1";
|
||||
sha256 = "0av1rzqz80lzirk9l45jiwj4zar6ncy0q9x7dqhsrklyxk4jzv6v";
|
||||
version = "0.8.1.1";
|
||||
sha256 = "1wl669h8az9wviaq04pwg7w3g5cc90hafn2f1p3jybbif0hpqhks";
|
||||
buildDepends = [ aeson monadControl persistent text transformers ];
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/book/persistent";
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "system-fileio";
|
||||
version = "0.3.4";
|
||||
sha256 = "184f5bb3qhag6cwmk0zc2ldkwnkzbv82pv7hy541j8jqqi5wprih";
|
||||
version = "0.3.5";
|
||||
sha256 = "0d1baliykfpg15bzknx98slr0qa5yjr3va3w8hs02wgx6sp3wsy2";
|
||||
buildDepends = [ systemFilepath text time ];
|
||||
meta = {
|
||||
homepage = "https://john-millikin.com/software/haskell-filesystem/";
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "texmath";
|
||||
version = "0.6.0.2";
|
||||
sha256 = "04b642xbbgivbnpc8srqirdf71n5b6h5ir6rw0z2xpiv0znk6vh2";
|
||||
version = "0.6.0.3";
|
||||
sha256 = "0vj1kh62qs7badv00lcda9m3j53kc069kmrv5lmz62a96y4kx5yi";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ parsec syb xml ];
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "wai-logger";
|
||||
version = "0.1.2";
|
||||
sha256 = "0pzbdjy0xkjqkzc5w1v0hh18jgbxlkllsjwxabswkh8gl73mp7d9";
|
||||
version = "0.1.3";
|
||||
sha256 = "0h9m2vnm81q1zdj0gv3d9vzd2mlm1343div591695fq52ks26cfc";
|
||||
buildDepends = [
|
||||
blazeBuilder byteorder caseInsensitive fastLogger httpTypes network
|
||||
time wai
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-auth";
|
||||
version = "0.8.1";
|
||||
sha256 = "10jhvkyxf8j55yzc05p0fmmjsd8fb1sns86vlsl0108947b2pp8v";
|
||||
version = "0.8.1.1";
|
||||
sha256 = "0wmvywyil6cnpxq777a0w4qknw4lr4i53nni4bcigrvmpg7gzgac";
|
||||
buildDepends = [
|
||||
aeson authenticate blazeHtml hamlet httpConduit liftedBase mimeMail
|
||||
persistent persistentTemplate pureMD5 pwstoreFast random SHA
|
||||
|
|
|
@ -10,5 +10,9 @@ cabal.mkDerivation (self: {
|
|||
description = "Efficient routing for Yesod";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [
|
||||
self.stdenv.lib.maintainers.andres
|
||||
self.stdenv.lib.maintainers.simons
|
||||
];
|
||||
};
|
||||
})
|
||||
|
|
|
@ -5,6 +5,7 @@ x@{builderDefsPackage
|
|||
, xproto, libX11, libXmu, libSM, pkgconfig
|
||||
, libXxf86vm, xf86vidmodeproto, libICE
|
||||
, renderproto, libXrender
|
||||
, nvidia_cg_toolkit
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "HaRe";
|
||||
version = "0.6.0.1";
|
||||
sha256 = "cd3fa312c7fa6a5f761bbc3ebdbc6300e83ba9e285047acded6269d2164d67f8";
|
||||
version = "0.6.0.2";
|
||||
sha256 = "13mi6z37fszrl97mll4injhq8dyhqzm344x7y2vw8krr5xjj3kw2";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ hint mtl network syb ];
|
||||
|
|
|
@ -1,15 +1,26 @@
|
|||
{ stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype
|
||||
, pkgconfig, fontconfig, libzip, zip, zlib }:
|
||||
{ stdenv, fetchurl, zlib, bzip2, pkgconfig
|
||||
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype
|
||||
, gtkClient ? false, gtk
|
||||
, server ? true, readline }:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional optionals;
|
||||
client = sdlClient || gtkClient;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freeciv-2.2.7";
|
||||
name = "freeciv-2.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sf/freeciv/${name}.tar.bz2";
|
||||
sha256 = "993dd1685dad8012225fdf434673515a194fa072b3d5bfb04952a98fb862d319";
|
||||
url = "mirror://sourceforge/freeciv/${name}.tar.bz2";
|
||||
sha256 = "1n3ak0y9hj9kha0r3cdbi8zb47vrgal1jsbblamqgwwwgzy8cri3";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype pkgconfig fontconfig libzip zip zlib] ;
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ zlib bzip2 ]
|
||||
++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype ]
|
||||
++ optional gtkClient gtk
|
||||
++ optional server readline;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "multiplayer (or single player), turn-based strategy game.";
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ fetchurl, stdenv, cmake, boost, ogre, myguiSvn, ois, SDL, libvorbis, pkgconfig }:
|
||||
|
||||
throw "Stunt Rally needs ogre with cg support at runtime - we have to package nvidia cg"
|
||||
{ fetchurl, stdenv, cmake, boost, ogre, myguiSvn, ois, SDL, libvorbis, pkgconfig
|
||||
, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "stunt-rally-1.4";
|
||||
|
@ -10,7 +9,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1am5af4l1qliyrq1183sqvwzqwcjx0v6gkzsxhfmk6ygp7yhw7kq";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake boost ogre myguiSvn ois SDL libvorbis pkgconfig ];
|
||||
buildInputs = [ cmake boost ogre myguiSvn ois SDL libvorbis pkgconfig makeWrapper ];
|
||||
|
||||
# I think they suppose cmake should give them OGRE_PLUGIN_DIR defined, but
|
||||
# the cmake code I saw is not ready for that. Therefore, we use the env var.
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/stuntrally --set OGRE_PLUGIN_DIR ${ogre}/lib/OGRE
|
||||
wrapProgram $out/bin/sr-editor --set OGRE_PLUGIN_DIR ${ogre}/lib/OGRE
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -16,10 +16,10 @@ assert enableSubversionRepository -> subversion != null;
|
|||
assert enableEjabberdDump -> ejabberd != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "disnix-activation-scripts-0.3pre29887";
|
||||
name = "disnix-activation-scripts-0.3pre30423";
|
||||
src = fetchurl {
|
||||
url = http://hydra.nixos.org/build/1461490/download/1/disnix-activation-scripts-0.3pre29887.tar.gz;
|
||||
sha256 = "034mx096iz9dqjsrxh6jkvcwch399gfsahrm6vfnswz9jfvfdcw0";
|
||||
url = http://hydra.nixos.org/build/1842091/download/1/disnix-activation-scripts-0.3pre30423.tar.gz;
|
||||
sha256 = "11b569bflknjbjddam4mv07bpmihbfx5acxzxzhnshj6x8sv6064";
|
||||
};
|
||||
|
||||
preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
|
||||
|
|
|
@ -8179,6 +8179,8 @@ let
|
|||
|
||||
bluedevil = callPackage ../tools/bluetooth/bluedevil { };
|
||||
|
||||
calligra = callPackage ../applications/office/calligra { };
|
||||
|
||||
digikam = callPackage ../applications/graphics/digikam {
|
||||
boost = boost147;
|
||||
};
|
||||
|
|
|
@ -1597,10 +1597,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
|
||||
happyMeta = callPackage ../development/tools/haskell/happy-meta {};
|
||||
|
||||
# 2012-02-09: Disabled because this package is clearly, and it won't compile with
|
||||
# any recent version of GHC. We should delete it unless anyone
|
||||
# complains.
|
||||
# HaRe = callPackage ../development/tools/haskell/HaRe {};
|
||||
HaRe = callPackage ../development/tools/haskell/HaRe {};
|
||||
|
||||
hlint = callPackage ../development/tools/haskell/hlint {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue