Merge master into x-updates (the binutils change)

This commit is contained in:
Vladimír Čunát 2014-01-28 18:00:29 +01:00
commit 908ce109f9
44 changed files with 291 additions and 95 deletions

View File

@ -56,6 +56,6 @@ stdenv.mkDerivation rec {
homepage = http://emacs-w3m.namazu.org/; homepage = http://emacs-w3m.namazu.org/;
maintainers = [ ]; maintainers = [ stdenv.lib.maintainers.mornfall ];
}; };
} }

View File

@ -18,4 +18,9 @@ stdenv.mkDerivation rec {
-e s,@INSTALL@,$out/share/photivo, \ -e s,@INSTALL@,$out/share/photivo, \
-i Sources/ptSettings.cpp -i Sources/ptSettings.cpp
''; '';
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = maintainers.mornfall;
};
} }

View File

@ -39,8 +39,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = false; enableParallelBuilding = false;
meta = { meta = with stdenv.lib; {
homepage = http://w3m.sourceforge.net/; homepage = http://w3m.sourceforge.net/;
description = "A text-mode web browser"; description = "A text-mode web browser";
maintainers = maintainers.mornfall;
}; };
} }

View File

@ -5,17 +5,18 @@
, hinotify, hS3, hslogger, HTTP, httpConduit, httpTypes, IfElse , hinotify, hS3, hslogger, HTTP, httpConduit, httpTypes, IfElse
, json, lsof, MissingH, MonadCatchIOTransformers, monadControl, mtl , json, lsof, MissingH, MonadCatchIOTransformers, monadControl, mtl
, network, networkConduit, networkInfo, networkMulticast , network, networkConduit, networkInfo, networkMulticast
, networkProtocolXmpp, openssh, perl, QuickCheck, random, regexTdfa , networkProtocolXmpp, openssh, optparseApplicative, perl
, rsync, SafeSemaphore, SHA, stm, tasty, tastyHunit , QuickCheck, random, regexTdfa, rsync, SafeSemaphore, SHA, stm
, tastyQuickcheck, text, time, transformers, unixCompat, utf8String , tasty, tastyHunit, tastyQuickcheck, text, time, transformers
, uuid, wai, waiLogger, warp, which, xmlConduit, xmlTypes, yesod , unixCompat, utf8String, uuid, wai, waiLogger, warp, which
, yesodCore, yesodDefault, yesodForm, yesodStatic , xmlConduit, xmlTypes, yesod, yesodCore, yesodDefault, yesodForm
, yesodStatic
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "git-annex"; pname = "git-annex";
version = "5.20140116"; version = "5.20140127";
sha256 = "18l9nflmnfaqmrq9nvypv2jwn3v2461lb4m0jjpai6aipzl91jw2"; sha256 = "0aqqnv0faiva9vf0nb0d8xsd659y8cyrnyy6mfjdqjqdw8wha3yr";
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [
@ -25,10 +26,10 @@ cabal.mkDerivation (self: {
hinotify hS3 hslogger HTTP httpConduit httpTypes IfElse json hinotify hS3 hslogger HTTP httpConduit httpTypes IfElse json
MissingH MonadCatchIOTransformers monadControl mtl network MissingH MonadCatchIOTransformers monadControl mtl network
networkConduit networkInfo networkMulticast networkProtocolXmpp networkConduit networkInfo networkMulticast networkProtocolXmpp
QuickCheck random regexTdfa SafeSemaphore SHA stm tasty tastyHunit optparseApplicative QuickCheck random regexTdfa SafeSemaphore SHA
tastyQuickcheck text time transformers unixCompat utf8String uuid stm tasty tastyHunit tastyQuickcheck text time transformers
wai waiLogger warp xmlConduit xmlTypes yesod yesodCore yesodDefault unixCompat utf8String uuid wai waiLogger warp xmlConduit xmlTypes
yesodForm yesodStatic yesod yesodCore yesodDefault yesodForm yesodStatic
]; ];
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ]; buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
configureFlags = "-fS3 configureFlags = "-fS3

View File

