forked from mirrors/nixpkgs
svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/libpng15/; revision=32099
This commit is contained in:
commit
c615cbae70
|
@ -3,4 +3,5 @@
|
||||||
if [[ -z "$VERBOSE" ]]; then
|
if [[ -z "$VERBOSE" ]]; then
|
||||||
echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
|
echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
|
||||||
fi
|
fi
|
||||||
|
unset HOME NIXPKGS_CONFIG # Force empty config
|
||||||
nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null
|
nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ fetchcvs, stdenv, emacs, w3m, imagemagick, texinfo, autoconf }:
|
{ fetchcvs, stdenv, emacs, w3m, imagemagick, texinfo, autoconf }:
|
||||||
|
|
||||||
let date = "2009-07-09"; in
|
let date = "2012-01-15"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "emacs-w3m-cvs${date}";
|
name = "emacs-w3m-cvs${date}";
|
||||||
|
|
||||||
|
|
31
pkgs/applications/misc/goldendict/default.nix
Normal file
31
pkgs/applications/misc/goldendict/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, fetchurl, qt4, libXtst, libvorbis, phonon, hunspell }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "goldendict-1.0.1";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/goldendict/${name}-src.tar.bz2";
|
||||||
|
sha256 = "19p99dd5jgs0k66sy30vck7ymqj6dv1lh6w8xw18zczdll2h9yxk";
|
||||||
|
};
|
||||||
|
buildInputs = [ qt4 libXtst libvorbis phonon hunspell ];
|
||||||
|
unpackPhase = ''
|
||||||
|
mkdir ${name}-src
|
||||||
|
cd ${name}-src
|
||||||
|
tar xf ${src}
|
||||||
|
'';
|
||||||
|
patches = [ ./goldendict-paths.diff ];
|
||||||
|
patchFlags = "-p 0";
|
||||||
|
configurePhase = ''
|
||||||
|
qmake
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
make INSTALL_ROOT="$out" install
|
||||||
|
rm -rf "$out/share/app-install"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://goldendict.org/;
|
||||||
|
description = "a feature-rich dictionary lookup program";
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
||||||
|
};
|
||||||
|
}
|
10
pkgs/applications/misc/goldendict/goldendict-paths.diff
Normal file
10
pkgs/applications/misc/goldendict/goldendict-paths.diff
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- goldendict.pro~ 2010-12-27 22:52:21.000000000 +0100
|
||||||
|
+++ goldendict.pro 2010-12-27 22:52:21.000000000 +0100
|
||||||
|
@@ -63,2 +63,2 @@
|
||||||
|
- isEmpty( PREFIX ):PREFIX = /usr/local
|
||||||
|
- DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
|
||||||
|
+ isEmpty( PREFIX ):PREFIX = /
|
||||||
|
+ DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
|
||||||
|
@@ -66 +66 @@
|
||||||
|
- locale.path = $$PREFIX/share/apps/goldendict/locale/
|
||||||
|
+ locale.path = $$PREFIX/share/goldendict/locale/
|
180
pkgs/applications/networking/browsers/firefox/11.0.nix
Normal file
180
pkgs/applications/networking/browsers/firefox/11.0.nix
Normal file
|
@ -0,0 +1,180 @@
|
||||||
|
{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
|
||||||
|
, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs
|
||||||
|
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
|
||||||
|
, yasm, mesa, sqlite, unzip
|
||||||
|
|
||||||
|
, # If you want the resulting program to call itself "Firefox" instead
|
||||||
|
# of "Shiretoko" or whatever, enable this option. However, those
|
||||||
|
# binaries may not be distributed without permission from the
|
||||||
|
# Mozilla Foundation, see
|
||||||
|
# http://www.mozilla.org/foundation/trademarks/.
|
||||||
|
enableOfficialBranding ? false
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||||
|
|
||||||
|
rec {
|
||||||
|
|
||||||
|
firefoxVersion = "11.0b1";
|
||||||
|
|
||||||
|
xulVersion = "11.0"; # this attribute is used by other packages
|
||||||
|
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/${firefoxVersion}-candidates/build1/source/firefox-${firefoxVersion}.source.tar.bz2";
|
||||||
|
sha256 = "1f9p2jmjvhmb23wmvj84jj22wd9g803k6pdjm8glwmkzwnva8x1b";
|
||||||
|
};
|
||||||
|
|
||||||
|
commonConfigureFlags =
|
||||||
|
[ "--enable-optimize"
|
||||||
|
"--disable-debug"
|
||||||
|
"--enable-strip"
|
||||||
|
"--with-system-jpeg"
|
||||||
|
"--with-system-zlib"
|
||||||
|
"--with-system-bz2"
|
||||||
|
#"--with-system-nspr" # <-- There are links to nspr 4.9.0, but no file...
|
||||||
|
# "--with-system-nss"
|
||||||
|
# "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support"
|
||||||
|
"--enable-system-cairo"
|
||||||
|
"--enable-system-sqlite"
|
||||||
|
"--disable-crashreporter"
|
||||||
|
"--disable-tests"
|
||||||
|
"--disable-necko-wifi" # maybe we want to enable this at some point
|
||||||
|
"--disable-installer"
|
||||||
|
"--disable-updater"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
xulrunner = stdenv.mkDerivation rec {
|
||||||
|
name = "xulrunner-${xulVersion}";
|
||||||
|
|
||||||
|
inherit src;
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
|
||||||
|
python dbus dbus_glib pango freetype fontconfig xlibs.libXi
|
||||||
|
xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
|
||||||
|
alsaLib nspr /* nss */ libnotify xlibs.pixman yasm mesa
|
||||||
|
xlibs.libXScrnSaver xlibs.scrnsaverproto
|
||||||
|
xlibs.libXext xlibs.xextproto sqlite unzip
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
[ "--enable-application=xulrunner"
|
||||||
|
"--disable-javaxpcom"
|
||||||
|
] ++ commonConfigureFlags;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
# Hack to work around make's idea of -lbz2 dependency
|
||||||
|
preConfigure =
|
||||||
|
''
|
||||||
|
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
||||||
|
stdenv.lib.concatStringsSep ":"
|
||||||
|
(map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
|
||||||
|
}' ';'
|
||||||
|
|
||||||
|
export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# !!! Temporary hack.
|
||||||
|
preBuild =
|
||||||
|
''
|
||||||
|
export NIX_ENFORCE_PURITY=
|
||||||
|
'';
|
||||||
|
|
||||||
|
installFlags = "SKIP_GRE_REGISTRATION=1";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# Fix some references to /bin paths in the Xulrunner shell script.
|
||||||
|
substituteInPlace $out/bin/xulrunner \
|
||||||
|
--replace /bin/pwd "$(type -tP pwd)" \
|
||||||
|
--replace /bin/ls "$(type -tP ls)"
|
||||||
|
|
||||||
|
# Fix run-mozilla.sh search
|
||||||
|
libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
|
||||||
|
echo libDir: $libDir
|
||||||
|
test -n "$libDir"
|
||||||
|
cd $out/bin
|
||||||
|
mv xulrunner ../lib/$libDir/
|
||||||
|
|
||||||
|
for i in $out/lib/$libDir/*; do
|
||||||
|
file $i;
|
||||||
|
if file $i | grep executable &>/dev/null; then
|
||||||
|
echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename "$i")";
|
||||||
|
chmod a+x "$out/bin/$(basename "$i")";
|
||||||
|
fi;
|
||||||
|
done;
|
||||||
|
for i in $out/lib/$libDir/{xpcshell,plugin-container,*.so}; do
|
||||||
|
patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true
|
||||||
|
done;
|
||||||
|
rm -f $out/bin/run-mozilla.sh
|
||||||
|
''; # */
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Mozilla Firefox XUL runner";
|
||||||
|
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru = { inherit gtk; version = xulVersion; };
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
firefox = stdenv.mkDerivation rec {
|
||||||
|
name = "firefox-${firefoxVersion}";
|
||||||
|
|
||||||
|
inherit src;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python
|
||||||
|
dbus dbus_glib pango freetype fontconfig alsaLib nspr libnotify
|
||||||
|
xlibs.pixman yasm mesa sqlite file unzip
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [xulrunner];
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
[ "--enable-application=browser"
|
||||||
|
"--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
|
||||||
|
"--enable-chrome-format=jar"
|
||||||
|
"--disable-elf-hack"
|
||||||
|
]
|
||||||
|
++ commonConfigureFlags
|
||||||
|
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
|
||||||
|
|
||||||
|
# Hack to work around make's idea of -lbz2 dependency
|
||||||
|
preConfigure =
|
||||||
|
''
|
||||||
|
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
||||||
|
stdenv.lib.concatStringsSep ":"
|
||||||
|
(map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
|
||||||
|
}' ';'
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner
|
||||||
|
for j in $out/bin/*; do
|
||||||
|
i="$(readlink "$j")";
|
||||||
|
file $i;
|
||||||
|
if file $i | grep executable &>/dev/null; then
|
||||||
|
rm "$out/bin/$(basename "$i")"
|
||||||
|
echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")"
|
||||||
|
chmod a+x "$out/bin/$(basename "$i")"
|
||||||
|
fi;
|
||||||
|
done;
|
||||||
|
''; # */
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Mozilla Firefox - the browser, reloaded";
|
||||||
|
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
inherit gtk xulrunner nspr;
|
||||||
|
isFirefox3Like = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,17 +1,15 @@
|
||||||
{ stdenv, fetchurl, openssl, curl }:
|
{ stdenv, fetchurl, openssl, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "esniper-2.26.0";
|
name = "esniper-2.27.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/esniper/esniper-2-26-0.tgz";
|
url = "mirror://sourceforge/esniper/esniper-2-27-0.tgz";
|
||||||
sha256 = "5fd9a0f4b27b98deca303cd3d16c1ed060e05a165a40b2f4a9f8546db5e3877d";
|
sha256 = "0ca9946395be8958d3eb28c9abc4a1a4d4c9134e4b6b3c3816f4631e3be25c02";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [openssl curl];
|
buildInputs = [openssl curl];
|
||||||
|
|
||||||
patches = [ ./fix-build-with-latest-curl.patch ];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -e "2i export PATH=\"$out/bin:\$PATH\"" <"frontends/snipe" >"$out/bin/snipe"
|
sed -e "2i export PATH=\"$out/bin:\$PATH\"" <"frontends/snipe" >"$out/bin/snipe"
|
||||||
chmod 555 "$out/bin/snipe"
|
chmod 555 "$out/bin/snipe"
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- esniper-2-26-0/http.c 2011-08-09 21:05:59.000000000 +0200
|
|
||||||
+++ esniper/http.c 2011-08-10 00:24:43.000000000 +0200
|
|
||||||
@@ -28,7 +28,6 @@
|
|
||||||
#include "esniper.h"
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <curl/curl.h>
|
|
||||||
-#include <curl/types.h>
|
|
||||||
#include <curl/easy.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
|
@ -3,7 +3,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
revision = "2399";
|
revision = "2426";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "uhc-svn-${revision}";
|
name = "uhc-svn-${revision}";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = "https://subversion.cs.uu.nl/repos/project.UHC.pub/trunk/EHC";
|
url = "https://subversion.cs.uu.nl/repos/project.UHC.pub/trunk/EHC";
|
||||||
rev = revision;
|
rev = revision;
|
||||||
sha256 = "f4e87dbf95f90b021994b0840f27e042dd4e785df7efedcf567f3e2c7ce32621";
|
sha256 = "06963edb673697f3eac357eccdc6d4bf7fbe7b9b92a96e3e329a4caf53f85c4c";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [mtl network binary fgl syb];
|
propagatedBuildInputs = [mtl network binary fgl syb];
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
g: # Get dependencies from patched gems
|
g: # Get dependencies from patched gems
|
||||||
{
|
{
|
||||||
aliases = {
|
aliases = {
|
||||||
|
ZenTest = g.ZenTest_4_5_0;
|
||||||
actionmailer = g.actionmailer_3_2_1;
|
actionmailer = g.actionmailer_3_2_1;
|
||||||
actionpack = g.actionpack_3_2_1;
|
actionpack = g.actionpack_3_2_1;
|
||||||
activemodel = g.activemodel_3_2_1;
|
activemodel = g.activemodel_3_2_1;
|
||||||
|
@ -11,6 +12,7 @@ g: # Get dependencies from patched gems
|
||||||
activesupport = g.activesupport_3_2_1;
|
activesupport = g.activesupport_3_2_1;
|
||||||
arel = g.arel_3_0_0;
|
arel = g.arel_3_0_0;
|
||||||
atoulme_Antwrap = g.atoulme_Antwrap_0_7_1;
|
atoulme_Antwrap = g.atoulme_Antwrap_0_7_1;
|
||||||
|
autotest_rails = g.autotest_rails_4_1_1;
|
||||||
builder = g.builder_3_0_0;
|
builder = g.builder_3_0_0;
|
||||||
buildr = g.buildr_1_4_6;
|
buildr = g.buildr_1_4_6;
|
||||||
bundler = g.bundler_1_0_21;
|
bundler = g.bundler_1_0_21;
|
||||||
|
@ -49,7 +51,7 @@ g: # Get dependencies from patched gems
|
||||||
rspec_mocks = g.rspec_mocks_2_1_0;
|
rspec_mocks = g.rspec_mocks_2_1_0;
|
||||||
rubyforge = g.rubyforge_2_0_4;
|
rubyforge = g.rubyforge_2_0_4;
|
||||||
rubyzip = g.rubyzip_0_9_5;
|
rubyzip = g.rubyzip_0_9_5;
|
||||||
sass = g.sass_3_1_12;
|
sass = g.sass_3_1_13;
|
||||||
selenium_webdriver = g.selenium_webdriver_2_18_0;
|
selenium_webdriver = g.selenium_webdriver_2_18_0;
|
||||||
sprockets = g.sprockets_2_1_2;
|
sprockets = g.sprockets_2_1_2;
|
||||||
thor = g.thor_0_14_6;
|
thor = g.thor_0_14_6;
|
||||||
|
@ -58,8 +60,36 @@ g: # Get dependencies from patched gems
|
||||||
tzinfo = g.tzinfo_0_3_31;
|
tzinfo = g.tzinfo_0_3_31;
|
||||||
xml_simple = g.xml_simple_1_0_12;
|
xml_simple = g.xml_simple_1_0_12;
|
||||||
};
|
};
|
||||||
gem_nix_args = [ ''buildr'' ''nix'' ''rails'' ''rake'' ''rb-fsevent'' ''sass'' ''selenium-webdriver'' ];
|
gem_nix_args = [ ''autotest-rails'' ''buildr'' ''nix'' ''rails'' ''rake'' ''rb-fsevent'' ''sass'' ''selenium-webdriver'' ];
|
||||||
gems = {
|
gems = {
|
||||||
|
ZenTest_4_5_0 = {
|
||||||
|
basename = ''ZenTest'';
|
||||||
|
meta = {
|
||||||
|
description = ''ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby'';
|
||||||
|
homepage = ''http://www.zenspider.com/ZSS/Products/ZenTest/'';
|
||||||
|
longDescription = ''ZenTest provides 4 different tools: zentest, unit_diff, autotest, and
|
||||||
|
multiruby.
|
||||||
|
|
||||||
|
ZenTest scans your target and unit-test code and writes your missing
|
||||||
|
code based on simple naming rules, enabling XP at a much quicker
|
||||||
|
pace. ZenTest only works with Ruby and Test::Unit. Nobody uses this
|
||||||
|
tool anymore but it is the package namesake, so it stays.
|
||||||
|
|
||||||
|
unit_diff is a command-line filter to diff expected results from
|
||||||
|
actual results and allow you to quickly see exactly what is wrong.
|
||||||
|
|
||||||
|
autotest is a continous testing facility meant to be used during
|
||||||
|
development. As soon as you save a file, autotest will run the
|
||||||
|
corresponding dependent tests.
|
||||||
|
|
||||||
|
multiruby runs anything you want on multiple versions of ruby. Great
|
||||||
|
for compatibility checking! Use multiruby_setup to manage your
|
||||||
|
installed versions.'';
|
||||||
|
};
|
||||||
|
name = ''ZenTest-4.5.0'';
|
||||||
|
requiredGems = [ ];
|
||||||
|
sha256 = ''05iam95wqafz4c890b17w7ahp9i4jbz4hsw6304p9zbsaq7d7h1h'';
|
||||||
|
};
|
||||||
actionmailer_3_2_1 = {
|
actionmailer_3_2_1 = {
|
||||||
basename = ''actionmailer'';
|
basename = ''actionmailer'';
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -166,6 +196,18 @@ database compatibility and query generation.'';
|
||||||
requiredGems = [ g.rjb_1_3_9 ];
|
requiredGems = [ g.rjb_1_3_9 ];
|
||||||
sha256 = ''0r9jy2asyma8h0878nhjfbi00qvb4yapc8glngvmkkj21zbx2mfy'';
|
sha256 = ''0r9jy2asyma8h0878nhjfbi00qvb4yapc8glngvmkkj21zbx2mfy'';
|
||||||
};
|
};
|
||||||
|
autotest_rails_4_1_1 = {
|
||||||
|
basename = ''autotest_rails'';
|
||||||
|
meta = {
|
||||||
|
description = ''This is an autotest plugin to provide rails support'';
|
||||||
|
homepage = ''https://github.com/seattlerb/autotest-rails'';
|
||||||
|
longDescription = ''This is an autotest plugin to provide rails support. It provides basic
|
||||||
|
rails support and extra plugins for migrations and fixtures.'';
|
||||||
|
};
|
||||||
|
name = ''autotest-rails-4.1.1'';
|
||||||
|
requiredGems = [ g.ZenTest_4_5_0 ];
|
||||||
|
sha256 = ''09i6mpxibs8yfdcr53nazlxq94yswahz9gdjqdz9srfshcccqbal'';
|
||||||
|
};
|
||||||
builder_2_1_2 = {
|
builder_2_1_2 = {
|
||||||
basename = ''builder'';
|
basename = ''builder'';
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -777,7 +819,7 @@ See RDoc for a description of RDoc's markup and basic use.'';
|
||||||
requiredGems = [ ];
|
requiredGems = [ ];
|
||||||
sha256 = ''1744bds6lc46d1kjfgapf34p2574s70hcyz63877qkry4db2jb54'';
|
sha256 = ''1744bds6lc46d1kjfgapf34p2574s70hcyz63877qkry4db2jb54'';
|
||||||
};
|
};
|
||||||
sass_3_1_12 = {
|
sass_3_1_13 = {
|
||||||
basename = ''sass'';
|
basename = ''sass'';
|
||||||
meta = {
|
meta = {
|
||||||
description = ''A powerful but elegant CSS compiler that makes CSS fun again.'';
|
description = ''A powerful but elegant CSS compiler that makes CSS fun again.'';
|
||||||
|
@ -788,9 +830,9 @@ See RDoc for a description of RDoc's markup and basic use.'';
|
||||||
command line tool or a web-framework plugin.
|
command line tool or a web-framework plugin.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
name = ''sass-3.1.12'';
|
name = ''sass-3.1.13'';
|
||||||
requiredGems = [ ];
|
requiredGems = [ ];
|
||||||
sha256 = ''10n2aic53290xsa3y3d63523s8xc78w5q5gqpns6cbljkdwb0ndy'';
|
sha256 = ''0x07yckw9c4d59713midk2n85d3h88fcp147p8nai88gbvrm8b63'';
|
||||||
};
|
};
|
||||||
selenium_webdriver_2_18_0 = {
|
selenium_webdriver_2_18_0 = {
|
||||||
basename = ''selenium_webdriver'';
|
basename = ''selenium_webdriver'';
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ fetchurl, stdenv, unzip, libtool }:
|
{ fetchurl, stdenv, unzip, libtool }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "crypto++-5.6.0";
|
name = "crypto++-5.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/cryptopp/cryptopp560.zip";
|
url = "mirror://sourceforge/cryptopp/cryptopp561.zip";
|
||||||
sha256 = "1icbk50mr1sqycqbxbqg703m8aamz23ajgl22ychxdahz2sz08mm";
|
sha256 = "0s7jhvnfihikqp1iwpdz03fad62xkjxci6jiahrh6f3sn664vrwq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./pic.patch ]
|
patches = [ ./pic.patch ]
|
||||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cxxflags = if stdenv.isi686 then "-march=i686" else
|
cxxflags = if stdenv.isi686 then "-march=i686" else
|
||||||
if stdenv.isx86_64 then "-march=nocona" else
|
if stdenv.isx86_64 then "-march=nocona -fPIC" else
|
||||||
"";
|
"";
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -35,12 +35,10 @@ stdenv.mkDerivation rec {
|
||||||
-e '/^CXXFLAGS =/s|-g -O2|-O3|'
|
-e '/^CXXFLAGS =/s|-g -O2|-O3|'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Deal with one of the crappiest build system around there.
|
# I add what 'enableParallelBuilding' would add to the make call,
|
||||||
|
# if we were using the generic build phase.
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
# These guys forgot a file or something.
|
make PREFIX="$out" all libcryptopp.so -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
||||||
: > modexppc.cpp
|
|
||||||
|
|
||||||
make PREFIX="$out" all cryptopp.dll
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# TODO: Installing cryptotest.exe doesn't seem to be necessary. We run
|
# TODO: Installing cryptotest.exe doesn't seem to be necessary. We run
|
||||||
|
@ -48,11 +46,10 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir "$out"
|
mkdir "$out"
|
||||||
make install PREFIX="$out"
|
make install PREFIX="$out"
|
||||||
cp -v cryptopp.dll "$out/lib/libcryptopp.so"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = "make test";
|
checkPhase = "LD_LIBRARY_PATH=`pwd` make test";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Crypto++, a free C++ class library of cryptographic schemes";
|
description = "Crypto++, a free C++ class library of cryptographic schemes";
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "GLURaw";
|
pname = "GLURaw";
|
||||||
version = "1.1.0.1";
|
version = "1.2.0.0";
|
||||||
sha256 = "0n2yazdk98ia9j65n4ac7k0lnyp9cmz51d344x0jsi0xyfckm0mq";
|
sha256 = "06dsazj3zadjahwy926gnjngqg8cb1mhdxh8bg5f3axf3hsvxqp1";
|
||||||
buildDepends = [ OpenGLRaw ];
|
buildDepends = [ OpenGLRaw ];
|
||||||
extraLibraries = [ freeglut mesa ];
|
extraLibraries = [ freeglut mesa ];
|
||||||
meta = {
|
meta = {
|
||||||
|
|
21
pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix
Normal file
21
pkgs/development/libraries/haskell/GLUT/2.3.0.0.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ cabal, freeglut, libICE, libSM, libXi, libXmu, mesa, OpenGL
|
||||||
|
, OpenGLRaw, StateVar, Tensor
|
||||||
|
}:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "GLUT";
|
||||||
|
version = "2.3.0.0";
|
||||||
|
sha256 = "10rh57w3lx8fs0xy24lqilv5a5sgq57kshydja41r6fq9wdvwp99";
|
||||||
|
buildDepends = [ OpenGL OpenGLRaw StateVar Tensor ];
|
||||||
|
extraLibraries = [ freeglut libICE libSM libXi libXmu mesa ];
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.haskell.org/haskellwiki/Opengl";
|
||||||
|
description = "A binding for the OpenGL Utility Toolkit";
|
||||||
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
maintainers = [
|
||||||
|
self.stdenv.lib.maintainers.andres
|
||||||
|
self.stdenv.lib.maintainers.simons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
})
|
|
@ -9,6 +9,9 @@ cabal.mkDerivation (self: {
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
bktrees extensibleExceptions fgl graphviz pandoc random text time
|
bktrees extensibleExceptions fgl graphviz pandoc random text time
|
||||||
];
|
];
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i Graphalyze.cabal -e 's|pandoc == 1.8.\*|pandoc|'
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Graph-Theoretic Analysis library";
|
description = "Graph-Theoretic Analysis library";
|
||||||
license = "unknown";
|
license = "unknown";
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "HaskellForMaths";
|
pname = "HaskellForMaths";
|
||||||
version = "0.4.1";
|
version = "0.4.3";
|
||||||
sha256 = "0jwdxz5wqayx196giv7nj5j0k9zw50x555ig6xj00cladvplvh9h";
|
sha256 = "00s502h3pw9i464qn6cn74ihghcnn5gsar891q276ld682m5vdns";
|
||||||
buildDepends = [ random ];
|
buildDepends = [ random ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://haskellformaths.blogspot.com/";
|
homepage = "http://haskellformaths.blogspot.com/";
|
||||||
|
|
21
pkgs/development/libraries/haskell/OpenGL/2.5.0.0.nix
Normal file
21
pkgs/development/libraries/haskell/OpenGL/2.5.0.0.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ cabal, GLURaw, libX11, mesa, ObjectName, OpenGLRaw, StateVar
|
||||||
|
, Tensor
|
||||||
|
}:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "OpenGL";
|
||||||
|
version = "2.5.0.0";
|
||||||
|
sha256 = "1kpakn5i4aka67mqcpfq9jpl38h409x63zd14y35abpm6h3x8m3j";
|
||||||
|
buildDepends = [ GLURaw ObjectName OpenGLRaw StateVar Tensor ];
|
||||||
|
extraLibraries = [ libX11 mesa ];
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.haskell.org/haskellwiki/Opengl";
|
||||||
|
description = "A binding for the OpenGL graphics system";
|
||||||
|
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: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "OpenGLRaw";
|
pname = "OpenGLRaw";
|
||||||
version = "1.1.0.2";
|
version = "1.2.0.0";
|
||||||
sha256 = "0d1rjh2vq0w1pzf3vz0mw6p0w43h3sf6034qsi89m4jkx3125fwf";
|
sha256 = "1nwk93wlwh7gz2lb1dc88frmwik71g61a7k8xfiib2q5a8a8kf9r";
|
||||||
extraLibraries = [ mesa ];
|
extraLibraries = [ mesa ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.haskell.org/haskellwiki/Opengl";
|
homepage = "http://www.haskell.org/haskellwiki/Opengl";
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "ghc-mod";
|
pname = "ghc-mod";
|
||||||
version = "1.0.6";
|
version = "1.0.8";
|
||||||
sha256 = "c075314de03209827a0e59ee3e63a4d21bc8edb024a1e36721eea248805b38ba";
|
sha256 = "1c1236a8829418cae3039c3479875104664827c661b8c7567dd7bdbda12e8bcc";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
attoparsec attoparsecEnumerator ghcPaths hlint regexPosix
|
attoparsec attoparsecEnumerator ghcPaths hlint regexPosix
|
||||||
];
|
];
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "hakyll";
|
pname = "hakyll";
|
||||||
version = "3.2.5.0";
|
version = "3.2.6.0";
|
||||||
sha256 = "1y1dqfbas7ym1jghq3i7zhqcny01paqfrszj0aakg6ys2jjx0m29";
|
sha256 = "1yg97kihfxb250vk9dm2v9sh197lc6qjil0j40zgcwpss96xynax";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
binary blazeHtml citeprocHs cryptohash hamlet mtl pandoc parsec
|
binary blazeHtml citeprocHs cryptohash hamlet mtl pandoc parsec
|
||||||
regexBase regexPcre snapCore snapServer tagsoup time
|
regexBase regexPcre snapCore snapServer tagsoup time
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ cabal, parsec, regexPcreBuiltin, xhtml }:
|
{ cabal, blazeHtml, mtl, parsec, regexPcreBuiltin }:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "highlighting-kate";
|
pname = "highlighting-kate";
|
||||||
version = "0.2.10";
|
version = "0.5.0.1";
|
||||||
sha256 = "0cw89qsslrp4zh47ics7bg79fkqnxpnyz1a9xws0xzd9xmg3zrhh";
|
sha256 = "05r8w4366gi64l65k6vyda1cs96ld8i2dgch8r5fmxwiaa8dcs1l";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [ parsec regexPcreBuiltin xhtml ];
|
buildDepends = [ blazeHtml mtl parsec regexPcreBuiltin ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://github.com/jgm/highlighting-kate";
|
homepage = "http://github.com/jgm/highlighting-kate";
|
||||||
description = "Syntax highlighting";
|
description = "Syntax highlighting";
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
{ cabal, asn1Data, attoparsec, attoparsecConduit, base64Bytestring
|
{ cabal, asn1Data, attoparsec, attoparsecConduit, base64Bytestring
|
||||||
, blazeBuilder, blazeBuilderConduit, caseInsensitive, certificate
|
, blazeBuilder, blazeBuilderConduit, caseInsensitive, certificate
|
||||||
, conduit, cprngAes, dataDefault, failure, httpTypes, liftedBase
|
, conduit, cprngAes, dataDefault, failure, httpTypes, liftedBase
|
||||||
, monadControl, network, socks, text, time, tls, tlsExtra
|
, monadControl, network, text, time, tls, tlsExtra, transformers
|
||||||
, transformers, transformersBase, utf8String, zlibConduit
|
, transformersBase, utf8String, zlibConduit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "http-conduit";
|
pname = "http-conduit";
|
||||||
version = "1.2.3";
|
version = "1.2.0";
|
||||||
sha256 = "0kygmbcvv0j020ml9jgmg3yzda3k066s2h8g3c135cmad6jc8hnd";
|
sha256 = "1s3qrvglhymwvr0cp32mi95dijic40lphhsfr4hm63qjphfc8dpi";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
|
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
|
||||||
blazeBuilderConduit caseInsensitive certificate conduit cprngAes
|
blazeBuilderConduit caseInsensitive certificate conduit cprngAes
|
||||||
dataDefault failure httpTypes liftedBase monadControl network socks
|
dataDefault failure httpTypes liftedBase monadControl network text
|
||||||
text time tls tlsExtra transformers transformersBase utf8String
|
time tls tlsExtra transformers transformersBase utf8String
|
||||||
zlibConduit
|
zlibConduit
|
||||||
];
|
];
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "pandoc-types";
|
pname = "pandoc-types";
|
||||||
version = "1.8.2";
|
version = "1.9.0.2";
|
||||||
sha256 = "04whkqld2pnfz25i9rcq7d4pi9zkn6c1rpz95vdlg9r5xkhhnn3a";
|
sha256 = "1rqqchxinjk3njgkp73i92q4iz1cl84p56i2fmgj2zn221r0zhyl";
|
||||||
buildDepends = [ syb ];
|
buildDepends = [ syb ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://johnmacfarlane.net/pandoc";
|
homepage = "http://johnmacfarlane.net/pandoc";
|
||||||
|
|
|
@ -1,18 +1,23 @@
|
||||||
{ cabal, base64Bytestring, citeprocHs, dlist, extensibleExceptions
|
{ cabal, ansiTerminal, base64Bytestring, blazeHtml, citeprocHs
|
||||||
, highlightingKate, HTTP, json, mtl, network, pandocTypes, parsec
|
, Diff, extensibleExceptions, highlightingKate, HTTP, HUnit, json
|
||||||
, random, syb, tagsoup, texmath, utf8String, xhtml, xml, zipArchive
|
, mtl, network, pandocTypes, parsec, QuickCheck, random, syb
|
||||||
|
, tagsoup, temporary, testFramework, testFrameworkHunit
|
||||||
|
, testFrameworkQuickcheck2, texmath, time, utf8String, xml
|
||||||
|
, zipArchive, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "pandoc";
|
pname = "pandoc";
|
||||||
version = "1.8.2.1";
|
version = "1.9.0.3";
|
||||||
sha256 = "0cwly0j2rj46h654iwl04l6jkhk6rrhynqvrdnq47067n9vm60pi";
|
sha256 = "1p5054sdvvgl38rr0ajfavr79rwr2l8jdrpzai329ksskkh1acdp";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
base64Bytestring citeprocHs dlist extensibleExceptions
|
ansiTerminal base64Bytestring blazeHtml citeprocHs Diff
|
||||||
highlightingKate HTTP json mtl network pandocTypes parsec random
|
extensibleExceptions highlightingKate HTTP HUnit json mtl network
|
||||||
syb tagsoup texmath utf8String xhtml xml zipArchive
|
pandocTypes parsec QuickCheck random syb tagsoup temporary
|
||||||
|
testFramework testFrameworkHunit testFrameworkQuickcheck2 texmath
|
||||||
|
time utf8String xml zipArchive zlib
|
||||||
];
|
];
|
||||||
configureFlags = "-fhighlighting -fthreaded";
|
configureFlags = "-fhighlighting -fthreaded";
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ cabal, utf8String }:
|
{ cabal, text }:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "parsimony";
|
pname = "parsimony";
|
||||||
version = "1.1";
|
version = "1.3";
|
||||||
sha256 = "0476zmsjyjf58lh85806baqblq8hjxcrrnqc6ddxxq17lmvsd5ic";
|
sha256 = "0vbayvk989m85qfxxls74rn0v8ylb5l7lywp30sw2wybvi4r08lg";
|
||||||
buildDepends = [ utf8String ];
|
buildDepends = [ text ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Monadic parser combinators derived from Parsec";
|
description = "Monadic parser combinators derived from Parsec";
|
||||||
license = self.stdenv.lib.licenses.bsd3;
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "system-fileio";
|
pname = "system-fileio";
|
||||||
version = "0.3.3";
|
version = "0.3.4";
|
||||||
sha256 = "0z7y99g8ij9ykpxsgdb0addyibvpv2s95i0wpx4yc7mgi8cl50bx";
|
sha256 = "184f5bb3qhag6cwmk0zc2ldkwnkzbv82pv7hy541j8jqqi5wprih";
|
||||||
buildDepends = [ systemFilepath text time ];
|
buildDepends = [ systemFilepath text time ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://john-millikin.com/software/hs-fileio/";
|
homepage = "https://john-millikin.com/software/haskell-filesystem/";
|
||||||
description = "High-level filesystem interaction";
|
description = "Consistent filesystem interaction across GHC versions";
|
||||||
license = self.stdenv.lib.licenses.mit;
|
license = self.stdenv.lib.licenses.mit;
|
||||||
platforms = self.ghc.meta.platforms;
|
platforms = self.ghc.meta.platforms;
|
||||||
maintainers = [
|
maintainers = [
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "system-filepath";
|
pname = "system-filepath";
|
||||||
version = "0.4.4";
|
version = "0.4.5";
|
||||||
sha256 = "16904xwbcy82ghf1bckw8h63pfj9jfbdlqrr8jf91jzl27lqlwxf";
|
sha256 = "18jpn3pyy6dh20xpdlwmhcjvbywjz4vr9fvwcwhylbicrw627ybs";
|
||||||
buildDepends = [ deepseq text ];
|
buildDepends = [ deepseq text ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://john-millikin.com/software/haskell-filesystem/";
|
homepage = "https://john-millikin.com/software/haskell-filesystem/";
|
||||||
|
|
17
pkgs/development/libraries/haskell/temporary/default.nix
Normal file
17
pkgs/development/libraries/haskell/temporary/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ cabal }:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "temporary";
|
||||||
|
version = "1.1.2.3";
|
||||||
|
sha256 = "1x4jljggbcdq90h578yyvc8z1i9zmlhvqfz2dym8kj8pq4qiwixd";
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.github.com/batterseapower/temporary";
|
||||||
|
description = "Portable temporary file and directory support for Windows and Unix, based on code from Cabal";
|
||||||
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
maintainers = [
|
||||||
|
self.stdenv.lib.maintainers.andres
|
||||||
|
self.stdenv.lib.maintainers.simons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
})
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ cabal, ansiTerminal, ansiWlPprint, extensibleExceptions, hostname
|
||||||
|
, random, regexPosix, time, xml
|
||||||
|
}:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "test-framework";
|
||||||
|
version = "0.4.2.2";
|
||||||
|
sha256 = "1lwdx4z9j5wxbmmlakf6knirdhi0ic6xpmhrj9ipa5ybw2zszakr";
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
buildDepends = [
|
||||||
|
ansiTerminal ansiWlPprint extensibleExceptions hostname random
|
||||||
|
regexPosix time xml
|
||||||
|
];
|
||||||
|
meta = {
|
||||||
|
homepage = "http://batterseapower.github.com/test-framework/";
|
||||||
|
description = "Framework for running and organising tests, with HUnit and QuickCheck support";
|
||||||
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
maintainers = [
|
||||||
|
self.stdenv.lib.maintainers.andres
|
||||||
|
self.stdenv.lib.maintainers.simons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
})
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "texmath";
|
pname = "texmath";
|
||||||
version = "0.5.0.4";
|
version = "0.6.0.1";
|
||||||
sha256 = "0wi7zix10p73hb8aiyq47d27k5hi0l0ba5p6h7kdbhia9xm5w5w5";
|
sha256 = "0q39a83g7kcj9qpnjg0v7pd0b4w9i090nl2s9v8lpv4n46z6cyaq";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [ parsec syb xml ];
|
buildDepends = [ parsec syb xml ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://github.com/jgm/texmath";
|
homepage = "http://github.com/jgm/texmath";
|
||||||
description = "Conversion of LaTeX math formulas to MathML";
|
description = "Conversion of LaTeX math formulas to MathML or OMML";
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
platforms = self.ghc.meta.platforms;
|
platforms = self.ghc.meta.platforms;
|
||||||
maintainers = [
|
maintainers = [
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "vector-algorithms";
|
pname = "vector-algorithms";
|
||||||
version = "0.5.3";
|
version = "0.5.4";
|
||||||
sha256 = "14h2x3yrb4fji8bf84xbfp84pax6lzr8njc0c4061xpwcmair36j";
|
sha256 = "0j16jmnmgksbzsq2vvxjmciywi91clak77i6zjjghvn9dpmnsmv2";
|
||||||
buildDepends = [ primitive vector ];
|
buildDepends = [ primitive vector ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://code.haskell.org/~dolio/";
|
homepage = "http://code.haskell.org/~dolio/";
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "yap";
|
pname = "yap";
|
||||||
version = "0.1";
|
version = "0.2";
|
||||||
sha256 = "14x1z5pmb499qq5sy0iksxv0mli8556s1jh9jm7rdg671h1cy1hl";
|
sha256 = "14lq549jhgnf51pgy1jv31ik8qx71yl7d53w8dpq1f9mlsn1g16i";
|
||||||
meta = {
|
meta = {
|
||||||
description = "yet another prelude - a simplistic refactoring with algebraic classes";
|
description = "yet another prelude - a simplistic refactoring with algebraic classes";
|
||||||
license = self.stdenv.lib.licenses.bsd3;
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{stdenv, fetchurl, libtiff, libjpeg, zlib}:
|
{stdenv, fetchurl, libtiff, libjpeg, zlib}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lcms2-2.0a";
|
name = "lcms2-2.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sf/lcms/${name}.tar.gz";
|
url = "mirror://sourceforge/lcms/${name}.tar.gz";
|
||||||
sha256 = "0kq5imagri0l964nnj06f7xny2q7rwvzqpm8ibsqz5zm263ggskd";
|
sha256 = "1r5gmzhginzm90y70dcbamycdfcaz4f7v0bb4nwyaywlvsxpg89y";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
||||||
|
|
24
pkgs/development/libraries/libbsd/default.nix
Normal file
24
pkgs/development/libraries/libbsd/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
let name = "libbsd-0.3.0";
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://libbsd.freedesktop.org/releases/${name}.tar.gz";
|
||||||
|
sha256 = "fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace "/usr" "$out" \
|
||||||
|
--replace "{exec_prefix}" "{prefix}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Common functions found on BSD systems";
|
||||||
|
homepage = http://libbsd.freedesktop.org/;
|
||||||
|
license = "BSD3";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl, nasm }:
|
{ stdenv, fetchurl, nasm }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libjpeg-turbo-1.0.1";
|
name = "libjpeg-turbo-1.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/libjpeg-turbo/libjpeg-turbo-1.0.1.tar.gz;
|
url = mirror://sourceforge/libjpeg-turbo/libjpeg-turbo-1.1.1.tar.gz;
|
||||||
sha256 = "094jvqzibqbzmhh7mz3xi76lzlilxzb4j1x8rpdcdkzyig9dizqf";
|
sha256 = "553b1f5a968fb9efc089623ed99be2aa6bc21586be92eb04848489c91a63f1e2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nasm ];
|
buildInputs = [ nasm ];
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{stdenv, fetchurl, cmake}:
|
{stdenv, fetchurl, cmake}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qhull-2011.1";
|
name = "qhull-2012.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/download/${name}-src.tgz";
|
url = "${meta.homepage}/download/${name}-src.tgz";
|
||||||
sha256 = "1i2lqw0552mvbcc1q7l4b31fpzf2l2qcabc23r4sybhwyljl9bmd";
|
sha256 = "19hb10vs7ww45ifn7mpvxykn470gd1g568d84mlld6v4pnz7gamv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ cmake ];
|
buildNativeInputs = [ cmake ];
|
||||||
|
|
|
@ -5,14 +5,14 @@ assert readline != null;
|
||||||
let
|
let
|
||||||
system = stdenv.system;
|
system = stdenv.system;
|
||||||
arch = if system == "i686-linux" then "ia32" else if system == "x86_64-linux" then "x64" else "";
|
arch = if system == "i686-linux" then "ia32" else if system == "x86_64-linux" then "x64" else "";
|
||||||
version = "3.6.6.17";
|
version = "3.6.6.20";
|
||||||
in
|
in
|
||||||
assert system == "i686-linux" || system == "x86_64-linux";
|
assert system == "i686-linux" || system == "x86_64-linux";
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "v8-${version}";
|
name = "v8-${version}";
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = "http://v8.googlecode.com/svn/tags/${version}";
|
url = "http://v8.googlecode.com/svn/tags/${version}";
|
||||||
sha256 = "7080d53b9d3aefc591c2e181dcf97d538ce36177284fc658eca6420ea36a926f";
|
sha256 = "68565086baa5a37a0fa15e1c0b7914210fa590b29a8196014cd83789da6a01ba";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [python scons readline makeWrapper];
|
buildInputs = [python scons readline makeWrapper];
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "hlint";
|
pname = "hlint";
|
||||||
version = "1.8.21";
|
version = "1.8.23";
|
||||||
sha256 = "1vjl1qncxia9352469k9v28283f17xk0xhb28by6crchz596xln6";
|
sha256 = "0cbjnzs9ddk4z7kxh935x1kvr566afcvk98z3174f3xp5sbz79wr";
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
|
|
21
pkgs/development/tools/parsing/happy/1.18.9.nix
Normal file
21
pkgs/development/tools/parsing/happy/1.18.9.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ cabal, mtl, perl }:
|
||||||
|
|
||||||
|
cabal.mkDerivation (self: {
|
||||||
|
pname = "happy";
|
||||||
|
version = "1.18.9";
|
||||||
|
sha256 = "12k1rg7dqa02az9d1zasdnp51zs4h30kpi5lyqsw3jxfp09cad3x";
|
||||||
|
isLibrary = false;
|
||||||
|
isExecutable = true;
|
||||||
|
buildDepends = [ mtl ];
|
||||||
|
buildTools = [ perl ];
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.haskell.org/happy/";
|
||||||
|
description = "Happy is a parser generator for Haskell";
|
||||||
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
|
platforms = self.ghc.meta.platforms;
|
||||||
|
maintainers = [
|
||||||
|
self.stdenv.lib.maintainers.andres
|
||||||
|
self.stdenv.lib.maintainers.simons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
})
|
|
@ -1,12 +1,12 @@
|
||||||
{ stdenv, fetchurl, openssl, python, zlib, v8 }:
|
{ stdenv, fetchurl, openssl, python, zlib, v8 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.6.6";
|
version = "0.6.9";
|
||||||
name = "nodejs-${version}";
|
name = "nodejs-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.gz";
|
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.gz";
|
||||||
sha256 = "00i14bjhyadxrh0df1ig4ndv1c0b7prnnhyar5lxcgxnn4cabgks";
|
sha256 = "484ab6b3da6195339544c16aff17f747aa85d1dd15d765d6724aa8a4ecda03ca";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ kernel ];
|
buildInputs = [ kernel ];
|
||||||
patches = [ ./makefile.patch ];
|
patches = [ ./makefile.patch ./linux-2.6.39.patch ./linux-3.2.patch ];
|
||||||
#++ stdenv.lib.optional
|
#++ stdenv.lib.optional
|
||||||
#(! builtins.lessThan (builtins.compareVersions kernel.version "2.6.37") 0)
|
#(! builtins.lessThan (builtins.compareVersions kernel.version "2.6.37") 0)
|
||||||
#[ ./mutex-sema.patch ];
|
#[ ./mutex-sema.patch ];
|
||||||
|
|
11
pkgs/os-specific/linux/broadcom-sta/linux-2.6.39.patch
Normal file
11
pkgs/os-specific/linux/broadcom-sta/linux-2.6.39.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- old/src/wl/sys/wl_cfg80211.c
|
||||||
|
+++ new/src/wl/sys/wl_cfg80211.c
|
||||||
|
@@ -1811,7 +1811,7 @@
|
||||||
|
notif_bss_info->frame_len = offsetof(struct ieee80211_mgmt, u.beacon.variable) +
|
||||||
|
wl_get_ielen(wl);
|
||||||
|
freq = ieee80211_channel_to_frequency(notif_bss_info->channel
|
||||||
|
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39)
|
||||||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)
|
||||||
|
,(notif_bss_info->channel <= CH_MAX_2G_CHANNEL) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ
|
||||||
|
#endif
|
||||||
|
);
|
13
pkgs/os-specific/linux/broadcom-sta/linux-3.2.patch
Normal file
13
pkgs/os-specific/linux/broadcom-sta/linux-3.2.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff -Naur broadcom-sta-5.100.82.112.orig/src/wl/sys/wl_linux.c broadcom-sta-5.100.82.112/src/wl/sys/wl_linux.c
|
||||||
|
--- broadcom-sta-5.100.82.112.orig/src/wl/sys/wl_linux.c 2011-10-23 01:56:55.000000000 +0900
|
||||||
|
+++ broadcom-sta-5.100.82.112/src/wl/sys/wl_linux.c 2011-11-22 00:56:07.021520421 +0900
|
||||||
|
@@ -385,7 +385,9 @@
|
||||||
|
#endif
|
||||||
|
.ndo_get_stats = wl_get_stats,
|
||||||
|
.ndo_set_mac_address = wl_set_mac_address,
|
||||||
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
|
||||||
|
.ndo_set_multicast_list = wl_set_multicast_list,
|
||||||
|
+#endif
|
||||||
|
.ndo_do_ioctl = wl_ioctl
|
||||||
|
};
|
||||||
|
|
|
@ -1,32 +1,66 @@
|
||||||
# TODO: some files are not at the right place.
|
# The firmware bundle as packaged by Debian. This should be "all" firmware that is not shipped
|
||||||
# For now, we take the strategy of adding symlinks to fix this,
|
# as part of the kernel itself.
|
||||||
# however it is probably better to extract the files from
|
# You can either install the complete bundle, or write a separate package for individual
|
||||||
# the appropriate debian binary packages.
|
# devices that copies the firmware from this package.
|
||||||
|
|
||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl, buildEnv, dpkg }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
let
|
||||||
name = "firmware-linux-nonfree-0.34";
|
version = "0.35";
|
||||||
|
|
||||||
src = fetchurl {
|
packages = [
|
||||||
url = "mirror://debian/pool/non-free/f/firmware-nonfree/firmware-nonfree_0.34.tar.gz";
|
{ name = "linux-nonfree"; sha256 = "8c0701500e5252e3e05ad0e5403cc5295899ccb2d6d731380b5f4c2d90003ed1"; }
|
||||||
sha256 = "94fe856d00f63559486b7684c0fae9b30bee599c6d7dea8c7e00d2dcb548ee8a";
|
{ name = "atheros"; sha256 = "df411d76e3d55cb256b0974df16cf18f316c1325f33670fbc9e36abba5aa46c0"; }
|
||||||
|
{ name = "bnx2"; sha256 = "124e74aa6ce477f7b6a0b5eff3870b0104fd885b4bdfb9977175e75bdb9a7525"; }
|
||||||
|
{ name = "bnx2x"; sha256 = "4cbcf3422a9aaa6e31704770c724179765dceabd2e6867e24cf47039925e6545"; }
|
||||||
|
{ name = "brcm80211"; sha256 = "eefba7ba31c018d514ea15878cfd7bca36a65b0df3e9024fc3875a990678a684"; }
|
||||||
|
{ name = "intelwimax"; sha256 = "436a3bd128224f43988630318aa3e74abfbe838916e1e10a602ddc468b75d843"; }
|
||||||
|
{ name = "ipw2x00"; sha256 = "9c214e3a9f7f7d710b5cb30282d5ca2b2ccafc3bb208dfe7e18de16d3aadc7a3"; }
|
||||||
|
{ name = "ivtv"; sha256 = "ced47d8b87ff8ff70a8c32492cc4fb5818860ef018b5c04a4415ab26c9b16300"; }
|
||||||
|
{ name = "iwlwifi"; sha256 = "5d9615ec128b59cc5834e0261ea74127c0bc64bafabdaef1028a8f1acf611568"; }
|
||||||
|
{ name = "libertas"; sha256 = "b109fb5c392928ac5495f8ce1d0f41d123b193031f8b548e8b68e9563db37016"; }
|
||||||
|
{ name = "linux"; sha256 = "8e87f75c120904f2ca5fd9017e4503c23d8705b9ccaeb570374d1747163620ab"; }
|
||||||
|
{ name = "myricom"; sha256 = "4c9e19d8b2cea97eb05f9d577537dba81aa36ac06c6da9bbed0bfa20434b7acc"; }
|
||||||
|
{ name = "netxen"; sha256 = "3bd129229cf548a533c79cb55deefa7e4919e09fcc1f655773f4fa5078d81b9b"; }
|
||||||
|
{ name = "qlogic"; sha256 = "213d098435c657115d2754ef5ead52e64f5fa05be4dcbcb0d5d3ca745376959c"; }
|
||||||
|
{ name = "ralink"; sha256 = "51f3001ed15ca72bb088297b9e6e4a821ba6250f0ccc8886d77d2f5386a21836"; }
|
||||||
|
{ name = "realtek"; sha256 = "a6338f5cd8bbe9627fa994016ebb0a91b40914021bec280ddc8f8a56eab22287"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
fetchPackage =
|
||||||
|
{ name, sha256 }: fetchurl {
|
||||||
|
url = "mirror://debian/pool/non-free/f/firmware-nonfree/firmware-${name}_${version}_all.deb";
|
||||||
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "unpackPhase" "patchPhase" "installPhase" "postInstall" ];
|
srcs = map fetchPackage packages;
|
||||||
|
|
||||||
patchPhase = "rm -rf debian defines TODO";
|
in stdenv.mkDerivation {
|
||||||
|
name = "firmware-linux-nonfree-${version}";
|
||||||
|
inherit srcs;
|
||||||
|
|
||||||
installPhase = "ensureDir $out && cp -ra * $out/";
|
unpackPhase = ''
|
||||||
|
ensureDir "./firmware"
|
||||||
|
'';
|
||||||
|
|
||||||
# repeat the same trick for radeon, 3com, etc.
|
buildPhase = ''
|
||||||
postInstall = "ln -s $out/realtek/rtlwifi $out/rtlwifi";
|
for src in $srcs; do
|
||||||
|
dpkg-deb -W $src
|
||||||
|
dpkg-deb -x $src .
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ dpkg ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir "$out/"
|
||||||
|
cp -r lib/firmware/* "$out/"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Non-free kernel firmware (packaged by Debian)";
|
description = "Binary firmware collection packaged by Debian";
|
||||||
homepage = "http://packages.debian.org/sid/firmware-linux-nonfree";
|
homepage = "http://packages.debian.org/sid/firmware-linux-nonfree";
|
||||||
license = "unfree-redistributable-firmware";
|
license = "unfree-redistributable-firmware";
|
||||||
priority = "10";
|
priority = 10; # low priority so that other packages can override this big package
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,10 @@ stdenv.mkDerivation {
|
||||||
src = firmwareLinuxNonfree;
|
src = firmwareLinuxNonfree;
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
installPhase = "ensureDir $out/rtlwifi && cp $src/realtek/rtlwifi/rtl8192cfw.bin $out/rtlwifi/rtl8192cfw.bin";
|
installPhase = ''
|
||||||
|
ensureDir $out/rtlwifi
|
||||||
|
cp "$src/rtlwifi/rtl8192cfw.bin" "$out/rtlwifi/rtl8192cfw.bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Firmware for the Realtek RTL8192c wireless cards";
|
description = "Firmware for the Realtek RTL8192c wireless cards";
|
||||||
|
|
44
pkgs/os-specific/linux/frandom/default.nix
Normal file
44
pkgs/os-specific/linux/frandom/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ stdenv, fetchurl, kernel }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "frandom-1.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://sourceforge.net/projects/frandom/files/${name}.tar.gz";
|
||||||
|
sha256 = "15rgyk4hfawqg7z1spk2xlk1nn6rcdls8gdhc70f91shrc9pvlls";
|
||||||
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
kernelVersion=$(cd ${kernel}/lib/modules && ls)
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace "\$(shell uname -r)" "$kernelVersion" \
|
||||||
|
--replace "/lib/modules" "${kernel}/lib/modules"
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
kernelVersion=$(cd ${kernel}/lib/modules && ls)
|
||||||
|
ensureDir $out/lib/modules/$kernelVersion/misc
|
||||||
|
cp frandom.ko $out/lib/modules/$kernelVersion/misc
|
||||||
|
|
||||||
|
ensureDir $out/lib/udev/rules.d
|
||||||
|
tee $out/lib/udev/rules.d/10-frandom.rules <<-EOF
|
||||||
|
#
|
||||||
|
# These are the rules for the frandom devices. In theory, we could let
|
||||||
|
# udev's catch-all rule create the /dev node based upon the kernel name,
|
||||||
|
# which gives correct result, except that the default MODE set in
|
||||||
|
# 50-udev.rules (0600) is too restrictive.
|
||||||
|
#
|
||||||
|
KERNEL=="[ef]random", MODE="444", OPTIONS="last_rule"
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A very fast random number generator kernel module.";
|
||||||
|
homepage = http://frandom.sourceforge.net/;
|
||||||
|
license = "GPLv2";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
40
pkgs/os-specific/linux/i7z/default.nix
Normal file
40
pkgs/os-specific/linux/i7z/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ stdenv, fetchurl, qt4, ncurses}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "i7z-0.27.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://i7z.googlecode.com/files/${name}.tar.gz";
|
||||||
|
sha256 = "0n3pry1qmpq4basnny3gddls2zlwz0813ixnas87092rvlgjhbc6";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [qt4 ncurses];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace Makefile --replace "/usr/sbin" "$out/sbin"
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make
|
||||||
|
cd GUI
|
||||||
|
qmake
|
||||||
|
make clean
|
||||||
|
make
|
||||||
|
cd ..
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
pwd
|
||||||
|
ensureDir $out/sbin
|
||||||
|
make install
|
||||||
|
install -Dm755 GUI/i7z_GUI $out/sbin/i7z-gui
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A better i7 (and now i3, i5) reporting tool for Linux";
|
||||||
|
homepage = http://code.google.com/p/i7z;
|
||||||
|
license = "GPLv2";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -214,7 +214,7 @@ in
|
||||||
import ./generic.nix (
|
import ./generic.nix (
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
version = "3.2.2";
|
version = "3.2.4";
|
||||||
testing = false;
|
testing = false;
|
||||||
|
|
||||||
modDirVersion = version;
|
modDirVersion = version;
|
||||||
|
@ -225,7 +225,7 @@ import ./generic.nix (
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v3.0/${if testing then "testing/" else ""}linux-${version}.tar.bz2";
|
url = "mirror://kernel/linux/kernel/v3.0/${if testing then "testing/" else ""}linux-${version}.tar.bz2";
|
||||||
sha256 = "9f20bd2332db32e2d5b0fc346762d486faab19e0dd059c82964116421bb7cceb";
|
sha256 = "1c648a7041e65a167d3fd8beda484a3d55c35cad9d6d189b9949d3c621887da7";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = configWithPlatform stdenv.platform;
|
config = configWithPlatform stdenv.platform;
|
||||||
|
|
29
pkgs/os-specific/linux/microcode/converter.nix
Normal file
29
pkgs/os-specific/linux/microcode/converter.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "microcode2ucode-20120205";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://gentoo-overlays.zugaina.org/gentoo/portage/sys-apps/microcode-data/files/intel-microcode2ucode.c";
|
||||||
|
sha256 = "c51b1b1d8b4b28e7d5d007917c1e444af1a2ff04a9408aa9067c0e57d70164de";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
# nothing to unpack
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
gcc -Wall -O2 $src -o intel-microcode2ucode
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir "$out/bin"
|
||||||
|
cp intel-microcode2ucode "$out/bin/"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.intel.com;
|
||||||
|
description = "Microcode converter for Intel .dat files";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, microcode2ucode }:
|
||||||
|
|
||||||
let version = "20111110";
|
let version = "20111110";
|
||||||
num = "20728";
|
num = "20728";
|
||||||
|
@ -9,16 +9,16 @@ in stdenv.mkDerivation {
|
||||||
sha256 = "16f532cdf9cce03e01e714619ad9406a465aa965bbd1288035398db79921cbc1";
|
sha256 = "16f532cdf9cce03e01e714619ad9406a465aa965bbd1288035398db79921cbc1";
|
||||||
};
|
};
|
||||||
|
|
||||||
# setSourceRoot = ''
|
buildInputs = [ microcode2ucode ];
|
||||||
# sourceRoot=.
|
|
||||||
# '';
|
|
||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
dontBuild = true;
|
buildPhase = ''
|
||||||
|
intel-microcode2ucode microcode.dat
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
ensureDir $out
|
ensureDir $out
|
||||||
cp microcode.dat "$out/"
|
cp -r intel-ucode "$out/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1398,11 +1398,11 @@ let
|
||||||
})) // {inherit inputproto xorgserver xproto ;};
|
})) // {inherit inputproto xorgserver xproto ;};
|
||||||
|
|
||||||
xf86inputsynaptics = (stdenv.mkDerivation ((if overrides ? xf86inputsynaptics then overrides.xf86inputsynaptics else x: x) {
|
xf86inputsynaptics = (stdenv.mkDerivation ((if overrides ? xf86inputsynaptics then overrides.xf86inputsynaptics else x: x) {
|
||||||
name = "xf86-input-synaptics-1.3.0";
|
name = "xf86-input-synaptics-1.5.0";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://xorg/X11R7.6/src/everything/xf86-input-synaptics-1.3.0.tar.bz2;
|
url = mirror://xorg/individual/driver/xf86-input-synaptics-1.5.0.tar.bz2;
|
||||||
sha256 = "1mwgb85qjyzx2yfi7jhgvd435zdyqxyq9aqwlsldmlpkqi8358rh";
|
sha256 = "0khwda8lrrvrdb37i4i1kdhg8f44kgcjq9y209ds7ja9zjcm7k4m";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig inputproto randrproto recordproto libX11 libXi xorgserver xproto libXtst ];
|
buildInputs = [pkgconfig inputproto randrproto recordproto libX11 libXi xorgserver xproto libXtst ];
|
||||||
})) // {inherit inputproto randrproto recordproto libX11 libXi xorgserver xproto libXtst ;};
|
})) // {inherit inputproto randrproto recordproto libX11 libXi xorgserver xproto libXtst ;};
|
||||||
|
|
|
@ -121,7 +121,7 @@ mirror://xorg/individual/driver/xf86-input-evdev-2.6.0.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-input-joystick-1.5.0.tar.bz2
|
mirror://xorg/X11R7.6/src/everything/xf86-input-joystick-1.5.0.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-input-keyboard-1.5.0.tar.bz2
|
mirror://xorg/X11R7.6/src/everything/xf86-input-keyboard-1.5.0.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-input-mouse-1.6.0.tar.bz2
|
mirror://xorg/X11R7.6/src/everything/xf86-input-mouse-1.6.0.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-input-synaptics-1.3.0.tar.bz2
|
mirror://xorg/individual/driver/xf86-input-synaptics-1.5.0.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-input-vmmouse-12.6.10.tar.bz2
|
mirror://xorg/X11R7.6/src/everything/xf86-input-vmmouse-12.6.10.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-input-void-1.3.1.tar.bz2
|
mirror://xorg/X11R7.6/src/everything/xf86-input-void-1.3.1.tar.bz2
|
||||||
mirror://xorg/X11R7.6/src/everything/xf86-video-apm-1.2.3.tar.bz2
|
mirror://xorg/X11R7.6/src/everything/xf86-video-apm-1.2.3.tar.bz2
|
||||||
|
|
30
pkgs/tools/X11/bumblebee/config.patch
Normal file
30
pkgs/tools/X11/bumblebee/config.patch
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
--- bumblebee-3.0/src/driver.c.orig 2012-02-03 14:51:10.282464426 +0100
|
||||||
|
+++ bumblebee-3.0/src/driver.c 2012-02-04 22:26:02.715498536 +0100
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
#include "module.h"
|
||||||
|
#include "bblogger.h"
|
||||||
|
#include "driver.h"
|
||||||
|
+#include <stdlib.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check what drivers are available and autodetect if possible. Driver, module
|
||||||
|
@@ -30,6 +31,7 @@
|
||||||
|
*/
|
||||||
|
void driver_detect(void) {
|
||||||
|
/* determine driver to be used */
|
||||||
|
+ set_string_value(&bb_config.driver, getenv("BUMBLEBEE_DRIVER"));
|
||||||
|
if (*bb_config.driver) {
|
||||||
|
bb_log(LOG_DEBUG, "Skipping auto-detection, using configured driver"
|
||||||
|
" '%s'\n", bb_config.driver);
|
||||||
|
@@ -65,8 +67,8 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (strcmp(bb_config.driver, "nvidia")) {
|
||||||
|
- set_string_value(&bb_config.ld_path, CONF_LDPATH_NVIDIA);
|
||||||
|
- set_string_value(&bb_config.mod_path, CONF_MODPATH_NVIDIA);
|
||||||
|
+ if (!strcmp(bb_config.driver, "nvidia")) {
|
||||||
|
+ set_string_value(&bb_config.ld_path, getenv("BUMBLEBEE_LDPATH_NVIDIA"));
|
||||||
|
+ set_string_value(&bb_config.mod_path, getenv("BUMBLEBEE_MODPATH_NVIDIA"));
|
||||||
|
}
|
||||||
|
}
|
136
pkgs/tools/X11/bumblebee/default.nix
Normal file
136
pkgs/tools/X11/bumblebee/default.nix
Normal file
|
@ -0,0 +1,136 @@
|
||||||
|
# The bumblebee package allows a program to be rendered on an
|
||||||
|
# dedicated video card by spawning an additional X11 server
|
||||||
|
# and streaming the results via VirtualGL to the primary server.
|
||||||
|
|
||||||
|
# The package is rather chaotic; it's also quite recent.
|
||||||
|
# As it may change a lot, some of the hacks in this nix expression
|
||||||
|
# will hopefully not be needed in the future anymore.
|
||||||
|
|
||||||
|
# To test: make sure that the 'bbswitch' kernel module is installed,
|
||||||
|
# then run 'bumblebeed' as root and 'optirun glxgears' as user.
|
||||||
|
# To use at startup, add e.g. to configuration.nix:
|
||||||
|
# jobs = {
|
||||||
|
# bumblebeed = {
|
||||||
|
# name = "bumblebeed";
|
||||||
|
# description = "Manages the Optimus video card";
|
||||||
|
# startOn = "started udev and started syslogd";
|
||||||
|
# stopOn = "starting shutdown";
|
||||||
|
# exec = "bumblebeed --use-syslog";
|
||||||
|
# path = [ pkgs.bumblebee ];
|
||||||
|
# environment = { MODULE_DIR = "${config.system.modulesTree}/lib/modules"; };
|
||||||
|
# respawn = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
# This nix expression supports for now only the native nvidia driver.
|
||||||
|
# It should not be hard to generalize this approach to support the
|
||||||
|
# nouveau driver as well (parameterize commonEnv over the module
|
||||||
|
# package, and parameterize the two wrappers as well)
|
||||||
|
|
||||||
|
{ stdenv, fetchurl, pkgconfig, help2man
|
||||||
|
, libX11, glibc, gtkLibs, libbsd
|
||||||
|
, makeWrapper, buildEnv, module_init_tools
|
||||||
|
, linuxPackages, virtualgl, xorg, xkeyboard_config
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "3.0";
|
||||||
|
name = "bumblebee-${version}";
|
||||||
|
|
||||||
|
# isolated X11 environment with the nvidia module
|
||||||
|
# it should include all components needed for bumblebeed and
|
||||||
|
# optirun to spawn the second X server and to connect to it.
|
||||||
|
commonEnv = buildEnv {
|
||||||
|
name = "bumblebee-env";
|
||||||
|
paths = [
|
||||||
|
module_init_tools
|
||||||
|
|
||||||
|
linuxPackages.nvidia_x11
|
||||||
|
xorg.xorgserver
|
||||||
|
xorg.xrandr
|
||||||
|
xorg.xrdb
|
||||||
|
xorg.setxkbmap
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXext
|
||||||
|
|
||||||
|
virtualgl
|
||||||
|
];
|
||||||
|
|
||||||
|
# the nvidia GLX module overwrites the one of xorgserver,
|
||||||
|
# thus nvidia_x11 must be before xorgserver in the paths.
|
||||||
|
ignoreCollisions = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Custom X11 configuration for the additional xserver instance.
|
||||||
|
xorgConf = ./xorg.conf.nvidia;
|
||||||
|
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://github.com/downloads/Bumblebee-Project/Bumblebee/${name}.tar.gz";
|
||||||
|
sha256 = "a27ddb77b282ac8b972857fdb0dc5061cf0a0982b7ac3e1cfa698b4f786e49a1";
|
||||||
|
};
|
||||||
|
|
||||||
|
# 'config.patch' makes bumblebee read the active module and the nvidia configuration
|
||||||
|
# from the environment variables instead of the config file:
|
||||||
|
# BUMBLEBEE_DRIVER, BUMBLEBEE_LDPATH_NVIDIA, BUMBLEBEE_MODPATH_NVIDIA
|
||||||
|
# These variables must be set when bumblebeed and optirun are executed.
|
||||||
|
patches = [ ./config.patch ./xopts.patch ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Substitute the path to the actual modinfo program in module.c.
|
||||||
|
# Note: module.c also calls rmmod and modprobe, but those just have to
|
||||||
|
# be in PATH, and thus no action for them is required.
|
||||||
|
substituteInPlace src/module.c \
|
||||||
|
--replace "/sbin/modinfo" "${module_init_tools}/sbin/modinfo"
|
||||||
|
|
||||||
|
# Don't use a special group, just reuse wheel.
|
||||||
|
substituteInPlace configure \
|
||||||
|
--replace 'CONF_GID="bumblebee"' 'CONF_GID="wheel"'
|
||||||
|
|
||||||
|
# Ensures that the config file ends up with a nonempty
|
||||||
|
# name of the nvidia module. This is needed, because the
|
||||||
|
# configuration handling code otherwise resets the
|
||||||
|
# data that we obtained from the environment (see config.patch)
|
||||||
|
export CONF_DRIVER_MODULE_NVIDIA=nvidia
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Build-time dependencies of bumblebeed and optirun.
|
||||||
|
# Note that it has several runtime dependencies.
|
||||||
|
buildInputs = [ stdenv makeWrapper pkgconfig help2man libX11 gtkLibs.glib libbsd ];
|
||||||
|
|
||||||
|
# create a wrapper environment for bumblebeed and optirun
|
||||||
|
postInstall = ''
|
||||||
|
# remove some entries from the configuration file that would otherwise
|
||||||
|
# cause our environment variables to be ignored.
|
||||||
|
substituteInPlace "$out/etc/bumblebee/bumblebee.conf" \
|
||||||
|
--replace "LibraryPath=" "" \
|
||||||
|
--replace "XorgModulePath=" ""
|
||||||
|
|
||||||
|
wrapProgram "$out/sbin/bumblebeed" \
|
||||||
|
--prefix PATH : "${commonEnv}/sbin:${commonEnv}/bin:\$PATH" \
|
||||||
|
--prefix LD_LIBRARY_PATH : "${commonEnv}/lib:\$LD_LIBRARY_PATH" \
|
||||||
|
--set BUMBLEBEE_DRIVER "nvidia" \
|
||||||
|
--set BUMBLEBEE_LDPATH_NVIDIA "${commonEnv}/lib" \
|
||||||
|
--set BUMBLEBEE_MODPATH_NVIDIA "${commonEnv}/lib/xorg/modules" \
|
||||||
|
--set FONTCONFIG_FILE "/etc/fonts/fonts.conf" \
|
||||||
|
--set XKB_BINDIR "${xorg.xkbcomp}/bin" \
|
||||||
|
--set XKB_DIR "${xkeyboard_config}/etc/X11/xkb"
|
||||||
|
|
||||||
|
wrapProgram "$out/bin/optirun" \
|
||||||
|
--prefix PATH : "${commonEnv}/sbin:${commonEnv}/bin" \
|
||||||
|
--prefix LD_LIBRARY_PATH : "${commonEnv}/lib" \
|
||||||
|
--set BUMBLEBEE_DRIVER "nvidia" \
|
||||||
|
--set BUMBLEBEE_LDPATH_NVIDIA "${commonEnv}/lib" \
|
||||||
|
--set BUMBLEBEE_MODPATH_NVIDIA "${commonEnv}/lib/xorg/modules"
|
||||||
|
|
||||||
|
cp ${xorgConf} "$out/etc/bumblebee/xorg.conf.nvidia"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://github.com/Bumblebee-Project/Bumblebee;
|
||||||
|
description = "Daemon for managing Optimus videocards (power-on/off, spawns xservers)";
|
||||||
|
license = "free";
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/tools/X11/bumblebee/xopts.patch
Normal file
11
pkgs/tools/X11/bumblebee/xopts.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- bumblebee-3.0/src/bbsecondary.c.orig 2012-02-05 00:03:06.003439638 +0100
|
||||||
|
+++ bumblebee-3.0/src/bbsecondary.c 2012-02-05 00:46:38.017382619 +0100
|
||||||
|
@@ -149,6 +149,8 @@
|
||||||
|
"-sharevts",
|
||||||
|
"-nolisten", "tcp",
|
||||||
|
"-noreset",
|
||||||
|
+ "-xkbdir", getenv("XKB_DIR"),
|
||||||
|
+ "-logfile", "/dev/null",
|
||||||
|
"-verbose", "3",
|
||||||
|
"-isolateDevice", pci_id,
|
||||||
|
"-modulepath",
|
49
pkgs/tools/X11/bumblebee/xorg.conf.nvidia
Normal file
49
pkgs/tools/X11/bumblebee/xorg.conf.nvidia
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
Section "DRI"
|
||||||
|
Mode 0666
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "ServerLayout"
|
||||||
|
Identifier "Layout0"
|
||||||
|
Screen "Screen1"
|
||||||
|
Option "AutoAddDevices" "false"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Module"
|
||||||
|
Load "dbe"
|
||||||
|
Load "extmod"
|
||||||
|
Load "glx"
|
||||||
|
Load "record"
|
||||||
|
Load "freetype"
|
||||||
|
Load "type1"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Files"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Device"
|
||||||
|
Identifier "Device1"
|
||||||
|
Driver "nvidia"
|
||||||
|
VendorName "NVIDIA Corporation"
|
||||||
|
Option "NoLogo" "true"
|
||||||
|
Option "UseEDID" "false"
|
||||||
|
Option "ConnectedMonitor" "CRT-0"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Screen"
|
||||||
|
Identifier "Screen1"
|
||||||
|
Device "Device1"
|
||||||
|
Monitor "Monitor0"
|
||||||
|
DefaultDepth 24
|
||||||
|
SubSection "Display"
|
||||||
|
Depth 24
|
||||||
|
EndSubSection
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Extensions"
|
||||||
|
Option "Composite" "Enable"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Monitor"
|
||||||
|
Identifier "Monitor0"
|
||||||
|
Option "DPMS"
|
||||||
|
EndSection
|
|
@ -1,4 +1,5 @@
|
||||||
{stdenv, fetchurl, mesa, libX11, openssl, libXext, libjpeg_turbo}:
|
{ stdenv, fetchurl, mesa, libX11, openssl, libXext
|
||||||
|
, libjpeg_turbo, cmake }:
|
||||||
|
|
||||||
let
|
let
|
||||||
libDir = if stdenv.is64bit then "lib64" else "lib";
|
libDir = if stdenv.is64bit then "lib64" else "lib";
|
||||||
|
@ -6,21 +7,23 @@ in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "virtualgl-2.1.4";
|
name = "virtualgl-2.1.4";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/virtualgl/VirtualGL-2.1.4.tar.gz;
|
url = mirror://sourceforge/virtualgl/VirtualGL-2.3.tar.gz;
|
||||||
sha256 = "d455e599620473a07711196615e59c73d08a7f392a9fcf60a6bc05d82809d89d";
|
sha256 = "2f00c4eb20b0ae88e957a23fb66882e4ade2faa208abd30aa8c4f61570ecd4b9";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./xshm.patch ];
|
patches = [ ./xshm.patch ./fixturbopath.patch ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed -i s,LD_PRELOAD=lib,LD_PRELOAD=$out/${libDir}/lib, rr/vglrun
|
sed -i s,LD_PRELOAD=lib,LD_PRELOAD=$out/${libDir}/lib, rr/vglrun
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preInstall =''
|
cmakeFlags = [ "-DTJPEG_LIBRARY=${libjpeg_turbo}/lib/libturbojpeg.so" ];
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
export makeFlags="prefix=$out"
|
export makeFlags="prefix=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ mesa libX11 openssl libXext libjpeg_turbo ];
|
buildInputs = [ cmake mesa libX11 openssl libXext libjpeg_turbo ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.virtualgl.org/;
|
homepage = http://www.virtualgl.org/;
|
||||||
|
|
16
pkgs/tools/X11/virtualgl/fixturbopath.patch
Normal file
16
pkgs/tools/X11/virtualgl/fixturbopath.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
--- VirtualGL-2.3/cmakescripts/FindTurboJPEG.cmake.orig 2012-02-02 17:33:49.496283001 +0100
|
||||||
|
+++ VirtualGL-2.3/cmakescripts/FindTurboJPEG.cmake 2012-02-02 17:44:18.772483239 +0100
|
||||||
|
@@ -40,8 +40,11 @@
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-set(TJPEG_LIBRARY ${DEFAULT_TJPEG_LIBRARY} CACHE PATH
|
||||||
|
- "TurboJPEG library path (default: ${DEFAULT_TJPEG_LIBRARY})")
|
||||||
|
+if(NOT TJPEG_LIBRARY)
|
||||||
|
+ message(STATUS "TJPEG_LIBRARY environment variable not set")
|
||||||
|
+ set(TJPEG_LIBRARY ${DEFAULT_TJPEG_LIBRARY} CACHE PATH
|
||||||
|
+ "TurboJPEG library path (default: ${DEFAULT_TJPEG_LIBRARY})")
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(CMAKE_REQUIRED_DEFINITIONS -MT)
|
38
pkgs/tools/admin/analog/default.nix
Normal file
38
pkgs/tools/admin/analog/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
name = "analog-6.0";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.analog.cx/${name}.tar.gz";
|
||||||
|
sha256 = "31c0e2bedd0968f9d4657db233b20427d8c497be98194daf19d6f859d7f6fcca";
|
||||||
|
};
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
sed -i src/anlghead.h \
|
||||||
|
-e "s|#define DEFAULTCONFIGFILE .*|#define DEFAULTCONFIGFILE \"$out/etc/analog.cfg\"|g" \
|
||||||
|
-e "s|#define LANGDIR .*|#define LANGDIR \"$out/share/${name}/lang/\"|g"
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin $out/etc $out/share/doc/${name} $out/share/man/man1 $out/share/${name}
|
||||||
|
mv analog $out/bin/
|
||||||
|
cp examples/big.cfg $out/etc/analog.cfg
|
||||||
|
mv analog.man $out/share/man/man1/analog.1
|
||||||
|
mv docs $out/share/doc/${name}/manual
|
||||||
|
mv how-to $out/share/doc/${name}/
|
||||||
|
mv lang images examples $out/share/${name}/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.analog.cx/";
|
||||||
|
license = "GPL";
|
||||||
|
description = "a powerful tool to generate web server statistics";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl, python, librsync, gnupg, boto, makeWrapper }:
|
{ stdenv, fetchurl, python, librsync, gnupg, boto, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "duplicity-0.6.16";
|
name = "duplicity-0.6.17";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://code.launchpad.net/duplicity/0.6-series/0.6.16/+download/duplicity-0.6.16.tar.gz;
|
url = "http://code.launchpad.net/duplicity/0.6-series/0.6.17/+download/duplicity-0.6.17.tar.gz";
|
||||||
sha256 = "0n63857swqnq7i697p615dp37bsd5bj0gvlj5ng41584zzjmv328";
|
sha256 = "0n54fw55v4h0cjspgh9nhss5w18bfrib9fckgkk2fldi3835c7l9";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -21,9 +21,9 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Encrypted bandwidth-efficient backup using the rsync algorithm";
|
description = "Encrypted bandwidth-efficient backup using the rsync algorithm";
|
||||||
homepage = http://www.nongnu.org/duplicity;
|
homepage = "http://www.nongnu.org/duplicity";
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
maintainers = with stdenv.lib.maintainers; [viric simons];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
{stdenv, fetchurl, libtiff, libpng, lcms, libxmi, boost }:
|
{stdenv, fetchurl, libtiff, libpng, lcms, libxmi, boost, mesa, freeglut
|
||||||
|
, pkgconfig, perl, glew }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "enblend-enfuse-3.2";
|
name = "enblend-enfuse-4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/enblend/enblend-enfuse-3.2.tar.gz;
|
url = "mirror://sourceforge/enblend/${name}.tar.gz";
|
||||||
sha256 = "0ly6fdn5ym1v6m1f4gqc6s4zqgrfcys1ypfm82g5qbhh66x6gqw4";
|
sha256 = "1i2kq842zrncpadarhcikg447abmh5r7a5js3mzg553ql3148am1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libtiff libpng lcms libxmi boost ];
|
buildInputs = [ libtiff libpng lcms libxmi boost mesa freeglut glew ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ perl pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://enblend.sourceforge.net/;
|
homepage = http://enblend.sourceforge.net/;
|
||||||
|
|
|
@ -28,6 +28,9 @@ stdenv.mkDerivation {
|
||||||
--replace /usr/include /no-such-path \
|
--replace /usr/include /no-such-path \
|
||||||
--replace /usr/lib /no-such-path \
|
--replace /usr/lib /no-such-path \
|
||||||
--replace /usr/local /no-such-path \
|
--replace /usr/local /no-such-path \
|
||||||
|
|
||||||
|
|
||||||
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lz"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|
|
@ -363,6 +363,8 @@ let
|
||||||
|
|
||||||
aircrackng = callPackage ../tools/networking/aircrack-ng { };
|
aircrackng = callPackage ../tools/networking/aircrack-ng { };
|
||||||
|
|
||||||
|
analog = callPackage ../tools/admin/analog {};
|
||||||
|
|
||||||
archivemount = callPackage ../tools/filesystems/archivemount { };
|
archivemount = callPackage ../tools/filesystems/archivemount { };
|
||||||
|
|
||||||
asymptote = builderDefsPackage ../tools/graphics/asymptote {
|
asymptote = builderDefsPackage ../tools/graphics/asymptote {
|
||||||
|
@ -678,6 +680,8 @@ let
|
||||||
|
|
||||||
flvstreamer = callPackage ../tools/networking/flvstreamer { };
|
flvstreamer = callPackage ../tools/networking/flvstreamer { };
|
||||||
|
|
||||||
|
libbsd = callPackage ../development/libraries/libbsd { };
|
||||||
|
|
||||||
flvtool2 = callPackage ../tools/video/flvtool2 { };
|
flvtool2 = callPackage ../tools/video/flvtool2 { };
|
||||||
|
|
||||||
fontforge = callPackage ../tools/misc/fontforge { };
|
fontforge = callPackage ../tools/misc/fontforge { };
|
||||||
|
@ -1251,7 +1255,7 @@ let
|
||||||
|
|
||||||
pwgen = callPackage ../tools/security/pwgen { };
|
pwgen = callPackage ../tools/security/pwgen { };
|
||||||
|
|
||||||
pydb = callPackage ../tools/pydb { };
|
pydb = callPackage ../development/tools/pydb { };
|
||||||
|
|
||||||
pystringtemplate = callPackage ../development/python-modules/stringtemplate { };
|
pystringtemplate = callPackage ../development/python-modules/stringtemplate { };
|
||||||
|
|
||||||
|
@ -3034,6 +3038,8 @@ let
|
||||||
gnumake380 = callPackage ../development/tools/build-managers/gnumake-3.80 { };
|
gnumake380 = callPackage ../development/tools/build-managers/gnumake-3.80 { };
|
||||||
gnumake381 = callPackage ../development/tools/build-managers/gnumake/3.81.nix { };
|
gnumake381 = callPackage ../development/tools/build-managers/gnumake/3.81.nix { };
|
||||||
|
|
||||||
|
gob2 = callPackage ../development/tools/misc/gob2 { };
|
||||||
|
|
||||||
gradle = callPackage ../development/tools/build-managers/gradle { };
|
gradle = callPackage ../development/tools/build-managers/gradle { };
|
||||||
|
|
||||||
gperf = callPackage ../development/tools/misc/gperf { };
|
gperf = callPackage ../development/tools/misc/gperf { };
|
||||||
|
@ -3297,8 +3303,7 @@ let
|
||||||
|
|
||||||
clanlib = callPackage ../development/libraries/clanlib { };
|
clanlib = callPackage ../development/libraries/clanlib { };
|
||||||
|
|
||||||
clapack = callPackage ../development/libraries/clapack {
|
clapack = callPackage ../development/libraries/clapack { };
|
||||||
};
|
|
||||||
|
|
||||||
classads = callPackage ../development/libraries/classads { };
|
classads = callPackage ../development/libraries/classads { };
|
||||||
|
|
||||||
|
@ -3682,6 +3687,9 @@ let
|
||||||
guileBindings = getConfig ["gnutls" "guile"] true;
|
guileBindings = getConfig ["gnutls" "guile"] true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gnutls_without_guile = gnutls.override { guileBindings = false; };
|
||||||
|
gnutls2_without_guile = gnutls2.override { guileBindings = false; };
|
||||||
|
|
||||||
gpgme = callPackage ../development/libraries/gpgme { };
|
gpgme = callPackage ../development/libraries/gpgme { };
|
||||||
|
|
||||||
grantlee = callPackage ../development/libraries/grantlee { };
|
grantlee = callPackage ../development/libraries/grantlee { };
|
||||||
|
@ -3702,36 +3710,31 @@ let
|
||||||
|
|
||||||
gtkmathview = callPackage ../development/libraries/gtkmathview { };
|
gtkmathview = callPackage ../development/libraries/gtkmathview { };
|
||||||
|
|
||||||
gtkLibs = recurseIntoAttrs pkgs.gtkLibs224;
|
gtkLibs = {
|
||||||
|
inherit (pkgs) glib glibmm atk atkmm cairo pango pangomm gdk_pixbuf gtk
|
||||||
inherit (pkgs.gtkLibs) glib gtk pango cairo gdk_pixbuf;
|
gtkmm;
|
||||||
|
|
||||||
gtkLibs224 = let callPackage = pkgs.newScope pkgs.gtkLibs224; in {
|
|
||||||
|
|
||||||
glib = callPackage ../development/libraries/glib/2.28.x.nix { };
|
|
||||||
|
|
||||||
glibmm = callPackage ../development/libraries/glibmm/2.28.x.nix { };
|
|
||||||
|
|
||||||
atk = callPackage ../development/libraries/atk/2.2.x.nix { };
|
|
||||||
|
|
||||||
atkmm = callPackage ../development/libraries/atkmm/2.22.x.nix { };
|
|
||||||
|
|
||||||
cairo = callPackage ../development/libraries/cairo { };
|
|
||||||
|
|
||||||
pango = callPackage ../development/libraries/pango/1.28.x.nix { };
|
|
||||||
|
|
||||||
pangomm = callPackage ../development/libraries/pangomm/2.28.x.nix { };
|
|
||||||
|
|
||||||
gdk_pixbuf = callPackage ../development/libraries/gdk-pixbuf/2.24.x.nix { };
|
|
||||||
|
|
||||||
gtk = callPackage ../development/libraries/gtk+/2.24.x.nix { };
|
|
||||||
|
|
||||||
gtkmm = callPackage ../development/libraries/gtkmm/2.24.x.nix { };
|
|
||||||
|
|
||||||
gob2 = callPackage ../development/tools/misc/gob2 { };
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
glib = callPackage ../development/libraries/glib/2.28.x.nix { };
|
||||||
|
|
||||||
|
glibmm = callPackage ../development/libraries/glibmm/2.28.x.nix { };
|
||||||
|
|
||||||
|
atk = callPackage ../development/libraries/atk/2.2.x.nix { };
|
||||||
|
|
||||||
|
atkmm = callPackage ../development/libraries/atkmm/2.22.x.nix { };
|
||||||
|
|
||||||
|
cairo = callPackage ../development/libraries/cairo { };
|
||||||
|
|
||||||
|
pango = callPackage ../development/libraries/pango/1.28.x.nix { };
|
||||||
|
|
||||||
|
pangomm = callPackage ../development/libraries/pangomm/2.28.x.nix { };
|
||||||
|
|
||||||
|
gdk_pixbuf = callPackage ../development/libraries/gdk-pixbuf/2.24.x.nix { };
|
||||||
|
|
||||||
|
gtk = callPackage ../development/libraries/gtk+/2.24.x.nix { };
|
||||||
|
|
||||||
|
gtkmm = callPackage ../development/libraries/gtkmm/2.24.x.nix { };
|
||||||
|
|
||||||
gtkLibs3x = let callPackage = newScope pkgs.gtkLibs3x; in {
|
gtkLibs3x = let callPackage = newScope pkgs.gtkLibs3x; in {
|
||||||
glib = callPackage ../development/libraries/glib/2.30.x.nix { };
|
glib = callPackage ../development/libraries/glib/2.30.x.nix { };
|
||||||
|
|
||||||
|
@ -5277,6 +5280,8 @@ let
|
||||||
|
|
||||||
alsaUtils = callPackage ../os-specific/linux/alsa-utils { };
|
alsaUtils = callPackage ../os-specific/linux/alsa-utils { };
|
||||||
|
|
||||||
|
microcode2ucode = callPackage ../os-specific/linux/microcode/converter.nix { };
|
||||||
|
|
||||||
microcodeIntel = callPackage ../os-specific/linux/microcode/intel.nix { };
|
microcodeIntel = callPackage ../os-specific/linux/microcode/intel.nix { };
|
||||||
|
|
||||||
bcm43xx = callPackage ../os-specific/linux/firmware/bcm43xx { };
|
bcm43xx = callPackage ../os-specific/linux/firmware/bcm43xx { };
|
||||||
|
@ -5392,6 +5397,8 @@ let
|
||||||
|
|
||||||
hwdata = callPackage ../os-specific/linux/hwdata { };
|
hwdata = callPackage ../os-specific/linux/hwdata { };
|
||||||
|
|
||||||
|
i7z = callPackage ../os-specific/linux/i7z { };
|
||||||
|
|
||||||
ifplugd = callPackage ../os-specific/linux/ifplugd { };
|
ifplugd = callPackage ../os-specific/linux/ifplugd { };
|
||||||
|
|
||||||
iotop = callPackage ../os-specific/linux/iotop { };
|
iotop = callPackage ../os-specific/linux/iotop { };
|
||||||
|
@ -5873,6 +5880,8 @@ let
|
||||||
inherit (gtkLibs) gtkmm;
|
inherit (gtkLibs) gtkmm;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
frandom = callPackage ../os-specific/linux/frandom { };
|
||||||
|
|
||||||
iscsitarget = callPackage ../os-specific/linux/iscsitarget { };
|
iscsitarget = callPackage ../os-specific/linux/iscsitarget { };
|
||||||
|
|
||||||
iwlwifi = callPackage ../os-specific/linux/iwlwifi { };
|
iwlwifi = callPackage ../os-specific/linux/iwlwifi { };
|
||||||
|
@ -6808,6 +6817,8 @@ let
|
||||||
|
|
||||||
fossil = callPackage ../applications/version-management/fossil { };
|
fossil = callPackage ../applications/version-management/fossil { };
|
||||||
|
|
||||||
|
goldendict = callPackage ../applications/misc/goldendict { };
|
||||||
|
|
||||||
grass = import ../applications/misc/grass {
|
grass = import ../applications/misc/grass {
|
||||||
inherit (xlibs) libXmu libXext libXp libX11 libXt libSM libICE libXpm
|
inherit (xlibs) libXmu libXext libXp libX11 libXt libSM libICE libXpm
|
||||||
libXaw libXrender;
|
libXaw libXrender;
|
||||||
|
@ -6865,6 +6876,13 @@ let
|
||||||
|
|
||||||
firefox100Wrapper = wrapFirefox { browser = firefox100Pkgs.firefox; };
|
firefox100Wrapper = wrapFirefox { browser = firefox100Pkgs.firefox; };
|
||||||
|
|
||||||
|
firefox11Pkgs = callPackage ../applications/networking/browsers/firefox/11.0.nix {
|
||||||
|
inherit (gtkLibs) gtk pango;
|
||||||
|
inherit (gnome) libIDL;
|
||||||
|
};
|
||||||
|
|
||||||
|
firefox11Wrapper = lowPrio (wrapFirefox { browser = firefox11Pkgs.firefox; });
|
||||||
|
|
||||||
flac = callPackage ../applications/audio/flac { };
|
flac = callPackage ../applications/audio/flac { };
|
||||||
|
|
||||||
flashplayer = flashplayer11;
|
flashplayer = flashplayer11;
|
||||||
|
@ -6924,7 +6942,7 @@ let
|
||||||
gitSVN = gitAndTools.gitSVN;
|
gitSVN = gitAndTools.gitSVN;
|
||||||
|
|
||||||
giv = callPackage ../applications/graphics/giv {
|
giv = callPackage ../applications/graphics/giv {
|
||||||
inherit (gtkLibs) gdk_pixbuf gtk gob2;
|
inherit (gtkLibs) gdk_pixbuf gtk;
|
||||||
pcre = pcre.override { unicodeSupport = true; };
|
pcre = pcre.override { unicodeSupport = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -7684,6 +7702,8 @@ let
|
||||||
|
|
||||||
virtualgl = callPackage ../tools/X11/virtualgl { };
|
virtualgl = callPackage ../tools/X11/virtualgl { };
|
||||||
|
|
||||||
|
bumblebee = callPackage ../tools/X11/bumblebee { };
|
||||||
|
|
||||||
vkeybd = callPackage ../applications/audio/vkeybd {
|
vkeybd = callPackage ../applications/audio/vkeybd {
|
||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
};
|
};
|
||||||
|
@ -8499,7 +8519,7 @@ let
|
||||||
|
|
||||||
ataripp = callPackage ../misc/emulators/atari++ { };
|
ataripp = callPackage ../misc/emulators/atari++ { };
|
||||||
|
|
||||||
auctex = callPackage ../misc/tex/auctex { };
|
auctex = callPackage ../tools/typesetting/tex/auctex { };
|
||||||
|
|
||||||
busybox = callPackage ../misc/busybox {
|
busybox = callPackage ../misc/busybox {
|
||||||
enableStatic = true;
|
enableStatic = true;
|
||||||
|
@ -8517,7 +8537,7 @@ let
|
||||||
|
|
||||||
darcnes = callPackage ../misc/emulators/darcnes { };
|
darcnes = callPackage ../misc/emulators/darcnes { };
|
||||||
|
|
||||||
dblatex = callPackage ../misc/tex/dblatex { };
|
dblatex = callPackage ../tools/typesetting/tex/dblatex { };
|
||||||
|
|
||||||
dosbox = callPackage ../misc/emulators/dosbox { };
|
dosbox = callPackage ../misc/emulators/dosbox { };
|
||||||
|
|
||||||
|
@ -8573,7 +8593,7 @@ let
|
||||||
|
|
||||||
keynav = callPackage ../tools/X11/keynav { };
|
keynav = callPackage ../tools/X11/keynav { };
|
||||||
|
|
||||||
lazylist = callPackage ../misc/tex/lazylist { };
|
lazylist = callPackage ../tools/typesetting/tex/lazylist { };
|
||||||
|
|
||||||
lilypond = callPackage ../misc/lilypond {
|
lilypond = callPackage ../misc/lilypond {
|
||||||
inherit (gtkLibs) pango;
|
inherit (gtkLibs) pango;
|
||||||
|
@ -8632,11 +8652,11 @@ let
|
||||||
|
|
||||||
DisnixWebService = callPackage ../tools/package-management/disnix/DisnixWebService { };
|
DisnixWebService = callPackage ../tools/package-management/disnix/DisnixWebService { };
|
||||||
|
|
||||||
latex2html = callPackage ../misc/tex/latex2html/default.nix {
|
latex2html = callPackage ../tools/typesetting/tex/latex2html/default.nix {
|
||||||
tex = tetex;
|
tex = tetex;
|
||||||
};
|
};
|
||||||
|
|
||||||
lkproof = callPackage ../misc/tex/lkproof { };
|
lkproof = callPackage ../tools/typesetting/tex/lkproof { };
|
||||||
|
|
||||||
mysqlWorkbench = newScope gnome ../applications/misc/mysql-workbench {
|
mysqlWorkbench = newScope gnome ../applications/misc/mysql-workbench {
|
||||||
lua = lua5;
|
lua = lua5;
|
||||||
|
@ -8651,13 +8671,13 @@ let
|
||||||
|
|
||||||
# Keep the old PGF since some documents don't render properly with
|
# Keep the old PGF since some documents don't render properly with
|
||||||
# the new one.
|
# the new one.
|
||||||
pgf1 = callPackage ../misc/tex/pgf/1.x.nix { };
|
pgf1 = callPackage ../tools/typesetting/tex/pgf/1.x.nix { };
|
||||||
|
|
||||||
pgf2 = callPackage ../misc/tex/pgf/2.x.nix { };
|
pgf2 = callPackage ../tools/typesetting/tex/pgf/2.x.nix { };
|
||||||
|
|
||||||
pjsip = callPackage ../applications/networking/pjsip { };
|
pjsip = callPackage ../applications/networking/pjsip { };
|
||||||
|
|
||||||
polytable = callPackage ../misc/tex/polytable { };
|
polytable = callPackage ../tools/typesetting/tex/polytable { };
|
||||||
|
|
||||||
uae = callPackage ../misc/emulators/uae { };
|
uae = callPackage ../misc/emulators/uae { };
|
||||||
|
|
||||||
|
@ -8687,13 +8707,13 @@ let
|
||||||
|
|
||||||
splix = callPackage ../misc/cups/drivers/splix { };
|
splix = callPackage ../misc/cups/drivers/splix { };
|
||||||
|
|
||||||
tetex = callPackage ../misc/tex/tetex { libpng = libpng12; };
|
tetex = callPackage ../tools/typesetting/tex/tetex { libpng = libpng12; };
|
||||||
|
|
||||||
tex4ht = callPackage ../misc/tex/tex4ht { };
|
tex4ht = callPackage ../tools/typesetting/tex/tex4ht { };
|
||||||
|
|
||||||
texFunctions = import ../misc/tex/nix pkgs;
|
texFunctions = import ../tools/typesetting/tex/nix pkgs;
|
||||||
|
|
||||||
texLive = builderDefsPackage (import ../misc/tex/texlive) {
|
texLive = builderDefsPackage (import ../tools/typesetting/tex/texlive) {
|
||||||
inherit builderDefs zlib bzip2 ncurses libpng ed
|
inherit builderDefs zlib bzip2 ncurses libpng ed
|
||||||
gd t1lib freetype icu perl expat curl
|
gd t1lib freetype icu perl expat curl
|
||||||
libjpeg bison python fontconfig flex;
|
libjpeg bison python fontconfig flex;
|
||||||
|
@ -8721,35 +8741,35 @@ let
|
||||||
Just installing a few packages doesn't work.
|
Just installing a few packages doesn't work.
|
||||||
*/
|
*/
|
||||||
texLiveAggregationFun =
|
texLiveAggregationFun =
|
||||||
(builderDefsPackage (import ../misc/tex/texlive/aggregate.nix));
|
(builderDefsPackage (import ../tools/typesetting/tex/texlive/aggregate.nix));
|
||||||
|
|
||||||
texDisser = callPackage ../misc/tex/disser {};
|
texDisser = callPackage ../tools/typesetting/tex/disser {};
|
||||||
|
|
||||||
texLiveContext = builderDefsPackage (import ../misc/tex/texlive/context.nix) {
|
texLiveContext = builderDefsPackage (import ../tools/typesetting/tex/texlive/context.nix) {
|
||||||
inherit texLive;
|
inherit texLive;
|
||||||
};
|
};
|
||||||
|
|
||||||
texLiveExtra = builderDefsPackage (import ../misc/tex/texlive/extra.nix) {
|
texLiveExtra = builderDefsPackage (import ../tools/typesetting/tex/texlive/extra.nix) {
|
||||||
inherit texLive;
|
inherit texLive;
|
||||||
};
|
};
|
||||||
|
|
||||||
texLiveCMSuper = builderDefsPackage (import ../misc/tex/texlive/cm-super.nix) {
|
texLiveCMSuper = builderDefsPackage (import ../tools/typesetting/tex/texlive/cm-super.nix) {
|
||||||
inherit texLive;
|
inherit texLive;
|
||||||
};
|
};
|
||||||
|
|
||||||
texLiveLatexXColor = builderDefsPackage (import ../misc/tex/texlive/xcolor.nix) {
|
texLiveLatexXColor = builderDefsPackage (import ../tools/typesetting/tex/texlive/xcolor.nix) {
|
||||||
inherit texLive;
|
inherit texLive;
|
||||||
};
|
};
|
||||||
|
|
||||||
texLivePGF = builderDefsPackage (import ../misc/tex/texlive/pgf.nix) {
|
texLivePGF = builderDefsPackage (import ../tools/typesetting/tex/texlive/pgf.nix) {
|
||||||
inherit texLiveLatexXColor texLive;
|
inherit texLiveLatexXColor texLive;
|
||||||
};
|
};
|
||||||
|
|
||||||
texLiveBeamer = builderDefsPackage (import ../misc/tex/texlive/beamer.nix) {
|
texLiveBeamer = builderDefsPackage (import ../tools/typesetting/tex/texlive/beamer.nix) {
|
||||||
inherit texLiveLatexXColor texLivePGF texLive;
|
inherit texLiveLatexXColor texLivePGF texLive;
|
||||||
};
|
};
|
||||||
|
|
||||||
texLiveModerncv = builderDefsPackage (import ../misc/tex/texlive/moderncv.nix) {
|
texLiveModerncv = builderDefsPackage (import ../tools/typesetting/tex/texlive/moderncv.nix) {
|
||||||
inherit texLive unzip;
|
inherit texLive unzip;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -137,12 +137,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
inherit (self) cabal ghc;
|
inherit (self) cabal ghc;
|
||||||
cgi = self.cgi_3001_1_7_4; # 7.4.1 ok
|
cgi = self.cgi_3001_1_7_4; # 7.4.1 ok
|
||||||
fgl = self.fgl_5_4_2_4; # 7.4.1 ok
|
fgl = self.fgl_5_4_2_4; # 7.4.1 ok
|
||||||
GLUT = self.GLUT_2_1_2_1; # 7.4.1 fails
|
GLUT = self.GLUT_2_3_0_0; # 7.4.1 ok
|
||||||
haskellSrc = self.haskellSrc_1_0_1_5; # 7.4.1 fails
|
haskellSrc = self.haskellSrc_1_0_1_5; # 7.4.1 ok
|
||||||
html = self.html_1_0_1_2; # 7.4.1 ok
|
html = self.html_1_0_1_2; # 7.4.1 ok
|
||||||
HUnit = self.HUnit_1_2_2_3; # 7.4.1 ok
|
HUnit = self.HUnit_1_2_2_3; # 7.4.1 ok
|
||||||
network = self.network_2_3_0_10; # 7.4.1 ok
|
network = self.network_2_3_0_10; # 7.4.1 ok
|
||||||
OpenGL = self.OpenGL_2_2_3_0; # 7.4.1 fails
|
OpenGL = self.OpenGL_2_5_0_0; # 7.4.1 ok
|
||||||
parallel = self.parallel_3_2_0_2; # 7.4.1 ok
|
parallel = self.parallel_3_2_0_2; # 7.4.1 ok
|
||||||
parsec = self.parsec_3_1_2; # 7.4.1 ok
|
parsec = self.parsec_3_1_2; # 7.4.1 ok
|
||||||
QuickCheck = self.QuickCheck_2_4_2; # 7.4.1 ok
|
QuickCheck = self.QuickCheck_2_4_2; # 7.4.1 ok
|
||||||
|
@ -160,7 +160,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
random = self.random_1_0_1_1; # 7.4.1 ok
|
random = self.random_1_0_1_1; # 7.4.1 ok
|
||||||
cabalInstall = self.cabalInstall_0_10_2; # 7.4.1 fails
|
cabalInstall = self.cabalInstall_0_10_2; # 7.4.1 fails
|
||||||
alex = self.alex_3_0_1; # 7.4.1 ok
|
alex = self.alex_3_0_1; # 7.4.1 ok
|
||||||
happy = self.happy_1_18_8; # 7.4.1 fails
|
happy = self.happy_1_18_9; # 7.4.1 ok
|
||||||
haddock = self.haddock_2_9_2; # 7.4.1 fails
|
haddock = self.haddock_2_9_2; # 7.4.1 fails
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -738,8 +738,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
GLUT_2_2_2_1 = callPackage ../development/libraries/haskell/GLUT/2.2.2.1.nix {
|
GLUT_2_2_2_1 = callPackage ../development/libraries/haskell/GLUT/2.2.2.1.nix {
|
||||||
OpenGL = self.OpenGL_2_4_0_2;
|
OpenGL = self.OpenGL_2_4_0_2;
|
||||||
};
|
};
|
||||||
|
GLUT_2_3_0_0 = callPackage ../development/libraries/haskell/GLUT/2.3.0.0.nix {
|
||||||
|
OpenGL = self.OpenGL_2_5_0_0;
|
||||||
|
};
|
||||||
GLUT22 = self.GLUT_2_2_2_1;
|
GLUT22 = self.GLUT_2_2_2_1;
|
||||||
GLUT = self.GLUT_2_1_1_2;
|
GLUT = self.GLUT_2_3_0_0;
|
||||||
|
|
||||||
gtk = callPackage ../development/libraries/haskell/gtk {
|
gtk = callPackage ../development/libraries/haskell/gtk {
|
||||||
inherit (pkgs.gtkLibs) gtk;
|
inherit (pkgs.gtkLibs) gtk;
|
||||||
|
@ -1048,8 +1051,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
OpenGL_2_2_1_1 = callPackage ../development/libraries/haskell/OpenGL/2.2.1.1.nix {};
|
OpenGL_2_2_1_1 = callPackage ../development/libraries/haskell/OpenGL/2.2.1.1.nix {};
|
||||||
OpenGL_2_2_3_0 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.0.nix {};
|
OpenGL_2_2_3_0 = callPackage ../development/libraries/haskell/OpenGL/2.2.3.0.nix {};
|
||||||
OpenGL_2_4_0_2 = callPackage ../development/libraries/haskell/OpenGL/2.4.0.2.nix {};
|
OpenGL_2_4_0_2 = callPackage ../development/libraries/haskell/OpenGL/2.4.0.2.nix {};
|
||||||
|
OpenGL_2_5_0_0 = callPackage ../development/libraries/haskell/OpenGL/2.5.0.0.nix {};
|
||||||
OpenGL24 = self.OpenGL_2_4_0_2;
|
OpenGL24 = self.OpenGL_2_4_0_2;
|
||||||
OpenGL = self.OpenGL_2_2_1_1;
|
OpenGL = self.OpenGL_2_5_0_0;
|
||||||
|
|
||||||
OpenGLRaw = callPackage ../development/libraries/haskell/OpenGLRaw {};
|
OpenGLRaw = callPackage ../development/libraries/haskell/OpenGLRaw {};
|
||||||
|
|
||||||
|
@ -1057,7 +1061,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
pathPieces_0_1_0 = callPackage ../development/libraries/haskell/path-pieces/0.1.0.nix {};
|
pathPieces_0_1_0 = callPackage ../development/libraries/haskell/path-pieces/0.1.0.nix {};
|
||||||
pathPieces = self.pathPieces_0_1_0;
|
pathPieces = self.pathPieces_0_1_0;
|
||||||
|
|
||||||
pandoc = callPackage ../development/libraries/haskell/pandoc {};
|
pandoc = callPackage ../development/libraries/haskell/pandoc {
|
||||||
|
testFramework = self.testFramework_0_4_2_2;
|
||||||
|
};
|
||||||
|
|
||||||
pandocTypes = callPackage ../development/libraries/haskell/pandoc-types {};
|
pandocTypes = callPackage ../development/libraries/haskell/pandoc-types {};
|
||||||
|
|
||||||
|
@ -1315,11 +1321,15 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
|
|
||||||
tagsoup_0_10_1 = callPackage ../development/libraries/haskell/tagsoup/0.10.1nix {};
|
tagsoup_0_10_1 = callPackage ../development/libraries/haskell/tagsoup/0.10.1nix {};
|
||||||
|
|
||||||
|
temporary = callPackage ../development/libraries/haskell/temporary {};
|
||||||
|
|
||||||
Tensor = callPackage ../development/libraries/haskell/Tensor {};
|
Tensor = callPackage ../development/libraries/haskell/Tensor {};
|
||||||
|
|
||||||
terminfo = callPackage ../development/libraries/haskell/terminfo {};
|
terminfo = callPackage ../development/libraries/haskell/terminfo {};
|
||||||
|
|
||||||
testFramework = callPackage ../development/libraries/haskell/test-framework {};
|
testFramework_0_4_2_2 = callPackage ../development/libraries/haskell/test-framework/0.4.2.2.nix {};
|
||||||
|
testFramework_0_5 = callPackage ../development/libraries/haskell/test-framework/0.5.nix {};
|
||||||
|
testFramework = self.testFramework_0_5;
|
||||||
|
|
||||||
testFrameworkHunit = callPackage ../development/libraries/haskell/test-framework-hunit {};
|
testFrameworkHunit = callPackage ../development/libraries/haskell/test-framework-hunit {};
|
||||||
|
|
||||||
|
@ -1573,7 +1583,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||||
happy_1_18_5 = callPackage ../development/tools/parsing/happy/1.18.5.nix {};
|
happy_1_18_5 = callPackage ../development/tools/parsing/happy/1.18.5.nix {};
|
||||||
happy_1_18_6 = callPackage ../development/tools/parsing/happy/1.18.6.nix {};
|
happy_1_18_6 = callPackage ../development/tools/parsing/happy/1.18.6.nix {};
|
||||||
happy_1_18_8 = callPackage ../development/tools/parsing/happy/1.18.8.nix {};
|
happy_1_18_8 = callPackage ../development/tools/parsing/happy/1.18.8.nix {};
|
||||||
happy = self.happy_1_18_8;
|
happy_1_18_9 = callPackage ../development/tools/parsing/happy/1.18.9.nix {};
|
||||||
|
happy = self.happy_1_18_9;
|
||||||
|
|
||||||
happyMeta = callPackage ../development/tools/haskell/happy-meta {};
|
happyMeta = callPackage ../development/tools/haskell/happy-meta {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue