Merge remote-tracking branch 'official/master' into stdenv-updates
This commit is contained in:
commit
2f428bbb46
@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A GTK-based news feed agregator";
|
||||
homepage = http://lzone.de/liferea/;
|
||||
maintainers = [ stdenv.lib.maintainers.vcunat ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
, libX11, libICE, libSM, useX11 ? (stdenv.isLinux || stdenv.isDarwin) }:
|
||||
|
||||
let
|
||||
version = "1.6.12"; # 1.7.* isn't recommended, even for gnome 3.8
|
||||
sha256 = "14pfh2ksn4srfry752kf1jy3c61hklcs9fx2xglw2ifhsszplypn";
|
||||
version = "1.6.14"; # 1.7.* isn't recommended, even for gnome 3.8
|
||||
sha256 = "0v7mcxwfmpjf7vndnvf2kf02al61clrxs36bqii20s0lawfh2xjn";
|
||||
|
||||
inherit (stdenv) lib;
|
||||
|
||||
@ -25,30 +25,13 @@ let
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
"--with-session-socket-dir=/tmp"
|
||||
"--with-systemdsystemunitdir=$(out)/lib/systemd"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:'
|
||||
autoreconf -fi
|
||||
'';
|
||||
|
||||
installFlags = "sysconfdir=$(out)/etc";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
patches = [ ./ignore-missing-includedirs.patch ]
|
||||
++ lib.optional (stdenv.isSunOS || stdenv.isLinux/*avoid rebuilds*/) ./implement-getgrouplist.patch
|
||||
++ [ ./ucred-dirty-hack.patch ./no-create-dirs.patch ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ expat ];
|
||||
buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux?
|
||||
patches = [
|
||||
./ignore-missing-includedirs.patch
|
||||
./ucred-dirty-hack.patch
|
||||
./no-create-dirs.patch
|
||||
]
|
||||
++ lib.optional (stdenv.isSunOS || stdenv.isLinux) ./implement-getgrouplist.patch
|
||||
;
|
||||
|
||||
# build only the specified subdirs
|
||||
postPatch = "sed '/SUBDIRS/s/=.*/=" + subdirs + "/' -i Makefile.am\n"
|
||||
@ -59,6 +42,29 @@ let
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ expat ];
|
||||
buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux?
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:'
|
||||
autoreconf -fi
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
"--with-session-socket-dir=/tmp"
|
||||
"--with-systemdsystemunitdir=$(out)/lib/systemd"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
installFlags = "sysconfdir=$(out)/etc";
|
||||
|
||||
} merge ]);
|
||||
|
||||
libs = dbus_drv "libs" "dbus" ({
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "digestive-functors-heist";
|
||||
version = "0.7.0.0";
|
||||
sha256 = "0ljsr4yy3pb4cjg9dcgfcs9rn1ihg3xi9ak5p3h3kw3w19d1hsaq";
|
||||
version = "0.8.0.0";
|
||||
sha256 = "1zy2fy30q51q8pqw78f8gxc1x52vw49w3mnqc2hfqw190v5r9dgh";
|
||||
buildDepends = [
|
||||
blazeBuilder digestiveFunctors heist mtl text xmlhtml
|
||||
];
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "dimensional";
|
||||
version = "0.12.1";
|
||||
sha256 = "176mvnd570xskjs6ky1wax9adzzrm9j6ai0fc4hy2z4097ydcgwm";
|
||||
version = "0.12.1.1";
|
||||
sha256 = "1fjkvyp62bh5gyzhkn189z5mxrr1acwmk39mqxk4579xbchvpyq6";
|
||||
buildDepends = [ numtype time ];
|
||||
meta = {
|
||||
homepage = "http://dimensional.googlecode.com/";
|
||||
|
@ -10,6 +10,7 @@ cabal.mkDerivation (self: {
|
||||
testDepends = [
|
||||
mtl QuickCheck testFramework testFrameworkQuickcheck2 transformers
|
||||
];
|
||||
doCheck = false;
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/exceptions/";
|
||||
description = "Extensible optionally-pure exceptions";
|
||||
@ -17,5 +18,4 @@ cabal.mkDerivation (self: {
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
||||
};
|
||||
doCheck = false; # https://github.com/ekmett/exceptions/issues/18
|
||||
})
|
||||
|
@ -1,14 +1,15 @@
|
||||
{ cabal, bifunctors, comonad, comonadsFd, comonadTransformers
|
||||
, distributive, mtl, semigroupoids, semigroups, transformers
|
||||
, distributive, mtl, profunctors, semigroupoids, semigroups
|
||||
, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "free";
|
||||
version = "3.4.1";
|
||||
sha256 = "09yfkmnmhwwq22fsm1f4li4h13c3bqnh274z8jpgw0hrcnssh0rk";
|
||||
version = "3.4.2";
|
||||
sha256 = "1x6pdkcxk6z9ndph2yzz5n21afc2330m0ryv4w67jsss5aa69fwb";
|
||||
buildDepends = [
|
||||
bifunctors comonad comonadsFd comonadTransformers distributive mtl
|
||||
semigroupoids semigroups transformers
|
||||
profunctors semigroupoids semigroups transformers
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/free/";
|
||||
|
12
pkgs/development/libraries/haskell/statvfs/default.nix
Normal file
12
pkgs/development/libraries/haskell/statvfs/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ cabal }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "statvfs";
|
||||
version = "0.1";
|
||||
sha256 = "1v45lx7wr27f5sx7cpfsapx1r6akgf1q3hpip1ibbsbhj65ws2r2";
|
||||
meta = {
|
||||
description = "Get unix filesystem statistics with statfs, statvfs";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
@ -15,7 +15,7 @@ cabal.mkDerivation (self: {
|
||||
attoparsec Cabal filepath lens QuickCheck random
|
||||
systemPosixRedirect text time vectorSpace
|
||||
];
|
||||
check = false;
|
||||
doCheck = false;
|
||||
meta = {
|
||||
homepage = "https://github.com/liyang/thyme";
|
||||
description = "A faster time library";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "unix-bytestring";
|
||||
version = "0.3.6";
|
||||
sha256 = "0m2ndw6r88vb4cqdkd8jg8dlk9h99mp3rand5j1gxxdjfv7q63ap";
|
||||
version = "0.3.7";
|
||||
sha256 = "1qwgs2bwga057csfa8izq0kc5vwi2vcaz2snlcgp0h9vql3qmvrg";
|
||||
meta = {
|
||||
homepage = "http://code.haskell.org/~wren/";
|
||||
description = "Unix/Posix-specific functions for ByteStrings";
|
||||
|
@ -21,8 +21,8 @@
|
||||
, shakespeareText, silently, simpleSendfile, skein, socks
|
||||
, stringsearch, systemFileio, systemFilepath, tagged, tagsoup
|
||||
, tagstreamConduit, tls, tlsExtra, transformersBase, unixCompat
|
||||
, unorderedContainers, utf8Light, utf8String, vault, vector, void
|
||||
, wai, waiAppStatic, waiExtra, waiLogger, waiTest, warp, word8
|
||||
, unorderedContainers, utf8Light, utf8String, vector, void, wai
|
||||
, waiAppStatic, waiExtra, waiLogger, waiTest, warp, word8
|
||||
, xmlConduit, xmlTypes, xssSanitize, yaml, yesod, yesodAuth
|
||||
, yesodCore, yesodForm, yesodPersistent, yesodRoutes, yesodStatic
|
||||
, yesodTest, zlibBindings, zlibConduit
|
||||
@ -30,8 +30,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-platform";
|
||||
version = "1.2.4.1";
|
||||
sha256 = "13fw1svs3769m8rf5mnks0ibgdd73s1qq9dgg4h49xkzrdgs31rk";
|
||||
version = "1.2.4.2";
|
||||
sha256 = "1hmzdwjqi3cxdmyvcr48kprrsa8h548z272mif07114d0qh48x4w";
|
||||
buildDepends = [
|
||||
aeson ansiTerminal asn1Data asn1Types attoparsec attoparsecConduit
|
||||
authenticate base64Bytestring baseUnicodeSymbols blazeBuilder
|
||||
@ -53,7 +53,7 @@ cabal.mkDerivation (self: {
|
||||
shakespeareJs shakespeareText silently simpleSendfile skein socks
|
||||
stringsearch systemFileio systemFilepath tagged tagsoup
|
||||
tagstreamConduit tls tlsExtra transformersBase unixCompat
|
||||
unorderedContainers utf8Light utf8String vault vector void wai
|
||||
unorderedContainers utf8Light utf8String vector void wai
|
||||
waiAppStatic waiExtra waiLogger waiTest warp word8 xmlConduit
|
||||
xmlTypes xssSanitize yaml yesod yesodAuth yesodCore yesodForm
|
||||
yesodPersistent yesodRoutes yesodStatic yesodTest zlibBindings
|
||||
|
27
pkgs/development/libraries/java/jzmq/default.nix
Normal file
27
pkgs/development/libraries/java/jzmq/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{stdenv, fetchgit, automake, autoconf, libtool, pkgconfig, zeromq2, jdk}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jzmq-2.1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/zeromq/jzmq.git;
|
||||
rev = "946fd39780423b2df6e5efd9fa2cd863fd79c9db";
|
||||
};
|
||||
|
||||
buildInputs = [ automake autoconf libtool pkgconfig zeromq2 jdk ];
|
||||
|
||||
preConfigurePhases = ["./autogen.sh"];
|
||||
preConfigure = ''
|
||||
sed -i -e 's|(JAVAC)|(JAVAC) -encoding utf8|' src/Makefile.in
|
||||
${if stdenv.system == "x86_64-darwin" then
|
||||
'' sed -i -e 's~/Headers~/include~' -e 's~_JNI_INC_SUBDIRS=\".*\"~_JNI_INC_SUBDIRS=\"darwin\"~' configure
|
||||
'' else ""}
|
||||
'';
|
||||
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.vizanto ];
|
||||
meta = {
|
||||
homepage = "http://www.zeromq.org";
|
||||
description = "Java bindings for ZeroMQ";
|
||||
};
|
||||
}
|
@ -26,7 +26,7 @@ with { inherit (stdenv.lib) optional optionals; };
|
||||
|
||||
let
|
||||
result = {
|
||||
libav_9 = libavFun "9.8" "0r7hg9wg3cxjsmwzpa6f2p1a092g2iazyjjy23604ccskzbnirg3";
|
||||
libav_9 = libavFun "9.9" "1rwphyqb2c4zyp20y4ywxjiddmd46vd4dbpdm1lxqm3q63rmmdk9";
|
||||
libav_0_8 = libavFun "0.8.8" "1wnbmbs0z4f55y8r9bwb63l04zn383l1avy4c9x1ffb2xccgcp79";
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, stdenv, dejagnu }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libffi-3.0.13";
|
||||
|
||||
src = fetchurl {
|
||||
@ -8,15 +8,21 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "077ibkf84bvcd6rw1m6jb107br63i2pp301rkmsbgg6300adxp8x";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
buildInputs = stdenv.lib.optional doCheck dejagnu;
|
||||
|
||||
configureFlags = [ "--with-gcc-arch=generic" ]; # no detection of -march= or -mtune=
|
||||
|
||||
doCheck = !stdenv.isDarwin; # until we solve dejagnu problems on darwin
|
||||
|
||||
dontStrip = stdenv ? cross; # Don't run the native `strip' when cross-compiling.
|
||||
|
||||
postInstall =
|
||||
# Install headers in the right place.
|
||||
'' ln -sv "$out/lib/"libffi*/include "$out/include"
|
||||
'' ln -srv "$out/lib/"libffi*/include "$out/include"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "libffi, a foreign function call interface library";
|
||||
description = "A foreign function call interface library";
|
||||
|
||||
longDescription = ''
|
||||
The libffi library provides a portable, high level programming
|
||||
@ -33,7 +39,7 @@ stdenv.mkDerivation (rec {
|
||||
conversions for values passed between the two languages.
|
||||
'';
|
||||
|
||||
homepage = http://sources.redhat.com/libffi/;
|
||||
homepage = http://sourceware.org/libffi/;
|
||||
|
||||
# See http://github.com/atgreen/libffi/blob/master/LICENSE .
|
||||
license = "free, non-copyleft";
|
||||
@ -43,9 +49,3 @@ stdenv.mkDerivation (rec {
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
# Don't run the native `strip' when cross-compiling.
|
||||
(if (stdenv ? cross)
|
||||
then { dontStrip = true; }
|
||||
else { }))
|
||||
|
19
pkgs/development/libraries/libnetfilter_queue/default.nix
Normal file
19
pkgs/development/libraries/libnetfilter_queue/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libnetfilter_queue-1.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.netfilter.org/pub/libnetfilter_queue/${name}.tar.bz2";
|
||||
sha256 = "0chsmj9ky80068vn458ijz9sh4sk5yc08dw2d6b8yddybpmr1143";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libmnl libnfnetlink ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.netfilter.org/projects/libnetfilter_queue/";
|
||||
description = "userspace API to packets queued by the kernel packet filter";
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,14 +1,24 @@
|
||||
{stdenv, fetchurl, pkgconfig, libX11, gtk, intltool}:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, intltool, xorg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libwnck-2.30.7";
|
||||
let
|
||||
ver_maj = "2.31";
|
||||
ver_min = "0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libwnck-${ver_maj}.${ver_min}";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/libwnck/2.30/libwnck-2.30.7.tar.xz;
|
||||
sha256 = "15713yl0f8f3p99jzqqfmbicrdswd3vwpx7r3bkf1bgh6d9lvs4b";
|
||||
url = "mirror://gnome/sources/libwnck/${ver_maj}/${name}.tar.xz";
|
||||
sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libX11 gtk intltool ];
|
||||
buildInputs = [ pkgconfig gtk intltool xorg.libX11 xorg.libXres ];
|
||||
# ?another optional: startup-notification
|
||||
|
||||
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK
|
||||
|
||||
meta = {
|
||||
description = "A library for creating task lists and pagers";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "HaRe";
|
||||
version = "0.7.0.1";
|
||||
sha256 = "1ykbyc6p71k6rs85vcsjgk47cxd2lda3iw78jzs0fx43qr1dywnl";
|
||||
version = "0.7.0.2";
|
||||
sha256 = "05dlrx4wfadv798098bclkmsmm6f226n9rqp19ajdwaa11x5mf8d";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ fetchurl, stdenv, expect, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dejagnu-1.5";
|
||||
name = "dejagnu-1.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/dejagnu/${name}.tar.gz";
|
||||
sha256 = "1nx3x3h96a82q92q108q71giv2nz9xmbbn2nrlr3wvvs6l45id68";
|
||||
sha256 = "1lik8h4qi7x0mhsi8xmj91an1yb63rjbk6v4xrmzgiy5lk8lgrv0";
|
||||
};
|
||||
|
||||
patches = [ ./wrapped-runtest-program-name.patch ];
|
||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/runtest" \
|
||||
--prefix PATH ":" "${expect}/bin"
|
||||
--prefix PATH ":" "${expect}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -55,6 +55,7 @@
|
||||
urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>";
|
||||
vcunat = "Vladimír Čunát <vcunat@gmail.com>";
|
||||
viric = "Lluís Batlle i Rossell <viric@viric.name>";
|
||||
vizanto = "Danny Wilson <danny@prime.vc>";
|
||||
winden = "Antonio Vargas Gonzalez <windenntw@gmail.com>";
|
||||
z77z = "Marco Maggesi <maggesi@math.unifi.it>";
|
||||
}
|
||||
|
@ -41,10 +41,10 @@ let
|
||||
};
|
||||
|
||||
mainlineSrc = rec {
|
||||
name = "ghostscript-9.09";
|
||||
name = "ghostscript-9.10";
|
||||
src = fetchurl {
|
||||
url = "http://downloads.ghostscript.com/public/${name}.tar.bz2";
|
||||
sha256 = "1xwn4zlfb9jz0vrda0vd42qwfqddiav7rdkga0q94jc2q1qddzx6";
|
||||
sha256 = "106mglk77dhdra1m0ddnmaq645xj1aj45qvlh8izv3xx4cdrv3bc";
|
||||
};
|
||||
meta = meta_common // {
|
||||
homepage = "http://www.ghostscript.com/";
|
||||
|
49
pkgs/servers/computing/storm/default.nix
Normal file
49
pkgs/servers/computing/storm/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ stdenv, fetchurl, zip, unzip, jzmq, jdk, lib, python, logsDir ? "", confFile ? "", extraLibraryPaths ? [], extraJars ? [] }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "storm-0.8.2";
|
||||
src = fetchurl {
|
||||
url = https://dl.dropbox.com/u/133901206/storm-0.8.2.zip;
|
||||
sha256 = "8761aea0b54e5bab4a68b259bbe6b5b2f8226204488b5559eba57a0c458b2bbc";
|
||||
};
|
||||
|
||||
buildInputs = [ zip unzip jzmq ];
|
||||
|
||||
installPhase = ''
|
||||
# Remove junk
|
||||
rm -f lib/jzmq*
|
||||
mkdir -p $out/bin
|
||||
mv bin/storm $out/bin/
|
||||
rm -R bin conf logs
|
||||
|
||||
# Fix shebang header for python scripts
|
||||
sed -i -e "s|#!/usr/bin/.*python|#!${python}/bin/python|" $out/bin/storm;
|
||||
|
||||
mkdir -p $out/conf
|
||||
cp -av * $out
|
||||
|
||||
cd $out;
|
||||
${if logsDir != "" then ''ln -s ${logsDir} logs'' else ""}
|
||||
|
||||
# Extract, delete from zip; and optionally append to defaults.yaml
|
||||
unzip storm-*.jar defaults.yaml;
|
||||
zip -d storm-*.jar defaults.yaml;
|
||||
echo 'java.library.path: "${jzmq}/lib:${lib.concatStringsSep ":" extraLibraryPaths}"' >> defaults.yaml;
|
||||
${if confFile != "" then ''cat ${confFile} >> defaults.yaml'' else ""}
|
||||
mv defaults.yaml conf;
|
||||
|
||||
# Link to jzmq jar and extra jars
|
||||
cd lib;
|
||||
ln -s ${jzmq}/share/java/*.jar;
|
||||
${lib.concatMapStrings (jar: "ln -s ${jar};\n") extraJars}
|
||||
'';
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://storm-project.net";
|
||||
description = "Storm, free and open source distributed realtime computation system.";
|
||||
license = "Eclipse Public License 1.0";
|
||||
maintainers = [ lib.maintainers.vizanto ];
|
||||
};
|
||||
}
|
@ -1,14 +1,16 @@
|
||||
{stdenv, fetchurl, tcl, tk, xproto, libX11}:
|
||||
{ stdenv, fetchurl, tcl }:
|
||||
|
||||
let version = "5.45";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "expect-5.44.1";
|
||||
name = "expect-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://expect.nist.gov/old/expect-5.44.1.tar.gz;
|
||||
sha256 = "13zxqiclzk1paxc0mr2vwp9nhfyr2mkwk9gs73fg0l3iss16n6p4";
|
||||
url = "mirror://sourceforge/expect/Expect/${version}/expect${version}.tar.gz";
|
||||
sha256 = "0h60bifxj876afz4im35rmnbnxjx4lbdqp2ja3k30fwa8a8cm3dj";
|
||||
};
|
||||
|
||||
buildInputs = [tcl tk xproto libX11];
|
||||
buildInputs = [ tcl ];
|
||||
|
||||
#NIX_CFLAGS_COMPILE = "-DHAVE_UNISTD_H";
|
||||
|
||||
@ -23,14 +25,17 @@ stdenv.mkDerivation {
|
||||
export NIX_LDFLAGS="-rpath $out/lib $NIX_LDFLAGS"
|
||||
'';
|
||||
|
||||
configureFlags = ["--with-tcl=${tcl}/lib"
|
||||
configureFlags = [
|
||||
"--with-tcl=${tcl}/lib"
|
||||
"--with-tclinclude=${tcl}/include"
|
||||
"--with-tk=${tk}/lib"
|
||||
"--exec-prefix=$out"];
|
||||
"--exec-prefix=$out"
|
||||
];
|
||||
|
||||
postInstall = let libSuff = if stdenv.isDarwin then "dylib" else "so";
|
||||
in "cp expect $out/bin; mkdir -p $out/lib; cp *.${libSuff} $out/lib";
|
||||
|
||||
meta = {
|
||||
description = "A tool for automating interactive applications";
|
||||
homepage = http://expect.nist.gov/;
|
||||
};
|
||||
postInstall="cp expect{,k} $out/bin; mkdir -p $out/lib; cp *.so $out/lib";
|
||||
}
|
||||
|
@ -5,11 +5,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-1.5.3";
|
||||
name = "nix-1.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz";
|
||||
sha256 = "070e82a155851900768eb4a638aa50a6df9a8475c6dbc78a3b4a7dea75d64201";
|
||||
sha256 = "2e451a6ad0b43997d8df71d29a7d20ef42f7715fe16efbf4b53bdcdd1d5227fe";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
@ -5,11 +5,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-1.6pre3215_2c1ecf8";
|
||||
name = "nix-1.6pre3220_fecad91";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://hydra.nixos.org/build/5940181/download/5/${name}.tar.xz";
|
||||
sha256 = "404fe856ae534b09e9a81d69751127e0987fea6bf2d0ec01acac3a9ea4ce72ae";
|
||||
url = "http://hydra.nixos.org/build/6038922/download/5/${name}.tar.xz";
|
||||
sha256 = "0251b8cb7ad2a4974a9c8002c65f1c6e1b334be082d3dd2f085929594637f947";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ lib, pythonPackages, fetchurl, libxslt, docbook5_xsl }:
|
||||
{ lib, pythonPackages, fetchurl, libxslt, docbook5_xsl, openssh }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "nixops-1.0.1";
|
||||
name = "nixops-1.1";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nixos.org/releases/nixops/${name}/${name}.tar.bz2";
|
||||
sha256 = "c6dda2597ba0ab2f60c984d4715163c02940f20803619668d6c16eba8570a394";
|
||||
sha256 = "1i0v4v83s663izw6al63avhs0378rp3nxchy8nkb1zam5rj097z2";
|
||||
};
|
||||
|
||||
buildInputs = [ libxslt ];
|
||||
@ -15,6 +15,7 @@ pythonPackages.buildPythonPackage rec {
|
||||
[ pythonPackages.prettytable
|
||||
pythonPackages.boto
|
||||
pythonPackages.sqlite3
|
||||
pythonPackages.hetzner
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
@ -29,6 +30,10 @@ pythonPackages.buildPythonPackage rec {
|
||||
|
||||
mkdir -p $out/share/nix/nixops
|
||||
cp -av nix/* $out/share/nix/nixops
|
||||
|
||||
# Add openssh to nixops' PATH. On some platforms, e.g. CentOS and RHEL
|
||||
# the version of openssh is causing errors when have big networks (40+)
|
||||
wrapProgram $out/bin/nixops --prefix PATH : "${openssh}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
28
pkgs/tools/security/tcpcrypt/default.nix
Normal file
28
pkgs/tools/security/tcpcrypt/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ fetchurl, stdenv
|
||||
, openssl, libcap, libnfnetlink, libnetfilter_queue
|
||||
}:
|
||||
|
||||
let
|
||||
rev = "0e07772316061ad67b8770e7d98d5dd099c9c7c7";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tcpcrypt-2011.07.22";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/sorbo/tcpcrypt/archive/${rev}.tar.gz";
|
||||
sha256 = "1f1f1iawlvipnccwh31fxnb8yam1fgh36m0qcbc29qk1ggwrfnkk";
|
||||
name = "${name}.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl libcap libnfnetlink libnetfilter_queue ];
|
||||
|
||||
preConfigure = "cd user";
|
||||
|
||||
meta = {
|
||||
homepage = "http://tcpcrypt.org/";
|
||||
description = "enable opportunistic encryption of all TCP traffic";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0gljf5c60q6i0nrii6addxy1p76qqixww8zy17a7a1zil6a3i5wh";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
|
||||
|
||||
meta = {
|
||||
homepage = http://collectd.org;
|
||||
description = "collectd is a daemon which collects system performance statistics periodically";
|
||||
|
@ -1794,6 +1794,8 @@ let
|
||||
|
||||
tarsnap = callPackage ../tools/backup/tarsnap { };
|
||||
|
||||
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
|
||||
|
||||
tcpdump = callPackage ../tools/networking/tcpdump { };
|
||||
|
||||
teamviewer = callPackage_i686 ../applications/networking/remote/teamviewer { };
|
||||
@ -4851,6 +4853,8 @@ let
|
||||
|
||||
libnetfilter_conntrack = callPackage ../development/libraries/libnetfilter_conntrack { };
|
||||
|
||||
libnetfilter_queue = callPackage ../development/libraries/libnetfilter_queue { };
|
||||
|
||||
libnfnetlink = callPackage ../development/libraries/libnfnetlink { };
|
||||
|
||||
libnih = callPackage ../development/libraries/libnih { };
|
||||
@ -5795,6 +5799,8 @@ let
|
||||
|
||||
junit = callPackage ../development/libraries/java/junit { };
|
||||
|
||||
jzmq = callPackage ../development/libraries/java/jzmq { };
|
||||
|
||||
lucene = callPackage ../development/libraries/java/lucene { };
|
||||
|
||||
mockobjects = callPackage ../development/libraries/java/mockobjects { };
|
||||
@ -6231,6 +6237,8 @@ let
|
||||
|
||||
thttpd = callPackage ../servers/http/thttpd { };
|
||||
|
||||
storm = callPackage ../servers/computing/storm { };
|
||||
|
||||
tomcat5 = callPackage ../servers/http/tomcat/5.0.nix { };
|
||||
|
||||
tomcat6 = callPackage ../servers/http/tomcat/6.0.nix { };
|
||||
@ -6448,6 +6456,8 @@ let
|
||||
|
||||
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
|
||||
|
||||
linuxHeaders26 = callPackage ../os-specific/linux/kernel-headers/2.6.32.nix { };
|
||||
|
||||
linuxHeaders37 = callPackage ../os-specific/linux/kernel-headers/3.7.nix { };
|
||||
|
||||
linuxHeaders26Cross = forceNativeDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
||||
@ -9780,10 +9790,13 @@ let
|
||||
stateDir = config.nix.stateDir or "/nix/var";
|
||||
};
|
||||
|
||||
nixUnstable = nixStable;
|
||||
/*
|
||||
nixUnstable = callPackage ../tools/package-management/nix/unstable.nix {
|
||||
storeDir = config.nix.storeDir or "/nix/store";
|
||||
stateDir = config.nix.stateDir or "/nix/var";
|
||||
};
|
||||
*/
|
||||
|
||||
nixops = callPackage ../tools/package-management/nixops { };
|
||||
|
||||
|
@ -644,7 +644,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
Cabal_1_14_0 = callPackage ../development/libraries/haskell/Cabal/1.14.0.nix { cabal = self.cabal.override { Cabal = null; }; };
|
||||
Cabal_1_16_0_3 = callPackage ../development/libraries/haskell/Cabal/1.16.0.3.nix { cabal = self.cabal.override { Cabal = null; }; };
|
||||
Cabal_1_18_0 = callPackage ../development/libraries/haskell/Cabal/1.18.0.nix { cabal = self.cabal.override { Cabal = null; }; };
|
||||
Cabal_1_18_0 = callPackage ../development/libraries/haskell/Cabal/1.18.0.nix {
|
||||
cabal = self.cabal.override { Cabal = null; };
|
||||
deepseq = self.deepseq_1_3_0_1;
|
||||
};
|
||||
Cabal = null; # core package in GHC
|
||||
|
||||
cabalFileTh = callPackage ../development/libraries/haskell/cabal-file-th {};
|
||||
@ -1849,6 +1852,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
|
||||
statistics = callPackage ../development/libraries/haskell/statistics {};
|
||||
|
||||
statvfs = callPackage ../development/libraries/haskell/statvfs {};
|
||||
|
||||
StrafunskiStrategyLib = callPackage ../development/libraries/haskell/Strafunski-StrategyLib {};
|
||||
|
||||
streamproc = callPackage ../development/libraries/haskell/streamproc {};
|
||||
@ -2391,7 +2396,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||
cabalInstall_0_10_2 = callPackage ../tools/package-management/cabal-install/0.10.2.nix {};
|
||||
cabalInstall_0_14_0 = callPackage ../tools/package-management/cabal-install/0.14.0.nix {};
|
||||
cabalInstall_1_16_0_2 = callPackage ../tools/package-management/cabal-install/1.16.0.2.nix {};
|
||||
cabalInstall_1_18_0_1 = callPackage ../tools/package-management/cabal-install/1.18.0.1.nix {};
|
||||
cabalInstall_1_18_0_1 = callPackage ../tools/package-management/cabal-install/1.18.0.1.nix {
|
||||
Cabal = self.Cabal_1_18_0;
|
||||
};
|
||||
cabalInstall = self.cabalInstall_1_18_0;
|
||||
|
||||
gitAnnex = callPackage ../applications/version-management/git-and-tools/git-annex {};
|
||||
|
@ -1109,11 +1109,11 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
||||
|
||||
|
||||
deform = buildPythonPackage rec {
|
||||
name = "deform-0.9.7";
|
||||
name = "deform-0.9.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/d/deform/${name}.tar.gz";
|
||||
md5 = "d450eef05432d473257da5621c72c8b7";
|
||||
sha256 = "15500rm33n6kxsdpqyn3ih25y3rvab4nxy2yzsj2754kdlhlyjpx";
|
||||
};
|
||||
|
||||
buildInputs = [] ++ optional isPy26 unittest2;
|
||||
@ -1140,11 +1140,11 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
||||
|
||||
|
||||
deform_bootstrap = buildPythonPackage rec {
|
||||
name = "deform_bootstrap-0.2";
|
||||
name = "deform_bootstrap-0.2.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/d/deform_bootstrap/${name}.tar.gz";
|
||||
md5 = "57812251f327367761f32d49a8286aa4";
|
||||
sha256 = "1hgq3vqsfqdmlyahnlc40w13viawhpzqf4jzigsggdb41x545fda";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ deform ];
|
||||
@ -5563,11 +5563,11 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
||||
|
||||
|
||||
trac = buildPythonPackage {
|
||||
name = "trac-0.12.2";
|
||||
name = "trac-1.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ftp.edgewall.com/pub/trac/Trac-0.12.2.tar.gz;
|
||||
sha256 = "1ihf5031pc1wpwbxpfzzz2bcpwww795n5y22baglyim1lalivd65";
|
||||
url = http://ftp.edgewall.com/pub/trac/Trac-1.0.1.tar.gz;
|
||||
sha256 = "1nqa95fcnkpyq4jk6az7l7sqgm3b3pjq3bx1n7y4v3bad5jr1m4x";
|
||||
};
|
||||
|
||||
# couple of failing tests
|
||||
|
Loading…
Reference in New Issue
Block a user