@ -1,6 +1,6 @@
{stdenv, fetchurl, ...}: { stdenv, fetchurl, setJavaClassPath }:
let let
jdk = stdenv.mkDerivation { jdk = stdenv.mkDerivation {
name = "openjdk6-b16-24_apr_2009-r1"; name = "openjdk6-b16-24_apr_2009-r1";
src = fetchurl { src = fetchurl {
@ -11,6 +11,23 @@ jdk = stdenv.mkDerivation {
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
cp -vR * $out/ cp -vR * $out/
# jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/darwin/*_md.h $out/include/
'';
preFixup = ''
# Propagate the setJavaClassPath setup hook from the JRE so that
# any package that depends on the JRE has $CLASSPATH set up
# properly.
mkdir -p $out/nix-support
echo -n "${setJavaClassPath}" > $out/nix-support/propagated-native-build-inputs
# Set JAVA_HOME automatically.
mkdir -p $out/nix-support
cat <<EOF > $out/nix-support/setup-hook
if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out; fi
EOF
''; '';
passthru.jre = jdk; passthru.jre = jdk;

View File

@ -1,5 +1,8 @@
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi { composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng }: , freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
, automake, autoconf, libtool
}:
let inherit (composableDerivation) edf; in let inherit (composableDerivation) edf; in
@ -14,7 +17,12 @@ composableDerivation.composableDerivation {} {
propagatedBuildInputs = [ x11 inputproto libXi freeglut ]; propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
nativeBuildInputs = [ pkgconfig ]; enableParallelBilding = true;
nativeBuildInputs = [
pkgconfig
automake autoconf libtool # only required because of patch
];
flags = flags =
# this could be tidied up (?).. eg why does it require freeglut without glSupport? # this could be tidied up (?).. eg why does it require freeglut without glSupport?
@ -46,4 +54,11 @@ composableDerivation.composableDerivation {} {
description = "A C++ cross-platform light-weight GUI library binding"; description = "A C++ cross-platform light-weight GUI library binding";
homepage = http://www.fltk.org; homepage = http://www.fltk.org;
}; };
patches = [
# https://bugs.archlinux.org/task/36186
(fetchurl {
url = "https://bugs.archlinux.org/task/36186?getfile=10750";
sha256 = "1hpb1i87nc3zw6mgpgf3bfv557ci930bsn6rwlhaif51nlqd2wbj";
}) ];
} }

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "GlomeVec"; pname = "GlomeVec";
version = "0.1.2"; version = "0.2";
sha256 = "6023c11977bf16baf487235087e94f5a2f465e8403b8e40ab513e7879dd52639"; sha256 = "08hyiadkbkmcsd1g51xvxqzp6l94hnqqbz4r6yk0zk29iawq8610";
meta = { meta = {
homepage = "http://www.haskell.org/haskellwiki/Glome"; homepage = "http://www.haskell.org/haskellwiki/Glome";
description = "Simple 3D vector library"; description = "Simple 3D vector library";

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "JuicyPixels"; pname = "JuicyPixels";
version = "3.1.3.1"; version = "3.1.3.2";
sha256 = "03kbvm3y5di274gzz8sr24z9j27rdayx4kkbf5hfvl325ghidhx9"; sha256 = "0c0vavqisljsl8v8hvmxj8q3hmjq5layanbbyp0zcbj6yxv8s62a";
buildDepends = [ buildDepends = [
binary deepseq mtl primitive transformers vector zlib binary deepseq mtl primitive transformers vector zlib
]; ];

View File

@ -0,0 +1,16 @@
{ cabal, asn1Types, mtl, text, time }:
cabal.mkDerivation (self: {
pname = "asn1-encoding";
version = "0.8.1.2";
sha256 = "01i7zga9nfvccgjixnxza9mi7jj4k6308g8asnljr44s1k8rikwm";
isLibrary = true;
isExecutable = true;
buildDepends = [ asn1Types mtl text time ];
meta = {
homepage = "http://github.com/vincenthz/hs-asn1";
description = "ASN1 data reader and writer in RAW, BER and DER forms";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, asn1Encoding, asn1Types, mtl, text, time }:
cabal.mkDerivation (self: {
pname = "asn1-parse";
version = "0.8.1";
sha256 = "021mbm5aayfx9vhxq4x1jj3gpnzq0bqaqcl1zsaa2a6l0qzpnmh9";
buildDepends = [ asn1Encoding asn1Types mtl text time ];
meta = {
homepage = "http://github.com/vincenthz/hs-asn1";
description = "Simple monadic parser for ASN1 stream types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1,14 +1,14 @@
{ cabal, cairo, colour, dataDefaultClass, diagramsCore, diagramsLib { cabal, cairo, colour, dataDefaultClass, diagramsCore, diagramsLib
, filepath, lens, mtl, split, statestack, time , filepath, hashable, lens, mtl, split, statestack, time
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "diagrams-cairo"; pname = "diagrams-cairo";
version = "1.0"; version = "1.0.1";
sha256 = "1m549ryfyfjc6sg3xi0wlcpi4c0xj6yfrpjmxgiyl76rwaqns989"; sha256 = "16h1xz5amn0yd3h9rss0skaq08k1cy91cncxb9ky020s0wcix9fm";
buildDepends = [ buildDepends = [
cairo colour dataDefaultClass diagramsCore diagramsLib filepath cairo colour dataDefaultClass diagramsCore diagramsLib filepath
lens mtl split statestack time hashable lens mtl split statestack time
]; ];
meta = { meta = {
homepage = "http://projects.haskell.org/diagrams"; homepage = "http://projects.haskell.org/diagrams";

View File

@ -1,16 +1,16 @@
{ cabal, active, colour, dataDefaultClass, diagramsCore, filepath { cabal, active, colour, dataDefaultClass, diagramsCore, filepath
, fingertree, intervals, lens, MemoTrie, monoidExtras, NumInstances , fingertree, hashable, intervals, lens, MemoTrie, monoidExtras
, optparseApplicative, safe, semigroups, tagged, vectorSpace , NumInstances, optparseApplicative, safe, semigroups, tagged
, vectorSpacePoints , vectorSpace, vectorSpacePoints
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "diagrams-lib"; pname = "diagrams-lib";
version = "1.0.0.1"; version = "1.0.1";
sha256 = "1ilkc8dh1ma0wwmzgy6x3a6q6bwlw7dfv3mb24a5ny4i3wgvsnv8"; sha256 = "0cjhb6dm0n4a7s8z0lyihql7dz34pdbm3ahm2p0yya4xf9pf0fw4";
buildDepends = [ buildDepends = [
active colour dataDefaultClass diagramsCore filepath fingertree active colour dataDefaultClass diagramsCore filepath fingertree
intervals lens MemoTrie monoidExtras NumInstances hashable intervals lens MemoTrie monoidExtras NumInstances
optparseApplicative safe semigroups tagged vectorSpace optparseApplicative safe semigroups tagged vectorSpace
vectorSpacePoints vectorSpacePoints
]; ];

View File

@ -1,15 +1,17 @@
{ cabal, blazeSvg, colour, diagramsCore, diagramsLib, filepath { cabal, blazeMarkup, blazeSvg, colour, diagramsCore, diagramsLib
, lens, monoidExtras, mtl, split, time, vectorSpace , filepath, hashable, lens, monoidExtras, mtl, split, time
, vectorSpace
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "diagrams-svg"; pname = "diagrams-svg";
version = "1.0"; version = "1.0.1";
sha256 = "13v1q9d2004k4324b0yxlmwrsanb0mk9pz0gqfxvx9v27sry12sl"; sha256 = "15adic3dl4qqrd63jx1rc1w4wx270vm7zc3hr69mnh0wn0cr0ga5";
buildDepends = [ buildDepends = [
blazeSvg colour diagramsCore diagramsLib filepath lens monoidExtras blazeMarkup blazeSvg colour diagramsCore diagramsLib filepath
mtl split time vectorSpace hashable lens monoidExtras mtl split time vectorSpace
]; ];
jailbreak = true;
meta = { meta = {
homepage = "http://projects.haskell.org/diagrams/"; homepage = "http://projects.haskell.org/diagrams/";
description = "SVG backend for diagrams drawing EDSL"; description = "SVG backend for diagrams drawing EDSL";

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "direct-sqlite"; pname = "direct-sqlite";
version = "2.3.9"; version = "2.3.11";
sha256 = "0haq14acdijd41jvah6f6l6qlqc4wjp3mwkx57pz4q5m6qvxrz44"; sha256 = "0pd5qv8aq47d5n2sd99yblxiq70zvmy2rc71ys73a3d846k0ncs0";
buildDepends = [ text ]; buildDepends = [ text ];
testDepends = [ base16Bytestring HUnit text ]; testDepends = [ base16Bytestring HUnit text ];
meta = { meta = {

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "esqueleto"; pname = "esqueleto";
version = "1.3.4.3"; version = "1.3.4.5";
sha256 = "1p35nzaqmpcc7slr10ihlc54kz5zv5ak0ql848m3xpbjfzq6f6vc"; sha256 = "0fw57dn67gx5v7drd4g7xbj1z614sr3lxw7gcciypnjc7qkqjgv7";
buildDepends = [ buildDepends = [
conduit monadLogger persistent resourcet tagged text transformers conduit monadLogger persistent resourcet tagged text transformers
unorderedContainers unorderedContainers

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "highlighting-kate"; pname = "highlighting-kate";
version = "0.5.6"; version = "0.5.6.1";
sha256 = "1nd1ima3x7bb3lhkpzfw1qbl8g8mwp1ixk2w7nf2p1200c5zs49d"; sha256 = "0hwzybihx5znd2z00kqcffqmng7vwynmav0x0zf2b9g415c2lx23";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ blazeHtml filepath mtl parsec regexPcre ]; buildDepends = [ blazeHtml filepath mtl parsec regexPcre ];

View File

@ -6,8 +6,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "hit"; pname = "hit";
version = "0.5.2"; version = "0.5.3";
sha256 = "05f5xm23049ngvsch9cp2snyknk3qknx1jlb42zi0nbv8f1hymnn"; sha256 = "0s6nfjdasf62x28vzks809slnh0p6j3g101jzqlfh7nrnj5k6q1d";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -6,8 +6,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "http-client"; pname = "http-client";
version = "0.2.1"; version = "0.2.1.1";
sha256 = "1hwr8pjlal88b6clmrs0cksmyy1vmbybvr78s6kb2ppwrzmd2v8q"; sha256 = "03hcwz53sjvw3nv6xbdf24a4ny229ljq3rx89plmsxpjb44qwlq2";
buildDepends = [ buildDepends = [
base64Bytestring blazeBuilder caseInsensitive cookie dataDefault base64Bytestring blazeBuilder caseInsensitive cookie dataDefault
deepseq failure httpTypes network publicsuffixlist text time deepseq failure httpTypes network publicsuffixlist text time

View File

@ -5,14 +5,14 @@
, httpClientMultipart, httpClientTls, httpTypes, HUnit, liftedBase , httpClientMultipart, httpClientTls, httpTypes, HUnit, liftedBase
, mimeTypes, monadControl, mtl, network, networkConduit , mimeTypes, monadControl, mtl, network, networkConduit
, publicsuffixlist, random, regexCompat, resourcet, socks, text , publicsuffixlist, random, regexCompat, resourcet, socks, text
, time, tls, tlsExtra, transformers, transformersBase, utf8String , time, transformers, transformersBase, utf8String, void, wai, warp
, void, wai, warp, warpTls, zlibConduit , warpTls, zlibConduit
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "http-conduit"; pname = "http-conduit";
version = "2.0.0.3"; version = "2.0.0.4";
sha256 = "1s3nyc3wwpqildhmkv5fps2a0552yrnwcqjv4bxcvg581k5sj42i"; sha256 = "0902sklwfb9gr1yqxp15qa4qqik75jv6pl0nfh2s4vq65sh4gndq";
buildDepends = [ buildDepends = [
conduit httpClient httpClientConduit httpClientTls httpTypes conduit httpClient httpClientConduit httpClientTls httpTypes
liftedBase resourcet transformers liftedBase resourcet transformers
@ -23,8 +23,8 @@ cabal.mkDerivation (self: {
dataDefault deepseq failure filepath hspec httpClient dataDefault deepseq failure filepath hspec httpClient
httpClientMultipart httpTypes HUnit liftedBase mimeTypes httpClientMultipart httpTypes HUnit liftedBase mimeTypes
monadControl mtl network networkConduit publicsuffixlist random monadControl mtl network networkConduit publicsuffixlist random
regexCompat resourcet socks text time tls tlsExtra transformers regexCompat resourcet socks text time transformers transformersBase
transformersBase utf8String void wai warp warpTls zlibConduit utf8String void wai warp warpTls zlibConduit
]; ];
doCheck = false; doCheck = false;
meta = { meta = {

View File

@ -3,8 +3,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "network-conduit"; pname = "network-conduit";
version = "1.0.1.1"; version = "1.0.2.1";
sha256 = "1mji8zb0chnnxl7z4dgijls6szfa6c47zmhx0v1dc9k27bnc0mhx"; sha256 = "1dq7pwimjkr0wpyjphbvjy3klkcjl8jin76am5jbz3cxk1dr20jk";
buildDepends = [ buildDepends = [
conduit liftedBase monadControl network transformers conduit liftedBase monadControl network transformers
]; ];

View File

@ -6,8 +6,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "stm-conduit"; pname = "stm-conduit";
version = "2.2.1"; version = "2.2.1.1";
sha256 = "15ym83c42krx19rw719yqlib1vcg68jmx48rihy5aimc0m5m307b"; sha256 = "0rqn6xhqhaqiy0n2g46z58zzccq1i749p97aihrvjpikrz5kypka";
buildDepends = [ buildDepends = [
async cereal cerealConduit conduit liftedAsync liftedBase async cereal cerealConduit conduit liftedAsync liftedBase
monadControl monadLoops resourcet stm stmChans transformers monadControl monadLoops resourcet stm stmChans transformers

View File

@ -7,8 +7,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "wai-extra"; pname = "wai-extra";
version = "2.0.3.1"; version = "2.0.3.2";
sha256 = "1ckn90j2zmh77mgpan28v315qipw5v0ji9k3lq1ni9kzjap7pl5a"; sha256 = "0zhwk78ny7ak6sf974gqg3zjrrmivgb7dvxs5jbqghq0a6xs97zi";
buildDepends = [ buildDepends = [
ansiTerminal base64Bytestring blazeBuilder blazeBuilderConduit ansiTerminal base64Bytestring blazeBuilder blazeBuilderConduit
caseInsensitive conduit dataDefault fastLogger httpTypes liftedBase caseInsensitive conduit dataDefault fastLogger httpTypes liftedBase

View File

@ -0,0 +1,18 @@
{ cabal, asn1Encoding, asn1Types, cryptoPubkeyTypes, filepath, mtl
, pem, time, x509
}:
cabal.mkDerivation (self: {
pname = "x509-store";
version = "1.4.3";
sha256 = "1px5r5y4vaxx479d4av333g1sc03mz1aalpvwwkbi5bwnxydvf01";
buildDepends = [
asn1Encoding asn1Types cryptoPubkeyTypes filepath mtl pem time x509
];
meta = {
homepage = "http://github.com/vincenthz/hs-certificate";
description = "X.509 collection accessing and storing methods";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, filepath, mtl, pem, time, x509, x509Store }:
cabal.mkDerivation (self: {
pname = "x509-system";
version = "1.4.2";
sha256 = "1r22ignmwkv1z26bmnwh7prqy69cln26pfyyaf5r2vw8s66rgl39";
buildDepends = [ filepath mtl pem time x509 x509Store ];
meta = {
homepage = "http://github.com/vincenthz/hs-certificate";
description = "Handle per-operating-system X.509 accessors and storage";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,21 @@
{ cabal, asn1Encoding, asn1Types, byteable, cryptohash
, cryptoPubkey, cryptoPubkeyTypes, dataDefaultClass, filepath, mtl
, network, pem, time, x509, x509Store
}:
cabal.mkDerivation (self: {
pname = "x509-validation";
version = "1.5.0";
sha256 = "1xarn00ipi77whly5yjlpqa0xd25lj0jf4xk8ylp4ba58hvcxqrn";
buildDepends = [
asn1Encoding asn1Types byteable cryptohash cryptoPubkey
cryptoPubkeyTypes dataDefaultClass filepath mtl network pem time
x509 x509Store
];
meta = {
homepage = "http://github.com/vincenthz/hs-certificate";
description = "X.509 Certificate and CRL validation";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,24 @@
{ cabal, asn1Encoding, asn1Parse, asn1Types, cryptohash
, cryptoPubkeyTypes, filepath, HUnit, mtl, pem, QuickCheck
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, time
}:
cabal.mkDerivation (self: {
pname = "x509";
version = "1.4.7";
sha256 = "0bm5sijahpih2c6scz3y32904wzvmllgslg9d547cksbgy7lyx1h";
buildDepends = [
asn1Encoding asn1Parse asn1Types cryptohash cryptoPubkeyTypes
filepath mtl pem time
];
testDepends = [
asn1Types cryptoPubkeyTypes HUnit mtl QuickCheck testFramework
testFrameworkHunit testFrameworkQuickcheck2 time
];
meta = {
homepage = "http://github.com/vincenthz/hs-certificate";
description = "X509 reader and writer";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1,15 +1,15 @@
{ cabal, aeson, attoparsec, conduit, hspec, HUnit, resourcet, text { cabal, aeson, attoparsec, conduit, hspec, HUnit, resourcet
, transformers, unorderedContainers, vector , scientific, text, transformers, unorderedContainers, vector
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "yaml"; pname = "yaml";
version = "0.8.5.3"; version = "0.8.5.4";
sha256 = "028wxp3jcvdy63707jhxm9mmkbxz9ni1c63rb7wvzjswijp3p95b"; sha256 = "0mn1i0whqr9q6vh43x5xa0p4xxckqszhsi62warx1kjvrq4yil6f";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [
aeson attoparsec conduit resourcet text transformers aeson attoparsec conduit resourcet scientific text transformers
unorderedContainers vector unorderedContainers vector
]; ];
testDepends = [ testDepends = [

View File

@ -10,8 +10,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "yesod-bin"; pname = "yesod-bin";
version = "1.2.5.6"; version = "1.2.5.7";
sha256 = "1acqfg9g5xjfmpby1xham2ygvbydn0srw2c7hajvfwalc6zkxrny"; sha256 = "0vxkwdqmfi2ccknmgx0xh6w1p7bw3wi24w3c3fw80g72j9sxr5hn";
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -0,0 +1,20 @@
diff -rc junixsocket-1.3/src/main/org/newsclub/net/unix/NativeUnixSocket.java junixsocket-1.3-new/src/main/org/newsclub/net/unix/NativeUnixSocket.java
*** junixsocket-1.3/src/main/org/newsclub/net/unix/NativeUnixSocket.java Tue Jul 20 14:59:41 2010
--- junixsocket-1.3-new/src/main/org/newsclub/net/unix/NativeUnixSocket.java Sun May 27 22:26:15 2012
***************
*** 43,49 ****
String prefix = "lib";
String suffix = ".so";
String os = osName.replaceAll("[^A-Za-z0-9]", "").toLowerCase();
! if ("macosx".equals(os)) {
suffix = ".dylib";
} else if ("linux".equals(os) || "freebsd".equals(os)
|| "sunos".equals(os)) {
--- 43,49 ----
String prefix = "lib";
String suffix = ".so";
String os = osName.replaceAll("[^A-Za-z0-9]", "").toLowerCase();
! if ("macosx".equals(os) || "darwin".equals(os)) {
suffix = ".dylib";
} else if ("linux".equals(os) || "freebsd".equals(os)
|| "sunos".equals(os)) {

View File

@ -8,11 +8,15 @@ stdenv.mkDerivation rec {
sha256 = "0c6p8vmiv5nk8i6g1hgivnl3mpb2k3lhjjz0ss9dlirisfrxf1ym"; sha256 = "0c6p8vmiv5nk8i6g1hgivnl3mpb2k3lhjjz0ss9dlirisfrxf1ym";
}; };
patches = [ ./darwin.patch ];
buildInputs = [ ant jdk junit ]; buildInputs = [ ant jdk junit ];
preConfigure = preConfigure =
'' ''
sed -i 's|/usr/bin/||' build.xml substituteInPlace build.xml \
--replace /usr/bin/ "" \
--replace macosx darwin
substituteInPlace src/main/org/newsclub/net/unix/NativeUnixSocketConfig.java \ substituteInPlace src/main/org/newsclub/net/unix/NativeUnixSocketConfig.java \
--replace /opt/newsclub/lib-native $out/lib --replace /opt/newsclub/lib-native $out/lib
''; '';
@ -20,8 +24,10 @@ stdenv.mkDerivation rec {
buildPhase = "ant"; buildPhase = "ant";
ANT_ARGS = ANT_ARGS =
"-Dskip32=true -Dant.build.javac.source=1.6" # Note that our OpenJDK on Darwin is currently 32-bit, so we have to build a 32-bit dylib.
+ stdenv.lib.optionalString stdenv.isDarwin " -DisMac=true"; (if stdenv.is64bit && !stdenv.isDarwin then [ "-Dskip32=true" ] else [ "-Dskip64=true" ])
++ [ "-Dgcc=cc" "-Dant.build.javac.source=1.6" ]
++ stdenv.lib.optional stdenv.isDarwin "-DisMac=true";
installPhase = installPhase =
'' ''
@ -34,6 +40,6 @@ stdenv.mkDerivation rec {
description = "A Java/JNI library for using Unix Domain Sockets from Java"; description = "A Java/JNI library for using Unix Domain Sockets from Java";
homepage = https://code.google.com/p/junixsocket/; homepage = https://code.google.com/p/junixsocket/;
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
}; };
} }

View File

@ -57,6 +57,6 @@ stdenv.mkDerivation rec {
homepage = http://www.cmake.org/; homepage = http://www.cmake.org/;
description = "Cross-Platform Makefile Generator"; description = "Cross-Platform Makefile Generator";
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.all; platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ]; maintainers = with stdenv.lib.maintainers; [ urkud mornfall ];
}; };
} }

View File

@ -7,8 +7,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "HaRe"; pname = "HaRe";
version = "0.7.0.9"; version = "0.7.1.1";
sha256 = "1a3kf6hdzchcyb743l6ikyw3nclcy8g7a5kaj4jgxqvmss9z73f1"; sha256 = "1gh0md8gfchniclck5ddbkdwf9dl01mkcdmdx3n3f59rx9qi8g0h";
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ buildDepends = [

View File

@ -28,5 +28,6 @@ stdenv.mkDerivation {
socket (IPv6/IPv4/UNIX local), or partition (by opening a file socket (IPv6/IPv4/UNIX local), or partition (by opening a file
from it). from it).
''; '';
maintainers = stdenv.lib.maintainers.mornfall;
}; };
} }

View File

@ -23,4 +23,9 @@ stdenv.mkDerivation rec {
echo "exec $out/stepmania" >> $out/bin/stepmania echo "exec $out/stepmania" >> $out/bin/stepmania
chmod +x $out/bin/stepmania chmod +x $out/bin/stepmania
''; '';
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = maintainers.mornfall;
};
} }

View File

@ -78,25 +78,25 @@ rec {
}; };
grsecurity_3_0_3_2_53 = grsecurity_3_0_3_2_54 =
{ name = "grsecurity-3.0-3.2.53"; { name = "grsecurity-3.0-3.2.54";
patch = fetchurl { patch = fetchurl {
url = https://grsecurity.net/stable/grsecurity-3.0-3.2.53-201312021727.patch; url = https://grsecurity.net/stable/grsecurity-3.0-3.2.54-201401191012.patch;
sha256 = "1ifndcbpz552d0n2dgb38di8lhqd4x2msshdbdx33jlfdl7mk6x4"; sha256 = "10kfdk46fgd1awys8f8520w7kanc4m0ckn28xg36473fi76i6snx";
}; };
features.grsecurity = true; features.grsecurity = true;
# The grsec kernel patch seems to include the apparmor patches as of 3.0-3.2.53 # The grsec kernel patch seems to include the apparmor patches as of 3.0-3.2.54
features.apparmor = true; features.apparmor = true;
}; };
grsecurity_3_0_3_12_2 = grsecurity_3_0_3_12_8 =
{ name = "grsecurity-3.0-3.12.2"; { name = "grsecurity-3.0-3.12.8";
patch = fetchurl { patch = fetchurl {
url = https://grsecurity.net/test/grsecurity-3.0-3.12.2-201312021733.patch; url = https://grsecurity.net/test/grsecurity-3.0-3.12.8-201401191015.patch;
sha256 = "0xcsq6778rk9afg3078d772iflz7p4ahvr6wdq5c4s3jyssam783"; sha256 = "0dy7daar873jp0afkf48l8ij1ii8cgcc9z5pn50h1fvhc9ap1j4f";
}; };
features.grsecurity = true; features.grsecurity = true;
# The grsec kernel patch seems to include the apparmor patches as of 3.0-3.12.2 # The grsec kernel patch seems to include the apparmor patches as of 3.0-3.12.8
features.apparmor = true; features.apparmor = true;
}; };

View File

@ -19,5 +19,6 @@ stdenv.mkDerivation {
pam_krb5 can optionally convert Kerberos 5 credentials to Kerberos IV pam_krb5 can optionally convert Kerberos 5 credentials to Kerberos IV
credentials and/or use them to set up AFS tokens for a user's session. credentials and/or use them to set up AFS tokens for a user's session.
''; '';
maintainers = stdenv.lib.maintainers.mornfall;
}; };
} }

View File

@ -14,5 +14,6 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Dict protocol server and client"; description = "Dict protocol server and client";
maintainers = with stdenv.lib.maintainers; mornfall;
}; };
} }

View File

@ -301,7 +301,8 @@ rec {
overrides = pkgs: { overrides = pkgs: {
inherit gcc; inherit gcc;
inherit (stdenvLinuxBoot3Pkgs) binutils glibc; inherit (stdenvLinuxBoot3Pkgs) glibc;
inherit (stdenvLinuxBoot4Pkgs) binutils;
inherit (stdenvLinuxBoot4Pkgs) inherit (stdenvLinuxBoot4Pkgs)
gzip bzip2 xz bash coreutils diffutils findutils gawk gzip bzip2 xz bash coreutils diffutils findutils gawk
gnumake gnused gnutar gnugrep gnupatch patchelf gnumake gnused gnutar gnugrep gnupatch patchelf

View File

@ -8,10 +8,11 @@ stdenv.mkDerivation {
sha256 = "bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd"; sha256 = "bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd";
}; };
patches = [ ./no-gets.patch ]; patches = [ ./no-gets.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin-fix.patch;
meta = { meta = {
homepage = http://www.gnu.org/software/cpio/; homepage = http://www.gnu.org/software/cpio/;
description = "A program to create or extract from cpio archives"; description = "A program to create or extract from cpio archives";
platforms = stdenv.lib.platforms.all;
}; };
} }

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = http://www.greenwoodsoftware.com/less/; homepage = http://www.greenwoodsoftware.com/less/;
description = "A more advanced file pager than more"; description = "A more advanced file pager than more";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ stdenv.lib.maintainers.eelco ];
}; };
} }

View File

@ -6592,11 +6592,6 @@ let
}; };
grsecurityOverrider = args: { grsecurityOverrider = args: {
# Install gcc plugins. These are needed for compiling dependant packages.
postInstall = ''
${args.postInstall or ""}
cp "tools/gcc/"*.so $out/lib/modules/$version/build/tools/gcc/
'';
# Apparently as of gcc 4.6, gcc-plugin headers (which are needed by PaX plugins) # Apparently as of gcc 4.6, gcc-plugin headers (which are needed by PaX plugins)
# include libgmp headers, so we need these extra tweaks # include libgmp headers, so we need these extra tweaks
buildInputs = args.buildInputs ++ [ gmp ]; buildInputs = args.buildInputs ++ [ gmp ];
@ -6612,11 +6607,13 @@ let
# config options you need (e.g. by overriding extraConfig). See list of options here: # config options you need (e.g. by overriding extraConfig). See list of options here:
# https://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options # https://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options
linux_3_2_grsecurity = lowPrio (lib.overrideDerivation (linux_3_2.override (args: { linux_3_2_grsecurity = lowPrio (lib.overrideDerivation (linux_3_2.override (args: {
kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_3_0_3_2_53 kernelPatches.grsec_path ]; modDirVersion = "${linux_3_2.version}-grsec";
kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_3_0_3_2_54 kernelPatches.grsec_path ];
})) (args: grsecurityOverrider args)); })) (args: grsecurityOverrider args));
linux_3_12_grsecurity = lowPrio (lib.overrideDerivation (linux_3_12.override (args: { linux_3_12_grsecurity = lowPrio (lib.overrideDerivation (linux_3_12.override (args: {
kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_3_0_3_12_2 kernelPatches.grsec_path ]; modDirVersion = "${linux_3_12.version}-grsec";
kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_3_0_3_12_8 kernelPatches.grsec_path ];
})) (args: grsecurityOverrider args)); })) (args: grsecurityOverrider args));
linux_3_2_apparmor = lowPrio (linux_3_2.override { linux_3_2_apparmor = lowPrio (linux_3_2.override {

View File

@ -567,6 +567,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
asn1Data = callPackage ../development/libraries/haskell/asn1-data {}; asn1Data = callPackage ../development/libraries/haskell/asn1-data {};
asn1Encoding = callPackage ../development/libraries/haskell/asn1-encoding {};
asn1Parse = callPackage ../development/libraries/haskell/asn1-parse {};
asn1Types = callPackage ../development/libraries/haskell/asn1-types {}; asn1Types = callPackage ../development/libraries/haskell/asn1-types {};
AspectAG = callPackage ../development/libraries/haskell/AspectAG {}; AspectAG = callPackage ../development/libraries/haskell/AspectAG {};
@ -2502,6 +2506,14 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
wxdirect = callPackage ../development/libraries/haskell/wxHaskell/wxdirect.nix {}; wxdirect = callPackage ../development/libraries/haskell/wxHaskell/wxdirect.nix {};
x509 = callPackage ../development/libraries/haskell/x509 {};
x509Store = callPackage ../development/libraries/haskell/x509-store {};
x509System = callPackage ../development/libraries/haskell/x509-system {};
x509Validation = callPackage ../development/libraries/haskell/x509-validation {};
X11 = callPackage ../development/libraries/haskell/X11 {}; X11 = callPackage ../development/libraries/haskell/X11 {};
X11Xft = callPackage ../development/libraries/haskell/X11-xft {}; X11Xft = callPackage ../development/libraries/haskell/X11-xft {};

View File

@ -65,6 +65,9 @@ pythonPackages = modules // import ./python-packages-generated.nix {
ipython = import ../shells/ipython { ipython = import ../shells/ipython {
inherit (pkgs) stdenv fetchurl sip pyqt4; inherit (pkgs) stdenv fetchurl sip pyqt4;
inherit buildPythonPackage pythonPackages; inherit buildPythonPackage pythonPackages;
qtconsoleSupport = !pkgs.stdenv.isDarwin; # qt is not supported on darwin
pylabQtSupport = !pkgs.stdenv.isDarwin;
pylabSupport = !pkgs.stdenv.isDarwin; # cups is not supported on darwin
}; };
ipythonLight = lowPrio (import ../shells/ipython { ipythonLight = lowPrio (import ../shells/ipython {

View File

@ -12,7 +12,7 @@
{ nixpkgs ? { outPath = (import ./all-packages.nix {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; } { nixpkgs ? { outPath = (import ./all-packages.nix {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, officialRelease ? false , officialRelease ? false
, # The platforms for which we build Nixpkgs. , # The platforms for which we build Nixpkgs.
supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" "x86_64-freebsd" "i686-freebsd" ] supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
}: }:
with import ./release-lib.nix { inherit supportedSystems; }; with import ./release-lib.nix { inherit supportedSystems; };