2006-02-08 17:37:45 +00:00
|
|
|
/* This file composes the Nix Packages collection. That is, it
|
|
|
|
imports the functions that build the various packages, and calls
|
|
|
|
them with appropriate arguments. The result is a set of all the
|
|
|
|
packages in the Nix Packages collection for some particular
|
|
|
|
platform. */
|
|
|
|
|
|
|
|
|
2006-08-23 16:58:54 +01:00
|
|
|
{ # The system (e.g., `i686-linux') for which to build the packages.
|
2006-02-08 17:37:45 +00:00
|
|
|
system ? __currentSystem
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-08-23 16:58:54 +01:00
|
|
|
# Usually, the system type uniquely determines the stdenv and thus
|
|
|
|
# how to build the packages. But on some platforms we have
|
|
|
|
# different stdenvs, leading to different ways to build the
|
|
|
|
# packages. For instance, on Windows we support both Cygwin and
|
|
|
|
# Mingw builds. In both cases, `system' is `i686-cygwin'. The
|
|
|
|
# attribute `stdenvType' is used to select the specific kind of
|
|
|
|
# stdenv to use, e.g., `i686-mingw'.
|
|
|
|
, stdenvType ? system
|
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
, # The standard environment to use. Only used for bootstrapping. If
|
|
|
|
# null, the default standard environment is used.
|
|
|
|
bootStdenv ? null
|
|
|
|
|
|
|
|
# More flags for the bootstrapping of stdenv.
|
|
|
|
, noSysDirs ? true
|
2004-09-18 18:23:18 +01:00
|
|
|
, gccWithCC ? true
|
|
|
|
, gccWithProfiling ? true
|
2004-03-11 17:26:14 +00:00
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
}:
|
2003-11-03 10:22:00 +00:00
|
|
|
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
rec {
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2004-03-27 21:59:31 +00:00
|
|
|
### Symbolic names.
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
|
|
|
x11 = xlibsWrapper;
|
|
|
|
|
2005-11-12 17:05:51 +00:00
|
|
|
# `xlibs' is the set of X library components. This used to be the
|
|
|
|
# old modular X libraries project (called `xlibs') but now it's just
|
|
|
|
# the set of packages in the modular X.org tree (which also includes
|
|
|
|
# non-library components like the server, drivers, fonts, etc.).
|
2006-07-17 13:46:39 +01:00
|
|
|
xlibs = xorg // {xlibs = xlibsWrapper;};
|
2005-11-12 17:05:51 +00:00
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
|
2006-02-09 17:04:18 +00:00
|
|
|
### Helper functions.
|
|
|
|
|
2006-03-23 16:47:34 +00:00
|
|
|
|
2006-06-23 21:11:36 +01:00
|
|
|
# Override the compiler in stdenv for specific packages.
|
|
|
|
overrideGCC = stdenv: gcc: stdenv //
|
|
|
|
{ mkDerivation = args: stdenv.mkDerivation (args // { NIX_GCC = gcc; });
|
|
|
|
};
|
|
|
|
|
|
|
|
# Add some arbitrary packages to buildInputs for specific packages.
|
|
|
|
# Used to override packages in stenv like Make. Should not be used
|
|
|
|
# for other dependencies.
|
|
|
|
overrideInStdenv = stdenv: pkgs: stdenv //
|
|
|
|
{ mkDerivation = args: stdenv.mkDerivation (args //
|
|
|
|
{ buildInputs = (if args ? buildInputs then args.buildInputs else []) ++ pkgs; }
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2006-10-18 13:50:04 +01:00
|
|
|
addAttrsToDerivation = extraAttrs: stdenv: stdenv //
|
|
|
|
{ mkDerivation = args: stdenv.mkDerivation (args // extraAttrs); };
|
|
|
|
|
2006-08-07 14:31:18 +01:00
|
|
|
# Override the setup script of stdenv. Useful for testing new
|
|
|
|
# versions of the setup script without causing a rebuild of
|
|
|
|
# everything.
|
|
|
|
#
|
|
|
|
# Example:
|
2006-10-18 11:32:45 +01:00
|
|
|
# randomPkg = import ../bla { ...
|
2006-08-07 14:31:18 +01:00
|
|
|
# stdenv = overrideSetup stdenv ../stdenv/generic/setup-latest.sh;
|
|
|
|
# };
|
|
|
|
overrideSetup = stdenv: setup: stdenv.regenerate setup;
|
|
|
|
|
2006-10-18 13:50:04 +01:00
|
|
|
# Return a modified stdenv that uses dietlibc to create small
|
|
|
|
# statically linked binaries.
|
|
|
|
useDietLibC = stdenv: stdenv //
|
|
|
|
{ mkDerivation = args: stdenv.mkDerivation (args // {
|
|
|
|
NIX_CFLAGS_LINK = "-static";
|
2006-10-19 12:03:20 +01:00
|
|
|
|
|
|
|
# libcompat.a contains some commonly used functions.
|
|
|
|
NIX_LDFLAGS = "-lcompat";
|
2006-10-18 13:50:04 +01:00
|
|
|
|
|
|
|
# These are added *after* the command-line flags, so we'll
|
|
|
|
# always optimise for size.
|
2006-10-18 16:16:53 +01:00
|
|
|
NIX_CFLAGS_COMPILE =
|
|
|
|
(if args ? NIX_CFLAGS_COMPILE then args.NIX_CFLAGS_COMPILE else "")
|
2006-10-18 17:16:07 +01:00
|
|
|
+ " -Os -s -D_BSD_SOURCE=1";
|
2006-10-18 13:50:04 +01:00
|
|
|
|
|
|
|
configureFlags =
|
|
|
|
(if args ? configureFlags then args.configureFlags else "")
|
|
|
|
+ " --disable-shared"; # brrr...
|
|
|
|
|
|
|
|
NIX_GCC = import ../build-support/gcc-wrapper {
|
2006-10-23 18:43:55 +01:00
|
|
|
inherit stdenv;
|
2006-10-24 19:26:23 +01:00
|
|
|
libc = dietlibc;
|
2006-10-23 18:43:55 +01:00
|
|
|
inherit (gcc) gcc binutils name nativeTools nativePrefix;
|
2006-10-24 19:26:23 +01:00
|
|
|
nativeLibc = false;
|
2006-10-18 13:50:04 +01:00
|
|
|
};
|
|
|
|
});
|
2006-10-18 16:16:53 +01:00
|
|
|
isDietLibC = true;
|
2006-10-18 13:50:04 +01:00
|
|
|
};
|
|
|
|
|
2006-10-20 12:49:47 +01:00
|
|
|
# Return a modified stdenv that tries to build statically linked
|
|
|
|
# binaries.
|
|
|
|
makeStaticBinaries = stdenv: stdenv //
|
|
|
|
{ mkDerivation = args: stdenv.mkDerivation (args // {
|
|
|
|
NIX_CFLAGS_LINK = "-static";
|
|
|
|
|
|
|
|
configureFlags =
|
|
|
|
(if args ? configureFlags then args.configureFlags else "")
|
|
|
|
+ " --disable-shared"; # brrr...
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
# Applying this to an attribute set will cause nix-env to look
|
|
|
|
# inside the set for derivations.
|
|
|
|
recurseIntoAttrs = attrs: attrs // {recurseForDerivations = true;};
|
|
|
|
|
|
|
|
useFromStdenv = hasIt: it: alternative: if hasIt then it else alternative;
|
|
|
|
|
2007-01-15 09:20:18 +00:00
|
|
|
lib = library;
|
|
|
|
|
2006-09-28 15:12:09 +01:00
|
|
|
library = import ../lib;
|
2007-10-06 19:17:47 +01:00
|
|
|
lib_unstable = import ../lib/default-unstable.nix;
|
2006-09-25 11:07:59 +01:00
|
|
|
|
2006-09-24 19:38:12 +01:00
|
|
|
# Return an attribute from the Nixpkgs configuration file, or
|
|
|
|
# a default value if the attribute doesn't exist.
|
2006-09-28 15:12:09 +01:00
|
|
|
getConfig = attrPath: default: library.getAttr attrPath default config;
|
2006-09-24 19:38:12 +01:00
|
|
|
|
2007-09-01 19:26:13 +01:00
|
|
|
# Return user-choosen version of given package. If you define package as
|
|
|
|
#
|
|
|
|
# pkgname_alts =
|
|
|
|
# {
|
|
|
|
# v_0_1 = ();
|
|
|
|
# v_0_2 = ();
|
|
|
|
# default = v_0_1;
|
|
|
|
# recurseForDerivations = true;
|
|
|
|
# };
|
|
|
|
# pkgname = getVersion "name" pkgname_alts;
|
|
|
|
#
|
|
|
|
# user will be able to write in his configuration.nix something like
|
|
|
|
# environment = { versions = { name = v_0_2; }; }; and pkgname will be equal
|
|
|
|
# to pkgname_alts.v_0_2. Using alts.default by default.
|
|
|
|
getVersion = name: alts: builtins.getAttr
|
|
|
|
(getConfig [ "environment" "versions" name ] "default") alts;
|
|
|
|
|
2007-10-01 16:07:55 +01:00
|
|
|
# Whether user enabled given feature for the given package?
|
|
|
|
getFlag = flag: package: default:
|
|
|
|
getConfig [ "environment" "flags" package flag ]
|
|
|
|
(getConfig [ "environment" "flags" "default" flag ] default);
|
|
|
|
|
2006-09-24 19:38:12 +01:00
|
|
|
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
|
|
|
# $HOME/.nixpkgs/config.nix.
|
|
|
|
config =
|
|
|
|
let {
|
|
|
|
toPath = builtins.toPath;
|
2006-09-24 22:49:07 +01:00
|
|
|
getEnv = x: if builtins ? getEnv then builtins.getEnv x else "";
|
2006-09-24 19:38:12 +01:00
|
|
|
pathExists = name:
|
|
|
|
builtins ? pathExists && builtins.pathExists (toPath name);
|
2006-09-24 22:49:07 +01:00
|
|
|
|
|
|
|
configFile = getEnv "NIXPKGS_CONFIG";
|
|
|
|
homeDir = getEnv "HOME";
|
2006-09-24 19:38:12 +01:00
|
|
|
configFile2 = homeDir + "/.nixpkgs/config.nix";
|
|
|
|
|
|
|
|
body =
|
|
|
|
if configFile != "" && pathExists configFile
|
|
|
|
then import (toPath configFile)
|
|
|
|
else if homeDir != "" && pathExists configFile2
|
|
|
|
then import (toPath configFile2)
|
|
|
|
else {};
|
|
|
|
};
|
|
|
|
|
2007-04-26 14:02:30 +01:00
|
|
|
# Change the symbolic name of a package for presentation purposes
|
|
|
|
# (i.e., so that nix-env users can tell them apart).
|
|
|
|
setName = name: drv: drv // {inherit name;};
|
|
|
|
|
|
|
|
updateName = updater: drv: drv // {name = updater (drv.name);};
|
|
|
|
|
|
|
|
# !!! the suffix should really be appended *before* the version, at
|
|
|
|
# least most of the time.
|
|
|
|
appendToName = suffix: updateName (name: "${name}-${suffix}");
|
2007-05-01 21:35:58 +01:00
|
|
|
|
|
|
|
# Decrease the priority of the package, i.e., other
|
|
|
|
# versions/variants will be preferred.
|
|
|
|
lowPrio = drv: drv // {
|
|
|
|
meta = (if drv ? meta then drv.meta else {}) // {priority = "10";};
|
|
|
|
};
|
2007-05-16 15:34:27 +01:00
|
|
|
|
2007-09-09 19:14:19 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
2007-10-05 08:26:23 +01:00
|
|
|
|
2007-10-06 19:17:47 +01:00
|
|
|
mkDerivationByConfiguration = ({ flagConfig ? {}, optionals ? [], defaults ? [],
|
2007-09-09 19:14:19 +01:00
|
|
|
extraAttrs, collectExtraPhaseActions ? []} :
|
2007-10-06 19:17:47 +01:00
|
|
|
args: with args.lib_unstable; with args;
|
2007-09-09 19:14:19 +01:00
|
|
|
if ( __isAttrs extraAttrs ) then builtins.throw "the argument extraAttrs needs to be a function beeing passed co, but attribute set passed "
|
|
|
|
else
|
|
|
|
let co = chooseOptionsByFlags { inherit args flagConfig optionals defaults collectExtraPhaseActions; }; in
|
|
|
|
args.stdenv.mkDerivation (
|
|
|
|
{
|
2007-10-06 19:17:47 +01:00
|
|
|
inherit (co) configureFlags buildInputs /*flags*/;
|
|
|
|
} // extraAttrs co // co.pass // co.flags_prefixed ));
|
2007-10-05 08:26:23 +01:00
|
|
|
|
2006-02-09 17:04:18 +00:00
|
|
|
|
2007-09-25 20:03:07 +01:00
|
|
|
# Check absence of non-used options
|
|
|
|
checker = x: flag: opts: config:
|
|
|
|
(if flag then let result=(
|
|
|
|
(import ../build-support/checker)
|
|
|
|
opts config); in
|
|
|
|
(if (result==null) then x else
|
|
|
|
abort (toString result))
|
|
|
|
else x);
|
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
### STANDARD ENVIRONMENT
|
|
|
|
|
|
|
|
|
|
|
|
defaultStdenv =
|
2006-02-09 15:55:20 +00:00
|
|
|
(import ../stdenv {
|
2006-08-23 16:58:54 +01:00
|
|
|
inherit system stdenvType;
|
2006-02-08 17:39:57 +00:00
|
|
|
allPackages = import ./all-packages.nix;
|
2006-02-08 17:37:45 +00:00
|
|
|
}).stdenv;
|
|
|
|
|
2007-08-20 15:26:32 +01:00
|
|
|
stdenv =
|
|
|
|
if bootStdenv != null then bootStdenv else
|
|
|
|
let changer = getConfig ["replaceStdenv"] null;
|
|
|
|
in if changer != null then
|
|
|
|
changer {
|
|
|
|
stdenv = defaultStdenv;
|
|
|
|
overrideSetup = overrideSetup;
|
|
|
|
}
|
|
|
|
else defaultStdenv;
|
2004-03-27 21:59:31 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
### BUILD SUPPORT
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2006-11-28 16:46:12 +00:00
|
|
|
buildEnv = import ../build-support/buildenv {
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fetchcvs = import ../build-support/fetchcvs {
|
2006-05-11 13:36:16 +01:00
|
|
|
inherit stdenv cvs nix;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fetchdarcs = import ../build-support/fetchdarcs {
|
2006-01-30 11:18:38 +00:00
|
|
|
inherit stdenv darcs nix;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fetchsvn = import ../build-support/fetchsvn {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv subversion nix openssh;
|
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
# TODO do some testing
|
|
|
|
fetchhg = import ../build-support/fetchhg {
|
|
|
|
inherit stdenv mercurial nix;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
# Allow the stdenv to determine fetchurl, to cater for strange
|
|
|
|
# requirements.
|
|
|
|
fetchurl = useFromStdenv (stdenv ? fetchurl) stdenv.fetchurl
|
|
|
|
(import ../build-support/fetchurl {
|
|
|
|
inherit stdenv curl;
|
|
|
|
});
|
2005-04-22 13:14:55 +01:00
|
|
|
|
2005-04-22 19:26:04 +01:00
|
|
|
makeWrapper = ../build-support/make-wrapper/make-wrapper.sh;
|
|
|
|
|
2006-12-13 14:23:24 +00:00
|
|
|
# Run the shell command `buildCommand' to produce a store object
|
|
|
|
# named `name'. The attributes in `env' are added to the
|
|
|
|
# environment prior to running the command.
|
2006-12-27 18:14:57 +00:00
|
|
|
runCommand = name: env: buildCommand: stdenv.mkDerivation ({
|
2006-12-10 22:24:42 +00:00
|
|
|
inherit name buildCommand;
|
|
|
|
} // env);
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-12-13 14:23:24 +00:00
|
|
|
# Write a plain text file to the Nix store. (The advantage over
|
|
|
|
# plain sources is that `text' can refer to the output paths of
|
|
|
|
# derivations, e.g., "... ${somePkg}/bin/foo ...".
|
2007-06-09 20:47:20 +01:00
|
|
|
writeText = name: text: runCommand name {inherit text;} "echo -n \"$text\" > $out";
|
2006-12-13 14:23:24 +00:00
|
|
|
|
2007-08-14 17:41:41 +01:00
|
|
|
writeScript = name: text: runCommand name {inherit text;} "echo -n \"$text\" > $out; chmod +x $out";
|
|
|
|
|
2007-07-15 12:16:12 +01:00
|
|
|
stdenvNewSetupScript = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
|
|
|
|
|
2006-12-10 22:24:42 +00:00
|
|
|
substituteAll = import ../build-support/substitute/substitute-all.nix {
|
2007-07-15 12:16:12 +01:00
|
|
|
stdenv = stdenvNewSetupScript;
|
2006-11-02 22:44:32 +00:00
|
|
|
};
|
|
|
|
|
2006-11-03 13:33:24 +00:00
|
|
|
nukeReferences = import ../build-support/nuke-references/default.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
### TOOLS
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-04-08 00:38:01 +01:00
|
|
|
aefs = import ../tools/security/aefs {
|
|
|
|
inherit fetchurl stdenv fuse;
|
|
|
|
};
|
|
|
|
|
2007-10-06 16:59:35 +01:00
|
|
|
amule = import ../tools/networking/p2p/amule {
|
|
|
|
inherit fetchurl stdenv zlib wxGTK;
|
|
|
|
};
|
|
|
|
|
2007-08-16 20:50:59 +01:00
|
|
|
axel = import ../tools/networking/axel {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
azureus = import ../tools/networking/p2p/azureus {
|
|
|
|
inherit fetchurl stdenv jdk swt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
bc = import ../tools/misc/bc {
|
2005-10-10 01:55:07 +01:00
|
|
|
inherit fetchurl stdenv flex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
bibtextools = import ../tools/typesetting/bibtex-tools {
|
|
|
|
inherit fetchurl stdenv aterm tetex hevea sdf strategoxt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
bittorrent = import ../tools/networking/p2p/bittorrent {
|
2007-05-31 14:43:13 +01:00
|
|
|
inherit fetchurl stdenv makeWrapper python pycrypto twisted;
|
|
|
|
wxPython = wxPython26;
|
2006-12-13 20:30:09 +00:00
|
|
|
gui = true;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2007-06-20 00:38:01 +01:00
|
|
|
bittornado = import ../tools/networking/p2p/bit-tornado {
|
|
|
|
inherit fetchurl stdenv python wxPython26;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
bsdiff = import ../tools/compression/bsdiff {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
bzip2 = useFromStdenv (stdenv ? bzip2) stdenv.bzip2
|
|
|
|
(import ../tools/compression/bzip2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
|
|
|
cabextract = import ../tools/archivers/cabextract {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cksfv = import ../tools/networking/cksfv {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-02-09 17:04:18 +00:00
|
|
|
coreutils = useFromStdenv (stdenv ? coreutils) stdenv.coreutils
|
2006-10-27 21:08:53 +01:00
|
|
|
((if stdenv ? isDietLibC
|
|
|
|
then import ../tools/misc/coreutils-5
|
|
|
|
else import ../tools/misc/coreutils)
|
|
|
|
{
|
2006-03-08 15:00:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cpio = import ../tools/archivers/cpio {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2007-01-10 15:44:58 +00:00
|
|
|
cron = import ../tools/system/cron {
|
2007-05-24 16:29:32 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-01-10 15:44:58 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
curl = if stdenv ? curl then stdenv.curl else (assert false; null);
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
dnsmasq = import ../tools/networking/dnsmasq {
|
|
|
|
# TODO i18n can be installed as well, implement it?
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
dhcp = import ../tools/networking/dhcp {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv groff nettools coreutils iputils gnused bash;
|
2006-08-26 10:44:39 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
diffutils = useFromStdenv (stdenv ? diffutils) stdenv.diffutils
|
|
|
|
(import ../tools/text/diffutils {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
});
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ed = import ../tools/text/ed {
|
2005-07-21 12:26:51 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-08-13 20:06:03 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
enscript = import ../tools/text/enscript {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-07-21 12:26:51 +01:00
|
|
|
};
|
|
|
|
|
2007-10-07 14:37:08 +01:00
|
|
|
eprover = import ../tools/misc/eProver {
|
|
|
|
inherit fetchurl stdenv which tetex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
exif = import ../tools/graphics/exif {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libexif popt;
|
2005-08-23 15:19:16 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
file = import ../tools/misc/file {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-08-08 01:09:27 +01:00
|
|
|
};
|
|
|
|
|
2007-07-14 15:41:06 +01:00
|
|
|
filelight = import ../tools/system/filelight {
|
|
|
|
inherit fetchurl stdenv kdelibs x11 zlib
|
|
|
|
perl libpng;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
findutils = useFromStdenv (stdenv ? findutils) stdenv.findutils
|
2006-10-29 00:17:39 +01:00
|
|
|
(if system == "i686-darwin" then findutils4227 else
|
|
|
|
import ../tools/misc/findutils {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
}
|
|
|
|
);
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-10-27 23:50:58 +01:00
|
|
|
findutils4227 = import ../tools/misc/findutils/4.2.27.nix {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
findutilsWrapper = lowPrio (appendToName "wrapper" (import ../tools/misc/findutils-wrapper {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv findutils;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2005-07-31 21:11:36 +01:00
|
|
|
|
2007-08-21 13:31:33 +01:00
|
|
|
fontforge = import ../tools/misc/fontforge {
|
|
|
|
inherit fetchurl stdenv gettext freetype zlib
|
|
|
|
libungif libpng libjpeg libtiff libxml2;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gawk = useFromStdenv (stdenv ? gawk) stdenv.gawk
|
|
|
|
(import ../tools/text/gawk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
getopt = import ../tools/misc/getopt {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-10-08 00:02:58 +01:00
|
|
|
};
|
|
|
|
|
2007-05-16 15:49:28 +01:00
|
|
|
glxinfo = assert mesaSupported; import ../tools/graphics/glxinfo {
|
2007-04-18 15:21:24 +01:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
2007-05-28 15:10:46 +01:00
|
|
|
inherit (xlibs) libXext;
|
2007-04-18 15:21:24 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gnugrep = useFromStdenv (stdenv ? gnugrep) stdenv.gnugrep
|
|
|
|
(import ../tools/text/gnugrep {
|
|
|
|
inherit fetchurl stdenv pcre;
|
2006-03-08 15:00:18 +00:00
|
|
|
});
|
2003-11-02 18:14:24 +00:00
|
|
|
|
2007-04-26 14:02:30 +01:00
|
|
|
gnupatch = useFromStdenv (stdenv ? patch) stdenv.patch (import ../tools/text/gnupatch {
|
2004-02-13 14:42:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-04-26 14:02:30 +01:00
|
|
|
});
|
2004-02-13 14:42:28 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gnupg = import ../tools/security/gnupg {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
ideaSupport = true; # enable for IDEA crypto support
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gnuplot = import ../tools/graphics/gnuplot {
|
2007-09-21 21:43:43 +01:00
|
|
|
inherit fetchurl stdenv zlib gd texinfo;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
2004-08-09 15:33:14 +01:00
|
|
|
|
2007-08-04 16:12:14 +01:00
|
|
|
gnuplotX = import ../tools/graphics/gnuplot {
|
2007-09-23 00:18:55 +01:00
|
|
|
inherit fetchurl stdenv zlib gd texinfo;
|
|
|
|
inherit (xlibs) libX11 libXt libXaw libXpm;
|
|
|
|
x11Support = true;
|
2007-08-04 16:12:14 +01:00
|
|
|
};
|
|
|
|
|
2006-03-08 15:00:18 +00:00
|
|
|
gnused = useFromStdenv (stdenv ? gnused) stdenv.gnused
|
|
|
|
(import ../tools/text/gnused {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-10-20 21:05:26 +01:00
|
|
|
gnused412 = import ../tools/text/gnused/4.1.2.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gnutar = useFromStdenv (stdenv ? gnutar) stdenv.gnutar
|
2006-10-27 23:50:58 +01:00
|
|
|
(import ../tools/archivers/gnutar {
|
2006-03-08 15:00:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2003-11-02 18:14:24 +00:00
|
|
|
|
2006-10-27 23:50:58 +01:00
|
|
|
gnutar151 = import ../tools/archivers/gnutar/1.15.1.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
graphviz = import ../tools/graphics/graphviz {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libpng libjpeg expat x11 yacc libtool;
|
|
|
|
inherit (xlibs) libXaw;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
groff = import ../tools/text/groff {
|
2005-08-21 14:59:04 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-01-22 19:57:12 +00:00
|
|
|
grub =
|
|
|
|
if system == "x86_64-linux" then
|
|
|
|
(import ./all-packages.nix {system = "i686-linux";}).grub
|
|
|
|
else
|
|
|
|
import ../tools/misc/grub {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-06-03 18:16:16 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gtkgnutella = import ../tools/networking/p2p/gtk-gnutella {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2005-06-20 21:35:07 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gzip = useFromStdenv (stdenv ? gzip) stdenv.gzip
|
|
|
|
(import ../tools/compression/gzip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
hevea = import ../tools/typesetting/hevea {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ocaml;
|
2004-08-20 23:06:36 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jdiskreport = import ../tools/misc/jdiskreport {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv unzip jdk;
|
2005-10-26 22:10:31 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jing = import ../tools/text/xml/jing {
|
2005-10-24 15:01:08 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jing_tools = import ../tools/text/xml/jing/jing-script.nix {
|
2007-03-05 15:10:05 +00:00
|
|
|
inherit fetchurl stdenv unzip jre;
|
2004-09-26 14:03:59 +01:00
|
|
|
};
|
|
|
|
|
2007-08-28 15:45:00 +01:00
|
|
|
jwhois = import ../tools/networking/jwhois {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-08-09 17:55:14 +01:00
|
|
|
ktorrent = import ../tools/networking/p2p/ktorrent {
|
|
|
|
inherit fetchurl stdenv pkgconfig kdelibs
|
|
|
|
xlibs zlib libpng libjpeg perl gmp;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
less = import ../tools/misc/less {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2006-07-04 20:17:34 +01:00
|
|
|
};
|
|
|
|
|
2007-08-04 13:41:00 +01:00
|
|
|
lftp = import ../tools/networking/lftp {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
lhs2tex = import ../tools/typesetting/lhs2tex {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ghc tetex polytable;
|
2005-08-30 14:56:15 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
man = import ../tools/misc/man {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv db4 groff;
|
2006-06-01 22:25:40 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mjpegtools = import ../tools/video/mjpegtools {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libjpeg;
|
|
|
|
inherit (xlibs) libX11;
|
2003-11-07 11:18:47 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mktemp = import ../tools/security/mktemp {
|
2005-03-21 14:48:48 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-07-09 08:23:16 +01:00
|
|
|
ncat = import ../tools/networking/ncat {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
netcat = import ../tools/networking/netcat {
|
2006-08-27 14:00:20 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-08-31 12:14:05 +01:00
|
|
|
netselect = import ../tools/networking/netselect {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nmap = import ../tools/security/nmap {
|
2007-08-04 13:50:12 +01:00
|
|
|
inherit fetchurl stdenv libpcap pkgconfig;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
inherit (gtkLibs) gtk;
|
2004-11-29 21:17:29 +00:00
|
|
|
};
|
|
|
|
|
2006-12-21 22:23:17 +00:00
|
|
|
ntp = import ../tools/networking/ntp {
|
2006-12-22 19:22:57 +00:00
|
|
|
inherit fetchurl stdenv libcap;
|
2006-12-21 22:23:17 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
openssh = import ../tools/networking/openssh {
|
2006-12-11 03:24:35 +00:00
|
|
|
inherit fetchurl stdenv zlib openssl pam perl;
|
|
|
|
pamSupport = true;
|
2003-11-03 18:21:30 +00:00
|
|
|
};
|
|
|
|
|
2007-09-04 12:55:19 +01:00
|
|
|
p7zip = import ../tools/archivers/p7zip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
par2cmdline = import ../tools/networking/par2cmdline {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2003-12-23 20:51:58 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
parted = import ../tools/misc/parted {
|
2007-05-13 23:44:31 +01:00
|
|
|
inherit fetchurl stdenv e2fsprogs readline;
|
2003-11-04 08:44:46 +00:00
|
|
|
};
|
|
|
|
|
2007-04-26 14:02:30 +01:00
|
|
|
patch = gnupatch;
|
* The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,
. $stdenv/setup
genericBuild
The generic builder does lots of stuff automatically:
- Unpacks source archives specified by $src or $srcs (it knows about
gzip, bzip2, tar, zip, and unpacked source trees).
- Determines the source tree.
- Applies patches specified by $patches.
- Fixes libtool not to search for libraries in /lib etc.
- Runs `configure'.
- Runs `make'.
- Runs `make install'.
- Strips debug information from static libraries.
- Writes nested log information (in the format accepted by
`log2xml').
There are also lots of hooks and variables to customise the generic
builder. See `stdenv/generic/docs.txt'.
* Adapted the base packages (i.e., the ones used by stdenv) to use the
generic builder.
* We now use `curl' instead of `wget' to download files in `fetchurl'.
* Neither `curl' nor `wget' are part of stdenv. We shouldn't
encourage people to download stuff in builders (impure!).
* Updated some packages.
* `buildinputs' is now `buildInputs' (but the old name also works).
* `findInputs' in the setup script now prevents inputs from being
processed multiple times (which could happen, e.g., if an input was
a propagated input of several other inputs; this caused the size
variables like $PATH to blow up exponentially in the worst case).
* Patched GNU Make to write nested log information in the format
accepted by `log2xml'. Also, prior to writing the build command,
Make now writes a line `building X' to indicate what is being
built. This is unfortunately often obscured by the gigantic tool
invocations in many Makefiles. The actual build commands are marked
`unimportant' so that they don't clutter pages generated by
`log2html'.
svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
|
|
|
|
2007-02-19 20:18:20 +00:00
|
|
|
pciutils = import ../tools/system/pciutils {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2007-03-21 12:53:01 +00:00
|
|
|
pdfjam = import ../tools/typesetting/pdfjam {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ploticus = import ../tools/graphics/ploticus {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib libpng;
|
|
|
|
inherit (xlibs) libX11;
|
2005-09-05 12:35:13 +01:00
|
|
|
};
|
2005-09-01 17:38:31 +01:00
|
|
|
|
2007-06-28 10:53:12 +01:00
|
|
|
pwgen = import ../tools/security/pwgen {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
qtparted = import ../tools/misc/qtparted {
|
2007-03-26 14:39:50 +01:00
|
|
|
inherit fetchurl stdenv e2fsprogs ncurses readline parted zlib qt3;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) libX11 libXext;
|
2003-12-14 20:36:43 +00:00
|
|
|
};
|
|
|
|
|
2007-04-26 17:14:01 +01:00
|
|
|
realCurl = import ../tools/networking/curl {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib;
|
2006-10-19 22:36:51 +01:00
|
|
|
zlibSupport = !stdenv ? isDietLibC;
|
2007-04-26 17:14:01 +01:00
|
|
|
};
|
2004-01-25 08:59:20 +00:00
|
|
|
|
2007-07-15 12:59:33 +01:00
|
|
|
replace = import ../tools/text/replace {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-10 15:29:45 +01:00
|
|
|
/*
|
2007-09-08 21:45:23 +01:00
|
|
|
rdiff_backup = import ../tools/backup/rdiff-backup {
|
|
|
|
inherit fetchurl stdenv librsync gnused;
|
|
|
|
python=python;
|
|
|
|
};
|
2007-09-10 15:29:45 +01:00
|
|
|
*/
|
2007-09-08 21:45:23 +01:00
|
|
|
|
2007-03-21 19:25:58 +00:00
|
|
|
rpm = import ../tools/package-management/rpm {
|
|
|
|
inherit fetchurl stdenv cpio zlib bzip2 file sqlite beecrypt neon elfutils;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sablotron = import ../tools/text/xml/sablotron {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv expat;
|
2004-02-17 20:03:12 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
screen = import ../tools/misc/screen {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2005-12-26 00:51:24 +00:00
|
|
|
};
|
|
|
|
|
2007-10-18 14:05:43 +01:00
|
|
|
smartmontools = import ../tools/system/smartmontools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-20 00:55:02 +01:00
|
|
|
sudo = import ../tools/security/sudo {
|
2007-06-28 23:14:25 +01:00
|
|
|
inherit fetchurl stdenv coreutils pam;
|
2007-06-20 00:55:02 +01:00
|
|
|
};
|
|
|
|
|
2007-09-11 12:39:06 +01:00
|
|
|
superkaramba = import ../desktops/superkaramba {
|
|
|
|
inherit stdenv fetchurl kdebase kdelibs zlib libjpeg
|
|
|
|
perl qt3 python libpng freetype expat;
|
|
|
|
inherit (xlibs) libX11 libXext libXt libXaw libXpm;
|
|
|
|
};
|
|
|
|
|
2007-01-06 17:36:03 +00:00
|
|
|
sshfsFuse = import ../tools/networking/sshfs-fuse {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-08-07 23:22:31 +01:00
|
|
|
ssmtp = import ../tools/networking/ssmtp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-01-11 15:22:59 +00:00
|
|
|
su = import ../tools/misc/su {
|
|
|
|
inherit fetchurl stdenv pam;
|
|
|
|
};
|
|
|
|
|
2007-01-16 14:35:08 +00:00
|
|
|
tcpdump = import ../tools/networking/tcpdump {
|
|
|
|
inherit fetchurl stdenv libpcap;
|
|
|
|
};
|
|
|
|
|
2007-10-09 10:56:39 +01:00
|
|
|
telnet = import ../tools/networking/telnet {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2007-09-12 16:49:28 +01:00
|
|
|
testdisk = import ../tools/misc/testdisk {
|
|
|
|
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
tightvnc = import ../tools/admin/tightvnc {
|
2007-10-05 06:55:44 +01:00
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg perl;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) imake gccmakedep libXmu libXaw libXpm libXp;
|
2006-04-18 19:46:36 +01:00
|
|
|
};
|
|
|
|
|
2007-04-20 09:50:26 +01:00
|
|
|
time = import ../tools/misc/time {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
trang = import ../tools/text/xml/trang {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv unzip jre;
|
2005-08-21 14:59:04 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
transfig = import ../tools/graphics/transfig {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libpng libjpeg zlib;
|
|
|
|
inherit (xlibs) imake;
|
2005-08-21 20:46:16 +01:00
|
|
|
};
|
|
|
|
|
2007-06-20 16:15:51 +01:00
|
|
|
units = import ../tools/misc/units {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-24 16:34:44 +01:00
|
|
|
unrar = import ../tools/archivers/unrar {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-28 18:09:30 +01:00
|
|
|
unshield = import ../tools/archivers/unshield {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
unzip = import ../tools/archivers/unzip {
|
2006-08-15 14:22:45 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
wget = import ../tools/networking/wget {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv gettext;
|
2006-07-17 21:35:02 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
which = import ../tools/system/which {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-01-27 20:51:41 +00:00
|
|
|
};
|
|
|
|
|
2007-08-18 09:32:12 +01:00
|
|
|
wv = import ../tools/misc/wv {
|
|
|
|
inherit fetchurl stdenv libpng zlib imagemagick
|
|
|
|
pkgconfig libgsf libxml2;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-04-02 14:46:56 +01:00
|
|
|
x11_ssh_askpass = import ../tools/networking/x11-ssh-askpass {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xorg) imake;
|
|
|
|
};
|
|
|
|
|
2007-09-21 22:40:23 +01:00
|
|
|
xclip = import ../tools/misc/xclip {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xmlroff = import ../tools/typesetting/xmlroff {
|
2005-08-13 22:35:49 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 libxslt popt;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
|
|
|
inherit (gnome) libgnomeprint;
|
|
|
|
inherit pangoxsl;
|
2005-08-13 19:12:10 +01:00
|
|
|
};
|
|
|
|
|
2005-01-22 00:19:27 +00:00
|
|
|
xmltv = import ../tools/misc/xmltv {
|
|
|
|
inherit fetchurl perl perlTermReadKey perlXMLTwig perlXMLWriter
|
|
|
|
perlDateManip perlHTMLTree perlHTMLParser perlHTMLTagset
|
|
|
|
perlURI perlLWP;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xpf = import ../tools/text/xml/xpf {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv python;
|
2004-08-02 13:27:01 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libxml2 = import ../development/libraries/libxml2 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = true;
|
|
|
|
};
|
2004-08-03 16:41:08 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xsel = import ../tools/misc/xsel {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv x11;
|
2004-08-06 11:01:15 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zdelta = import ../tools/compression/zdelta {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-12-18 22:14:31 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zip = import ../tools/archivers/zip {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-03-16 15:13:30 +00:00
|
|
|
};
|
2005-07-29 11:06:49 +01:00
|
|
|
|
2006-07-13 15:54:24 +01:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
### SHELLS
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
bash = lowPrio (useFromStdenv (stdenv ? bash) stdenv.bash
|
2006-03-08 15:00:18 +00:00
|
|
|
(import ../shells/bash {
|
|
|
|
inherit fetchurl stdenv;
|
2006-10-25 13:38:57 +01:00
|
|
|
bison = bison23;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2007-05-24 16:44:03 +01:00
|
|
|
bashInteractive = appendToName "interactive" (import ../shells/bash {
|
2007-03-06 22:46:03 +00:00
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
bison = bison23;
|
|
|
|
interactive = true;
|
2007-04-26 14:02:30 +01:00
|
|
|
});
|
2007-03-06 22:46:03 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
tcsh = import ../shells/tcsh {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2007-06-20 11:02:10 +01:00
|
|
|
zsh = import ../shells/zsh {
|
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
### DEVELOPMENT / COMPILERS
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
abc =
|
|
|
|
abcPatchable [];
|
2006-08-05 12:02:17 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
abcPatchable = patches :
|
2006-10-18 11:32:45 +01:00
|
|
|
import ../development/compilers/abc/default.nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv fetchurl patches jre apacheAnt;
|
|
|
|
javaCup = import ../development/libraries/java/cup {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit stdenv fetchurl jdk;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
};
|
2005-12-31 03:46:20 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
aspectj =
|
2006-10-18 11:32:45 +01:00
|
|
|
import ../development/compilers/aspectj {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv fetchurl jre;
|
|
|
|
};
|
2004-09-25 20:32:23 +01:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
dylan = import ../development/compilers/gwydion-dylan {
|
|
|
|
inherit fetchurl stdenv perl boehmgc yacc flex readline;
|
|
|
|
dylan =
|
|
|
|
import ../development/compilers/gwydion-dylan/binary.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-30 10:10:06 +00:00
|
|
|
};
|
|
|
|
|
2007-08-11 21:55:40 +01:00
|
|
|
fpc = import ../development/compilers/fpc {
|
|
|
|
inherit fetchurl stdenv gawk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
g77 = import ../build-support/gcc-wrapper {
|
2006-09-15 16:28:53 +01:00
|
|
|
name = "g77";
|
2005-08-28 01:19:42 +01:00
|
|
|
nativeTools = false;
|
2006-10-24 19:26:23 +01:00
|
|
|
nativeLibc = false;
|
2006-10-18 11:32:45 +01:00
|
|
|
gcc = import ../development/compilers/gcc-3.3 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
langF77 = true;
|
|
|
|
langCC = false;
|
2005-08-28 01:19:42 +01:00
|
|
|
};
|
2006-10-27 14:52:37 +01:00
|
|
|
inherit (stdenv.gcc) binutils libc;
|
2005-08-28 01:19:42 +01:00
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
2007-04-26 14:02:30 +01:00
|
|
|
gcc = gcc41;
|
2004-06-29 09:25:55 +01:00
|
|
|
|
2006-07-10 16:42:19 +01:00
|
|
|
gcc295 = wrapGCC (import ../development/compilers/gcc-2.95 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
});
|
|
|
|
|
|
|
|
gcc33 = wrapGCC (import ../development/compilers/gcc-3.3 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
});
|
|
|
|
|
|
|
|
gcc34 = wrapGCC (import ../development/compilers/gcc-3.4 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
});
|
|
|
|
|
|
|
|
gcc40 = wrapGCC (import ../development/compilers/gcc-4.0 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2007-05-24 16:35:14 +01:00
|
|
|
gcc41 = useFromStdenv (stdenv ? gcc) stdenv.gcc (wrapGCC (import ../development/compilers/gcc-4.1 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2006-10-26 21:23:49 +01:00
|
|
|
profiledCompiler = false;
|
2007-05-24 16:35:14 +01:00
|
|
|
}));
|
2007-05-02 15:59:40 +01:00
|
|
|
|
2007-08-19 00:58:30 +01:00
|
|
|
gcc41NPTL = wrapGCCWithGlibc gcc41.gcc glibcNPTL;
|
|
|
|
|
2007-06-03 21:17:07 +01:00
|
|
|
gcc42 = lowPrio (wrapGCC (import ../development/compilers/gcc-4.2 {
|
2007-05-19 20:44:15 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2007-05-21 22:48:06 +01:00
|
|
|
profiledCompiler = true;
|
2007-06-03 21:17:07 +01:00
|
|
|
}));
|
2007-05-19 20:44:15 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gccApple = wrapGCC (import ../development/compilers/gcc-apple {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2006-12-15 13:32:55 +00:00
|
|
|
# ghc66boot = import ../development/compilers/ghc-6.6-boot {
|
|
|
|
# inherit fetchurl stdenv perl readline;
|
|
|
|
# m4 = gnum4;
|
|
|
|
#};
|
|
|
|
|
2007-06-07 13:47:39 +01:00
|
|
|
ghc = ghc661;
|
2007-01-24 14:26:16 +00:00
|
|
|
|
2007-10-19 14:24:29 +01:00
|
|
|
ghc68 = lowPrio (appendToName "snapshot" (import ../development/compilers/ghc-6.8 {
|
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses;
|
|
|
|
m4 = gnum4;
|
|
|
|
ghc = ghcboot;
|
|
|
|
}));
|
|
|
|
|
2007-05-06 16:39:39 +01:00
|
|
|
ghc661 = import ../development/compilers/ghc-6.6.1 {
|
2007-08-15 12:25:20 +01:00
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses;
|
2007-05-06 16:39:39 +01:00
|
|
|
m4 = gnum4;
|
|
|
|
ghc = ghcboot;
|
|
|
|
};
|
|
|
|
|
2006-12-15 13:32:55 +00:00
|
|
|
ghc66 = import ../development/compilers/ghc-6.6 {
|
2007-08-15 12:25:20 +01:00
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses;
|
2006-12-15 13:32:55 +00:00
|
|
|
m4 = gnum4;
|
|
|
|
ghc = ghcboot;
|
|
|
|
};
|
|
|
|
|
2007-01-24 14:26:16 +00:00
|
|
|
ghc64 = import ../development/compilers/ghc {
|
2007-08-15 12:25:20 +01:00
|
|
|
inherit fetchurl stdenv perl ncurses readline m4 gmp;
|
2006-09-15 16:28:53 +01:00
|
|
|
gcc = stdenv.gcc;
|
|
|
|
ghc = ghcboot;
|
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
ghcboot = lowPrio (appendToName "boot" (import ../development/compilers/ghc/boot.nix {
|
2007-08-15 12:25:20 +01:00
|
|
|
inherit fetchurl stdenv perl ncurses gmp;
|
2007-08-08 00:59:08 +01:00
|
|
|
readline = if stdenv.system == "i686-linux" then readline4 else readline;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-01-24 21:08:54 +00:00
|
|
|
/*
|
2006-09-15 16:28:53 +01:00
|
|
|
ghcWrapper = assert uulib.ghc == ghc;
|
2006-10-18 11:32:45 +01:00
|
|
|
import ../development/compilers/ghc-wrapper {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv ghc;
|
2006-12-13 23:25:36 +00:00
|
|
|
libraries = [];
|
2005-08-17 15:29:04 +01:00
|
|
|
};
|
2007-01-24 21:08:54 +00:00
|
|
|
*/
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
helium = import ../development/compilers/helium {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ghc;
|
2005-09-07 11:08:00 +01:00
|
|
|
};
|
|
|
|
|
2007-08-20 11:34:49 +01:00
|
|
|
#TODO add packages http://cvs.haskell.org/Hugs/downloads/2006-09/packages/ and test
|
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
|
|
|
#hugs = import ../development/compilers/hugs {
|
|
|
|
#inherit lib fetchurl stdenv;
|
|
|
|
#};
|
|
|
|
|
2007-04-16 11:07:06 +01:00
|
|
|
j2sdk14x =
|
|
|
|
assert system == "i686-linux";
|
|
|
|
import ../development/compilers/jdk/default-1.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-03-05 17:13:53 +00:00
|
|
|
|
2007-03-28 19:55:57 +01:00
|
|
|
jdk = jdkdistro true false;
|
|
|
|
jre = jdkdistro false false;
|
|
|
|
|
2007-03-28 16:31:00 +01:00
|
|
|
jdkPlugin = jdkdistro true true;
|
2007-03-28 19:55:57 +01:00
|
|
|
jrePlugin = jdkdistro false true;
|
2007-03-28 16:21:43 +01:00
|
|
|
|
2007-04-16 11:22:20 +01:00
|
|
|
supportsJDK =
|
|
|
|
system == "i686-linux" ||
|
|
|
|
system == "x86_64-linux" ||
|
|
|
|
system == "powerpc-linux";
|
|
|
|
|
2007-04-16 11:07:06 +01:00
|
|
|
jdkdistro = installjdk: pluginSupport:
|
2007-05-16 15:49:28 +01:00
|
|
|
assert supportsJDK;
|
|
|
|
(if pluginSupport then appendToName "plugin" else x: x) (import ../development/compilers/jdk {
|
|
|
|
inherit fetchurl stdenv unzip installjdk xlibs pluginSupport;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
});
|
2003-12-21 20:52:13 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jikes = import ../development/compilers/jikes {
|
2004-05-12 16:06:23 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mono = import ../development/compilers/mono {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv bison pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
|
|
|
monoDLLFixer = import ../build-support/mono-dll-fixer {
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nasm = import ../development/compilers/nasm {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ocaml = import ../development/compilers/ocaml {
|
2007-03-28 18:15:03 +01:00
|
|
|
inherit fetchurl stdenv x11 ncurses;
|
2004-07-16 23:58:15 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ocaml3080 = import ../development/compilers/ocaml/ocaml-3.08.0.nix {
|
2006-06-23 21:11:36 +01:00
|
|
|
inherit fetchurl x11;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2006-03-01 09:18:22 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
/*
|
2006-10-18 11:32:45 +01:00
|
|
|
gcj = import ../build-support/gcc-wrapper/default2.nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
name = "gcj";
|
|
|
|
nativeTools = false;
|
2006-10-24 19:26:23 +01:00
|
|
|
nativeLibc = false;
|
2006-10-18 11:32:45 +01:00
|
|
|
gcc = import ../development/compilers/gcc-4.0 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
langJava = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
langF77 = false;
|
|
|
|
};
|
2006-10-27 14:52:37 +01:00
|
|
|
inherit (stdenv.gcc) binutils libc;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
opencxx = import ../development/compilers/opencxx {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
gcc = gcc33;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
qcmm = import ../development/compilers/qcmm {
|
2006-03-01 09:18:22 +00:00
|
|
|
lua = lua4;
|
|
|
|
ocaml = ocaml3080;
|
|
|
|
inherit fetchurl stdenv mk noweb groff;
|
2006-02-02 17:07:07 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
strategoLibraries = import ../development/compilers/strategoxt/libraries/stratego-libraries-0.17pre.nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv fetchurl pkgconfig aterm;
|
2005-03-03 17:19:58 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
strategoxt = import ../development/compilers/strategoxt {
|
2006-06-23 21:11:36 +01:00
|
|
|
inherit fetchurl pkgconfig sdf aterm;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
2005-10-31 14:28:11 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
strategoxtUtils = import ../development/compilers/strategoxt/utils {
|
2005-11-04 19:20:51 +00:00
|
|
|
inherit fetchurl pkgconfig stdenv aterm sdf strategoxt;
|
2005-06-30 17:54:25 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
transformers = import ../development/compilers/transformers {
|
2006-06-24 12:16:29 +01:00
|
|
|
inherit fetchurl pkgconfig sdf;
|
2005-12-22 07:39:06 +00:00
|
|
|
aterm = aterm23x;
|
|
|
|
|
2006-06-24 12:16:29 +01:00
|
|
|
stdenv = overrideGCC (overrideInStdenv stdenv [gnumake380]) gcc34;
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
strategoxt = import ../development/compilers/strategoxt/strategoxt-0.14.nix {
|
2006-06-23 23:47:19 +01:00
|
|
|
inherit fetchurl pkgconfig sdf;
|
2005-12-22 07:39:06 +00:00
|
|
|
aterm = aterm23x;
|
2006-06-24 11:28:50 +01:00
|
|
|
stdenv = overrideGCC (overrideInStdenv stdenv [gnumake380]) gcc34;
|
2005-12-22 07:39:06 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
stlport = import ../development/libraries/stlport {
|
2005-12-22 07:39:06 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-06-02 10:56:10 +01:00
|
|
|
visualcpp = import ../development/compilers/visual-c++ {
|
2006-06-05 20:26:11 +01:00
|
|
|
inherit fetchurl stdenv cabextract;
|
2006-06-02 10:56:10 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
win32hello = import ../development/compilers/visual-c++/test {
|
|
|
|
inherit fetchurl stdenv visualcpp windowssdk;
|
|
|
|
};
|
|
|
|
|
2007-08-19 00:58:30 +01:00
|
|
|
wrapGCC = baseGCC: wrapGCCWithGlibc baseGCC glibc;
|
|
|
|
|
|
|
|
wrapGCCWithGlibc = baseGCC: glibc: import ../build-support/gcc-wrapper {
|
2007-05-16 16:15:46 +01:00
|
|
|
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
|
|
|
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
2006-09-15 16:28:53 +01:00
|
|
|
gcc = baseGCC;
|
2006-10-24 21:53:54 +01:00
|
|
|
libc = glibc;
|
|
|
|
inherit stdenv binutils;
|
2006-06-02 11:09:19 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
### DEVELOPMENT / INTERPRETERS
|
|
|
|
|
|
|
|
|
|
|
|
clisp = import ../development/interpreters/clisp {
|
2007-08-10 19:54:44 +01:00
|
|
|
inherit fetchurl stdenv libsigsegv gettext
|
|
|
|
readline ncurses coreutils pcre zlib;
|
|
|
|
inherit (xlibs) libX11 libXau libXt;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
guile = import ../development/interpreters/guile {
|
2007-10-02 21:48:39 +01:00
|
|
|
inherit fetchurl stdenv ncurses readline libtool gmp;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
kaffe = import ../development/interpreters/kaffe {
|
|
|
|
inherit fetchurl stdenv jikes alsaLib xlibs;
|
|
|
|
};
|
|
|
|
|
|
|
|
lua4 = import ../development/interpreters/lua-4 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
lua5 = import ../development/interpreters/lua-5 {
|
2007-07-17 17:43:06 +01:00
|
|
|
inherit fetchurl stdenv ncurses readline;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
octave = import ../development/interpreters/octave {
|
|
|
|
inherit fetchurl stdenv readline ncurses g77 perl flex;
|
|
|
|
};
|
|
|
|
|
2007-01-23 09:55:25 +00:00
|
|
|
perl = if !stdenv.isLinux then sysPerl else realPerl;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
# FIXME: unixODBC needs patching on Darwin (see darwinports)
|
|
|
|
php = import ../development/interpreters/php {
|
|
|
|
inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
|
|
|
unixODBC =
|
|
|
|
if stdenv.isDarwin then null else unixODBC;
|
|
|
|
};
|
|
|
|
|
|
|
|
python = import ../development/interpreters/python {
|
2007-05-27 15:34:01 +01:00
|
|
|
inherit fetchurl stdenv zlib bzip2;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2007-08-09 20:31:05 +01:00
|
|
|
python25 = import ../development/interpreters/python/2.5 {
|
|
|
|
inherit fetchurl stdenv zlib bzip2;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
realPerl = import ../development/interpreters/perl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
ruby = import ../development/interpreters/ruby {
|
|
|
|
inherit fetchurl stdenv readline ncurses;
|
|
|
|
};
|
|
|
|
|
|
|
|
spidermonkey = import ../development/interpreters/spidermonkey {
|
|
|
|
inherit fetchurl;
|
|
|
|
# remove when the "internal compiler error" in gcc 4.1.x is fixed
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
};
|
|
|
|
|
|
|
|
sysPerl = import ../development/interpreters/sys-perl {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
tcl = import ../development/interpreters/tcl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
xulrunner = import ../development/interpreters/xulrunner {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl zip;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
};
|
|
|
|
|
|
|
|
xulrunnerWrapper = {application, launcher}:
|
|
|
|
import ../development/interpreters/xulrunner/wrapper {
|
|
|
|
inherit stdenv xulrunner application launcher;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
### DEVELOPMENT / MISC
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
toolbus = import ../development/interpreters/toolbus {
|
|
|
|
inherit stdenv fetchurl atermjava toolbuslib aterm yacc flex;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
|
|
|
ecj = import ../development/eclipse/ecj {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv unzip jre ant;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
jdtsdk = import ../development/eclipse/jdt-sdk {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
windowssdk = import ../development/misc/windows-sdk {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
### DEVELOPMENT / TOOLS
|
|
|
|
|
|
|
|
|
|
|
|
antlr = import ../development/tools/parsing/antlr/antlr-2.7.6.nix {
|
|
|
|
inherit fetchurl stdenv jre;
|
|
|
|
};
|
|
|
|
|
|
|
|
antlr3 = import ../development/tools/parsing/antlr {
|
|
|
|
inherit fetchurl stdenv jre;
|
|
|
|
};
|
|
|
|
|
2007-03-05 17:13:53 +00:00
|
|
|
ant = apacheAnt;
|
2006-10-18 15:04:55 +01:00
|
|
|
apacheAnt = import ../development/tools/build-managers/apache-ant {
|
|
|
|
inherit fetchurl stdenv jdk;
|
2007-03-05 17:13:53 +00:00
|
|
|
name = "ant-" + jdk.name;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
apacheAnt14 = import ../development/tools/build-managers/apache-ant {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
jdk = j2sdk14x;
|
2007-03-05 17:13:53 +00:00
|
|
|
name = "ant-" + j2sdk14x.name;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2007-04-15 22:23:07 +01:00
|
|
|
autoconf = autoconf261;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-04-15 22:23:07 +01:00
|
|
|
autoconf261 = import ../development/tools/misc/autoconf {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv perl m4;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
automake = automake19x;
|
|
|
|
|
|
|
|
automake17x = import ../development/tools/misc/automake/automake-1.7.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
automake19x = import ../development/tools/misc/automake/automake-1.9.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf;
|
|
|
|
};
|
|
|
|
|
2007-09-04 14:35:02 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
|
|
|
#avrdude = import ../development/tools/misc/avrdude {
|
|
|
|
# inherit lib fetchurl stdenv flex yacc;
|
|
|
|
#};
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
binutils = useFromStdenv (stdenv ? binutils) stdenv.binutils
|
|
|
|
(import ../development/tools/misc/binutils {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
});
|
|
|
|
|
|
|
|
bison = bison1875;
|
|
|
|
|
|
|
|
bison1875 = import ../development/tools/parsing/bison/bison-1.875.nix {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv m4;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
bison23 = import ../development/tools/parsing/bison/bison-2.3.nix {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv m4;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
ctags = import ../development/tools/misc/ctags {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-07-07 23:31:37 +01:00
|
|
|
cmake = import ../development/tools/build-managers/cmake {
|
2007-09-20 20:27:55 +01:00
|
|
|
inherit fetchurl stdenv replace;
|
2007-07-07 23:31:37 +01:00
|
|
|
};
|
|
|
|
|
2007-03-21 19:25:58 +00:00
|
|
|
elfutils = import ../development/tools/misc/elfutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-06 16:00:33 +01:00
|
|
|
epm = import ../development/tools/misc/epm {
|
|
|
|
inherit fetchurl stdenv rpm;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
flex = flex254a;
|
|
|
|
|
|
|
|
flex2533 = import ../development/tools/parsing/flex/flex-2.5.33.nix {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv yacc m4;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
flex254a = import ../development/tools/parsing/flex/flex-2.5.4a.nix {
|
|
|
|
inherit fetchurl stdenv yacc;
|
|
|
|
};
|
|
|
|
|
2007-05-09 14:10:31 +01:00
|
|
|
frown = import ../development/tools/parsing/frown {
|
|
|
|
inherit fetchurl stdenv ghc;
|
|
|
|
};
|
|
|
|
|
2006-12-13 22:29:40 +00:00
|
|
|
m4 = gnum4;
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
gnum4 = import ../development/tools/misc/gnum4 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gnumake = useFromStdenv (stdenv ? gnumake) stdenv.gnumake
|
|
|
|
(import ../development/tools/build-managers/gnumake {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
|
|
|
gnumake380 = import ../development/tools/build-managers/gnumake-3.80 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gperf = import ../development/tools/misc/gperf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
happy = import ../development/tools/parsing/happy {
|
|
|
|
inherit fetchurl stdenv perl ghc;
|
|
|
|
};
|
|
|
|
|
|
|
|
help2man = import ../development/tools/misc/help2man {
|
|
|
|
inherit fetchurl stdenv perl gettext perlLocaleGettext;
|
|
|
|
};
|
|
|
|
|
2007-03-05 18:52:31 +00:00
|
|
|
iconnamingutils = import ../development/tools/misc/icon-naming-utils {
|
|
|
|
inherit fetchurl stdenv perl perlXMLSimple;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
jikespg = import ../development/tools/parsing/jikespg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
kcachegrind = import ../development/tools/misc/kcachegrind {
|
|
|
|
inherit fetchurl stdenv kdelibs zlib perl expat libpng libjpeg;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
lcov = import ../development/tools/misc/lcov {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
libtool = import ../development/tools/misc/libtool {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv perl m4;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2007-06-17 23:44:30 +01:00
|
|
|
lsof = import ../development/tools/misc/lsof {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
mk = import ../development/tools/build-managers/mk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
noweb = import ../development/tools/literate-programming/noweb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
patchelf = useFromStdenv (stdenv ? patchelf) stdenv.patchelf
|
2007-05-24 17:00:05 +01:00
|
|
|
(import ../development/tools/misc/patchelf {
|
2007-02-06 21:12:30 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-05-24 17:00:05 +01:00
|
|
|
});
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* pkgconfig is optionally taken from the stdenv to allow bootstrapping
|
|
|
|
* of glib and pkgconfig itself on MinGW.
|
|
|
|
*/
|
2007-03-02 19:14:24 +00:00
|
|
|
pkgconfig = useFromStdenv (stdenv ? pkgconfig) stdenv.pkgconfig
|
2006-10-18 15:04:55 +01:00
|
|
|
(import ../development/tools/misc/pkgconfig {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
|
|
|
scons = import ../development/tools/build-managers/scons {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
|
|
|
sdf = import ../development/tools/parsing/sdf {
|
|
|
|
inherit fetchurl aterm getopt pkgconfig;
|
|
|
|
# Note: sdf2-bundle currently requires GNU make 3.80; remove
|
|
|
|
# explicit dependency when this is fixed.
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
|
|
|
|
|
|
|
strace = import ../development/tools/misc/strace {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
swig = import ../development/tools/misc/swig {
|
|
|
|
inherit fetchurl stdenv perl python;
|
|
|
|
perlSupport = true;
|
|
|
|
pythonSupport = true;
|
|
|
|
javaSupport = false;
|
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
swigWithJava = lowPrio (appendToName "with-java" (import ../development/tools/misc/swig {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv jdk;
|
2006-10-18 15:04:55 +01:00
|
|
|
perlSupport = false;
|
|
|
|
pythonSupport = false;
|
|
|
|
javaSupport = true;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
texinfo = import ../development/tools/misc/texinfo {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
uisp = import ../development/tools/misc/uisp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
uuagc = import ../development/tools/haskell/uuagc {
|
2006-12-15 13:32:55 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
ghc = ghc66;
|
|
|
|
uulib = uulib66;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2007-02-22 16:07:51 +00:00
|
|
|
gdb = import ../development/tools/misc/gdb {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
valgrind = import ../development/tools/misc/valgrind {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
yacc = bison;
|
|
|
|
|
2006-06-02 10:56:10 +01:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
### DEVELOPMENT / LIBRARIES
|
2005-11-22 12:05:36 +00:00
|
|
|
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
a52dec = import ../development/libraries/a52dec {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-06-02 10:56:10 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
aalib = import ../development/libraries/aalib {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2007-09-05 14:56:12 +01:00
|
|
|
/*
|
|
|
|
agg = import ../development/libraries/agg {
|
|
|
|
inherit fetchurl stdenv autoconf automake libtool pkgconfig;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
apr = import ../development/libraries/apr {
|
|
|
|
inherit fetchurl stdenv;
|
2004-01-24 22:50:47 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
aprutil = import ../development/libraries/apr-util {
|
|
|
|
inherit fetchurl stdenv apr expat db4;
|
|
|
|
bdbSupport = true;
|
2005-05-05 00:36:28 +01:00
|
|
|
};
|
|
|
|
|
2007-02-28 16:18:58 +00:00
|
|
|
arts = import ../development/libraries/arts {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
inherit kdelibs zlib libjpeg libpng perl;
|
|
|
|
qt = qt3;
|
|
|
|
inherit (gnome) glib;
|
2006-04-26 15:47:16 +01:00
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
aterm = lowPrio (import ../development/libraries/aterm {
|
2006-02-02 17:07:07 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-05-01 21:35:58 +01:00
|
|
|
});
|
2006-02-02 17:07:07 +00:00
|
|
|
|
2006-11-14 15:55:57 +00:00
|
|
|
aterm242fixes = import ../development/libraries/aterm/2.4.2-fixes.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-11-14 15:49:07 +00:00
|
|
|
aterm23x = import ../development/libraries/aterm/2.3.nix {
|
2006-10-18 15:04:55 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-13 15:22:24 +01:00
|
|
|
aspell = import ../development/libraries/aspell {
|
2007-07-04 02:35:29 +01:00
|
|
|
inherit fetchurl stdenv perl which;
|
2007-05-13 15:22:24 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
audiofile = import ../development/libraries/audiofile {
|
2006-02-02 17:07:07 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
axis = import ../development/libraries/axis {
|
2005-11-22 12:05:36 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
beecrypt = import ../development/libraries/beecrypt {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv m4;
|
2004-11-19 17:47:17 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
boehmgc = import ../development/libraries/boehm-gc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-12 16:35:57 +01:00
|
|
|
boost = import ../development/libraries/boost {
|
2007-08-08 14:20:18 +01:00
|
|
|
inherit fetchurl stdenv icu zlib bzip2 python;
|
2007-06-12 16:35:57 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cairo = import ../development/libraries/cairo {
|
2007-03-02 19:14:24 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng;
|
2004-08-23 11:44:21 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
chmlib = import ../development/libraries/chmlib {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-09-11 23:39:06 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cil = import ../development/libraries/cil {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv fetchurl ocaml perl;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cilaterm = import ../development/libraries/cil-aterm {
|
2006-09-15 16:28:53 +01:00
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
inherit fetchurl perl ocaml;
|
2004-01-24 23:46:00 +00:00
|
|
|
};
|
|
|
|
|
2007-07-22 19:22:46 +01:00
|
|
|
clanlib = import ../development/libraries/clanlib {
|
|
|
|
inherit fetchurl stdenv zlib libpng libjpeg libvorbis libogg mesa;
|
|
|
|
inherit (xlibs) libX11 xf86vidmodeproto libXmu libXxf86vm;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
clearsilver = import ../development/libraries/clearsilver {
|
|
|
|
inherit fetchurl stdenv python;
|
2004-08-23 18:06:50 +01:00
|
|
|
};
|
|
|
|
|
2007-08-05 14:54:42 +01:00
|
|
|
cluceneContrib = (import ../development/libraries/clucene-contrib) {
|
|
|
|
inherit fetchurl stdenv cluceneCore;
|
|
|
|
};
|
|
|
|
|
|
|
|
cluceneCore = (import ../development/libraries/clucene-core) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
coredumper = import ../development/libraries/coredumper {
|
2005-10-10 01:55:07 +01:00
|
|
|
inherit fetchurl stdenv;
|
2004-08-10 12:07:50 +01:00
|
|
|
};
|
|
|
|
|
2007-10-01 16:09:29 +01:00
|
|
|
cppunit = import ../development/libraries/cppunit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cracklib = import ../development/libraries/cracklib {
|
2004-08-24 12:26:26 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2007-10-01 16:11:38 +01:00
|
|
|
cyrus_sasl = import ../development/libraries/cyrus-sasl {
|
|
|
|
inherit fetchurl stdenv openssl db4 gettext;
|
|
|
|
};
|
|
|
|
|
2007-05-02 12:49:18 +01:00
|
|
|
db4 = db45;
|
2006-10-13 13:58:13 +01:00
|
|
|
|
|
|
|
db44 = import ../development/libraries/db4/db4-4.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
db45 = import ../development/libraries/db4/db4-4.5.nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-20 20:40:22 +01:00
|
|
|
# I think, this is a bad practice to use getVersion for various build
|
|
|
|
# variants, but it's 5 o'clock now...
|
|
|
|
dbus = getVersion "dbus" dbus_alts;
|
|
|
|
|
|
|
|
dbus_alts = rec
|
|
|
|
{
|
|
|
|
noX11 = import ../development/libraries/dbus {
|
2007-03-04 21:28:24 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig expat;
|
2007-09-20 20:40:22 +01:00
|
|
|
};
|
|
|
|
withX11 = import ../development/libraries/dbus_x {
|
|
|
|
inherit fetchurl stdenv pkgconfig expat;
|
|
|
|
inherit (xlibs) libX11 libICE libSM;
|
|
|
|
};
|
|
|
|
default = noX11;
|
2007-03-04 21:28:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dbus_glib = import ../development/libraries/dbus-glib {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext dbus expat;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
dclib = import ../development/libraries/dclib {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libxml2 openssl bzip2;
|
2004-08-24 12:26:26 +01:00
|
|
|
};
|
|
|
|
|
2006-11-14 22:23:33 +00:00
|
|
|
directfb = import ../development/libraries/directfb {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2007-10-12 21:27:15 +01:00
|
|
|
enchant = import ../development/libraries/enchant {
|
|
|
|
inherit fetchurl stdenv aspell pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2007-10-01 16:12:41 +01:00
|
|
|
exiv2 = import ../development/libraries/exiv2 {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
expat = import ../development/libraries/expat {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2004-01-25 00:50:00 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
ffmpeg = import ../development/libraries/ffmpeg {
|
2005-12-19 18:56:31 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2007-08-20 11:40:48 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
|
|
|
# needs some testing ..
|
|
|
|
#fltk20 = (import ../development/libraries/fltk) {
|
|
|
|
#inherit fetchurl stdenv lib mesa mesaHeaders libpng libjpeg zlib ;
|
|
|
|
#inherit (xlibs) libX11 libXext;
|
|
|
|
#flags = [ "useNixLibs" "threads" "shared" ];
|
|
|
|
#};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
fontconfig = import ../development/libraries/fontconfig {
|
|
|
|
inherit fetchurl stdenv freetype expat;
|
2005-05-09 16:56:34 +01:00
|
|
|
};
|
|
|
|
|
2007-05-14 22:47:11 +01:00
|
|
|
freealut = import ../development/libraries/freealut {
|
|
|
|
inherit fetchurl stdenv openal;
|
|
|
|
};
|
|
|
|
|
2007-05-16 15:49:28 +01:00
|
|
|
freeglut = assert mesaSupported; import ../development/libraries/freeglut {
|
2007-04-18 14:47:35 +01:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
freetype = import ../development/libraries/freetype {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-01-02 14:24:36 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fribidi = import ../development/libraries/fribidi {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-03 10:22:00 +00:00
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2007-09-01 19:26:13 +01:00
|
|
|
gettext = getVersion "gettext" gettext_alts;
|
|
|
|
|
|
|
|
gettext_alts = import ../development/libraries/gettext {
|
2006-06-21 22:05:39 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-21 21:43:43 +01:00
|
|
|
gd = import ../development/libraries/gd {
|
|
|
|
inherit fetchurl stdenv zlib libpng freetype libjpeg fontconfig;
|
|
|
|
};
|
|
|
|
|
2007-09-04 10:38:52 +01:00
|
|
|
gdal = stdenv.mkDerivation {
|
|
|
|
name = "gdal-1.4.2";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://download.osgeo.org/gdal/gdal-1.4.2.tar.gz;
|
|
|
|
sha256 = "1vl8ym9y7scm0yd4vghjfqims69b9h1gn9l4zvy2jyglh35p8vpf";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-07-10 16:42:19 +01:00
|
|
|
glibc = useFromStdenv (stdenv ? glibc) stdenv.glibc
|
|
|
|
(import ../development/libraries/glibc {
|
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
2006-12-01 16:44:26 +00:00
|
|
|
#installLocales = false;
|
2006-07-10 16:42:19 +01:00
|
|
|
});
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2007-08-18 17:22:10 +01:00
|
|
|
glibcNPTL = import ../development/libraries/glibc-nptl {
|
2007-08-18 20:04:19 +01:00
|
|
|
inherit fetchurl kernelHeaders perl;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2007-08-18 17:20:14 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
glibmm = import ../development/libraries/gtk-libs-2.6/glibmm {
|
|
|
|
inherit fetchurl stdenv pkgconfig libsigcxx;
|
|
|
|
inherit (gtkLibs26) glib;
|
2003-11-03 10:22:00 +00:00
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
gmime = import ../development/libraries/gmime {
|
|
|
|
inherit fetchurl stdenv pkgconfig zlib;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2006-12-13 22:29:40 +00:00
|
|
|
gmp = import ../development/libraries/gmp {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gnet = import ../development/libraries/gnet {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
2004-01-22 19:09:49 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gpgme = import ../development/libraries/gpgme {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libgpgerror gnupg;
|
2006-03-14 18:20:21 +00:00
|
|
|
};
|
|
|
|
|
2007-02-27 03:30:20 +00:00
|
|
|
gtkLibs = recurseIntoAttrs gtkLibs210;
|
2006-09-15 16:28:53 +01:00
|
|
|
|
|
|
|
gtkLibs1x = import ../development/libraries/gtk-libs-1.x {
|
|
|
|
inherit fetchurl stdenv x11 libtiff libjpeg libpng;
|
2003-11-05 12:17:48 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkLibs210 = import ../development/libraries/gtk-libs-2.10 {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
|
|
|
libtiff libjpeg libpng cairo;
|
|
|
|
inherit (xlibs) libXinerama libXrandr;
|
|
|
|
xineramaSupport = true;
|
2005-01-19 21:12:46 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkLibs22 = import ../development/libraries/gtk-libs-2.2 {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
|
|
|
libtiff libjpeg libpng;
|
2005-01-19 21:48:45 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkLibs24 = import ../development/libraries/gtk-libs-2.4 {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
|
|
|
libtiff libjpeg libpng;
|
2005-01-19 21:48:45 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkLibs26 = import ../development/libraries/gtk-libs-2.6 {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
|
|
|
libtiff libjpeg libpng;
|
2006-01-07 17:25:39 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkLibs28 = import ../development/libraries/gtk-libs-2.8 {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
|
|
|
libtiff libjpeg libpng cairo;
|
|
|
|
inherit (xlibs) libXinerama;
|
|
|
|
xineramaSupport = true;
|
2005-11-22 22:32:18 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkmm = import ../development/libraries/gtk-libs-2.6/gtkmm {
|
|
|
|
inherit fetchurl stdenv pkgconfig libsigcxx;
|
|
|
|
inherit (gtkLibs26) gtk atk;
|
|
|
|
inherit glibmm;
|
2005-02-16 16:18:43 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
gtksharp = gtksharp2;
|
2005-10-26 22:10:31 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gtksharp1 = import ../development/libraries/gtk-sharp-1 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
|
|
|
inherit (gnome) gtk glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeui libgnomeprint
|
|
|
|
libgnomeprintui GConf;
|
2005-10-26 22:10:31 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gtksharp2 = import ../development/libraries/gtk-sharp-2 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
|
|
|
inherit (gnome) gtk glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeui libgnomeprint
|
|
|
|
libgnomeprintui GConf gnomepanel;
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gtksourceviewsharp = import ../development/libraries/gtksourceview-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtksourceview;
|
|
|
|
gtksharp = gtksharp2;
|
2003-11-25 18:02:05 +00:00
|
|
|
};
|
|
|
|
|
2007-05-13 15:22:24 +01:00
|
|
|
gtkspell = import ../development/libraries/gtkspell {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit aspell;
|
|
|
|
};
|
|
|
|
|
2007-09-11 12:06:31 +01:00
|
|
|
hsqldb = import ../development/libraries/java/hsqldb {
|
2007-09-06 16:56:39 +01:00
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
|
|
|
|
2007-08-08 14:20:18 +01:00
|
|
|
icu = import ../development/libraries/icu {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
id3lib = import ../development/libraries/id3lib {
|
|
|
|
inherit fetchurl stdenv;
|
2003-11-05 12:17:48 +00:00
|
|
|
};
|
|
|
|
|
2007-10-12 21:33:03 +01:00
|
|
|
ilmbase = import ../development/libraries/ilmbase {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-02-28 16:20:00 +00:00
|
|
|
imlib = import ../development/libraries/imlib {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libjpeg libtiff libungif libpng;
|
|
|
|
inherit (xlibs) libX11 libXext xextproto;
|
2003-11-05 12:17:48 +00:00
|
|
|
};
|
|
|
|
|
2007-03-05 13:44:27 +00:00
|
|
|
imlib2 = import ../development/libraries/imlib2 {
|
|
|
|
inherit fetchurl stdenv x11 libjpeg libtiff libungif libpng;
|
|
|
|
};
|
|
|
|
|
2007-08-10 09:21:31 +01:00
|
|
|
lablgtk = import ../development/libraries/lablgtk {
|
|
|
|
inherit fetchurl stdenv ocaml pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
lcms = import ../development/libraries/lcms {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
lesstif = import ../development/libraries/lesstif {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXp libXau;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libcaca = import ../development/libraries/libcaca {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2006-07-08 13:44:39 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libcdaudio = import ../development/libraries/libcdaudio {
|
2004-09-18 18:58:42 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-05-16 15:49:28 +01:00
|
|
|
libcm = assert mesaSupported; import ../development/libraries/libcm {
|
2007-02-28 17:52:41 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig xlibs mesa;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-08-06 19:45:53 +01:00
|
|
|
libdaemon = import ../development/libraries/libdaemon {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
libdrm = import ../development/libraries/libdrm {
|
2006-07-25 09:44:05 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libdvdcss = import ../development/libraries/libdvdcss {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
libdvdnav = import ../development/libraries/libdvdnav {
|
|
|
|
inherit fetchurl stdenv;
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libdvdread = import ../development/libraries/libdvdread {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libdvdcss;
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libevent = import ../development/libraries/libevent {
|
2006-10-08 11:31:55 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libexif = import ../development/libraries/libexif {
|
2006-08-13 10:46:54 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-08-16 22:45:10 +01:00
|
|
|
libgcrypt = import ../development/libraries/libgcrypt {
|
|
|
|
inherit fetchurl stdenv libgpgerror;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libgpgerror = import ../development/libraries/libgpg-error {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-08-13 10:46:54 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libgphoto2 = import ../development/libraries/libgphoto2 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libusb;
|
2005-08-24 15:26:32 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libgsf = import ../development/libraries/libgsf {
|
2007-07-17 15:46:03 +01:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2 gettext;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (gnome) glib;
|
2006-04-03 14:02:05 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libjpeg = import ../development/libraries/libjpeg {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libtool;
|
2005-08-24 16:02:30 +01:00
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
libjpegStatic = lowPrio (appendToName "static" (import ../development/libraries/libjpeg-static {
|
2006-11-25 23:41:53 +00:00
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
static = true;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2006-11-25 23:41:53 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libmad = import ../development/libraries/libmad {
|
2004-08-23 10:35:36 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
libmpcdec = import ../development/libraries/libmpcdec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libmspack = import ../development/libraries/libmspack {
|
2005-03-11 10:46:20 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libogg = import ../development/libraries/libogg {
|
2005-03-11 10:55:21 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-08-16 22:45:10 +01:00
|
|
|
libotr = import ../development/libraries/libotr {
|
|
|
|
inherit fetchurl stdenv libgcrypt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libpcap = import ../development/libraries/libpcap {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv flex bison;
|
2006-04-22 19:08:37 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libpng = import ../development/libraries/libpng {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib;
|
2005-03-11 11:02:31 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
libsigcxx = import ../development/libraries/libsigcxx {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2005-03-11 11:08:38 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libsigsegv = import ../development/libraries/libsigsegv {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2004-01-21 09:34:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libsndfile = import ../development/libraries/libsndfile {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-08-27 20:59:45 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libtheora = import ../development/libraries/libtheora {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libogg libvorbis;
|
2005-12-26 15:56:00 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libtiff = import ../development/libraries/libtiff {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib libjpeg;
|
2005-10-12 12:57:24 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libungif = import ../development/libraries/libungif {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-07-04 17:58:25 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libusb = import ../development/libraries/libusb {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-10-12 12:57:24 +01:00
|
|
|
};
|
2005-02-15 16:22:20 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libvorbis = import ../development/libraries/libvorbis {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libogg;
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
|
|
|
|
2007-08-18 10:35:54 +01:00
|
|
|
libwmf = import ../development/libraries/libwmf {
|
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick
|
|
|
|
zlib libpng freetype libjpeg libxml2;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libwpd = import ../development/libraries/libwpd {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libgsf libxml2;
|
|
|
|
inherit (gnome) glib;
|
2005-02-15 16:22:20 +00:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-12-11 02:35:05 +00:00
|
|
|
libxcrypt = import ../development/libraries/libxcrypt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libxml2 = import ../development/libraries/libxml2 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = false;
|
2004-04-05 15:09:01 +01:00
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
libxml2Python = lowPrio (appendToName "with-python" (import ../development/libraries/libxml2 {
|
2007-03-04 23:37:34 +00:00
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = true;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2007-03-04 23:37:34 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libxslt = import ../development/libraries/libxslt {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libxml2;
|
2003-11-06 16:28:57 +00:00
|
|
|
};
|
|
|
|
|
2007-03-18 23:58:22 +00:00
|
|
|
libixp03 = import ../development/libraries/libixp/libixp-0.3.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2007-05-16 15:49:28 +01:00
|
|
|
mesaSupported =
|
|
|
|
system == "i686-linux" ||
|
|
|
|
system == "x86_64-linux";
|
|
|
|
|
|
|
|
mesa = assert mesaSupported; import ../development/libraries/mesa {
|
2007-02-27 00:18:34 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 libdrm;
|
|
|
|
inherit (xlibs) libXmu libXi makedepend glproto libXxf86vm;
|
2005-09-07 15:57:30 +01:00
|
|
|
};
|
|
|
|
|
2007-02-26 23:10:25 +00:00
|
|
|
mesaHeaders = import ../development/libraries/mesa/headers.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
mesaSrc = mesa.src;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mpeg2dec = import ../development/libraries/mpeg2dec {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-08-13 22:35:49 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
mysqlConnectorODBC = import ../development/libraries/mysql-connector-odbc {
|
|
|
|
inherit fetchurl stdenv mysql libtool zlib unixODBC;
|
2006-06-17 23:04:42 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ncurses = import ../development/libraries/ncurses {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-06-28 23:14:25 +01:00
|
|
|
unicode = (system != "i686-cygwin");
|
2005-01-19 22:51:27 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ncursesDiet = import ../development/libraries/ncurses-diet {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl;
|
2006-10-27 14:52:37 +01:00
|
|
|
stdenv = useDietLibC stdenv;
|
2005-11-12 14:52:16 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
neon = import ../development/libraries/neon {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libxml2 zlib openssl;
|
|
|
|
compressionSupport = true;
|
|
|
|
sslSupport = true;
|
2006-08-13 10:46:54 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nss = import ../development/libraries/nss {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl zip;
|
2005-03-09 17:49:19 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
openal = import ../development/libraries/openal {
|
|
|
|
inherit fetchurl stdenv alsaLib autoconf automake libtool;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2007-10-12 21:33:03 +01:00
|
|
|
openexr = import ../development/libraries/openexr {
|
|
|
|
inherit fetchurl stdenv ilmbase zlib pkgconfig;
|
|
|
|
};
|
|
|
|
|
2007-01-11 21:55:29 +00:00
|
|
|
openldap = import ../development/libraries/openldap {
|
2007-10-12 21:30:19 +01:00
|
|
|
inherit fetchurl stdenv openssl cyrus_sasl db4;
|
2007-01-11 21:55:29 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
openssl = import ../development/libraries/openssl {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl;
|
2005-03-08 15:44:23 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pangoxsl = import ../development/libraries/pangoxsl {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) glib pango;
|
2005-03-08 18:52:35 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pcre = import ../development/libraries/pcre {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-10-01 16:07:55 +01:00
|
|
|
unicodeSupport = getFlag "unicode" "pcre" false;
|
2004-01-21 09:34:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
popt = import ../development/libraries/popt {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv gettext;
|
2004-01-21 09:34:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
popt110 = import ../development/libraries/popt/popt-1.10.6.nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv gettext libtool autoconf automake;
|
2003-11-07 11:18:47 +00:00
|
|
|
};
|
2003-11-05 12:17:48 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
qt3 = import ../development/libraries/qt-3 {
|
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa;
|
2007-03-26 19:15:32 +01:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
|
|
|
libXmu libXinerama xineramaproto libXcursor;
|
2007-05-16 15:49:28 +01:00
|
|
|
openglSupport = mesaSupported;
|
2006-09-15 16:28:53 +01:00
|
|
|
mysqlSupport = false;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2007-10-12 21:38:39 +01:00
|
|
|
qt4 = getVersion "qt4" qt4_alts;
|
2007-07-17 18:08:38 +01:00
|
|
|
# Builds, but not tested yet
|
2007-10-12 21:38:39 +01:00
|
|
|
# There are two versions: kde and trolltech
|
|
|
|
qt4_alts = import ../development/libraries/qt-4 {
|
|
|
|
inherit fetchurl fetchsvn zlib libjpeg libpng which mysql mesa openssl cups dbus
|
|
|
|
fontconfig freetype pkgconfig;
|
2007-07-17 18:08:38 +01:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2007-10-12 21:38:39 +01:00
|
|
|
libXmu libXinerama xineramaproto libXcursor libICE libSM libX11 libXext
|
|
|
|
inputproto fixesproto libXfixes;
|
2007-07-17 18:08:38 +01:00
|
|
|
inherit (gnome) glib;
|
2007-10-12 21:38:39 +01:00
|
|
|
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new-2.sh;
|
2007-07-17 18:08:38 +01:00
|
|
|
openglSupport = mesaSupported;
|
|
|
|
mysqlSupport = true;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
readline = readline5;
|
|
|
|
|
|
|
|
readline4 = import ../development/libraries/readline/readline4.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
|
|
|
readline5 = import ../development/libraries/readline/readline5.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2007-10-01 16:14:50 +01:00
|
|
|
# Also known as librdf, includes raptor and rasqal
|
|
|
|
redland = import ../development/libraries/redland {
|
|
|
|
inherit fetchurl stdenv openssl libxml2 pkgconfig perl;
|
|
|
|
bdb = db4;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
rte = import ../development/libraries/rte {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
SDL = import ../development/libraries/SDL {
|
|
|
|
inherit fetchurl stdenv x11 mesa alsaLib;
|
|
|
|
inherit (xlibs) libXrandr;
|
2007-05-16 15:49:28 +01:00
|
|
|
openglSupport = mesaSupported;
|
2006-10-18 15:04:55 +01:00
|
|
|
alsaSupport = true;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2007-08-09 18:33:18 +01:00
|
|
|
SDL_image = import ../development/libraries/SDL_image {
|
|
|
|
inherit fetchurl stdenv SDL libjpeg libungif libtiff libpng;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
SDL_mixer = import ../development/libraries/SDL_mixer {
|
|
|
|
inherit fetchurl stdenv SDL libogg libvorbis;
|
2006-06-29 13:41:25 +01:00
|
|
|
};
|
|
|
|
|
2007-08-09 18:33:18 +01:00
|
|
|
SDL_ttf = import ../development/libraries/SDL_ttf {
|
|
|
|
inherit fetchurl stdenv SDL freetype;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
slang = import ../development/libraries/slang {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pcre libpng;
|
2004-01-25 08:51:03 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
speex = import ../development/libraries/speex {
|
2004-06-21 21:41:32 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sqlite = import ../development/libraries/sqlite {
|
2004-03-05 10:13:23 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-08-05 14:54:42 +01:00
|
|
|
strigi = import ../development/libraries/strigi {
|
|
|
|
inherit stdenv fetchurl zlib cluceneCore cluceneContrib expat bzip2
|
2007-08-08 14:20:18 +01:00
|
|
|
pkgconfig cmake dbus libxml2 perl;
|
2007-08-05 14:54:42 +01:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
t1lib = import ../development/libraries/t1lib {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXaw;
|
2005-11-04 13:07:22 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
taglib = import ../development/libraries/taglib {
|
|
|
|
inherit fetchurl stdenv zlib;
|
2005-11-12 17:05:51 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
tk = import ../development/libraries/tk {
|
|
|
|
inherit fetchurl stdenv tcl x11;
|
2005-11-12 17:05:51 +00:00
|
|
|
};
|
2005-11-01 20:27:57 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
unixODBC = import ../development/libraries/unixODBC {
|
2005-11-01 20:27:57 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
wxGTK = wxGTK26;
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2007-05-31 15:02:16 +01:00
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
2005-08-30 08:39:38 +01:00
|
|
|
};
|
|
|
|
|
2007-05-31 14:43:13 +01:00
|
|
|
wxGTK28 = import ../development/libraries/wxGTK-2.8 {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
Xaw3d = import ../development/libraries/Xaw3d {
|
|
|
|
inherit fetchurl stdenv x11 bison;
|
2006-10-02 16:14:17 +01:00
|
|
|
flex = flex2533;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) imake gccmakedep libXmu libXpm libXp;
|
2005-12-19 10:34:01 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xineLib = import ../development/libraries/xine-lib {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib x11 libdvdcss alsaLib;
|
|
|
|
inherit (xlibs) libXv libXinerama;
|
2005-12-19 10:34:01 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
xlibsWrapper = import ../development/libraries/xlibs-wrapper {
|
|
|
|
inherit stdenv;
|
|
|
|
packages = [
|
|
|
|
freetype fontconfig xlibs.xproto xlibs.libX11 xlibs.libXt
|
|
|
|
xlibs.libXft xlibs.libXext xlibs.libSM xlibs.libICE
|
|
|
|
xlibs.xextproto
|
|
|
|
];
|
2006-01-26 14:01:08 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zlib = import ../development/libraries/zlib {
|
2006-03-15 12:43:40 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
zlibStatic = lowPrio (appendToName "static" (import ../development/libraries/zlib {
|
2006-09-11 09:45:01 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-09-15 16:28:53 +01:00
|
|
|
static = true;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2006-09-11 09:45:01 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zvbi = import ../development/libraries/zvbi {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libpng x11;
|
|
|
|
pngSupport = true;
|
2006-09-11 10:17:28 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2005-09-11 16:38:59 +01:00
|
|
|
### DEVELOPMENT / LIBRARIES / JAVA
|
|
|
|
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
atermjava = import ../development/libraries/java/aterm {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl sharedobjects jjtraveler jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
commonsFileUpload = import ../development/libraries/java/jakarta-commons/file-upload {
|
|
|
|
inherit stdenv fetchurl;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
httpunit = import ../development/libraries/java/httpunit {
|
|
|
|
inherit stdenv fetchurl unzip;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jakartabcel = import ../development/libraries/java/jakarta-bcel {
|
2006-09-15 16:28:53 +01:00
|
|
|
regexp = jakartaregexp;
|
|
|
|
inherit fetchurl stdenv;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jakartaregexp = import ../development/libraries/java/jakarta-regexp {
|
2005-09-11 16:38:59 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
javaCup = import ../development/libraries/java/cup {
|
|
|
|
inherit stdenv fetchurl jdk;
|
|
|
|
};
|
|
|
|
|
|
|
|
javasvn = import ../development/libraries/java/javasvn {
|
|
|
|
inherit stdenv fetchurl unzip;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jclasslib = import ../development/tools/java/jclasslib {
|
2005-09-18 00:58:51 +01:00
|
|
|
inherit fetchurl stdenv xpf jre;
|
2005-09-11 16:38:59 +01:00
|
|
|
ant = apacheAnt14;
|
|
|
|
};
|
|
|
|
|
|
|
|
jdom = import ../development/libraries/java/jdom {
|
2005-12-26 00:51:24 +00:00
|
|
|
inherit stdenv fetchurl;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
jflex = import ../development/libraries/java/jflex {
|
2005-12-26 00:51:24 +00:00
|
|
|
inherit stdenv fetchurl;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jjtraveler = import ../development/libraries/java/jjtraveler {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
junit = import ../development/libraries/java/junit {
|
2005-12-26 00:51:24 +00:00
|
|
|
inherit stdenv fetchurl unzip;
|
2005-10-03 09:17:09 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
lucene = import ../development/libraries/java/lucene {
|
|
|
|
inherit stdenv fetchurl;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
mockobjects = import ../development/libraries/java/mockobjects {
|
2005-12-26 00:51:24 +00:00
|
|
|
inherit stdenv fetchurl;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
saxon = import ../development/libraries/java/saxon {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
saxonb = import ../development/libraries/java/saxon/default8.nix {
|
2007-01-07 17:10:14 +00:00
|
|
|
inherit fetchurl stdenv unzip jre;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sharedobjects = import ../development/libraries/java/shared-objects {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
2005-12-26 00:51:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
swt = import ../development/libraries/java/swt {
|
|
|
|
inherit stdenv fetchurl unzip jdk pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXtst;
|
2005-09-11 16:38:59 +01:00
|
|
|
};
|
|
|
|
|
2006-04-25 14:12:45 +01:00
|
|
|
xalanj = import ../development/libraries/java/xalanj {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-01-25 11:19:21 +00:00
|
|
|
### DEVELOPMENT / LIBRARIES / HASKELL
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-01-24 21:08:54 +00:00
|
|
|
uulib64 = import ../development/libraries/haskell/uulib { # !!! remove?
|
2006-01-25 11:19:21 +00:00
|
|
|
inherit stdenv fetchurl ghc;
|
|
|
|
};
|
2006-01-30 11:18:38 +00:00
|
|
|
|
2007-01-24 21:08:54 +00:00
|
|
|
uulib66 = import ../development/libraries/haskell/uulib-ghc-6.6 { # !!! ugh
|
2006-12-15 13:32:55 +00:00
|
|
|
inherit stdenv fetchurl autoconf;
|
|
|
|
ghc = ghc66;
|
|
|
|
};
|
|
|
|
|
2006-12-13 22:29:40 +00:00
|
|
|
wxHaskell = import ../development/libraries/haskell/wxHaskell {
|
2007-01-26 13:12:48 +00:00
|
|
|
inherit stdenv fetchurl unzip ghc wxGTK;
|
2006-12-13 22:29:40 +00:00
|
|
|
};
|
|
|
|
|
2003-12-21 20:52:13 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
### DEVELOPMENT / PERL MODULES
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2005-10-26 22:10:31 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlArchiveZip = import ../development/perl-modules/Archive-Zip {
|
|
|
|
inherit fetchurl perl;
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlBerkeleyDB = import ../development/perl-modules/BerkeleyDB {
|
|
|
|
inherit fetchurl perl db4;
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlCGISession = import ../development/perl-modules/generic perl {
|
|
|
|
name = "CGI-Session-3.95";
|
2005-03-07 13:27:28 +00:00
|
|
|
src = fetchurl {
|
2007-08-24 13:32:36 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/CGI-Session-3.95.tar.gz;
|
2006-09-15 16:28:53 +01:00
|
|
|
md5 = "fe9e46496c7c711c54ca13209ded500b";
|
2005-03-07 13:27:28 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlCompressZlib = import ../development/perl-modules/Compress-Zlib {
|
|
|
|
inherit fetchurl perl;
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
perlDateManip = import ../development/perl-modules/generic perl {
|
|
|
|
name = "DateManip-5.42a";
|
|
|
|
src = fetchurl {
|
2005-08-22 09:39:27 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/DateManip-5.42a.tar.gz;
|
2005-01-22 00:19:27 +00:00
|
|
|
md5 = "648386bbf46d021ae283811f75b07bdf";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlDigestSHA1 = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Digest-SHA1-2.11";
|
2005-01-22 00:19:27 +00:00
|
|
|
src = fetchurl {
|
2007-08-24 13:32:36 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz;
|
2006-09-15 16:28:53 +01:00
|
|
|
md5 = "2449bfe21d6589c96eebf94dae24df6b";
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2007-03-13 13:32:49 +00:00
|
|
|
perlEmailAddress = import ../development/perl-modules/generic perl {
|
2007-08-20 13:11:07 +01:00
|
|
|
name = "Email-Address-1.888";
|
2007-03-13 13:32:49 +00:00
|
|
|
src = fetchurl {
|
2007-08-20 13:11:07 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-1.888.tar.gz;
|
|
|
|
sha256 = "0c6b8djnmiy0niskrvywd6867xd1qmn241ffdwj957dkqdakq9yx";
|
2007-03-13 13:32:49 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
perlEmailSend = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Email-Send-2.185";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Send-2.185.tar.gz;
|
|
|
|
sha256 = "0pbgnnbmv6z3zzqaiq1sdcv5d26ijhw4p8k8kp6ac7arvldblamz";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlEmailSimple perlEmailAddress perlModulePluggable perlReturnValue];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlEmailSimple = import ../development/perl-modules/generic perl {
|
2007-08-20 13:11:07 +01:00
|
|
|
name = "Email-Simple-2.003";
|
2007-03-13 13:32:49 +00:00
|
|
|
src = fetchurl {
|
2007-08-20 13:11:07 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Simple-2.003.tar.gz;
|
|
|
|
sha256 = "0h8873pidhkqy7415s5sx8z614d0haxiknbjwrn65icrr2m0b8g6";
|
2007-03-13 13:32:49 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2005-01-22 00:19:27 +00:00
|
|
|
perlHTMLParser = import ../development/perl-modules/generic perl {
|
2007-10-06 19:56:23 +01:00
|
|
|
name = "HTML-Parser-3.56";
|
2005-01-22 00:19:27 +00:00
|
|
|
src = fetchurl {
|
2007-10-06 19:56:23 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.56.tar.gz;
|
|
|
|
sha256 = "0x1h42r54aq4yqpwi7mla4jzia9c5ysyqh8ir2nav833f9jm6g2h";
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
2007-10-06 19:56:23 +01:00
|
|
|
propagatedBuildInputs = [perlHTMLTagset];
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
perlHTMLTagset = import ../development/perl-modules/generic perl {
|
2007-10-06 19:56:23 +01:00
|
|
|
name = "HTML-Tagset-3.10";
|
2005-01-22 00:19:27 +00:00
|
|
|
src = fetchurl {
|
2007-10-06 19:56:23 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-3.10.tar.gz;
|
|
|
|
sha256 = "05k292qy7jzjlmmybis8nncpnwwa4jfkm7q3gq6866ydxrzds9xh";
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlHTMLTree = import ../development/perl-modules/generic perl {
|
|
|
|
name = "HTML-Tree-3.18";
|
2005-01-22 00:19:27 +00:00
|
|
|
src = fetchurl {
|
2006-09-15 16:28:53 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/HTML-Tree-3.18.tar.gz;
|
|
|
|
md5 = "6a9e4e565648c9772e7d8ec6d4392497";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
perlLocaleGettext = import ../development/perl-modules/generic perl {
|
|
|
|
name = "LocaleGettext-1.04";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gettext-1.04.tar.gz;
|
|
|
|
md5 = "578dd0c76f8673943be043435b0fbde4";
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
perlLWP = import ../development/perl-modules/generic perl {
|
2007-10-06 19:56:23 +01:00
|
|
|
name = "libwww-perl-5.808";
|
2005-01-22 00:19:27 +00:00
|
|
|
src = fetchurl {
|
2007-10-06 19:56:23 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.808.tar.gz;
|
|
|
|
sha256 = "1r5rslx68yplyd07bvjahjjrrqb56bhgg6gwdr9c16mv2s57gq12";
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
2007-10-06 19:56:23 +01:00
|
|
|
propagatedBuildInputs = [perlURI perlHTMLParser perlHTMLTagset];
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
2007-03-13 13:32:49 +00:00
|
|
|
perlModulePluggable = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Module-Pluggable-3.5";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/Module-Pluggable-3.5.tar.gz;
|
|
|
|
sha256 = "08rywi79pqn2c8zr17fmd18lpj5hm8lxd1j4v2k002ni8vhl43nv";
|
|
|
|
};
|
|
|
|
patches = [
|
|
|
|
../development/perl-modules/module-pluggable.patch
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlReturnValue = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Return-Value-1.302";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Return-Value-1.302.tar.gz;
|
|
|
|
sha256 = "0hf5rmfap49jh8dnggdpvapy5r4awgx5hdc3acc9ff0vfqav8azm";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlTermReadKey = import ../development/perl-modules/generic perl {
|
|
|
|
name = "TermReadKey-2.30";
|
2005-05-18 22:15:29 +01:00
|
|
|
src = fetchurl {
|
2006-09-15 16:28:53 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/TermReadKey-2.30.tar.gz;
|
|
|
|
md5 = "f0ef2cea8acfbcc58d865c05b0c7e1ff";
|
2005-05-18 22:15:29 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlURI = import ../development/perl-modules/generic perl {
|
|
|
|
name = "URI-1.35";
|
2006-02-17 12:03:04 +00:00
|
|
|
src = fetchurl {
|
2007-10-06 19:56:23 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-1.35.tar.gz;
|
2006-09-15 16:28:53 +01:00
|
|
|
md5 = "1a933b1114c41a25587ee59ba8376f7c";
|
2006-02-17 12:03:04 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2007-10-06 19:56:23 +01:00
|
|
|
perlXMLDOM = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-DOM-1.44";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-DOM-1.44.tar.gz;
|
|
|
|
sha256 = "1r0ampc88ni3sjpzr583k86076qg399arfm9xirv3cw49k3k5bzn";
|
|
|
|
};
|
|
|
|
# buildInputs = [libxml2];
|
|
|
|
propagatedBuildInputs = [perlXMLRegExp perlXMLParser perlLWP];
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlXMLLibXML = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-LibXML-1.58";
|
2006-02-17 12:03:04 +00:00
|
|
|
src = fetchurl {
|
2006-09-15 16:28:53 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-LibXML-1.58.tar.gz;
|
|
|
|
md5 = "4691fc436e5c0f22787f5b4a54fc56b0";
|
2006-02-17 12:03:04 +00:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
buildInputs = [libxml2];
|
|
|
|
propagatedBuildInputs = [perlXMLLibXMLCommon perlXMLSAX];
|
2006-02-17 12:03:04 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlXMLLibXMLCommon = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-LibXML-Common-0.13";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-LibXML-Common-0.13.tar.gz;
|
|
|
|
md5 = "13b6d93f53375d15fd11922216249659";
|
|
|
|
};
|
|
|
|
buildInputs = [libxml2];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlXMLNamespaceSupport = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-NamespaceSupport-1.08";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-NamespaceSupport-1.08.tar.gz;
|
|
|
|
md5 = "81bd5ae772906d0579c10061ed735dc8";
|
|
|
|
};
|
|
|
|
buildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlXMLParser = import ../development/perl-modules/XML-Parser {
|
|
|
|
inherit fetchurl perl expat;
|
|
|
|
};
|
|
|
|
|
2007-10-06 19:56:23 +01:00
|
|
|
perlXMLRegExp = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-RegExp-0.03";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-RegExp-0.03.tar.gz;
|
|
|
|
sha256 = "1gkarylvdk3mddmchcwvzq09gpvx5z26nybp38dg7mjixm5bs226";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
perlXMLSAX = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-SAX-0.12";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-SAX-0.12.tar.gz;
|
|
|
|
md5 = "bff58bd077a9693fc8cf32e2b95f571f";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlXMLNamespaceSupport];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlXMLSimple = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-Simple-2.14";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-Simple-2.14.tar.gz;
|
|
|
|
md5 = "f321058271815de28d214c8efb9091f9";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlXMLParser];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlXMLTwig = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-Twig-3.15";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-Twig-3.15.tar.gz;
|
|
|
|
md5 = "b26886b8bd19761fff37b23e4964b499";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlXMLParser];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlXMLWriter = import ../development/perl-modules/generic perl {
|
2007-05-27 14:23:27 +01:00
|
|
|
name = "XML-Writer-0.602";
|
2006-09-15 16:28:53 +01:00
|
|
|
src = fetchurl {
|
2007-05-27 14:23:27 +01:00
|
|
|
url = http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/XML-Writer-0.602.tar.gz;
|
|
|
|
sha256 = "0kdi022jcn9mwqsxy2fiwl2cjlid4x13r038jvi426fhjknl11nl";
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
2004-09-22 11:18:02 +01:00
|
|
|
};
|
|
|
|
|
2006-09-12 01:15:05 +01:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
### DEVELOPMENT / PYTHON MODULES
|
2005-12-02 23:21:40 +00:00
|
|
|
|
2006-07-22 12:22:41 +01:00
|
|
|
|
2007-05-02 12:49:18 +01:00
|
|
|
bsddb3 = import ../development/python-modules/bsddb3 {
|
|
|
|
inherit fetchurl stdenv python db4;
|
|
|
|
};
|
|
|
|
|
2007-08-09 18:33:18 +01:00
|
|
|
pil = import ../development/python-modules/pil {
|
|
|
|
inherit fetchurl stdenv python zlib libtiff libjpeg freetype;
|
|
|
|
};
|
|
|
|
|
2006-12-19 18:55:04 +00:00
|
|
|
psyco = import ../development/python-modules/psyco {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
2007-05-13 21:54:38 +01:00
|
|
|
pycairo = import ../development/python-modules/pycairo {
|
|
|
|
inherit fetchurl stdenv python pkgconfig cairo x11;
|
|
|
|
};
|
|
|
|
|
2006-12-13 20:30:09 +00:00
|
|
|
pycrypto = import ../development/python-modules/pycrypto {
|
2006-12-13 22:29:40 +00:00
|
|
|
inherit fetchurl stdenv python gmp;
|
2006-12-13 20:30:09 +00:00
|
|
|
};
|
|
|
|
|
2007-08-09 18:33:18 +01:00
|
|
|
pygame = import ../development/python-modules/pygame {
|
|
|
|
inherit fetchurl stdenv python pkgconfig SDL SDL_image
|
|
|
|
SDL_ttf;
|
|
|
|
};
|
|
|
|
|
2007-05-13 21:12:13 +01:00
|
|
|
pygobject = import ../development/python-modules/pygobject {
|
|
|
|
inherit fetchurl stdenv python pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
pygtk = import ../development/python-modules/pygtk {
|
2007-05-13 21:54:38 +01:00
|
|
|
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
2006-10-18 15:04:55 +01:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2006-02-02 14:12:31 +00:00
|
|
|
};
|
|
|
|
|
2007-05-31 14:43:13 +01:00
|
|
|
wxPython = wxPython26;
|
|
|
|
|
|
|
|
wxPython26 = import ../development/python-modules/wxPython/2.6.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
wxGTK = wxGTK26;
|
|
|
|
};
|
|
|
|
|
|
|
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
wxGTK = wxGTK28;
|
2006-02-02 15:04:04 +00:00
|
|
|
};
|
|
|
|
|
2006-12-13 18:04:03 +00:00
|
|
|
twisted = import ../development/python-modules/twisted {
|
2006-12-27 18:14:57 +00:00
|
|
|
inherit fetchurl stdenv python ZopeInterface;
|
2006-12-13 18:04:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ZopeInterface = import ../development/python-modules/ZopeInterface {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
2006-05-07 22:58:31 +01:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
### SERVERS
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
apacheHttpd = import ../servers/http/apache-httpd {
|
2006-02-28 12:01:39 +00:00
|
|
|
inherit fetchurl stdenv perl openssl db4 expat zlib;
|
2003-11-05 12:17:48 +00:00
|
|
|
sslSupport = true;
|
|
|
|
db4Support = true;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
dovecot = import ../servers/mail/dovecot {
|
|
|
|
inherit fetchurl stdenv ;
|
|
|
|
};
|
|
|
|
|
2007-08-08 21:33:36 +01:00
|
|
|
ircdHybrid = import ../servers/irc/ircd-hybrid {
|
|
|
|
inherit fetchurl stdenv openssl zlib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
jetty = import ../servers/http/jetty {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2006-01-15 12:03:00 +00:00
|
|
|
mod_python = import ../servers/http/apache-modules/mod_python {
|
|
|
|
inherit fetchurl stdenv apacheHttpd python;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
mysql = import ../servers/sql/mysql {
|
|
|
|
inherit fetchurl stdenv ncurses zlib perl;
|
|
|
|
ps = procps; /* !!! Linux only */
|
2004-08-24 12:38:40 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
mysql_jdbc = import ../servers/sql/mysql/jdbc {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv ant;
|
2005-05-24 16:32:57 +01:00
|
|
|
};
|
|
|
|
|
2006-12-28 00:48:21 +00:00
|
|
|
nagios = import ../servers/monitoring/nagios {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2007-01-08 18:55:23 +00:00
|
|
|
nagiosPluginsOfficial = import ../servers/monitoring/nagios/plugins/official {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
postgresql = import ../servers/sql/postgresql {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
2005-01-21 18:24:25 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
postgresql_jdbc = import ../servers/sql/postgresql/jdbc {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv ant;
|
2006-03-29 18:07:20 +01:00
|
|
|
};
|
|
|
|
|
2007-05-28 16:40:17 +01:00
|
|
|
samba = import ../servers/samba {
|
2007-10-12 22:08:45 +01:00
|
|
|
inherit stdenv fetchurl readline openldap pam;
|
2007-05-28 16:40:17 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
tomcat5 = import ../servers/http/tomcat {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv jdk;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
vsftpd = import ../servers/ftp/vsftpd {
|
2007-06-17 23:44:30 +01:00
|
|
|
inherit fetchurl openssl ;
|
|
|
|
stdenv = overrideGCC stdenv gcc295 ;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
xorg = recurseIntoAttrs (import ../servers/x11/xorg {
|
|
|
|
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
2007-03-30 00:02:07 +01:00
|
|
|
libxslt expat libdrm libpng zlib perl mesa mesaHeaders
|
|
|
|
xkeyboard_config;
|
2006-09-15 16:28:53 +01:00
|
|
|
});
|
|
|
|
|
2004-08-30 19:22:14 +01:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
### OS-SPECIFIC
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
# this creates a patch which can be applied to the kernel to integrate this module..
|
|
|
|
kernel_module_acerhk = import ../os-specific/linux/kernel/acerhk {
|
|
|
|
inherit fetchurl stdenv gnupatch;
|
|
|
|
kernel = kernel_2_6_21;
|
|
|
|
debug = true;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-03-06 00:12:43 +00:00
|
|
|
_915resolution = import ../os-specific/linux/915resolution {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
#nfsUtils = import ../os-specific/linux/nfs-utils {
|
2006-09-15 16:28:53 +01:00
|
|
|
# inherit fetchurl stdenv;
|
|
|
|
#};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
alsaLib = import ../os-specific/linux/alsa/library {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-12-31 14:35:49 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
alsaUtils = import ../os-specific/linux/alsa/utils {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv alsaLib ncurses gettext;
|
2005-11-29 01:43:11 +00:00
|
|
|
};
|
|
|
|
|
2007-03-24 12:01:50 +00:00
|
|
|
cramfsswap = import ../os-specific/linux/cramfsswap {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2006-12-23 23:16:04 +00:00
|
|
|
devicemapper = import ../os-specific/linux/device-mapper {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-28 10:53:12 +01:00
|
|
|
devicemapperStatic = lowPrio (appendToName "static" (import ../os-specific/linux/device-mapper {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
static = true;
|
|
|
|
}));
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
dietlibc = import ../os-specific/linux/dietlibc {
|
2006-10-26 12:27:46 +01:00
|
|
|
inherit fetchurl glibc;
|
|
|
|
# Dietlibc 0.30 doesn't compile on PPC with GCC 4.1, bus GCC 3.4 works.
|
|
|
|
stdenv = if stdenv.system == "powerpc-linux" then overrideGCC stdenv gcc34 else stdenv;
|
2005-08-28 00:05:50 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
e2fsprogs = import ../os-specific/linux/e2fsprogs {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv gettext;
|
2006-08-27 20:59:45 +01:00
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
e2fsprogsDiet = lowPrio (appendToName "diet" (import ../os-specific/linux/e2fsprogs {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl gettext;
|
2006-10-27 14:52:37 +01:00
|
|
|
stdenv = useDietLibC stdenv;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2006-08-27 20:59:45 +01:00
|
|
|
|
2007-07-20 16:51:48 +01:00
|
|
|
e3cfsprogs = import ../os-specific/linux/e3cfsprogs {
|
|
|
|
inherit stdenv fetchurl gettext;
|
|
|
|
};
|
|
|
|
|
|
|
|
ext3cowtools = import ../os-specific/linux/ext3cow-tools {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
kernel_ext3cowpatched = kernel;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
eject = import ../os-specific/linux/eject {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv gettext;
|
2006-08-06 21:40:41 +01:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
fuse = import ../os-specific/linux/fuse {
|
|
|
|
inherit fetchurl stdenv;
|
2006-08-06 21:40:41 +01:00
|
|
|
};
|
|
|
|
|
2007-05-11 23:26:18 +01:00
|
|
|
genext2fs = import ../os-specific/linux/genext2fs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-05 16:57:26 +01:00
|
|
|
hal = import ../os-specific/linux/hal {
|
|
|
|
inherit fetchurl stdenv pkgconfig python pciutils usbutils expat
|
|
|
|
libusb dbus dbus_glib libvolume_id perl perlXMLParser
|
2007-06-09 20:47:20 +01:00
|
|
|
gettext zlib eject libsmbios udev;
|
2007-06-05 16:57:26 +01:00
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-03-19 09:31:44 +00:00
|
|
|
hdparm = import ../os-specific/linux/hdparm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-09-06 16:56:39 +01:00
|
|
|
|
2007-09-02 17:54:08 +01:00
|
|
|
htop = import ../os-specific/linux/htop {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
hwdata = import ../os-specific/linux/hwdata {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-09-01 17:38:31 +01:00
|
|
|
};
|
|
|
|
|
2007-08-06 19:45:53 +01:00
|
|
|
ifplugd = import ../os-specific/linux/ifplugd {
|
|
|
|
inherit fetchurl stdenv pkgconfig libdaemon;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
initscripts = import ../os-specific/linux/initscripts {
|
2005-12-12 17:07:34 +00:00
|
|
|
inherit fetchurl stdenv popt pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-06-20 13:53:48 +01:00
|
|
|
iproute = import ../os-specific/linux/iproute {
|
|
|
|
inherit fetchurl stdenv flex bison db4;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
iputils = import ../os-specific/linux/iputils {
|
2006-11-01 13:58:46 +00:00
|
|
|
inherit fetchurl stdenv;
|
2006-10-27 14:52:37 +01:00
|
|
|
glibc = stdenv.gcc.libc;
|
2006-11-01 13:58:46 +00:00
|
|
|
kernelHeaders = stdenv.gcc.libc.kernelHeaders;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2007-02-12 13:18:00 +00:00
|
|
|
iptables = import ../os-specific/linux/iptables {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-03-03 22:58:19 +00:00
|
|
|
ipw2200fw = import ../os-specific/linux/firmware/ipw2200 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-04-04 10:18:39 +01:00
|
|
|
kbd = import ../os-specific/linux/kbd {
|
|
|
|
inherit fetchurl stdenv bison flex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
kernelHeaders = import ../os-specific/linux/kernel-headers {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-03 10:22:00 +00:00
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2007-06-07 14:46:50 +01:00
|
|
|
kernelHeaders_2_6_21 = import ../os-specific/linux/kernel-headers/2.6.21.3.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-28 15:10:46 +01:00
|
|
|
kernelHeadersArm = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "arm-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
kernelHeadersMips = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "mips-linux";
|
|
|
|
};
|
|
|
|
|
|
|
|
kernelHeadersSparc = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "sparc-linux";
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
kernelscripts = import ../os-specific/linux/kernelscripts {
|
2006-07-30 19:33:25 +01:00
|
|
|
inherit stdenv module_init_tools kernel;
|
2006-10-31 13:21:31 +00:00
|
|
|
modules = [];
|
2006-07-22 12:22:41 +01:00
|
|
|
};
|
|
|
|
|
2007-06-05 12:28:45 +01:00
|
|
|
kernel = kernel_2_6_21;
|
2006-10-31 13:21:31 +00:00
|
|
|
|
2007-09-26 01:19:26 +01:00
|
|
|
systemKernel = (if (getConfig ["kernel" "version"] "2.6.21") == "2.6.22" then
|
2007-09-28 10:56:47 +01:00
|
|
|
kernel_2_6_22 else if (getConfig ["kernel" "version"] "2.6.21") == "2.6.23" then
|
|
|
|
kernel_2_6_23 else kernel);
|
2007-09-26 01:19:26 +01:00
|
|
|
|
2007-02-08 12:34:49 +00:00
|
|
|
kernel_2_6_20 = import ../os-specific/linux/kernel/linux-2.6.20.nix {
|
2007-05-24 16:35:14 +01:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2007-02-08 12:34:49 +00:00
|
|
|
kernelPatches = [
|
2007-05-31 12:23:47 +01:00
|
|
|
{ name = "paravirt-nvidia";
|
|
|
|
patch = ../os-specific/linux/kernel/2.6.20-paravirt-nvidia.patch;
|
|
|
|
}
|
2007-02-08 12:34:49 +00:00
|
|
|
{ name = "skas-2.6.20-v9-pre9";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2;
|
|
|
|
md5 = "02e619e5b3aaf0f9768f03ac42753e74";
|
|
|
|
};
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_PROC_MM=y\n" +
|
|
|
|
"# CONFIG_PROC_MM_DUMPABLE is not set\n";
|
|
|
|
}
|
|
|
|
{ name = "fbsplash-0.9.2-r5-2.6.20-rc6";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~spock/projects/gensplash/archive/fbsplash-0.9.2-r5-2.6.20-rc6.patch;
|
|
|
|
sha256 = "11v4f85f4jnh9sbhqcyn47krb7l1czgzjw3w8wgbq14jm0sp9294";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_SPLASH=y";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2007-05-31 14:32:22 +01:00
|
|
|
kernel_2_6_21 = import ../os-specific/linux/kernel/linux-2.6.21.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
2007-07-20 16:51:48 +01:00
|
|
|
{ name = "ext3cow";
|
|
|
|
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_EXT3COW_FS=m\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_XATTR=y\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_POSIX_ACL=y\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_SECURITY=y\n";
|
|
|
|
}
|
2007-09-03 13:10:57 +01:00
|
|
|
/* commented out because only acer users have need for it..
|
|
|
|
It takes quite a while to create the patch when unpacking the kernel sources only for that task
|
|
|
|
{ name = "acerhk";
|
|
|
|
patch = kernel_module_acerhk + "/acerhk-patch.tar.bz2" ;
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_ACERHK=m\n";
|
|
|
|
}
|
|
|
|
*/
|
2007-05-31 14:32:22 +01:00
|
|
|
{ name = "paravirt-nvidia";
|
|
|
|
patch = ../os-specific/linux/kernel/2.6.20-paravirt-nvidia.patch;
|
|
|
|
}
|
|
|
|
{ name = "skas-2.6.20-v9-pre9";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2;
|
|
|
|
md5 = "02e619e5b3aaf0f9768f03ac42753e74";
|
|
|
|
};
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_PROC_MM=y\n" +
|
|
|
|
"# CONFIG_PROC_MM_DUMPABLE is not set\n";
|
|
|
|
}
|
|
|
|
{ name = "fbsplash-0.9.2-r5-2.6.21";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.21/4200_fbsplash-0.9.2-r5.patch;
|
|
|
|
sha256 = "00s8074fzsly2zpir885zqkvq267qyzg6vhsn7n1z2v1z78avxd8";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_SPLASH=y";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2007-07-20 16:25:45 +01:00
|
|
|
kernel_2_6_22 = import ../os-specific/linux/kernel/linux-2.6.22.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
2007-08-03 23:38:36 +01:00
|
|
|
/*{ name = "ext3cow";
|
2007-07-20 16:51:48 +01:00
|
|
|
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_EXT3COW_FS=m\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_XATTR=y\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_POSIX_ACL=y\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_SECURITY=y\n";
|
2007-08-03 23:38:36 +01:00
|
|
|
}*/
|
2007-07-20 16:25:45 +01:00
|
|
|
{ name = "paravirt-nvidia";
|
|
|
|
patch = ../os-specific/linux/kernel/2.6.22-paravirt-nvidia.patch;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
{ name = "skas-2.6.20-v9-pre9";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2;
|
|
|
|
md5 = "02e619e5b3aaf0f9768f03ac42753e74";
|
|
|
|
};
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_PROC_MM=y\n" +
|
|
|
|
"# CONFIG_PROC_MM_DUMPABLE is not set\n";
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
{ name = "fbsplash-0.9.2-r5-2.6.21";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.22/4200_fbsplash-0.9.2-r5.patch;
|
|
|
|
sha256 = "0822wwlf2dqsap5qslnnp0yl1nbvvvb76l73w2dd8zsyn0bqg3px";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_SPLASH=y";
|
|
|
|
}
|
2007-09-23 15:47:11 +01:00
|
|
|
]++
|
2007-09-23 19:05:11 +01:00
|
|
|
(if (getConfig ["kernel" "no_hz"] false) then [
|
2007-09-23 15:47:11 +01:00
|
|
|
{
|
|
|
|
name = "Enable-NO_HZ";
|
2007-09-23 19:05:11 +01:00
|
|
|
patch = ../lib/empty.file;
|
2007-09-25 20:03:07 +01:00
|
|
|
extraConfig = "CONFIG_NO_HZ=y\n";
|
|
|
|
}
|
|
|
|
] else [])
|
|
|
|
++
|
|
|
|
(if (getConfig ["kernel" "timer_stats"] false) then [
|
|
|
|
{
|
|
|
|
name = "Enable-TIMER_STATS";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "CONFIG_TIMER_STATS=y\n";
|
2007-09-23 15:47:11 +01:00
|
|
|
}
|
2007-09-23 19:05:11 +01:00
|
|
|
] else [])
|
2007-09-26 04:13:37 +01:00
|
|
|
++
|
|
|
|
(if (getConfig ["kernel" "usb_suspend"] false) then [
|
|
|
|
{
|
|
|
|
name = "Enable-USB_SUSPEND";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "CONFIG_USB_SUSPEND=y\n";
|
|
|
|
}
|
|
|
|
] else [])
|
|
|
|
++
|
|
|
|
(if (getConfig ["kernel" "no_irqbalance"] false) then [
|
|
|
|
{
|
|
|
|
name = "Disable-IRQBALANCE";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "# CONFIG_IRQBALANCE is not set\n";
|
|
|
|
}
|
|
|
|
] else [])
|
2007-09-27 20:12:52 +01:00
|
|
|
++
|
|
|
|
[{
|
|
|
|
|
|
|
|
name = "External-config";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig =( getConfig ["kernel" "addConfig"] "");
|
|
|
|
}]
|
2007-09-26 04:13:37 +01:00
|
|
|
|
2007-09-23 15:47:11 +01:00
|
|
|
;
|
2007-07-20 16:25:45 +01:00
|
|
|
};
|
|
|
|
|
2007-09-28 10:56:47 +01:00
|
|
|
kernel_2_6_23 = import ../os-specific/linux/kernel/linux-2.6.23.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2007-09-28 21:34:48 +01:00
|
|
|
kernelPatches =
|
|
|
|
[{
|
|
|
|
name = "patch-2.6.23-rc8";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.23-rc8.bz2;
|
|
|
|
sha256 = "1007y8z9zs32fcm1m9ic8dp01jfj7550pr0l2sbhxlwr7v6cy554";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
]
|
|
|
|
++
|
|
|
|
[
|
|
|
|
|
|
|
|
|
2007-09-28 10:56:47 +01:00
|
|
|
/*{ name = "ext3cow";
|
|
|
|
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_EXT3COW_FS=m\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_XATTR=y\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_POSIX_ACL=y\n" +
|
|
|
|
"CONFIG_EXT3COW_FS_SECURITY=y\n";
|
|
|
|
}*/
|
|
|
|
{ name = "paravirt-nvidia";
|
|
|
|
patch = ../os-specific/linux/kernel/2.6.22-paravirt-nvidia.patch;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
{ name = "skas-2.6.20-v9-pre9";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2;
|
|
|
|
md5 = "02e619e5b3aaf0f9768f03ac42753e74";
|
|
|
|
};
|
|
|
|
extraConfig =
|
|
|
|
"CONFIG_PROC_MM=y\n" +
|
|
|
|
"# CONFIG_PROC_MM_DUMPABLE is not set\n";
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
{ name = "fbsplash-0.9.2-r5-2.6.21";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.22/4200_fbsplash-0.9.2-r5.patch;
|
|
|
|
sha256 = "0822wwlf2dqsap5qslnnp0yl1nbvvvb76l73w2dd8zsyn0bqg3px";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_SPLASH=y";
|
|
|
|
}
|
|
|
|
]++
|
|
|
|
(if (getConfig ["kernel" "no_hz"] false) then [
|
|
|
|
{
|
|
|
|
name = "Enable-NO_HZ";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "CONFIG_NO_HZ=y\n";
|
|
|
|
}
|
|
|
|
] else [])
|
|
|
|
++
|
|
|
|
(if (getConfig ["kernel" "timer_stats"] false) then [
|
|
|
|
{
|
|
|
|
name = "Enable-TIMER_STATS";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "CONFIG_TIMER_STATS=y\n";
|
|
|
|
}
|
|
|
|
] else [])
|
|
|
|
++
|
|
|
|
(if (getConfig ["kernel" "usb_suspend"] false) then [
|
|
|
|
{
|
|
|
|
name = "Enable-USB_SUSPEND";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "CONFIG_USB_SUSPEND=y\n";
|
|
|
|
}
|
|
|
|
] else [])
|
|
|
|
++
|
|
|
|
(if (getConfig ["kernel" "no_irqbalance"] false) then [
|
|
|
|
{
|
|
|
|
name = "Disable-IRQBALANCE";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig = "# CONFIG_IRQBALANCE is not set\n";
|
|
|
|
}
|
|
|
|
] else [])
|
|
|
|
++
|
|
|
|
[{
|
|
|
|
|
|
|
|
name = "External-config";
|
|
|
|
patch = ../lib/empty.file;
|
|
|
|
extraConfig =( getConfig ["kernel" "addConfig"] "");
|
|
|
|
}]
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libselinux = import ../os-specific/linux/libselinux {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libsepol;
|
2005-06-23 15:02:19 +01:00
|
|
|
};
|
|
|
|
|
2007-05-28 15:10:46 +01:00
|
|
|
librsvg = import ../development/libraries/librsvg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit libxml2 pkgconfig cairo fontconfig freetype;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
|
|
|
#gtkLibs = gtkLibs210; #need gtk+
|
|
|
|
libart = gnome.libart_lgpl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
libsepol = import ../os-specific/linux/libsepol {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-08-27 18:58:49 +01:00
|
|
|
};
|
|
|
|
|
2007-06-07 23:02:12 +01:00
|
|
|
libsmbios = import ../os-specific/linux/libsmbios {
|
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
|
|
|
|
2006-11-25 21:49:42 +00:00
|
|
|
klibc = import ../os-specific/linux/klibc {
|
2007-09-26 01:19:26 +01:00
|
|
|
inherit fetchurl stdenv perl bison mktemp;
|
|
|
|
kernel = systemKernel;
|
2006-11-25 21:49:42 +00:00
|
|
|
};
|
2005-08-24 18:13:24 +01:00
|
|
|
|
2007-02-12 10:23:43 +00:00
|
|
|
kvm = kvm12;
|
|
|
|
|
|
|
|
kvm12 = import ../os-specific/linux/kvm/12.nix {
|
|
|
|
inherit fetchurl zlib e2fsprogs SDL alsaLib;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2007-05-24 17:16:43 +01:00
|
|
|
kernelHeaders = stdenv.gcc.libc.kernelHeaders;
|
2007-02-12 10:23:43 +00:00
|
|
|
};
|
|
|
|
|
2007-06-07 14:46:50 +01:00
|
|
|
kvm17 = import ../os-specific/linux/kvm/17.nix {
|
|
|
|
inherit fetchurl zlib e2fsprogs SDL alsaLib;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
kernelHeaders = kernelHeaders_2_6_21;
|
|
|
|
};
|
|
|
|
|
2006-12-22 19:22:57 +00:00
|
|
|
libcap = import ../os-specific/linux/libcap {
|
2006-12-27 18:14:57 +00:00
|
|
|
inherit fetchurl stdenv;
|
2006-12-22 19:22:57 +00:00
|
|
|
};
|
|
|
|
|
2007-01-23 10:01:16 +00:00
|
|
|
libnscd = import ../os-specific/linux/libnscd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-05 16:57:26 +01:00
|
|
|
libvolume_id = import ../os-specific/linux/libvolume_id {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-12-23 23:16:04 +00:00
|
|
|
lvm2 = import ../os-specific/linux/lvm2 {
|
|
|
|
inherit fetchurl stdenv devicemapper;
|
|
|
|
};
|
|
|
|
|
2007-06-28 10:53:12 +01:00
|
|
|
lvm2Static = lowPrio (appendToName "static" (import ../os-specific/linux/lvm2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
static = true;
|
|
|
|
devicemapper = devicemapperStatic;
|
|
|
|
}));
|
|
|
|
|
2007-01-10 21:47:03 +00:00
|
|
|
mdadm = import ../os-specific/linux/mdadm {
|
|
|
|
inherit fetchurl stdenv groff;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mingetty = import ../os-specific/linux/mingetty {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-11 15:57:15 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mkinitrd = import ../os-specific/linux/mkinitrd {
|
2004-09-18 18:23:18 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-09-15 16:28:53 +01:00
|
|
|
popt = popt110;
|
2004-02-16 10:40:45 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
module_init_tools = import ../os-specific/linux/module-init-tools {
|
2005-12-28 12:11:19 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
modutils = import ../os-specific/linux/modutils {
|
2006-10-30 13:45:48 +00:00
|
|
|
inherit fetchurl bison flex;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nettools = import ../os-specific/linux/net-tools {
|
2004-09-18 18:23:18 +01:00
|
|
|
inherit fetchurl stdenv;
|
2004-02-16 14:09:55 +00:00
|
|
|
};
|
|
|
|
|
2007-08-06 19:45:53 +01:00
|
|
|
nvidiaDrivers = import ../os-specific/linux/nvidia {
|
|
|
|
inherit stdenv fetchurl kernel coreutils;
|
|
|
|
xorg_server = xorg.xorgserver;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
2007-07-09 12:21:35 +01:00
|
|
|
gw6c = import ../os-specific/linux/gw6c {
|
|
|
|
inherit fetchurl stdenv nettools openssl procps;
|
|
|
|
};
|
2007-06-28 23:14:25 +01:00
|
|
|
|
2007-01-15 16:42:04 +00:00
|
|
|
nss_ldap = import ../os-specific/linux/nss_ldap {
|
|
|
|
inherit fetchurl stdenv openldap;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ov511 = import ../os-specific/linux/ov511 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl kernel;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2004-02-16 14:31:52 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pam = import ../os-specific/linux/pam {
|
2006-12-08 23:53:07 +00:00
|
|
|
inherit stdenv fetchurl cracklib flex;
|
|
|
|
};
|
|
|
|
|
2007-06-10 19:52:34 +01:00
|
|
|
pam_console = import ../os-specific/linux/pam_console {
|
2007-08-02 23:59:12 +01:00
|
|
|
inherit stdenv fetchurl pam autoconf automake libtool pkgconfig bison;
|
|
|
|
flex = if stdenv.system == "i686-linux" then flex else flex2533;
|
2007-06-10 19:52:34 +01:00
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-04-07 20:29:59 +01:00
|
|
|
pam_devperm = import ../os-specific/linux/pam_devperm {
|
|
|
|
inherit stdenv fetchurl pam;
|
|
|
|
};
|
|
|
|
|
2007-01-11 21:55:29 +00:00
|
|
|
pam_ldap = import ../os-specific/linux/pam_ldap {
|
|
|
|
inherit stdenv fetchurl pam openldap;
|
|
|
|
};
|
|
|
|
|
2006-12-08 23:53:07 +00:00
|
|
|
pam_login = import ../os-specific/linux/pam_login {
|
|
|
|
inherit stdenv fetchurl pam;
|
2006-12-11 01:39:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pam_unix2 = import ../os-specific/linux/pam_unix2 {
|
2006-12-11 02:35:05 +00:00
|
|
|
inherit stdenv fetchurl pam libxcrypt;
|
2005-08-28 01:19:42 +01:00
|
|
|
};
|
|
|
|
|
2007-09-23 11:59:54 +01:00
|
|
|
powertop = import ../os-specific/linux/powertop {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
procps = import ../os-specific/linux/procps {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-12-08 23:53:07 +00:00
|
|
|
pwdutils = import ../os-specific/linux/pwdutils {
|
2007-01-23 10:01:16 +00:00
|
|
|
inherit fetchurl stdenv pam openssl libnscd;
|
2006-12-08 23:53:07 +00:00
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
reiserfsprogs = import ../os-specific/linux/reiserfsprogs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
radeontools = import ../os-specific/linux/radeontools {
|
|
|
|
inherit pciutils;
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
shadowutils = import ../os-specific/linux/shadow {
|
2004-02-19 12:46:35 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-11-25 00:28:15 +00:00
|
|
|
splashutils = import ../os-specific/linux/splashutils {
|
2006-11-25 23:41:53 +00:00
|
|
|
inherit fetchurl stdenv klibc;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
libjpeg = libjpegStatic;
|
2006-11-25 00:28:15 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
squashfsTools = import ../os-specific/linux/squashfs {
|
|
|
|
inherit fetchurl stdenv zlib;
|
2004-12-16 16:34:03 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sysklogd = import ../os-specific/linux/sysklogd {
|
2005-08-20 22:49:31 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-12-28 12:11:19 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
syslinux = import ../os-specific/linux/syslinux {
|
|
|
|
inherit fetchurl stdenv nasm perl;
|
2005-08-20 22:49:31 +01:00
|
|
|
};
|
|
|
|
|
2007-02-25 09:46:29 +00:00
|
|
|
sysstat = import ../os-specific/linux/sysstat {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sysvinit = import ../os-specific/linux/sysvinit {
|
2004-08-30 12:44:51 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-23 15:27:23 +01:00
|
|
|
sysvtools = import ../os-specific/linux/sysvinit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
withoutInitTools = true;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
udev = import ../os-specific/linux/udev {
|
|
|
|
inherit fetchurl stdenv;
|
2006-11-17 20:24:42 +00:00
|
|
|
};
|
|
|
|
|
2007-03-27 12:15:10 +01:00
|
|
|
uml = import ../os-specific/linux/kernel/linux-2.6.20.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
userModeLinux = true;
|
|
|
|
};
|
|
|
|
|
2007-03-27 23:02:55 +01:00
|
|
|
umlutilities = import ../os-specific/linux/uml-utilities {
|
2007-09-03 13:10:57 +01:00
|
|
|
inherit fetchurl kernelHeaders stdenv;
|
|
|
|
tunctl = true;
|
2007-03-27 12:15:10 +01:00
|
|
|
};
|
|
|
|
|
2006-11-17 20:24:42 +00:00
|
|
|
upstart = import ../os-specific/linux/upstart {
|
|
|
|
inherit fetchurl stdenv;
|
2006-09-08 16:19:43 +01:00
|
|
|
};
|
|
|
|
|
2006-01-07 17:25:39 +00:00
|
|
|
usbutils = import ../os-specific/linux/usbutils {
|
|
|
|
inherit fetchurl stdenv libusb;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
utillinux = import ../os-specific/linux/util-linux {
|
2005-08-19 15:11:05 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-08-17 18:37:55 +01:00
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
utillinuxStatic = lowPrio (appendToName "static" (import ../os-specific/linux/util-linux {
|
2006-10-30 15:14:15 +00:00
|
|
|
inherit fetchurl;
|
|
|
|
stdenv = makeStaticBinaries stdenv;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2005-11-01 11:34:47 +00:00
|
|
|
|
2007-02-28 15:50:55 +00:00
|
|
|
wirelesstools = import ../os-specific/linux/wireless-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-04-08 21:20:21 +01:00
|
|
|
wpa_supplicant = import ../os-specific/linux/wpa_supplicant {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2006-01-28 01:13:31 +00:00
|
|
|
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
|
2007-05-15 21:00:30 +01:00
|
|
|
inherit stdenv xlibs expat libdrm;
|
2006-01-28 01:13:31 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2003-11-25 18:02:05 +00:00
|
|
|
### DATA
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-10-03 17:10:22 +01:00
|
|
|
bakoma_ttf = import ../data/fonts/bakoma-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-01-22 17:39:14 +00:00
|
|
|
corefonts = import ../data/fonts/corefonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
docbook5 = import ../data/sgml+xml/schemas/docbook-5.0 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-10-18 16:12:49 +01:00
|
|
|
docbook_xml_dtd_412 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.1.2.nix {
|
2004-04-08 15:06:15 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2007-10-18 16:12:49 +01:00
|
|
|
docbook_xml_dtd_42 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.2.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
docbook_xml_dtd_43 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.3.nix {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
2003-11-25 18:02:05 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
docbook_xml_ebnf_dtd = import ../data/sgml+xml/schemas/xml-dtd/docbook-ebnf {
|
2004-04-08 12:49:27 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2007-01-30 13:37:36 +00:00
|
|
|
docbook_xml_xslt = docbook_xsl;
|
|
|
|
|
|
|
|
docbook_xsl = import ../data/sgml+xml/stylesheets/xslt/docbook {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
docbook5_xsl = import ../data/sgml+xml/stylesheets/xslt/docbook5 {
|
2004-02-02 21:40:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-25 18:02:05 +00:00
|
|
|
};
|
|
|
|
|
2006-12-05 22:28:45 +00:00
|
|
|
freefont_ttf = import ../data/fonts/freefont-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-04-08 01:07:03 +01:00
|
|
|
manpages = import ../data/documentation/man-pages {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-08-05 14:54:42 +01:00
|
|
|
shared_mime_info = import ../data/misc/shared-mime-info {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig gettext libxml2;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2006-12-09 00:54:11 +00:00
|
|
|
iana_etc = import ../data/misc/iana-etc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-01-22 17:11:08 +00:00
|
|
|
ttf_bitstream_vera = import ../data/fonts/ttf-bitstream-vera {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-10-09 13:05:38 +01:00
|
|
|
vistafonts = import ../data/fonts/vista-fonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
|
|
|
|
2007-03-29 22:02:22 +01:00
|
|
|
xkeyboard_config = import ../data/misc/xkeyboard-config {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser;
|
|
|
|
inherit (xlibs) xkbcomp;
|
|
|
|
};
|
|
|
|
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2003-11-05 12:17:48 +00:00
|
|
|
### APPLICATIONS
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-03-14 11:18:38 +00:00
|
|
|
aangifte2005 = import ../applications/taxes/aangifte-2005 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
|
|
|
aangifte2006 = import ../applications/taxes/aangifte-2006 {
|
2007-03-14 10:57:24 +00:00
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
abiword = import ../applications/office/abiword {
|
2006-07-08 13:44:39 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig fribidi libpng popt;
|
2007-05-14 01:05:34 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2006-07-08 13:44:39 +01:00
|
|
|
inherit (gnome) libglade libgnomeprint libgnomeprintui libgnomecanvas;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
acroread = import ../applications/misc/acrobat-reader {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
inherit (xlibs) libXt libXp libXext libX11 libXinerama;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
xineramaSupport = true;
|
2007-03-04 23:46:11 +00:00
|
|
|
fastStart = getConfig ["acroread" "fastStart"] true;
|
2005-10-26 22:10:31 +01:00
|
|
|
};
|
2005-10-24 16:15:34 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
amsn = import ../applications/networking/instant-messengers/amsn {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv which tcl tk x11;
|
2007-09-07 12:05:32 +01:00
|
|
|
libstdcpp = gcc33.gcc;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
2005-12-20 00:48:38 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
batik = import ../applications/graphics/batik {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
2005-10-13 13:32:16 +01:00
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
|
|
|
#biew = import ../applications/misc/biew {
|
|
|
|
# inherit lib stdenv fetchurl ncurses;
|
|
|
|
#};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
bmp = import ../applications/audio/bmp {
|
|
|
|
inherit fetchurl stdenv pkgconfig libogg libvorbis alsaLib id3lib;
|
|
|
|
inherit (gnome) esound libglade;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2006-09-11 10:47:58 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
bmp_plugin_musepack = import ../applications/audio/bmp-plugins/musepack {
|
|
|
|
inherit fetchurl stdenv pkgconfig bmp libmpcdec taglib;
|
2006-10-23 10:13:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
bmp_plugin_wma = import ../applications/audio/bmp-plugins/wma {
|
|
|
|
inherit fetchurl stdenv pkgconfig bmp;
|
2005-04-29 15:32:31 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cdparanoiaIII = import ../applications/audio/cdparanoia {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2006-07-12 14:41:02 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cdrtools = import ../applications/misc/cdrtools {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2004-08-23 20:23:03 +01:00
|
|
|
};
|
|
|
|
|
2007-07-07 23:31:37 +01:00
|
|
|
cdrkit = import ../applications/misc/cdrkit {
|
|
|
|
inherit fetchurl stdenv cmake libcap zlib;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
chatzilla =
|
|
|
|
xulrunnerWrapper {
|
|
|
|
launcher = "chatzilla";
|
2006-10-18 11:32:45 +01:00
|
|
|
application = import ../applications/networking/irc/chatzilla {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2007-05-16 15:49:28 +01:00
|
|
|
compiz = assert mesaSupported; import ../applications/window-managers/compiz {
|
2007-02-27 02:52:28 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa;
|
|
|
|
inherit (xorg) libXcomposite libXfixes libXdamage libXrandr
|
|
|
|
libXinerama libICE libSM libXrender xextproto;
|
2007-03-01 00:40:27 +00:00
|
|
|
inherit (gnome) startupnotification libwnck GConf;
|
2007-02-27 02:52:28 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
2007-05-28 15:10:46 +01:00
|
|
|
inherit (gnome) libgnome libgnomeui metacity
|
|
|
|
glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeprint
|
|
|
|
libgnomeprintui gnomepanel;
|
|
|
|
gnomegtk = gnome.gtk;
|
|
|
|
inherit librsvg fuse;
|
2007-02-27 02:52:28 +00:00
|
|
|
};
|
2007-05-28 15:10:46 +01:00
|
|
|
|
2007-03-05 13:44:27 +00:00
|
|
|
compizExtra = import ../applications/window-managers/compiz/extra.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig compiz perl perlXMLParser dbus;
|
|
|
|
inherit (gnome) GConf;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2007-02-05 14:55:15 +00:00
|
|
|
cua = import ../applications/editors/emacs-modes/cua {
|
2004-11-28 17:28:55 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cvs = import ../applications/version-management/cvs {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv vim;
|
|
|
|
};
|
|
|
|
|
2007-05-02 12:49:18 +01:00
|
|
|
cvs2svn = import ../applications/version-management/cvs2svn {
|
|
|
|
inherit fetchurl stdenv python bsddb3 makeWrapper;
|
|
|
|
};
|
2007-09-11 20:27:25 +01:00
|
|
|
|
|
|
|
d4x = import ../applications/misc/d4x {
|
|
|
|
inherit fetchurl stdenv pkgconfig openssl boost;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
2007-05-02 12:49:18 +01:00
|
|
|
|
2005-10-04 15:25:13 +01:00
|
|
|
darcs = import ../applications/version-management/darcs {
|
2006-01-30 11:18:38 +00:00
|
|
|
inherit fetchurl stdenv ghc zlib ncurses curl;
|
2005-10-04 15:25:13 +01:00
|
|
|
};
|
|
|
|
|
2007-06-20 13:20:39 +01:00
|
|
|
dia = import ../applications/graphics/dia {
|
|
|
|
inherit stdenv fetchurl pkgconfig perl perlXMLParser
|
|
|
|
libxml2 gettext python libxml2Python docbook5 docbook_xsl
|
|
|
|
libxslt;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
|
|
|
|
2007-07-01 21:11:32 +01:00
|
|
|
djvulibre = import ../applications/misc/djvulibre {
|
|
|
|
inherit stdenv fetchurl libjpeg libtiff libungif zlib
|
|
|
|
ghostscript libpng x11 mesa;
|
|
|
|
qt = qt3;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2007-08-20 15:26:32 +01:00
|
|
|
eclipse = plugins:
|
2006-10-18 11:32:45 +01:00
|
|
|
import ../applications/editors/eclipse {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv makeWrapper jdk;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (xlibs) libXtst;
|
|
|
|
inherit plugins;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-03-17 13:29:15 +00:00
|
|
|
eclipsesdk = eclipse [];
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
eclipseSpoofax = lowPrio (appendToName "with-spoofax" (eclipse [spoofax]));
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-08-20 15:26:32 +01:00
|
|
|
elinks = import ../applications/networking/browsers/elinks {
|
2007-07-17 20:29:53 +01:00
|
|
|
inherit stdenv fetchurl python perl ncurses x11 zlib openssl;
|
|
|
|
};
|
|
|
|
|
2007-08-20 14:48:56 +01:00
|
|
|
emacs = emacs22;
|
|
|
|
|
|
|
|
emacs21 = import ../applications/editors/emacs-21 {
|
2006-12-09 00:48:15 +00:00
|
|
|
inherit fetchurl stdenv ncurses x11 Xaw3d;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
xaw3dSupport = true;
|
2005-05-26 21:09:29 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
emacs22 = import ../applications/editors/emacs-22 {
|
2007-08-20 14:48:56 +01:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
xaw3dSupport = false;
|
|
|
|
gtkGUI = true;
|
2005-08-30 08:39:38 +01:00
|
|
|
};
|
|
|
|
|
2007-02-05 14:55:15 +00:00
|
|
|
emacsUnicode = import ../applications/editors/emacs-unicode {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d libpng;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) libXaw libXpm libXft;
|
2005-10-22 12:51:30 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2007-02-05 14:55:15 +00:00
|
|
|
xawSupport = false;
|
2006-09-15 16:28:53 +01:00
|
|
|
xaw3dSupport = false;
|
|
|
|
gtkGUI = true;
|
|
|
|
xftSupport = true;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
fetchmail = import ../applications/misc/fetchmail {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-05-14 01:05:34 +01:00
|
|
|
wireshark = import ../applications/networking/sniffers/wireshark {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl pkgconfig libpcap;
|
2007-05-14 01:05:34 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2005-10-22 12:51:30 +01:00
|
|
|
};
|
|
|
|
|
2007-03-05 13:44:27 +00:00
|
|
|
feh = import ../applications/graphics/feh {
|
|
|
|
inherit fetchurl stdenv x11 imlib2 libjpeg libpng;
|
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
firefox = lowPrio (import ../applications/networking/browsers/firefox {
|
2007-03-02 19:14:24 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
2006-10-04 14:59:41 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#enableOfficialBranding = true;
|
2007-05-01 21:35:58 +01:00
|
|
|
});
|
2006-10-04 14:59:41 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
firefoxWrapper = wrapFirefox firefox;
|
2006-02-15 02:53:01 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
flac = import ../applications/audio/flac {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libogg;
|
2004-10-17 14:56:56 +01:00
|
|
|
};
|
|
|
|
|
2007-02-01 15:07:52 +00:00
|
|
|
flashplayer = flashplayer9;
|
|
|
|
|
|
|
|
flashplayer7 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-7 {
|
2004-10-17 14:56:56 +01:00
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
inherit (xlibs) libXmu;
|
2004-10-17 14:28:28 +01:00
|
|
|
};
|
|
|
|
|
2007-02-01 15:07:52 +00:00
|
|
|
flashplayer9 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
2007-01-24 18:01:00 +00:00
|
|
|
inherit fetchurl stdenv zlib alsaLib;
|
2006-11-01 14:27:20 +00:00
|
|
|
};
|
|
|
|
|
2007-09-18 00:24:58 +01:00
|
|
|
flite = import ../applications/misc/flite {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fspot = import ../applications/graphics/f-spot {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig mono
|
|
|
|
libexif libjpeg sqlite lcms libgphoto2 monoDLLFixer;
|
|
|
|
inherit (gnome) libgnome libgnomeui;
|
|
|
|
gtksharp = gtksharp1;
|
2006-03-02 19:08:26 +00:00
|
|
|
};
|
2004-09-15 12:06:15 +01:00
|
|
|
|
2007-05-13 15:22:24 +01:00
|
|
|
pidgin = import ../applications/networking/instant-messengers/pidgin {
|
2007-06-28 10:53:12 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss gtkspell GStreamer aspell gettext ncurses;
|
2007-05-14 01:51:30 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2007-05-13 15:22:24 +01:00
|
|
|
inherit (gnome) startupnotification;
|
2007-05-13 17:19:46 +01:00
|
|
|
inherit (xlibs) libXScrnSaver;
|
2007-05-13 15:22:24 +01:00
|
|
|
};
|
|
|
|
|
2007-08-17 10:31:09 +01:00
|
|
|
pidginlatex = import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex {
|
2007-07-07 20:22:28 +01:00
|
|
|
inherit fetchurl stdenv tetex pkgconfig imagemagick ghostscript pidgin;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
2007-08-17 00:16:42 +01:00
|
|
|
pidginotr = import ../applications/networking/instant-messengers/pidgin-plugins/otr {
|
|
|
|
inherit fetchurl stdenv libotr pidgin;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gimp = import ../applications/graphics/gimp {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
2007-08-31 14:14:20 +01:00
|
|
|
libtiff libjpeg libpng libexif zlib perl perlXMLParser
|
|
|
|
python pygtk gettext xlibs;
|
2007-05-14 01:05:34 +01:00
|
|
|
inherit (gnome) gtk libgtkhtml libart_lgpl;
|
2005-12-26 16:13:04 +00:00
|
|
|
};
|
|
|
|
|
2007-04-26 17:14:01 +01:00
|
|
|
git = import ../applications/version-management/git {
|
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl;
|
|
|
|
};
|
|
|
|
|
2007-05-16 15:49:28 +01:00
|
|
|
gnash = assert mesaSupported; import ../applications/video/gnash {
|
2006-09-24 13:23:13 +01:00
|
|
|
inherit fetchurl stdenv SDL SDL_mixer GStreamer
|
|
|
|
libogg libxml2 libjpeg mesa libpng;
|
|
|
|
inherit (xlibs) libX11 libXext libXi libXmu;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gphoto2 = import ../applications/misc/gphoto2 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt;
|
2005-09-14 17:23:02 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gqview = import ../applications/graphics/gqview {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng;
|
|
|
|
inherit (gtkLibs) gtk;
|
2006-02-10 12:15:04 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
GStreamer = import ../applications/audio/GStreamer {
|
2006-09-24 13:23:13 +01:00
|
|
|
inherit fetchurl stdenv perl bison flex pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-08-14 15:09:58 +01:00
|
|
|
gv = import ../applications/misc/gv {
|
|
|
|
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
|
|
|
};
|
|
|
|
|
2007-02-05 14:55:15 +00:00
|
|
|
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-11-03 20:00:43 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
hello = import ../applications/misc/hello/ex-1 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2007-07-01 23:31:24 +01:00
|
|
|
imagemagick = import ../applications/graphics/ImageMagick {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz
|
|
|
|
ghostscript libjpeg libpng libtiff libxml2 zlib;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
inkscape = import ../applications/graphics/inkscape {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib
|
|
|
|
popt libxml2 libxslt libpng boehmgc fontconfig gtkmm
|
|
|
|
glibmm libsigcxx;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (xlibs) libXft;
|
2006-07-22 12:43:46 +01:00
|
|
|
};
|
|
|
|
|
2007-07-17 20:29:53 +01:00
|
|
|
ion3 = import ../applications/window-managers/ion-3 {
|
|
|
|
inherit fetchurl stdenv x11 gettext groff;
|
|
|
|
lua = lua5;
|
|
|
|
};
|
|
|
|
|
2007-08-05 19:24:36 +01:00
|
|
|
irssi = import ../applications/networking/irc/irssi {
|
|
|
|
inherit stdenv fetchurl pkgconfig ncurses openssl;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-03-14 10:57:24 +00:00
|
|
|
joe = import ../applications/editors/joe {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
kuickshow = import ../applications/graphics/kuickshow {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv kdelibs arts libpng libjpeg libtiff libungif imlib expat perl;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
qt = qt3;
|
2005-11-22 12:05:36 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
lame = import ../applications/audio/lame {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ;
|
2005-11-22 22:39:09 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
links = import ../applications/networking/browsers/links {
|
2005-01-19 21:04:43 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
lynx = import ../applications/networking/browsers/lynx {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses openssl;
|
2005-01-19 22:12:34 +00:00
|
|
|
};
|
2005-01-19 21:04:43 +00:00
|
|
|
|
2007-09-26 01:19:26 +01:00
|
|
|
maxima = import ../applications/misc/maxima {
|
|
|
|
inherit fetchurl stdenv clisp;
|
|
|
|
};
|
|
|
|
|
2007-08-08 14:36:58 +01:00
|
|
|
mercurial = import ../applications/version-management/mercurial {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
monodevelop = import ../applications/editors/monodevelop {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv file mono gtksourceviewsharp
|
|
|
|
gtkmozembedsharp monodoc perl perlXMLParser pkgconfig;
|
|
|
|
inherit (gnome) gnomevfs libbonobo libglade libgnome GConf glib gtk;
|
|
|
|
mozilla = firefox;
|
|
|
|
gtksharp = gtksharp2;
|
2005-10-21 11:39:01 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
monodoc = import ../applications/editors/monodoc {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv mono pkgconfig;
|
|
|
|
gtksharp = gtksharp1;
|
2006-02-02 14:12:31 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mozilla = import ../applications/networking/browsers/mozilla {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl pkgconfig stdenv perl zip;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
2006-02-02 15:04:04 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
MPlayer = import ../applications/video/MPlayer {
|
2006-12-05 22:28:45 +00:00
|
|
|
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf;
|
|
|
|
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
2003-11-11 15:57:15 +00:00
|
|
|
alsaSupport = true;
|
|
|
|
alsa = alsaLib;
|
2005-02-16 16:18:43 +00:00
|
|
|
theoraSupport = true;
|
2005-08-24 16:02:30 +01:00
|
|
|
cacaSupport = true;
|
2005-10-29 20:07:27 +01:00
|
|
|
xineramaSupport = true;
|
2006-04-18 19:46:36 +01:00
|
|
|
randrSupport = true;
|
2003-11-11 15:01:07 +00:00
|
|
|
};
|
|
|
|
|
2007-09-18 00:24:58 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
|
|
|
# should be the same as the nix expression above except support for esound :)
|
|
|
|
/*
|
|
|
|
MPlayer_new_config = import ../applications/video/MPlayer/newconfig.nix {
|
|
|
|
inherit fetchurl stdenv freetype x11 zlib freefont_ttf lib;
|
|
|
|
inherit (xlibs) libX11 xextproto;
|
|
|
|
|
|
|
|
# optional features
|
|
|
|
inherit alsaLib libtheora libcaca;
|
|
|
|
inherit (gnome) esound;
|
|
|
|
inherit (xlibs) libXv libXinerama;
|
|
|
|
inherit (xlibs) libXrandr; # FIXME does this option exist? I couldn't find it as configure option
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
MPlayerPlugin = import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
|
2007-02-27 15:15:20 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig firefox gettext;
|
2004-10-17 14:13:24 +01:00
|
|
|
inherit (xlibs) libXpm;
|
2005-05-18 22:15:29 +01:00
|
|
|
# !!! should depend on MPlayer
|
2003-11-13 13:11:38 +00:00
|
|
|
};
|
|
|
|
|
2007-09-04 21:06:18 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
|
|
|
#mrxvt = import ../applications/misc/mrxvt {
|
|
|
|
#inherit lib fetchurl stdenv;
|
|
|
|
#inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
|
|
|
|
#};
|
|
|
|
|
2007-08-06 16:09:38 +01:00
|
|
|
mutt = import ../applications/networking/mailreaders/mutt {
|
|
|
|
inherit fetchurl stdenv ncurses which openssl;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
msmtp = import ../applications/networking/msmtp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mythtv = import ../applications/video/mythtv {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv which qt3 x11 lame zlib mesa;
|
|
|
|
inherit (xlibs) libX11 libXinerama libXv libXxf86vm libXrandr libXmu;
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nano = import ../applications/editors/nano {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses gettext;
|
2006-01-20 11:30:24 +00:00
|
|
|
};
|
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
nanoDiet = lowPrio (appendToName "diet" (import ../applications/editors/nano {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl gettext;
|
|
|
|
ncurses = ncursesDiet;
|
2006-10-27 14:52:37 +01:00
|
|
|
stdenv = useDietLibC stdenv;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2005-03-12 12:53:03 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
nedit = import ../applications/editors/nedit {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
motif = lesstif;
|
2004-01-21 09:34:19 +00:00
|
|
|
};
|
|
|
|
|
2007-02-05 14:55:15 +00:00
|
|
|
nxml = import ../applications/editors/emacs-modes/nxml {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-01-19 22:51:27 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
openoffice = import ../applications/office/openoffice {
|
2007-09-05 14:56:12 +01:00
|
|
|
inherit fetchurl stdenv pam python tcsh libxslt
|
2006-09-15 16:28:53 +01:00
|
|
|
perl perlArchiveZip perlCompressZlib zlib libjpeg
|
|
|
|
expat pkgconfig freetype fontconfig libwpd libxml2
|
|
|
|
db4 sablotron curl libsndfile flex zip unzip libmspack
|
2007-09-10 15:03:01 +01:00
|
|
|
getopt file neon cairo which icu boost jdk ant hsqldb
|
|
|
|
cups;
|
2007-09-19 09:31:23 +01:00
|
|
|
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
|
2004-04-05 14:34:13 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2006-10-02 17:18:04 +01:00
|
|
|
bison = bison23;
|
2003-11-11 16:13:13 +00:00
|
|
|
};
|
2007-07-19 11:32:09 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
opera = import ../applications/networking/browsers/opera {
|
|
|
|
inherit fetchurl stdenv zlib;
|
2006-09-29 10:06:56 +01:00
|
|
|
inherit (xlibs) libX11 libSM libICE libXt libXext;
|
2006-08-13 10:46:54 +01:00
|
|
|
qt = qt3;
|
2006-09-29 10:06:56 +01:00
|
|
|
#motif = lesstif;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
2006-08-13 10:46:54 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pan = import ../applications/networking/newsreaders/pan {
|
2007-04-27 23:41:35 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl pcre gmime gettext;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
spellChecking = false;
|
2005-09-07 15:57:30 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pinfo = import ../applications/misc/pinfo {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2005-09-07 15:57:30 +01:00
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
# perhaps there are better apps for this task? It's how I had configured my preivous system.
|
|
|
|
# And I don't want to rewrite all rules
|
|
|
|
procmail = import ../applications/misc/procmail {
|
|
|
|
inherit fetchurl stdenv autoconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
pstree = import ../applications/misc/pstree {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-08-09 20:58:39 +01:00
|
|
|
pythonmagick = import ../applications/graphics/PythonMagick {
|
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick boost;
|
|
|
|
python = python25;
|
|
|
|
};
|
|
|
|
|
2007-08-03 23:38:36 +01:00
|
|
|
ratpoison = import ../applications/window-managers/ratpoison {
|
|
|
|
inherit fetchurl stdenv fontconfig readline;
|
|
|
|
inherit (xlibs) libX11 inputproto libXt libXpm libXft
|
|
|
|
libXtst xextproto;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
rcs = import ../applications/version-management/rcs {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2005-03-11 10:46:20 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
RealPlayer = import ../applications/video/RealPlayer {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
2005-09-11 23:39:06 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
rsync = import ../applications/networking/sync/rsync {
|
2005-08-30 20:41:10 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-05 09:25:23 +01:00
|
|
|
rxvt = import ../applications/misc/rxvt {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXt libX11;
|
2007-09-12 16:49:28 +01:00
|
|
|
};
|
2007-09-12 11:56:56 +01:00
|
|
|
|
|
|
|
sbagen = import ../applications/misc/sbagen {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
skype_linux = import ../applications/networking/skype {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit glibc alsaLib freetype fontconfig libsigcxx gcc41;
|
|
|
|
inherit (xlibs) libSM libICE libXi libXrender libXrandr libXfixes libXcursor
|
|
|
|
libXinerama libXext libX11;
|
2007-09-05 09:25:23 +01:00
|
|
|
};
|
|
|
|
|
2007-02-25 22:25:25 +00:00
|
|
|
slim = import ../applications/display-managers/slim {
|
2007-06-05 12:25:59 +01:00
|
|
|
inherit fetchurl stdenv x11 libjpeg libpng freetype pam;
|
2007-02-25 22:25:25 +00:00
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
spoofax = import ../applications/editors/eclipse/plugins/spoofax {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
2003-11-27 12:09:22 +00:00
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
subversion = subversion14;
|
2005-11-13 15:03:49 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
subversion13 = import ../applications/version-management/subversion-1.3.x {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv openssl db4 expat swig zlib;
|
|
|
|
localServer = true;
|
|
|
|
httpServer = false;
|
|
|
|
sslSupport = true;
|
|
|
|
compressionSupport = true;
|
|
|
|
httpd = apacheHttpd;
|
2006-01-31 14:22:08 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
subversion14 = import ../applications/version-management/subversion-1.4.x {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv apr aprutil neon expat swig zlib;
|
|
|
|
bdbSupport = true;
|
|
|
|
httpServer = false;
|
|
|
|
sslSupport = true;
|
|
|
|
compressionSupport = true;
|
|
|
|
httpd = apacheHttpd;
|
2004-04-06 18:47:34 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
subversionWithJava = import ../applications/version-management/subversion-1.2.x {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv openssl db4 expat jdk;
|
|
|
|
swig = swigWithJava;
|
|
|
|
localServer = true;
|
|
|
|
httpServer = false;
|
|
|
|
sslSupport = true;
|
|
|
|
httpd = apacheHttpd;
|
|
|
|
javahlBindings = true;
|
2005-11-27 21:06:08 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sylpheed = import ../applications/networking/mailreaders/sylpheed {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig openssl gpgme;
|
2007-05-14 01:29:30 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2006-09-15 16:28:53 +01:00
|
|
|
sslSupport = true;
|
|
|
|
gpgSupport = true;
|
2006-01-26 20:45:11 +00:00
|
|
|
};
|
|
|
|
|
2007-07-05 21:33:32 +01:00
|
|
|
thunderbird = thunderbird2;
|
|
|
|
|
|
|
|
thunderbird1 = import ../applications/networking/mailreaders/thunderbird-1.x {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#enableOfficialBranding = true;
|
2004-09-25 21:27:40 +01:00
|
|
|
};
|
|
|
|
|
2007-06-02 21:32:24 +01:00
|
|
|
thunderbird2 = import ../applications/networking/mailreaders/thunderbird-2.x {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#enableOfficialBranding = true;
|
|
|
|
};
|
|
|
|
|
2007-09-23 17:28:56 +01:00
|
|
|
timidity = import ../tools/misc/timidity {
|
|
|
|
inherit fetchurl stdenv alsaLib;
|
|
|
|
};
|
2007-09-23 15:47:11 +01:00
|
|
|
|
2007-08-10 09:21:31 +01:00
|
|
|
unison = import ../applications/networking/sync/unison {
|
|
|
|
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
|
|
|
|
inherit (xorg) xset fontschumachermisc;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
valknut = import ../applications/networking/p2p/valknut {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl x11 libxml2 libjpeg libpng openssl dclib;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
2006-02-24 21:42:57 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
vim = import ../applications/editors/vim {
|
2007-08-10 20:53:30 +01:00
|
|
|
inherit fetchurl stdenv ncurses lib;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
2005-11-07 23:02:17 +00:00
|
|
|
|
2007-05-01 21:35:58 +01:00
|
|
|
vimDiet = lowPrio (appendToName "diet" (import ../applications/editors/vim-diet {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl;
|
|
|
|
ncurses = ncursesDiet;
|
2006-10-27 14:52:37 +01:00
|
|
|
stdenv = useDietLibC stdenv;
|
2007-05-01 21:35:58 +01:00
|
|
|
}));
|
2004-10-13 15:21:20 +01:00
|
|
|
|
2007-08-10 20:53:30 +01:00
|
|
|
vimHugeX = import ../applications/editors/vim {
|
|
|
|
inherit fetchurl stdenv lib ncurses pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXext libSM libXpm
|
|
|
|
libXt libXaw libXau;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
2007-08-15 22:17:11 +01:00
|
|
|
flags = ["hugeFeatures" "gtkGUI" "x11Support"];
|
2007-08-10 20:53:30 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
vlc = import ../applications/video/vlc {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl x11 wxGTK
|
|
|
|
zlib mpeg2dec a52dec libmad ffmpeg
|
|
|
|
libdvdread libdvdnav libdvdcss;
|
|
|
|
inherit (xlibs) libXv;
|
|
|
|
alsa = alsaLib;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
w3m = import ../applications/networking/browsers/w3m {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses openssl boehmgc gettext zlib;
|
|
|
|
graphicsSupport = false;
|
|
|
|
inherit (gtkLibs1x) gdkpixbuf;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
# I'm keen on wmiimenu only >wmii-3.5 no longer has it...
|
|
|
|
wmiimenu = import ../applications/window-managers/wmii31 {
|
2007-03-18 23:58:22 +00:00
|
|
|
libixp = libixp03;
|
2007-09-03 13:10:57 +01:00
|
|
|
inherit fetchurl /* fetchhg */ stdenv gawk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
wmiiSnap = import ../applications/window-managers/wmii {
|
|
|
|
libixp = libixp_for_wmii;
|
|
|
|
inherit fetchurl /* fetchhg */ stdenv gawk;
|
|
|
|
inherit (xlibs) libX11;
|
2007-03-18 23:58:22 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
wrapFirefox = firefox: import ../applications/networking/browsers/firefox-wrapper {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv firefox;
|
2007-07-04 02:35:29 +01:00
|
|
|
plugins = []
|
2007-05-20 21:24:43 +01:00
|
|
|
++ lib.optional (system == "i686-linux") flashplayer
|
2006-09-24 19:38:12 +01:00
|
|
|
# RealPlayer is disabled by default for legal reasons.
|
2007-05-20 21:24:43 +01:00
|
|
|
++ lib.optional (system != "i686-linux" && getConfig ["firefox" "enableRealPlayer"] false) RealPlayer
|
2007-07-04 02:35:29 +01:00
|
|
|
++ lib.optional (getConfig ["firefox" "enableMPlayer"] true) MPlayerPlugin
|
2007-05-20 21:24:43 +01:00
|
|
|
++ lib.optional (supportsJDK && jrePlugin ? mozillaPlugin) jrePlugin;
|
2004-10-06 12:32:20 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xara = import ../applications/graphics/xara {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv autoconf automake libtool gettext cvs wxGTK
|
|
|
|
pkgconfig libxml2 zip libpng libjpeg;
|
2005-12-13 00:13:01 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xawtv = import ../applications/video/xawtv {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv ncurses libjpeg perl;
|
|
|
|
inherit (xlibs) libX11 libXt libXft xproto libFS fontsproto libXaw libXpm libXext libSM libICE xextproto;
|
2005-12-22 10:49:43 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xchat = import ../applications/networking/irc/xchat {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig tcl;
|
2007-05-14 01:13:48 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2003-12-08 11:56:50 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xchm = import ../applications/misc/xchm {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv wxGTK chmlib;
|
2004-10-06 13:06:23 +01:00
|
|
|
};
|
|
|
|
|
2006-12-08 01:17:21 +00:00
|
|
|
xfig = import ../applications/graphics/xfig {
|
2006-12-27 18:14:57 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2006-12-08 01:17:21 +00:00
|
|
|
inherit fetchurl makeWrapper x11 Xaw3d libpng libjpeg;
|
|
|
|
inherit (xlibs) imake libXpm libXmu libXi libXp;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xineUI = import ../applications/video/xine-ui {
|
2007-08-14 13:58:09 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 xineLib libpng;
|
2004-12-06 07:36:56 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xmms = import ../applications/audio/xmms {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl libogg libvorbis alsaLib;
|
|
|
|
inherit (gnome) esound;
|
|
|
|
inherit (gtkLibs1x) glib gtk;
|
|
|
|
stdenv = overrideGCC stdenv gcc34; # due to problems with gcc 4.x
|
2004-10-06 14:17:06 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xpdf = import ../applications/misc/xpdf {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv x11 freetype t1lib;
|
|
|
|
motif = lesstif;
|
2007-10-03 13:16:48 +01:00
|
|
|
base14Fonts = "${ghostscript}/share/ghostscript/fonts";
|
2006-08-30 00:40:29 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xterm = import ../applications/misc/xterm {
|
2004-07-30 13:57:27 +01:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
|
2004-07-30 13:57:27 +01:00
|
|
|
};
|
2004-02-13 14:42:28 +00:00
|
|
|
|
2007-08-10 19:54:44 +01:00
|
|
|
xmacro = import ../tools/X11/xmacro {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXi
|
|
|
|
libXtst xextproto inputproto;
|
|
|
|
};
|
|
|
|
|
2007-06-25 22:46:18 +01:00
|
|
|
xmove = import ../applications/misc/xmove {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXi imake libXau;
|
|
|
|
inherit (xorg) xauth;
|
|
|
|
};
|
2006-12-01 16:44:26 +00:00
|
|
|
xvidcap = import ../applications/video/xvidcap {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) scrollkeeper libglade;
|
|
|
|
inherit (xlibs) libXmu libXext;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zapping = import ../applications/video/zapping {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl python
|
|
|
|
gettext zvbi libjpeg libpng x11
|
|
|
|
rte perlXMLParser;
|
|
|
|
inherit (gnome) scrollkeeper libgnomeui libglade esound;
|
|
|
|
inherit (xlibs) libXv libXmu libXext;
|
|
|
|
teletextSupport = true;
|
|
|
|
jpegSupport = true;
|
|
|
|
pngSupport = true;
|
|
|
|
recordingSupport = true;
|
2005-12-03 00:04:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-04-01 17:02:53 +01:00
|
|
|
### GAMES
|
|
|
|
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
exult = import ../games/exult {
|
|
|
|
inherit fetchurl SDL SDL_mixer zlib libpng unzip;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2006-08-09 00:39:03 +01:00
|
|
|
};
|
|
|
|
|
2007-05-14 22:47:11 +01:00
|
|
|
gemrb = import ../games/gemrb {
|
|
|
|
inherit fetchurl stdenv SDL openal freealut zlib libpng python;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
quake3demo = import ../games/quake3/wrapper {
|
|
|
|
name = "quake3-demo";
|
2006-10-11 17:45:55 +01:00
|
|
|
description = "Demo of Quake 3 Arena, a classic first-person shooter";
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv mesa;
|
|
|
|
game = quake3game;
|
|
|
|
paks = [quake3demodata];
|
2006-01-26 14:43:05 +00:00
|
|
|
};
|
|
|
|
|
2006-01-27 23:51:36 +00:00
|
|
|
quake3demodata = import ../games/quake3/demo {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
quake3game = import ../games/quake3/game {
|
|
|
|
inherit fetchurl stdenv x11 SDL mesa openal;
|
|
|
|
};
|
|
|
|
|
2007-01-08 21:19:15 +00:00
|
|
|
rogue = import ../games/rogue {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
scummvm = import ../games/scummvm {
|
2007-05-03 17:13:14 +01:00
|
|
|
inherit fetchurl stdenv SDL zlib mpeg2dec;
|
2004-06-09 19:06:29 +01:00
|
|
|
};
|
|
|
|
|
2007-08-09 18:33:18 +01:00
|
|
|
/*tpm = import ../games/thePenguinMachine {
|
|
|
|
inherit stdenv fetchurl pil pygame SDL;
|
|
|
|
python24 = python;
|
|
|
|
};*/
|
|
|
|
|
2006-01-30 11:44:39 +00:00
|
|
|
ut2004demo = import ../games/ut2004demo {
|
2004-06-09 19:06:29 +01:00
|
|
|
inherit fetchurl stdenv xlibs mesa;
|
|
|
|
};
|
2004-06-09 18:59:46 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zoom = import ../games/zoom {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv perl expat freetype;
|
|
|
|
inherit (xlibs) xlibs;
|
2006-09-12 00:06:26 +01:00
|
|
|
};
|
|
|
|
|
2006-10-28 23:28:35 +01:00
|
|
|
keen4 = import ../games/keen4 {
|
|
|
|
inherit fetchurl stdenv dosbox unzip;
|
|
|
|
};
|
|
|
|
|
2004-04-01 17:02:53 +01:00
|
|
|
|
2007-02-28 16:18:58 +00:00
|
|
|
### DESKTOP ENVIRONMENTS
|
|
|
|
|
|
|
|
|
|
|
|
gnome = recurseIntoAttrs (import ../desktops/gnome {
|
|
|
|
inherit fetchurl stdenv pkgconfig audiofile
|
|
|
|
flex bison popt zlib libxml2 libxslt
|
2007-10-18 22:08:47 +01:00
|
|
|
perl perlXMLParser docbook_xml_dtd_42 docbook_xml_dtd_412
|
|
|
|
gettext x11 libtiff libjpeg libpng gtkLibs xlibs bzip2
|
|
|
|
libcm python dbus_glib ncurses which libxml2Python
|
2007-03-05 18:52:31 +00:00
|
|
|
iconnamingutils;
|
2007-02-28 16:18:58 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
kdelibs = import ../desktops/kde/kdelibs {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv zlib perl openssl pcre pkgconfig
|
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
2007-09-21 14:07:25 +01:00
|
|
|
expat freetype bzip2 cups;
|
2007-02-28 16:18:58 +00:00
|
|
|
inherit (xlibs) libX11 libXt libXext;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2007-08-05 14:54:42 +01:00
|
|
|
kdelibs4 = import ../desktops/kde-4/kdelibs {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv zlib perl openssl pcre pkgconfig
|
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
|
|
|
expat freetype bzip2 cmake strigi shared_mime_info alsaLib libungif cups;
|
|
|
|
inherit (xlibs)
|
|
|
|
inputproto kbproto scrnsaverproto xextproto xf86miscproto
|
|
|
|
xf86vidmodeproto xineramaproto xproto libICE libX11 libXau libXcomposite
|
|
|
|
libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXpm
|
|
|
|
libXrandr libXrender libXScrnSaver libXt libXtst libXv libXxf86misc
|
|
|
|
libxkbfile;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
|
|
|
kdepimlibs4 = import ../desktops/kde-4/kdepimlibs {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv zlib perl openssl pcre pkgconfig
|
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
2007-08-08 14:20:18 +01:00
|
|
|
expat freetype bzip2 cmake strigi shared_mime_info alsaLib libungif cups
|
|
|
|
boost gpgme;
|
2007-08-05 14:54:42 +01:00
|
|
|
inherit (xlibs)
|
|
|
|
inputproto kbproto scrnsaverproto xextproto xf86miscproto
|
|
|
|
xf86vidmodeproto xineramaproto xproto libICE libX11 libXau libXcomposite
|
|
|
|
libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXpm
|
|
|
|
libXrandr libXrender libXScrnSaver libXt libXtst libXv libXxf86misc
|
|
|
|
libxkbfile;
|
|
|
|
qt = qt4;
|
|
|
|
kdelibs = kdelibs4;
|
|
|
|
};
|
|
|
|
|
2007-08-08 14:20:18 +01:00
|
|
|
kdepim4 = import ../desktops/kde-4/kdepim {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv zlib perl openssl pcre pkgconfig
|
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool libusb
|
|
|
|
expat freetype bzip2 cmake strigi shared_mime_info alsaLib libungif cups
|
|
|
|
mesa gpgme boost;
|
|
|
|
inherit (xlibs)
|
|
|
|
inputproto kbproto scrnsaverproto xextproto xf86miscproto
|
|
|
|
xf86vidmodeproto xineramaproto xproto libICE libX11 libXau libXcomposite
|
|
|
|
libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXpm
|
|
|
|
libXrandr libXrender libXScrnSaver libXt libXtst libXv libXxf86misc
|
|
|
|
libxkbfile libXinerama;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
qt = qt4;
|
|
|
|
kdelibs = kdelibs4;
|
|
|
|
kdepimlibs = kdepimlibs4;
|
|
|
|
};
|
|
|
|
|
2007-08-05 14:54:42 +01:00
|
|
|
kdebase4 = import ../desktops/kde-4/kdebase {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv zlib perl openssl pcre pkgconfig
|
2007-08-08 14:20:18 +01:00
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool libusb
|
|
|
|
expat freetype bzip2 cmake strigi shared_mime_info alsaLib libungif cups
|
|
|
|
mesa;
|
2007-08-05 14:54:42 +01:00
|
|
|
inherit (xlibs)
|
|
|
|
inputproto kbproto scrnsaverproto xextproto xf86miscproto
|
|
|
|
xf86vidmodeproto xineramaproto xproto libICE libX11 libXau libXcomposite
|
|
|
|
libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXpm
|
|
|
|
libXrandr libXrender libXScrnSaver libXt libXtst libXv libXxf86misc
|
2007-08-08 14:20:18 +01:00
|
|
|
libxkbfile libXinerama;
|
|
|
|
inherit (gtkLibs) glib;
|
2007-08-05 14:54:42 +01:00
|
|
|
qt = qt4;
|
|
|
|
kdelibs = kdelibs4;
|
2007-08-08 14:20:18 +01:00
|
|
|
kdepimlibs = kdepimlibs4;
|
2007-08-05 14:54:42 +01:00
|
|
|
};
|
|
|
|
|
2007-03-26 16:49:38 +01:00
|
|
|
kdebase = import ../desktops/kde/kdebase {
|
|
|
|
inherit
|
2007-03-29 18:56:33 +01:00
|
|
|
fetchurl stdenv pkgconfig x11 xlibs zlib libpng libjpeg perl
|
2007-03-26 16:49:38 +01:00
|
|
|
kdelibs openssl bzip2 fontconfig;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2007-02-28 16:18:58 +00:00
|
|
|
|
2004-02-13 14:42:28 +00:00
|
|
|
### MISC
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
atari800 = import ../misc/emulators/atari800 {
|
2006-08-12 23:33:51 +01:00
|
|
|
inherit fetchurl stdenv unzip zlib SDL;
|
2004-11-03 21:28:03 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ataripp = import ../misc/emulators/atari++ {
|
2004-11-03 21:28:03 +00:00
|
|
|
inherit fetchurl stdenv x11 SDL;
|
|
|
|
};
|
2007-09-20 12:31:31 +01:00
|
|
|
|
|
|
|
auctex = import ../misc/tex/auctex {
|
|
|
|
inherit stdenv fetchurl emacs tetex;
|
|
|
|
};
|
2004-11-03 21:28:03 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
busybox = import ../misc/busybox {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
cups = import ../misc/cups {
|
2007-04-02 17:22:10 +01:00
|
|
|
inherit fetchurl stdenv zlib libjpeg libpng libtiff pam;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
dosbox = import ../misc/emulators/dosbox {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv SDL;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
generator = import ../misc/emulators/generator {
|
2007-06-09 21:45:01 +01:00
|
|
|
inherit fetchurl stdenv SDL nasm zlib bzip2 libjpeg;
|
2005-12-03 01:33:18 +00:00
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
ghostscript = import ../misc/ghostscript {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libjpeg libpng zlib x11;
|
|
|
|
x11Support = false;
|
2005-12-03 02:32:02 +00:00
|
|
|
};
|
|
|
|
|
2007-08-14 15:09:58 +01:00
|
|
|
ghostscriptX = lowPrio (appendToName "with-X" (import ../misc/ghostscript {
|
|
|
|
inherit fetchurl stdenv libjpeg libpng zlib x11;
|
|
|
|
x11Support = true;
|
|
|
|
}));
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2007-09-04 14:35:02 +01:00
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
2007-09-03 13:10:57 +01:00
|
|
|
#gxemul = (import ../misc/gxemul) {
|
|
|
|
#inherit lib stdenv fetchurl;
|
|
|
|
#inherit (xlibs) libX11;
|
|
|
|
#};
|
2007-10-03 23:38:09 +01:00
|
|
|
|
2007-10-06 19:17:47 +01:00
|
|
|
# using the new configuration style proposal which is unstable
|
2007-10-09 10:56:39 +01:00
|
|
|
/*
|
2007-10-03 23:38:09 +01:00
|
|
|
jackaudio = import ../misc/jackaudio {
|
2007-10-05 08:26:23 +01:00
|
|
|
inherit mkDerivationByConfiguration
|
2007-10-03 23:38:09 +01:00
|
|
|
ncurses lib stdenv fetchurl;
|
|
|
|
flags = [ "posix_shm" "timestamps"];
|
2007-10-06 19:17:47 +01:00
|
|
|
};
|
2007-10-09 10:56:39 +01:00
|
|
|
*/
|
2007-08-14 15:09:58 +01:00
|
|
|
|
2007-08-04 16:12:14 +01:00
|
|
|
keynav = import ../tools/X11/keynav {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 xextproto libXtst
|
|
|
|
imake libXi libXext;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
lazylist = import ../misc/tex/lazylist {
|
2006-01-27 20:51:41 +00:00
|
|
|
inherit fetchurl stdenv tetex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
linuxwacom = import ../misc/linuxwacom {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXi;
|
2006-01-27 20:51:41 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
martyr = import ../development/libraries/martyr {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv fetchurl apacheAnt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
maven = import ../misc/maven/maven-1.0.nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv fetchurl jdk;
|
2005-04-29 14:23:15 +01:00
|
|
|
};
|
|
|
|
|
2007-03-29 10:24:14 +01:00
|
|
|
nix = import ../tools/package-management/nix {
|
2006-11-14 15:55:57 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2;
|
|
|
|
aterm = aterm242fixes;
|
2006-10-13 13:58:13 +01:00
|
|
|
db4 = db44;
|
2006-05-01 20:16:41 +01:00
|
|
|
};
|
|
|
|
|
2007-03-29 10:24:14 +01:00
|
|
|
nixStatic = import ../tools/package-management/nix-static {
|
2006-11-14 15:55:57 +00:00
|
|
|
inherit fetchurl stdenv perl curl autoconf automake libtool;
|
|
|
|
aterm = aterm242fixes;
|
2006-08-05 12:02:17 +01:00
|
|
|
bdb = db4;
|
|
|
|
};
|
|
|
|
|
2006-11-17 12:49:46 +00:00
|
|
|
# The bleeding edge.
|
2007-03-29 10:24:14 +01:00
|
|
|
nixUnstable = import ../tools/package-management/nix/unstable.nix {
|
2007-03-01 15:44:23 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
2006-11-17 12:49:46 +00:00
|
|
|
aterm = aterm242fixes;
|
|
|
|
db4 = db45;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-09-01 19:15:19 +01:00
|
|
|
ntfs3g = import ../misc/ntfs-3g {
|
2007-09-12 22:32:16 +01:00
|
|
|
inherit fetchurl stdenv fuse pkgconfig;
|
2007-09-01 19:15:19 +01:00
|
|
|
};
|
|
|
|
|
2007-03-10 23:51:59 +00:00
|
|
|
pgf = import ../misc/tex/pgf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
polytable = import ../misc/tex/polytable {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv tetex lazylist;
|
2005-10-21 14:06:43 +01:00
|
|
|
};
|
|
|
|
|
2007-05-28 15:10:46 +01:00
|
|
|
putty = import ../applications/networking/remote/putty {
|
|
|
|
inherit stdenv fetchurl ncurses;
|
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
rssglx = import ../misc/screensavers/rss-glx {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
2006-03-02 18:17:45 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
saneBackends = import ../misc/sane-backends {
|
2007-08-08 21:33:36 +01:00
|
|
|
inherit fetchurl stdenv libusb;
|
|
|
|
gt68xxFirmware =
|
|
|
|
getConfig ["sane" "gt68xxFirmware"] null;
|
|
|
|
};
|
|
|
|
|
|
|
|
saneFrontends = import ../misc/sane-front {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb
|
|
|
|
saneBackends;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
2005-11-03 20:00:43 +00:00
|
|
|
};
|
|
|
|
|
2007-06-20 11:30:03 +01:00
|
|
|
synaptics = import ../misc/synaptics {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXi libXext;
|
|
|
|
inherit (xorg) xorgserver;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
tetex = import ../misc/tex/tetex {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
2006-01-31 15:18:27 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
texFunctions = import ../misc/tex/nix {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit stdenv perl tetex graphviz ghostscript;
|
2006-01-28 02:10:26 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
toolbuslib = import ../development/libraries/toolbuslib {
|
2006-02-02 16:31:23 +00:00
|
|
|
inherit stdenv fetchurl aterm;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
trac = import ../misc/trac {
|
2006-10-12 16:43:01 +01:00
|
|
|
inherit stdenv fetchurl python clearsilver makeWrapper sqlite;
|
2006-04-22 19:08:37 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
subversion = import ../applications/version-management/subversion-1.3.x {
|
2006-04-22 19:08:37 +01:00
|
|
|
inherit fetchurl stdenv openssl db4 expat jdk swig zlib;
|
|
|
|
localServer = true;
|
|
|
|
httpServer = false;
|
|
|
|
sslSupport = true;
|
|
|
|
compressionSupport = true;
|
|
|
|
httpd = apacheHttpd;
|
|
|
|
pythonBindings = true; # Enable python bindings
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pysqlite = import ../development/libraries/pysqlite {
|
2006-12-27 18:14:57 +00:00
|
|
|
inherit stdenv fetchurl python sqlite;
|
2006-04-22 19:08:37 +01:00
|
|
|
};
|
2006-03-31 13:10:20 +01:00
|
|
|
};
|
2006-04-22 19:08:37 +01:00
|
|
|
|
2007-08-19 00:58:30 +01:00
|
|
|
wine = import ../misc/emulators/wine {
|
|
|
|
stdenv = overrideGCC stdenv gcc41NPTL;
|
|
|
|
inherit fetchurl flex bison mesa ncurses
|
2007-08-21 13:31:33 +01:00
|
|
|
libpng libjpeg alsaLib lcms xlibs freetype
|
2007-08-31 13:14:36 +01:00
|
|
|
fontconfig fontforge;
|
2007-08-19 00:58:30 +01:00
|
|
|
};
|
2007-06-25 22:46:18 +01:00
|
|
|
|
2007-08-08 21:33:36 +01:00
|
|
|
xsane = import ../misc/xsane {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb
|
|
|
|
saneBackends saneFrontends;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-11-03 10:22:00 +00:00
|
|
|
}
|