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. */
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
|
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
|
|
|
|
2008-03-17 17:29:07 +00:00
|
|
|
let pkgs = 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";
|
2008-06-18 23:48:34 +01:00
|
|
|
|
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";
|
2008-06-18 23:48:34 +01:00
|
|
|
|
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;
|
2008-06-06 09:01:26 +01:00
|
|
|
} // {inherit fetchurl;};
|
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...
|
|
|
|
});
|
2008-06-06 08:50:52 +01:00
|
|
|
isStatic = true;
|
2008-06-06 09:01:26 +01:00
|
|
|
} // {inherit fetchurl;};
|
2006-10-20 12:49:47 +01:00
|
|
|
|
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;};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
useFromStdenv = it : alternative : if (builtins.hasAttr it stdenv) then
|
|
|
|
(builtins.getAttr it stdenv) else alternative;
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2008-02-12 08:42:56 +00:00
|
|
|
lib = import ../lib;
|
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.
|
2008-02-12 08:42:56 +00:00
|
|
|
getConfig = attrPath: default: lib.getAttr attrPath default config;
|
2006-09-24 19:38:12 +01:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# Return the first available value in the order: pkg.val, val, or default.
|
|
|
|
getPkgConfig = pkg : val : default : (getConfig [ pkg val ] (getConfig [ val ] default));
|
|
|
|
|
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
|
2008-01-28 19:29:28 +00:00
|
|
|
# name = { version = "0.2"; }; and pkgname will be equal
|
|
|
|
# to getAttr pkgname_alts "0.2". Using alts.default by default.
|
2007-09-01 19:26:13 +01:00
|
|
|
getVersion = name: alts: builtins.getAttr
|
2008-01-28 19:29:28 +00:00
|
|
|
(getConfig [ name "version" ] "default") alts;
|
2007-09-01 19:26:13 +01:00
|
|
|
|
2007-11-14 21:57:26 +00:00
|
|
|
# The same, another syntax.
|
|
|
|
# Warning: syntax for configuration.nix changed too
|
2008-01-29 13:24:40 +00:00
|
|
|
useVersion = name: f: f {
|
|
|
|
version = getConfig [ "environment" "versions" name ];
|
2007-11-14 21:57:26 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2008-03-11 08:11:06 +00:00
|
|
|
# documentation see examples in lib at end of file or read some use cases
|
|
|
|
# within this file
|
|
|
|
# Before spending much time on investigating how this works just ask me
|
|
|
|
# - Marc Weber (#irc or marco-oweber@gmx.de)
|
2008-06-18 23:48:34 +01:00
|
|
|
mkDerivationByConfiguration =
|
2007-11-23 16:58:42 +00:00
|
|
|
assert builtins ? isAttrs;
|
|
|
|
{ flagConfig ? {}, optionals ? [], defaults ? []
|
|
|
|
, extraAttrs, collectExtraPhaseActions ? []
|
|
|
|
}:
|
2007-11-05 21:30:59 +00:00
|
|
|
args: with args.lib; with args;
|
2007-11-23 16:58:42 +00:00
|
|
|
if ( builtins.isAttrs extraAttrs ) then builtins.throw "the argument extraAttrs needs to be a function beeing passed co, but attribute set passed "
|
2007-09-09 19:14:19 +01:00
|
|
|
else
|
2008-01-16 03:29:56 +00:00
|
|
|
let co = lib.chooseOptionsByFlags { inherit args flagConfig optionals defaults collectExtraPhaseActions; }; in
|
2008-06-18 23:48:34 +01:00
|
|
|
args.stdenv.mkDerivation (
|
2007-09-09 19:14:19 +01:00
|
|
|
{
|
2008-03-06 02:46:29 +00:00
|
|
|
inherit (co) configureFlags buildInputs propagatedBuildInputs /*flags*/;
|
2007-11-05 21:30:59 +00:00
|
|
|
} // extraAttrs co // co.pass // co.flags_prefixed );
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2006-02-09 17:04:18 +00:00
|
|
|
|
2007-09-25 20:03:07 +01:00
|
|
|
# Check absence of non-used options
|
2008-06-18 23:48:34 +01:00
|
|
|
checker = x: flag: opts: config:
|
|
|
|
(if flag then let result=(
|
|
|
|
(import ../build-support/checker)
|
2008-03-17 09:41:28 +00:00
|
|
|
opts config); in
|
|
|
|
(if (result=="") then x else
|
|
|
|
abort ("Unknown option specified: " + result))
|
|
|
|
else x);
|
|
|
|
|
|
|
|
builderDefs = lib.sumArgs (import ./builder-defs.nix) {
|
|
|
|
inherit stringsWithDeps lib stdenv writeScript fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-05-07 08:23:20 +01:00
|
|
|
composedArgsAndFun = f : lib.composedArgs (arg : (f arg)//{meta={function=(composedArgsAndFun f) arg;};});
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
builderDefsPackage = expr: composedArgsAndFun
|
2008-03-20 15:40:26 +00:00
|
|
|
(((builderDefs null).builderDefsPackage builderDefs) expr);
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
stringsWithDeps = import ../lib/strings-with-deps.nix {
|
|
|
|
inherit stdenv lib;
|
|
|
|
};
|
2007-10-29 10:52:04 +00:00
|
|
|
|
2007-11-26 13:24:56 +00:00
|
|
|
# Call a specific version of a Nix expression, that is,
|
|
|
|
# `selectVersion ./foo {version = "0.1.2"; args...}' evaluates to
|
|
|
|
# `import ./foo/0.1.2.nix args'.
|
2008-01-31 17:32:28 +00:00
|
|
|
selectVersion = dir: defVersion: args:
|
|
|
|
let
|
|
|
|
pVersion =
|
|
|
|
if (args ? version && args.version != "") then
|
|
|
|
args.version
|
|
|
|
else
|
|
|
|
getConfig [ (baseNameOf (toString dir)) "version" ] defVersion;
|
|
|
|
in
|
|
|
|
import (dir + "/${pVersion}.nix") (args // { version = pVersion; });
|
2008-06-18 23:48:34 +01:00
|
|
|
|
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
### STANDARD ENVIRONMENT
|
|
|
|
|
|
|
|
|
2008-06-18 16:09:13 +01:00
|
|
|
allStdenvs = import ../stdenv {
|
|
|
|
inherit system stdenvType;
|
|
|
|
allPackages = import ./all-packages.nix;
|
|
|
|
};
|
|
|
|
|
|
|
|
defaultStdenv = allStdenvs.stdenv;
|
2006-02-08 17:37:45 +00:00
|
|
|
|
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
|
|
|
|
2008-06-29 17:13:02 +01:00
|
|
|
# A stdenv capable of building 32-bit binaries. On x86_64-linux,
|
|
|
|
# it uses GCC compiled with multilib support; on i686-linux, it's
|
|
|
|
# just the plain stdenv.
|
|
|
|
stdenv_32bit =
|
|
|
|
if system == "x86_64-linux" then
|
|
|
|
overrideGCC stdenv gcc43multi
|
|
|
|
else
|
|
|
|
stdenv;
|
|
|
|
|
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;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
debPackage = {
|
|
|
|
debBuild = lib.sumArgs (import ../build-support/deb-package) {
|
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fetchcvs = import ../build-support/fetchcvs {
|
2008-02-28 22:36:37 +00:00
|
|
|
inherit stdenv cvs;
|
2006-05-11 13:36:16 +01:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-03-06 02:46:29 +00:00
|
|
|
# only temporarely / don't know yet wether it's save to switch
|
|
|
|
# but I have trouble getting HAppS repos
|
2008-04-14 20:59:26 +01:00
|
|
|
fetchdarcs2 = import ../build-support/fetchdarcs {
|
2008-03-06 02:46:29 +00:00
|
|
|
inherit stdenv nix;
|
2008-04-14 20:59:26 +01:00
|
|
|
darcs = darcs2;
|
2008-03-06 02:46:29 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
fetchsvn = import ../build-support/fetchsvn {
|
2008-02-29 10:30:29 +00:00
|
|
|
inherit stdenv subversion openssh;
|
2006-09-15 16:28:53 +01:00
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2008-04-02 14:28:55 +01:00
|
|
|
fetchsvnssh = import ../build-support/fetchsvnssh {
|
|
|
|
inherit stdenv subversion openssh expect;
|
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
# TODO do some testing
|
|
|
|
fetchhg = import ../build-support/fetchhg {
|
|
|
|
inherit stdenv mercurial nix;
|
|
|
|
};
|
|
|
|
|
2008-05-27 08:49:55 +01:00
|
|
|
# `fetchurl' downloads a file from the network. The `useFromStdenv'
|
|
|
|
# is there to allow stdenv to determine fetchurl. Used during the
|
|
|
|
# stdenv-linux bootstrap phases to prevent lots of different curls
|
|
|
|
# from being built.
|
2008-02-03 13:19:16 +00:00
|
|
|
fetchurl = useFromStdenv "fetchurl"
|
2006-09-15 16:28:53 +01:00
|
|
|
(import ../build-support/fetchurl {
|
|
|
|
inherit stdenv curl;
|
|
|
|
});
|
2005-04-22 13:14:55 +01:00
|
|
|
|
2008-05-27 08:49:55 +01:00
|
|
|
# fetchurlBoot is used for curl and its dependencies in order to
|
|
|
|
# prevent a cyclic dependency (curl depends on curl.tar.bz2,
|
|
|
|
# curl.tar.bz2 depends on fetchurl, fetchurl depends on curl). It
|
|
|
|
# uses the curl from the previous bootstrap phase (e.g. a statically
|
|
|
|
# linked curl in the case of stdenv-linux).
|
|
|
|
fetchurlBoot = stdenv.fetchurlBoot;
|
|
|
|
|
2008-03-17 10:40:47 +00:00
|
|
|
makeInitrd = {contents}: import ../build-support/kernel/make-initrd.nix {
|
|
|
|
inherit stdenv perl cpio contents;
|
|
|
|
};
|
|
|
|
|
2008-01-18 10:29:58 +00:00
|
|
|
makeSetupHook = script: runCommand "hook" {} ''
|
|
|
|
ensureDir $out/nix-support
|
|
|
|
cp ${script} $out/nix-support/setup-hook
|
|
|
|
'';
|
|
|
|
|
2008-01-18 11:28:41 +00:00
|
|
|
makeWrapper = makeSetupHook ../build-support/make-wrapper/make-wrapper.sh;
|
2008-01-18 10:29:58 +00:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
makeModulesClosure = {kernel, rootModules, allowMissing ? false}:
|
2008-03-24 19:40:15 +00:00
|
|
|
import ../build-support/kernel/modules-closure.nix {
|
|
|
|
inherit stdenv module_init_tools kernel rootModules allowMissing;
|
|
|
|
};
|
2008-03-17 10:40:47 +00:00
|
|
|
|
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";
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-18 22:56:12 +00:00
|
|
|
writeScriptBin = name: text: runCommand name {inherit text;} "mkdir -p \$out/bin; echo -n \"\$text\" > \$out/bin/\$name ; chmod +x \$out/bin/\$name";
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2006-12-10 22:24:42 +00:00
|
|
|
substituteAll = import ../build-support/substitute/substitute-all.nix {
|
2007-11-17 14:34:34 +00:00
|
|
|
inherit stdenv;
|
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;
|
|
|
|
};
|
2008-03-17 17:29:07 +00:00
|
|
|
|
|
|
|
vmTools = import ../build-support/vm/default.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2006-11-03 13:33:24 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-06-21 21:53:52 +01:00
|
|
|
aria = builderDefsPackage (import ../tools/networking/aria) {
|
|
|
|
} null;
|
|
|
|
|
2008-04-01 10:08:17 +01:00
|
|
|
at = import ../tools/system/at {
|
|
|
|
inherit fetchurl stdenv bison flex pam ssmtp;
|
|
|
|
};
|
|
|
|
|
2008-03-06 16:42:34 +00:00
|
|
|
avahi =
|
|
|
|
# XXX: Versions prior to 0.6.22 did not support Qt4, so enabling
|
|
|
|
# Qt4 should not be permitted when using a version of Avahi older
|
|
|
|
# than 0.6.22, hence the default to `false'.
|
|
|
|
let qt4Support = getConfig [ "avahi" "qt4Support" ] false;
|
|
|
|
in
|
|
|
|
selectVersion ../development/libraries/avahi "0.6.22" {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig libdaemon dbus perl perlXMLParser
|
|
|
|
expat lib;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit qt4Support;
|
|
|
|
qt4 = if qt4Support then qt4 else null;
|
2008-03-06 16:42:34 +00:00
|
|
|
};
|
2008-02-06 19:36:12 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-03-10 15:57:14 +00:00
|
|
|
asciidoc = import ../tools/typesetting/asciidoc {
|
2008-03-11 14:06:52 +00:00
|
|
|
inherit fetchurl stdenv bash python;
|
2008-03-10 15:57:14 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-03-03 12:30:39 +00:00
|
|
|
bmrsaFun = lib.sumArgs (selectVersion ../tools/security/bmrsa "11") {
|
|
|
|
inherit builderDefs unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
bmrsa = bmrsaFun null;
|
|
|
|
|
2008-03-02 18:35:04 +00:00
|
|
|
bogofilter = import ../tools/misc/bogofilter {
|
|
|
|
inherit fetchurl stdenv flex;
|
|
|
|
bdb = db4;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
bsdiff = import ../tools/compression/bsdiff {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
bzip2 = useFromStdenv "bzip2"
|
2006-09-15 16:28:53 +01:00
|
|
|
(import ../tools/compression/bzip2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
|
|
|
cabextract = import ../tools/archivers/cabextract {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-12 11:07:54 +01:00
|
|
|
cheetahTemplate = builderDefsPackage (selectVersion ../tools/text/cheetah-template "2.0.1") {
|
2008-06-12 16:59:59 +01:00
|
|
|
inherit makeWrapper;
|
|
|
|
python = python25;
|
2008-06-12 11:07:54 +01:00
|
|
|
} null;
|
|
|
|
|
2008-01-14 14:43:24 +00:00
|
|
|
chkrootkit = import ../tools/security/chkrootkit {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
coreutils = useFromStdenv "coreutils"
|
2006-10-27 21:08:53 +01:00
|
|
|
((if stdenv ? isDietLibC
|
|
|
|
then import ../tools/misc/coreutils-5
|
|
|
|
else import ../tools/misc/coreutils)
|
|
|
|
{
|
2008-05-19 16:12:03 +01:00
|
|
|
inherit fetchurl stdenv acl;
|
|
|
|
aclSupport = stdenv.isLinux;
|
2006-03-08 15:00:18 +00:00
|
|
|
});
|
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
|
|
|
};
|
|
|
|
|
2008-05-27 08:49:55 +01:00
|
|
|
curl = import ../tools/networking/curl {
|
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv zlib openssl;
|
2008-06-06 08:50:52 +01:00
|
|
|
zlibSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
|
|
|
sslSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
2008-05-27 08:49:55 +01:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-10-25 15:07:50 +01:00
|
|
|
curlftpfs = import ../tools/networking/curlftpfs {
|
|
|
|
inherit fetchurl stdenv fuse curl pkgconfig zlib;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2008-03-28 11:59:50 +00:00
|
|
|
ddrescueFun = builderDefsPackage (selectVersion ../tools/system/ddrescue "1.8") ;
|
|
|
|
ddrescue = ddrescueFun null;
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-09-03 13:10:57 +01:00
|
|
|
dnsmasq = import ../tools/networking/dnsmasq {
|
2008-06-18 23:48:34 +01:00
|
|
|
# TODO i18n can be installed as well, implement it?
|
2007-09-03 13:10:57 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
dhcp = import ../tools/networking/dhcp {
|
2008-03-14 13:40:32 +00:00
|
|
|
inherit fetchurl stdenv groff nettools coreutils iputils gnused
|
|
|
|
bash makeWrapper;
|
2006-08-26 10:44:39 +01:00
|
|
|
};
|
|
|
|
|
2008-05-14 08:58:32 +01:00
|
|
|
diffstat = import ../tools/text/diffstat {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
diffutils = useFromStdenv "diffutils"
|
2006-09-15 16:28:53 +01:00
|
|
|
(import ../tools/text/diffutils {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
});
|
|
|
|
|
2008-03-11 09:34:17 +00:00
|
|
|
docbook2x = import ../tools/typesetting/docbook2x {
|
2008-03-12 15:19:54 +00:00
|
|
|
inherit fetchurl stdenv texinfo perl
|
|
|
|
perlXMLSAX perlXMLParser perlXMLNamespaceSupport
|
2008-03-11 09:34:17 +00:00
|
|
|
gnused groff libxml2 libxslt makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
dosfstoolsFun = lib.sumArgs (selectVersion ../tools/misc/dosfstools "2.11deb") {
|
2008-02-04 04:41:55 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
|
|
|
dosfstools = dosfstoolsFun null;
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-05-10 10:19:50 +01:00
|
|
|
eprover = composedArgsAndFun (import ../tools/misc/eProver) {
|
|
|
|
inherit fetchurl stdenv which;
|
|
|
|
texLive = texLiveAggregationFun {
|
|
|
|
paths = [
|
|
|
|
texLive texLiveExtra
|
|
|
|
];
|
|
|
|
} null;
|
|
|
|
} null;
|
2007-10-07 14:37:08 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-02-27 15:48:53 +00:00
|
|
|
expect = import ../tools/misc/expect {
|
|
|
|
inherit fetchurl stdenv tcl;
|
|
|
|
};
|
|
|
|
|
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 {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv kdelibs x11 zlib perl libpng;
|
2007-07-14 15:41:06 +01:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
findutils = useFromStdenv "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
|
|
|
|
2008-01-28 19:51:14 +00:00
|
|
|
finger_bsd = import ../tools/networking/bsd-finger {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 19:51:14 +00:00
|
|
|
};
|
|
|
|
|
2008-03-26 12:57:30 +00:00
|
|
|
fontforge = import ../tools/misc/fontforge {
|
2007-08-21 13:31:33 +01:00
|
|
|
inherit fetchurl stdenv gettext freetype zlib
|
2008-03-02 22:02:28 +00:00
|
|
|
libungif libpng libjpeg libtiff libxml2 lib;
|
2007-08-21 13:31:33 +01:00
|
|
|
};
|
|
|
|
|
2008-03-26 12:57:30 +00:00
|
|
|
fontforgeX = import ../tools/misc/fontforge {
|
|
|
|
inherit fetchurl stdenv gettext freetype zlib
|
|
|
|
libungif libpng libjpeg libtiff libxml2 lib;
|
2008-03-02 22:02:28 +00:00
|
|
|
inherit (xlibs) libX11 xproto libXt;
|
2008-03-26 12:57:30 +00:00
|
|
|
};
|
2008-03-02 22:02:28 +00:00
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gawk = useFromStdenv "gawk"
|
2006-09-15 16:28:53 +01:00
|
|
|
(import ../tools/text/gawk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2008-06-16 14:15:55 +01:00
|
|
|
gdmapFun = lib.sumArgs (selectVersion ../tools/system/gdmap "0.8.1") {
|
|
|
|
inherit stdenv fetchurl builderDefs pkgconfig libxml2 intltool
|
|
|
|
gettext;
|
2007-12-01 16:20:23 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
gdmap = gdmapFun null;
|
2007-12-01 16:20:23 +00:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-06-22 03:07:53 +01:00
|
|
|
gifsicle = import ../tools/graphics/gifscile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) xproto libXt libX11;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gnugrep = useFromStdenv "gnugrep"
|
2006-09-15 16:28:53 +01:00
|
|
|
(import ../tools/text/gnugrep {
|
|
|
|
inherit fetchurl stdenv pcre;
|
2006-03-08 15:00:18 +00:00
|
|
|
});
|
2003-11-02 18:14:24 +00:00
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gnupatch = useFromStdenv "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;
|
2008-07-07 12:54:03 +01:00
|
|
|
ideaSupport = getPkgConfig "gnupg" "idea" false; # enable for IDEA crypto support
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2008-01-28 19:45:57 +00:00
|
|
|
gnupg2 = import ../tools/security/gnupg2 {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv readline openldap bzip2 zlib libgpgerror pth
|
|
|
|
libgcrypt libassuan libksba libusb curl;
|
2008-01-28 19:45:57 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gnused = useFromStdenv "gnused"
|
2006-03-08 15:00:18 +00:00
|
|
|
(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;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gnutar = useFromStdenv "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 {
|
2008-07-03 15:27:19 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng libjpeg expat x11 yacc
|
|
|
|
libtool fontconfig gd;
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit (xlibs) libXaw;
|
2008-07-03 15:27:19 +01:00
|
|
|
inherit (gtkLibs) pango;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
groff = import ../tools/text/groff {
|
2005-08-21 14:59:04 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-29 17:13:02 +01:00
|
|
|
grub = import ../tools/misc/grub {
|
|
|
|
inherit fetchurl autoconf automake;
|
|
|
|
stdenv = stdenv_32bit;
|
|
|
|
};
|
2004-06-03 18:16:16 +01:00
|
|
|
|
2008-06-18 20:40:56 +01:00
|
|
|
gssdp = import ../development/libraries/gssdp {
|
2008-06-29 17:13:02 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
inherit (gnome) libsoup;
|
|
|
|
};
|
2008-06-18 20:40:56 +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
|
|
|
|
2008-06-18 20:40:56 +01:00
|
|
|
gupnp = import ../development/libraries/gupnp {
|
2008-06-29 17:13:02 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 gssdp e2fsprogs;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
inherit (gnome) libsoup;
|
|
|
|
};
|
2008-06-18 20:40:56 +01:00
|
|
|
|
2008-06-18 23:34:49 +01:00
|
|
|
gupnptools = import ../tools/networking/gupnp-tools {
|
2008-06-29 17:13:02 +01:00
|
|
|
inherit fetchurl stdenv gssdp gupnp pkgconfig libxml2 e2fsprogs;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libsoup libglade gnomeicontheme;
|
2008-06-18 23:34:49 +01:00
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gzip = useFromStdenv "gzip"
|
2006-09-15 16:28:53 +01:00
|
|
|
(import ../tools/compression/gzip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2008-05-11 12:18:16 +01:00
|
|
|
hddtemp = import ../tools/misc/hddtemp {
|
2007-12-10 22:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-06-12 16:59:59 +01:00
|
|
|
highlight = builderDefsPackage (selectVersion ../tools/text/highlight "2.6.10") {
|
|
|
|
inherit getopt;
|
|
|
|
} null;
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
/*
|
|
|
|
hyppocampusFun = lib.sumArgs ( selectVersion ../tools/misc/hyppocampus "0.3rc1") {
|
2007-12-01 16:20:23 +00:00
|
|
|
inherit builderDefs stdenv fetchurl libdbi libdbiDrivers fuse
|
|
|
|
pkgconfig perl gettext dbus dbus_glib pcre libscd;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
bison = bison23;
|
|
|
|
flex = flex2533;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
|
|
|
*/
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2008-03-27 11:09:40 +00:00
|
|
|
idutils = import ../tools/misc/idutils {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
2008-02-21 18:58:11 +00:00
|
|
|
inetutils = import ../tools/networking/inetutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-05-14 09:01:03 +01:00
|
|
|
iodine = import ../tools/networking/iodine {
|
|
|
|
inherit stdenv fetchurl zlib nettools;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-04-23 11:51:23 +01:00
|
|
|
keychain = import ../tools/misc/keychain {
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-02-23 12:11:27 +00:00
|
|
|
libtorrent = import ../tools/networking/p2p/libtorrent {
|
|
|
|
inherit fetchurl stdenv pkgconfig openssl libsigcxx;
|
|
|
|
};
|
|
|
|
|
2008-02-12 09:58:57 +00:00
|
|
|
lout = import ../tools/typesetting/lout {
|
2008-02-15 13:42:24 +00:00
|
|
|
inherit fetchurl stdenv ghostscript;
|
2008-02-12 09:58:57 +00:00
|
|
|
};
|
|
|
|
|
2008-02-06 13:52:41 +00:00
|
|
|
lzma = import ../tools/compression/lzma {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-12 10:51:44 +00:00
|
|
|
lsh = import ../tools/networking/lsh {
|
2008-03-05 16:49:51 +00:00
|
|
|
inherit stdenv fetchurl gperf guile gmp zlib liboop gnum4 pam;
|
2008-02-12 10:51:44 +00:00
|
|
|
};
|
|
|
|
|
2008-02-07 14:39:07 +00:00
|
|
|
man = import ../tools/misc/man {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv groff less;
|
2008-02-07 14:39:07 +00:00
|
|
|
};
|
|
|
|
|
2008-02-07 13:38:44 +00:00
|
|
|
man_db = import ../tools/misc/man-db {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv db4 groff;
|
2006-06-01 22:25:40 +01:00
|
|
|
};
|
|
|
|
|
2008-01-03 15:14:37 +00:00
|
|
|
memtest86 = import ../tools/misc/memtest86 {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-03 15:14:37 +00:00
|
|
|
};
|
|
|
|
|
2008-01-23 09:57:11 +00:00
|
|
|
mc = import ../tools/misc/mc {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses shebangfix perl zip;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
inherit (xlibs) libX11;
|
2008-01-23 09:57:11 +00:00
|
|
|
};
|
|
|
|
|
2008-05-11 10:45:26 +01:00
|
|
|
mdbtools = builderDefsPackage (selectVersion ../tools/misc/mdbtools "0.6-pre1") {
|
|
|
|
inherit readline pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
bison = bison23;
|
|
|
|
flex = flex2535;
|
|
|
|
} null;
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-04-11 14:22:35 +01:00
|
|
|
mpage = import ../tools/text/mpage {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-04-11 10:32:27 +01:00
|
|
|
msfFun = builderDefsPackage (selectVersion ../tools/security/metasploit "3.1") {
|
|
|
|
inherit ruby makeWrapper;
|
|
|
|
};
|
|
|
|
msf = msfFun null;
|
|
|
|
|
2008-01-30 17:08:38 +00:00
|
|
|
mssys = import ../tools/misc/mssys {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2008-05-31 23:49:00 +01:00
|
|
|
mysql2pgsql = import ../tools/misc/mysql2pgsql {
|
|
|
|
inherit fetchurl stdenv perl shebangfix;
|
|
|
|
};
|
|
|
|
|
2008-02-10 16:44:43 +00:00
|
|
|
nc6Fun = lib.sumArgs (selectVersion ../tools/networking/nc6 "1.0") {
|
2008-02-03 08:53:47 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
|
|
|
nc6 = nc6Fun null;
|
|
|
|
|
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 {
|
2008-03-22 19:52:11 +00:00
|
|
|
inherit fetchurl stdenv libpcap pkgconfig openssl
|
2008-06-18 23:48:34 +01:00
|
|
|
python pygtk makeWrapper pygobject pycairo
|
2008-03-22 20:56:23 +00:00
|
|
|
pysqlite;
|
2008-03-17 09:41:28 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-17 13:41:54 +00:00
|
|
|
nssmdns = import ../tools/networking/nss-mdns {
|
|
|
|
inherit fetchurl stdenv avahi;
|
|
|
|
};
|
|
|
|
|
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 {
|
2008-06-25 16:01:04 +01:00
|
|
|
inherit fetchurl stdenv;
|
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;
|
|
|
|
};
|
|
|
|
|
2008-04-26 00:43:14 +01:00
|
|
|
pinentry = import ../tools/misc/pinentry {
|
|
|
|
inherit fetchurl stdenv pkgconfig x11;
|
|
|
|
inherit (gnome) glib gtk;
|
|
|
|
};
|
|
|
|
|
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-12-11 11:47:23 +00:00
|
|
|
psmisc = import ../tools/misc/psmisc {
|
|
|
|
inherit stdenv fetchurl ncurses;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-07 06:11:08 +00:00
|
|
|
relfsFun = lib.sumArgs (selectVersion ../tools/misc/relfs "cvs.2008.03.05") {
|
2007-12-06 00:32:21 +00:00
|
|
|
inherit fetchcvs stdenv ocaml postgresql fuse pcre
|
|
|
|
builderDefs e2fsprogs pkgconfig;
|
|
|
|
inherit (gnome) gnomevfs GConf;
|
2007-12-04 22:06:13 +00:00
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
relfs = relfsFun null;
|
2007-12-04 22:06:13 +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
|
|
|
|
2008-03-07 09:33:51 +00:00
|
|
|
rsnapshot = import ../tools/backup/rsnapshot {
|
|
|
|
inherit fetchurl stdenv perl openssh rsync;
|
|
|
|
|
|
|
|
# For the `logger' command, we can use either `utillinux' or
|
|
|
|
# GNU Inetutils. The latter is more portable.
|
|
|
|
logger = inetutils;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
rlwrapFun = lib.sumArgs (selectVersion ../tools/misc/rlwrap "0.28") {
|
|
|
|
inherit builderDefs readline;
|
2008-01-23 23:39:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
rlwrap = rlwrapFun null;
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-02-23 12:11:27 +00:00
|
|
|
rtorrent = import ../tools/networking/p2p/rtorrent {
|
|
|
|
inherit fetchurl stdenv libtorrent ncurses pkgconfig libsigcxx curl zlib openssl;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-03 12:30:39 +00:00
|
|
|
seccureFun = lib.sumArgs (selectVersion ../tools/security/seccure "0.3") {
|
|
|
|
inherit builderDefs libgcrypt;
|
|
|
|
};
|
|
|
|
|
|
|
|
seccure = seccureFun null;
|
|
|
|
|
2008-03-03 23:32:50 +00:00
|
|
|
# seccure will override it (it is root-only, but
|
2008-06-18 23:48:34 +01:00
|
|
|
# more secure because of memory locking), but this
|
2008-03-03 23:32:50 +00:00
|
|
|
# can be added to default system
|
|
|
|
seccureUser = lowPrio (seccureFun {
|
|
|
|
makeFlags = [" CFLAGS+=-DNOMEMLOCK "];
|
|
|
|
} null);
|
|
|
|
|
2008-02-18 20:52:25 +00:00
|
|
|
sharutils = selectVersion ../tools/archivers/sharutils "4.6.3" {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-11-14 19:07:38 +00:00
|
|
|
shebangfix = import ../tools/misc/shebangfix {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit stdenv perl;
|
2007-11-14 19:07:38 +00:00
|
|
|
};
|
|
|
|
|
2007-10-18 14:05:43 +01:00
|
|
|
smartmontools = import ../tools/system/smartmontools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
smbfsFuseFun = lib.sumArgs (selectVersion ../tools/networking/smbfs-fuse "0.8.7") {
|
2008-01-25 10:15:19 +00:00
|
|
|
inherit builderDefs samba fuse;
|
|
|
|
};
|
|
|
|
|
|
|
|
smbfsFuse = smbfsFuseFun null;
|
|
|
|
|
2008-05-07 08:23:20 +01:00
|
|
|
socat = builderDefsPackage (selectVersion ../tools/networking/socat "1.6.0.1") {
|
|
|
|
inherit openssl;
|
|
|
|
} null;
|
2008-02-03 11:03:54 +00:00
|
|
|
|
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 {
|
2007-11-08 17:48:52 +00:00
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
tlsSupport = true;
|
2007-08-07 23:22:31 +01:00
|
|
|
};
|
|
|
|
|
2008-03-03 12:30:39 +00:00
|
|
|
ssssFun = lib.sumArgs (selectVersion ../tools/security/ssss "0.5") {
|
|
|
|
inherit builderDefs gmp;
|
|
|
|
};
|
|
|
|
|
|
|
|
ssss = ssssFun null;
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-02-10 21:54:01 +00:00
|
|
|
vpnc = import ../tools/networking/vpnc {
|
2008-02-21 19:33:21 +00:00
|
|
|
inherit fetchurl stdenv libgcrypt perl which nettools makeWrapper;
|
2008-02-10 21:54:01 +00:00
|
|
|
};
|
|
|
|
|
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;
|
2008-03-18 19:45:31 +00:00
|
|
|
inherit (xlibs) imake gccmakedep libXmu libXaw libXpm libXp xauth;
|
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
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
ttmkfdirFun = import ../tools/misc/ttmkfdir {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit debPackage freetype fontconfig libunwind libtool;
|
2008-03-02 18:41:32 +00:00
|
|
|
bison = bison23;
|
|
|
|
flex = flex2534;
|
|
|
|
};
|
|
|
|
|
|
|
|
ttmkfdir = ttmkfdirFun null;
|
|
|
|
|
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
|
|
|
|
2008-02-02 20:39:44 +00:00
|
|
|
wgetFun = lib.sumArgs (selectVersion ../tools/networking/wget "1.11") {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv gettext;
|
2006-07-17 21:35:02 +01:00
|
|
|
};
|
|
|
|
|
2008-02-02 20:39:44 +00:00
|
|
|
wget = wgetFun null;
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
which = import ../tools/system/which {
|
2008-01-20 18:23:55 +00:00
|
|
|
inherit fetchurl stdenv readline;
|
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
|
2008-02-18 20:52:10 +00:00
|
|
|
pkgconfig libgsf libxml2 bzip2;
|
2007-08-18 09:32:12 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-11 08:44:22 +00:00
|
|
|
xmlto = import ../tools/typesetting/xmlto {
|
|
|
|
inherit fetchurl stdenv flex libxml2 libxslt
|
|
|
|
docbook_xml_dtd_42 docbook_xsl
|
2008-03-11 09:16:12 +00:00
|
|
|
glibc bash getopt mktemp findutils makeWrapper;
|
2008-03-11 08:44:22 +00: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
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
bash = lowPrio (useFromStdenv "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;
|
|
|
|
};
|
|
|
|
|
2008-02-10 17:41:04 +00:00
|
|
|
zshFun = lib.sumArgs (selectVersion ../shells/zsh "4.3.5") {
|
2007-06-20 11:02:10 +01:00
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2008-02-03 11:03:54 +00:00
|
|
|
zsh = zshFun null;
|
|
|
|
|
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
|
|
|
|
2008-06-18 23:48:34 +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
|
|
|
|
2008-02-08 01:35:01 +00:00
|
|
|
bigloo = import ../development/compilers/bigloo {
|
2008-04-02 21:54:42 +01:00
|
|
|
inherit fetchurl stdenv;
|
2008-02-08 01:35:01 +00: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
|
|
|
};
|
|
|
|
|
2008-03-13 18:02:29 +00:00
|
|
|
# Essential Haskell Compiler -- nix expression is work in progress
|
|
|
|
ehc = import ../development/compilers/ehc {
|
2008-03-17 11:59:12 +00:00
|
|
|
inherit fetchsvn stdenv coreutils m4 libtool ghc uulib uuagc llvm;
|
2008-03-13 18:02:29 +00:00
|
|
|
};
|
|
|
|
|
2007-08-11 21:55:40 +01:00
|
|
|
fpc = import ../development/compilers/fpc {
|
2008-04-08 16:11:34 +01:00
|
|
|
inherit fetchurl stdenv gawk system;
|
2007-08-11 21:55:40 +01:00
|
|
|
};
|
|
|
|
|
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-10-27 18:55:13 +01:00
|
|
|
g77_40 = import ../build-support/gcc-wrapper {
|
|
|
|
name = "g77-4.0";
|
|
|
|
nativeTools = false;
|
|
|
|
nativeLibc = false;
|
|
|
|
gcc = import ../development/compilers/gcc-4.0 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
langF77 = true;
|
|
|
|
langCC = false;
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit gmp mpfr;
|
2007-10-27 18:55:13 +01:00
|
|
|
};
|
|
|
|
inherit (stdenv.gcc) binutils libc;
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-10-27 18:55:13 +01:00
|
|
|
g77_41 = import ../build-support/gcc-wrapper {
|
|
|
|
name = "g77-4.1";
|
|
|
|
nativeTools = false;
|
|
|
|
nativeLibc = false;
|
|
|
|
gcc = import ../development/compilers/gcc-4.1 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
langF77 = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit gmp mpfr;
|
2007-10-27 18:55:13 +01:00
|
|
|
};
|
|
|
|
inherit (stdenv.gcc) binutils libc;
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-04-02 20:55:40 +01:00
|
|
|
g77_42 = import ../build-support/gcc-wrapper {
|
|
|
|
name = "g77-4.2";
|
|
|
|
nativeTools = false;
|
|
|
|
nativeLibc = false;
|
|
|
|
gcc = import ../development/compilers/gcc-4.2/fortran.nix {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
langF77 = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
inherit gmp mpfr;
|
|
|
|
};
|
|
|
|
inherit (stdenv.gcc) binutils libc;
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-11-15 15:19:58 +00:00
|
|
|
gcc = gcc42;
|
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;
|
|
|
|
});
|
|
|
|
|
2008-02-21 15:34:56 +00:00
|
|
|
# XXX: GCC 4.2 (and possibly others) misdetects `makeinfo' when
|
|
|
|
# using Texinfo >= 4.10, just because it uses a stupid regexp that
|
|
|
|
# expects a single digit after the dot. As a workaround, we feed
|
|
|
|
# GCC with Texinfo 4.9. Stupid bug, hackish workaround.
|
|
|
|
|
2006-07-10 16:42:19 +01:00
|
|
|
gcc40 = wrapGCC (import ../development/compilers/gcc-4.0 {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo = texinfo49;
|
2006-07-10 16:42:19 +01:00
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2007-11-15 15:19:58 +00:00
|
|
|
gcc41 = wrapGCC (import ../development/compilers/gcc-4.1 {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo = texinfo49;
|
2006-10-26 21:23:49 +01:00
|
|
|
profiledCompiler = false;
|
2007-11-15 15:19:58 +00:00
|
|
|
});
|
2007-08-19 00:58:30 +01:00
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gcc42 = useFromStdenv "gcc" (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
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
gcc43 = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper-new) glibc (import ../development/compilers/gcc-4.3 {
|
2008-06-26 11:20:33 +01:00
|
|
|
inherit fetchurl stdenv texinfo gmp mpfr noSysDirs;
|
|
|
|
profiledCompiler = false;
|
2008-06-27 19:26:19 +01:00
|
|
|
}));
|
|
|
|
|
|
|
|
gcc43multi = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper-new) glibc_multi (import ../development/compilers/gcc-4.3 {
|
|
|
|
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc42);
|
|
|
|
inherit fetchurl texinfo gmp mpfr noSysDirs;
|
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = true;
|
2008-06-26 11:20:33 +01:00
|
|
|
}));
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
gccApple = wrapGCC (import ../development/compilers/gcc-apple {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2008-03-04 16:20:11 +00:00
|
|
|
gccupc40 = wrapGCCUPC (import ../development/compilers/gcc-upc-4.0 {
|
|
|
|
inherit fetchurl stdenv bison autoconf gnum4 noSysDirs;
|
|
|
|
texinfo = texinfo49;
|
|
|
|
});
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# This new ghc stuff is under heavy development and will change !
|
2008-02-21 15:52:31 +00:00
|
|
|
# ===============================================================
|
2007-11-05 09:27:36 +00:00
|
|
|
|
2008-02-20 23:02:41 +00:00
|
|
|
# usage: see ghcPkgUtil.sh
|
2008-01-22 14:34:23 +00:00
|
|
|
# depreceated -> use functions defined in builderDefs
|
2008-06-18 23:48:34 +01:00
|
|
|
ghcPkgUtil = runCommand "ghcPkgUtil-internal"
|
2007-11-05 09:27:36 +00:00
|
|
|
{ ghcPkgUtil = ../development/libraries/haskell/generic/ghcPkgUtil.sh; }
|
|
|
|
"mkdir -p $out/nix-support; cp $ghcPkgUtil \$out/nix-support/setup-hook;";
|
|
|
|
|
2008-03-06 02:46:29 +00:00
|
|
|
ghcsAndLibs =
|
2007-11-23 16:58:42 +00:00
|
|
|
assert builtins ? listToAttrs;
|
|
|
|
recurseIntoAttrs (import ../development/compilers/ghcs {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit ghcboot fetchurl stdenv recurseIntoAttrs perl gnum4 gmp readline lib;
|
2008-04-28 23:33:20 +01:00
|
|
|
inherit ghcPkgUtil hasktags ctags autoconf automake getConfig;
|
|
|
|
inherit (bleedingEdgeRepos) sourceByName;
|
|
|
|
|
|
|
|
# needed for install darcs ghc version
|
|
|
|
happy = ghc68executables.happy;
|
|
|
|
alex = ghc68executables.alex;
|
2007-11-23 16:58:42 +00:00
|
|
|
});
|
2007-11-05 09:27:36 +00:00
|
|
|
|
|
|
|
# creates ghc-X-wl wich adds the passed libraries to the env var GHC_PACKAGE_PATH
|
2008-03-06 19:48:55 +00:00
|
|
|
ghcWrapper = { ghcPackagedLibs ? false, ghc, libraries, name, suffix ? "ghc_wrapper_${ghc.name}" } :
|
|
|
|
import ../development/compilers/ghc/ghc-wrapper {
|
2008-03-06 02:46:29 +00:00
|
|
|
inherit ghcPackagedLibs ghc name suffix libraries ghcPkgUtil
|
2008-06-18 23:48:34 +01:00
|
|
|
lib
|
2008-03-06 02:46:29 +00:00
|
|
|
readline ncurses stdenv;
|
2008-06-15 12:54:22 +01:00
|
|
|
inherit (sourceAndTags) sourceWithTagsDerivation annotatedWithSourceAndTagInfo sourceWithTagsFromDerivation;
|
2008-03-06 02:46:29 +00:00
|
|
|
#inherit stdenv ghcPackagedLibs ghc name suffix libraries ghcPkgUtil
|
|
|
|
# annotatedDerivations lib sourceWithTagsDerivation annotatedWithSourceAndTagInfo;
|
2008-04-11 01:40:10 +01:00
|
|
|
installSourceAndTags = getConfig ["haskell" "ghcWrapper" "installSourceAndTags"] false;
|
2007-11-05 09:27:36 +00:00
|
|
|
};
|
|
|
|
|
2008-02-09 14:08:37 +00:00
|
|
|
|
|
|
|
# args must contain src name buildInputs
|
|
|
|
# classic expression style.. seems to work fine
|
|
|
|
# used now
|
2008-02-12 16:24:02 +00:00
|
|
|
#
|
|
|
|
# args must contain: src name buildInputs propagatedBuildInputs
|
|
|
|
# classic expression style.. seems to work fine
|
|
|
|
# used now
|
2008-04-28 23:33:20 +01:00
|
|
|
# srcDir contains source directory (containing the .cabal file)
|
2008-03-06 02:46:29 +00:00
|
|
|
ghcCabalDerivation = args : with args;
|
2008-04-11 01:40:10 +01:00
|
|
|
let buildInputs = (if (args ? buildInputs) then args.buildInputs else [])
|
|
|
|
++ [ ghcPkgUtil ] ++ ( if args ? pass && args.pass ? buildInputs then args.pass.buildInputs else []);
|
2008-06-18 23:48:34 +01:00
|
|
|
configure = if (args ? useLocalPkgDB)
|
2008-05-13 14:19:52 +01:00
|
|
|
then "nix_ghc_pkg_tool join localDb\n" +
|
|
|
|
"\$CABAL_SETUP configure --package-db=localDb \$profiling \$cabalFlags"
|
|
|
|
else "\$CABAL_SETUP configure --by-env=\$PACKAGE_DB \$profiling \$cabalFlags";
|
2008-04-11 01:40:10 +01:00
|
|
|
in stdenv.mkDerivation ({
|
2008-04-11 16:26:51 +01:00
|
|
|
srcDir = if (args ? srcDir) then args.srcDir else ".";
|
2008-03-06 02:46:29 +00:00
|
|
|
inherit (args) name src propagatedBuildInputs;
|
2008-02-12 16:24:02 +00:00
|
|
|
phases = "unpackPhase patchPhase buildPhase";
|
2008-04-28 23:33:20 +01:00
|
|
|
profiling = if getConfig [ "ghc68" "profiling" ] false then "-p" else "";
|
2008-06-18 23:48:34 +01:00
|
|
|
cabalFlags = map lib.escapeShellArg
|
2008-05-13 14:19:52 +01:00
|
|
|
(getConfig [ "cabal" "flags" ] []
|
|
|
|
++ (if args ? cabalFlags then args.cabalFlags else []) );
|
2008-02-12 16:24:02 +00:00
|
|
|
# TODO remove echo line
|
2008-02-09 14:08:37 +00:00
|
|
|
buildPhase ="
|
|
|
|
createEmptyPackageDatabaseAndSetupHook
|
|
|
|
export GHC_PACKAGE_PATH
|
|
|
|
|
2008-04-11 16:26:51 +01:00
|
|
|
cd \$srcDir
|
2008-02-09 14:08:37 +00:00
|
|
|
ghc --make Setup.*hs -o setup
|
|
|
|
CABAL_SETUP=./setup
|
|
|
|
|
2008-05-13 14:19:52 +01:00
|
|
|
" + configure +"
|
2008-02-09 14:08:37 +00:00
|
|
|
\$CABAL_SETUP build
|
|
|
|
\$CABAL_SETUP copy --destdir=\$out
|
|
|
|
\$CABAL_SETUP register --gen-script
|
|
|
|
sed -e \"s=/usr/local/lib=\$out/usr/local/lib=g\" \\
|
|
|
|
-e \"s#bin/ghc-pkg --package-conf.*#bin/ghc-pkg --package-conf=\$PACKAGE_DB register -#\" \\
|
|
|
|
-i register.sh
|
|
|
|
./register.sh
|
|
|
|
rm \${PACKAGE_DB}.old
|
|
|
|
|
|
|
|
ensureDir \"\$out/nix-support\"
|
2008-02-12 16:24:02 +00:00
|
|
|
|
2008-02-09 14:08:37 +00:00
|
|
|
echo \"\$propagatedBuildInputs\" > \"\$out/nix-support/propagated-build-inputs\"
|
|
|
|
";
|
2008-04-11 01:40:10 +01:00
|
|
|
} // ( if args ? pass then (args.pass) else {} ) // { inherit buildInputs; } );
|
|
|
|
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
ghcCabalExecutableFun = (import ../development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix){
|
2008-04-11 01:40:10 +01:00
|
|
|
inherit ghc68extraLibs ghcsAndLibs stdenv lib;
|
|
|
|
# extra packages from this top level file:
|
|
|
|
inherit perl;
|
|
|
|
};
|
2008-03-06 02:46:29 +00:00
|
|
|
|
2008-05-13 14:19:52 +01:00
|
|
|
# this may change in the future
|
2008-03-13 22:55:18 +00:00
|
|
|
ghc68extraLibs = (import ../misc/ghc68extraLibs ) {
|
2008-03-11 09:18:14 +00:00
|
|
|
# lib like stuff
|
2008-06-15 12:54:22 +01:00
|
|
|
inherit (sourceAndTags) addHasktagsTaggingInfo;
|
|
|
|
inherit bleedingEdgeRepos fetchurl lib ghcCabalDerivation pkgconfig unzip zlib;
|
2008-03-11 09:18:14 +00:00
|
|
|
# used (non haskell) libraries (ffi etc)
|
2008-05-13 14:19:52 +01:00
|
|
|
inherit postgresql mysql sqlite gtkLibs gnome xlibs freetype getConfig libpng bzip2 pcre;
|
2008-04-11 01:40:10 +01:00
|
|
|
|
|
|
|
executables = ghc68executables;
|
2008-03-20 19:29:52 +00:00
|
|
|
wxGTK = wxGTK26;
|
2008-03-11 09:18:14 +00:00
|
|
|
};
|
2008-04-28 23:33:20 +01:00
|
|
|
|
2008-01-22 14:34:23 +00:00
|
|
|
|
2008-04-11 01:40:10 +01:00
|
|
|
# Executables compiled by this ghc68 - I'm too lazy to add them all as additional file in here
|
|
|
|
ghc68executables = recurseIntoAttrs (import ../misc/ghc68executables {
|
2008-05-13 14:19:52 +01:00
|
|
|
inherit ghcCabalExecutableFun fetchurl lib bleedingEdgeRepos autoconf zlib getConfig;
|
2008-04-11 01:40:10 +01:00
|
|
|
inherit X11;
|
|
|
|
inherit (xlibs) xmessage;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit pkgs; # passing pkgs to add the possibility for the user to add his own executables. pkgs is passed.
|
2008-04-11 01:40:10 +01:00
|
|
|
});
|
|
|
|
|
2007-11-05 09:27:36 +00:00
|
|
|
# the wrappers basically does one thing: It defines GHC_PACKAGE_PATH before calling ghc{i,-pkg}
|
|
|
|
# So you can have different wrappers with different library combinations
|
2008-02-12 16:24:02 +00:00
|
|
|
# So installing ghc libraries isn't done by nix-env -i package but by adding
|
2008-02-09 14:08:37 +00:00
|
|
|
# the lib to the libraries list below
|
|
|
|
# Doesn't create that much useless symlinks (you seldomly want to read the
|
|
|
|
# .hi and .o files, right?
|
2008-06-18 23:48:34 +01:00
|
|
|
ghcLibraryWrapper68 =
|
2007-11-05 09:27:36 +00:00
|
|
|
let ghc = ghcsAndLibs.ghc68.ghc; in
|
2008-03-06 19:48:55 +00:00
|
|
|
ghcWrapper rec {
|
2007-11-05 09:27:36 +00:00
|
|
|
ghcPackagedLibs = true;
|
2008-01-22 14:34:23 +00:00
|
|
|
name = "ghc${ghc.version}_wrapper";
|
|
|
|
suffix = "${ghc.version}wrapper";
|
2008-06-18 23:48:34 +01:00
|
|
|
libraries =
|
2008-02-09 14:08:37 +00:00
|
|
|
# core_libs distributed with this ghc version
|
2008-03-09 00:08:45 +00:00
|
|
|
(lib.flattenAttrs ghcsAndLibs.ghc68.core_libs)
|
|
|
|
# (map ( a : __getAttr a ghcsAndLibs.ghc68.core_libs ) [ "cabal" "mtl" "base" ]
|
2008-02-09 14:08:37 +00:00
|
|
|
|
2008-03-09 00:08:45 +00:00
|
|
|
# some extra libs
|
2008-03-13 22:55:18 +00:00
|
|
|
++ (lib.flattenAttrs (ghc68extraLibs ghcsAndLibs.ghc68) );
|
|
|
|
# ++ map ( a : __getAttr a (ghc68extraLibs ghcsAndLibs.ghc68 ) ) [ "mtl" "parsec" ... ]
|
2007-11-05 09:27:36 +00:00
|
|
|
inherit ghc;
|
|
|
|
};
|
|
|
|
|
2006-12-15 13:32:55 +00:00
|
|
|
# ghc66boot = import ../development/compilers/ghc-6.6-boot {
|
|
|
|
# inherit fetchurl stdenv perl readline;
|
|
|
|
# m4 = gnum4;
|
|
|
|
#};
|
|
|
|
|
2008-01-22 22:43:38 +00:00
|
|
|
ghc = ghc68;
|
2007-01-24 14:26:16 +00:00
|
|
|
|
2007-12-10 10:50:59 +00:00
|
|
|
ghc68 = import ../development/compilers/ghc-6.8 {
|
2008-05-26 14:28:11 +01:00
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses m4;
|
2007-10-19 14:24:29 +01:00
|
|
|
ghc = ghcboot;
|
2007-12-10 10:50:59 +00:00
|
|
|
};
|
2007-10-19 14:24:29 +01:00
|
|
|
|
2008-06-04 10:42:25 +01:00
|
|
|
ghc683snapshot = import ../development/compilers/ghc-6.8/snapshot.nix {
|
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses m4;
|
|
|
|
ghc = ghcboot;
|
|
|
|
};
|
|
|
|
|
2007-05-06 16:39:39 +01:00
|
|
|
ghc661 = import ../development/compilers/ghc-6.6.1 {
|
2008-05-26 14:28:11 +01:00
|
|
|
inherit fetchurl stdenv readline perl58 gmp ncurses m4;
|
2007-05-06 16:39:39 +01:00
|
|
|
ghc = ghcboot;
|
|
|
|
};
|
|
|
|
|
2006-12-15 13:32:55 +00:00
|
|
|
ghc66 = import ../development/compilers/ghc-6.6 {
|
2008-05-26 14:28:11 +01:00
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses m4;
|
2006-12-15 13:32:55 +00:00
|
|
|
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 {
|
2008-02-22 14:43:00 +00:00
|
|
|
inherit fetchurl stdenv ncurses gmp;
|
2007-08-08 00:59:08 +01:00
|
|
|
readline = if stdenv.system == "i686-linux" then readline4 else readline;
|
2008-02-22 14:43:00 +00:00
|
|
|
perl = perl58;
|
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
|
|
|
*/
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-02-13 08:43:38 +00:00
|
|
|
gwt = import ../development/compilers/gwt {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (gtkLibs) glib gtk pango atk;
|
|
|
|
inherit (xlibs) libX11 libXt;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
helium = import ../development/compilers/helium {
|
2008-02-22 14:09:29 +00:00
|
|
|
inherit fetchurl stdenv ghc;
|
2005-09-07 11:08:00 +01:00
|
|
|
};
|
|
|
|
|
2008-05-06 08:03:41 +01:00
|
|
|
ikarusFun = builderDefsPackage (selectVersion ../development/compilers/ikarus "0.0.3") {
|
|
|
|
inherit gmp;
|
|
|
|
};
|
|
|
|
ikarus = ikarusFun null;
|
|
|
|
|
2008-01-29 09:47:34 +00:00
|
|
|
javafront = import ../development/compilers/java-front {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
sdf = sdf24;
|
|
|
|
aterm = aterm25;
|
|
|
|
strategoxt = strategoxt017;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2008-01-23 12:25:08 +00:00
|
|
|
jdk5 =
|
2008-01-24 10:14:33 +00:00
|
|
|
assert system == "i686-linux" || system == "x86_64-linux";
|
2008-01-23 12:25:08 +00:00
|
|
|
import ../development/compilers/jdk/default-5.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2008-06-18 23:48:34 +01: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 {
|
2008-02-26 15:24:33 +00:00
|
|
|
inherit fetchurl stdenv unzip installjdk xlibs pluginSupport makeWrapper;
|
2007-05-16 15:49:28 +01:00
|
|
|
});
|
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;
|
|
|
|
};
|
|
|
|
|
2008-04-08 16:11:34 +01:00
|
|
|
lazarusFun = builderDefsPackage (import ../development/compilers/fpc/lazarus.nix) {
|
|
|
|
inherit fpc makeWrapper;
|
|
|
|
inherit (gtkLibs1x) gtk glib gdkpixbuf;
|
|
|
|
inherit (xlibs) libXi inputproto libX11 xproto libXext xextproto;
|
|
|
|
};
|
|
|
|
lazarus = lazarusFun null;
|
|
|
|
|
2008-03-17 11:18:21 +00:00
|
|
|
llvm = import ../development/compilers/llvm {
|
2008-03-17 11:28:52 +00:00
|
|
|
inherit fetchurl stdenv gcc flex perl libtool;
|
2008-03-17 11:18:21 +00:00
|
|
|
};
|
|
|
|
|
2008-04-02 20:55:40 +01:00
|
|
|
llvmGccFun = builderDefsPackage (import ../development/compilers/llvm/llvm-gcc.nix) {
|
|
|
|
flex=flex2535;
|
|
|
|
bison=bison23;
|
2008-04-08 16:11:34 +01:00
|
|
|
inherit llvm perl libtool;
|
2008-04-02 20:55:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
llvmGCC =llvmGccFun null;
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-01-25 11:56:36 +00:00
|
|
|
monotone = import ../applications/version-management/monotone {
|
|
|
|
inherit stdenv fetchurl boost zlib;
|
|
|
|
};
|
|
|
|
|
2008-06-11 07:12:18 +01:00
|
|
|
monotoneViz = builderDefsPackage (selectVersion ../applications/version-management/monotone-viz "1.0.1") {
|
|
|
|
inherit ocaml lablgtk graphviz pkgconfig;
|
|
|
|
inherit (gnome) gtk libgnomecanvas glib;
|
|
|
|
} null;
|
|
|
|
|
2008-06-12 16:59:59 +01:00
|
|
|
viewMtn = builderDefsPackage (selectVersion ../applications/version-management/viewmtn "0.10")
|
|
|
|
{
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit monotone flup cheetahTemplate highlight ctags
|
2008-06-12 16:59:59 +01:00
|
|
|
makeWrapper graphviz which;
|
|
|
|
python = python25;
|
|
|
|
} null;
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nasm = import ../development/compilers/nasm {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-11-14 22:39:58 +00:00
|
|
|
ocaml = getVersion "ocaml" ocaml_alts;
|
2004-07-16 23:58:15 +01:00
|
|
|
|
2007-11-14 22:39:58 +00:00
|
|
|
ocaml_alts = import ../development/compilers/ocaml {
|
2007-11-17 14:34:34 +00:00
|
|
|
inherit fetchurl stdenv x11 ncurses;
|
2006-03-01 09:18:22 +00:00
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00: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;
|
|
|
|
};
|
2008-03-17 09:41:28 +00:00
|
|
|
*/
|
2006-09-15 16:28:53 +01:00
|
|
|
|
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;
|
2008-01-28 19:32:59 +00:00
|
|
|
ocaml = builtins.getAttr "3.08.0" ocaml_alts;
|
2006-03-01 09:18:22 +00:00
|
|
|
inherit fetchurl stdenv mk noweb groff;
|
2006-02-02 17:07:07 +00:00
|
|
|
};
|
|
|
|
|
2008-02-08 01:57:31 +00:00
|
|
|
roadsend = import ../development/compilers/roadsend {
|
|
|
|
inherit fetchurl stdenv flex bison mkDerivationByConfiguration bigloo lib curl;
|
|
|
|
# optional features
|
|
|
|
# all features pcre, fcgi xml mysql, sqlite3, (not implemented: odbc gtk gtk2)
|
2008-03-11 22:34:17 +00:00
|
|
|
flags = ["pcre" "xml" "mysql"];
|
|
|
|
inherit mysql libxml2 fcgi;
|
2008-02-08 01:57:31 +00:00
|
|
|
};
|
|
|
|
|
2008-04-11 23:06:32 +01:00
|
|
|
scala = import ../development/compilers/scala {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-05-29 13:10:10 +01:00
|
|
|
stalin = import ../development/compilers/stalin {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-01-29 09:42:20 +00:00
|
|
|
strategoxt017 = import ../development/compilers/strategoxt/strategoxt-0.17.nix {
|
|
|
|
inherit fetchurl pkgconfig;
|
|
|
|
sdf = sdf24;
|
|
|
|
aterm = aterm25;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-06 21:53:54 +00:00
|
|
|
swiPrologFun = lib.sumArgs (selectVersion ../development/compilers/swi-prolog "5.6.51") {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
swiProlog = swiPrologFun null;
|
|
|
|
|
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;
|
2008-06-18 23:48:34 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-01-29 11:46:34 +00:00
|
|
|
webdsl = import ../development/compilers/webdsl {
|
|
|
|
inherit stdenv fetchurl pkgconfig javafront;
|
|
|
|
aterm = aterm25;
|
|
|
|
sdf = sdf24;
|
|
|
|
strategoxt = strategoxt017;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
win32hello = import ../development/compilers/visual-c++/test {
|
|
|
|
inherit fetchurl stdenv visualcpp windowssdk;
|
|
|
|
};
|
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
wrapGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
2007-05-16 16:15:46 +01:00
|
|
|
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
2008-03-04 16:20:11 +00:00
|
|
|
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
2008-06-18 16:09:13 +01:00
|
|
|
nativePrefix = if stdenv ? gcc then stdenv.gcc.nativePrefix else "";
|
2008-03-04 16:20:11 +00:00
|
|
|
gcc = baseGCC;
|
|
|
|
libc = glibc;
|
|
|
|
inherit stdenv binutils;
|
|
|
|
};
|
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
wrapGCC = wrapGCCWith (import ../build-support/gcc-wrapper) glibc;
|
2008-06-26 12:07:46 +01:00
|
|
|
|
2008-03-04 16:20:11 +00:00
|
|
|
# FIXME: This is a specific hack for GCC-UPC. Eventually, we may
|
|
|
|
# want to merge `gcc-upc-wrapper' and `gcc-wrapper'.
|
|
|
|
wrapGCCUPC = baseGCC: import ../build-support/gcc-upc-wrapper {
|
|
|
|
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
2007-05-16 16:15:46 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-13 01:13:53 +00:00
|
|
|
# prolog
|
|
|
|
yap = import ../development/compilers/yap {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
### DEVELOPMENT / INTERPRETERS
|
|
|
|
|
|
|
|
|
|
|
|
clisp = import ../development/interpreters/clisp {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv libsigsegv gettext
|
2008-03-17 09:41:28 +00:00
|
|
|
readline ncurses coreutils pcre zlib;
|
2007-08-10 19:54:44 +01:00
|
|
|
inherit (xlibs) libX11 libXau libXt;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2008-02-07 10:43:05 +00:00
|
|
|
erlang = selectVersion ../development/interpreters/erlang "R12B-1" {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv perl gnum4 ncurses openssl;
|
2008-01-23 10:06:07 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
guile = import ../development/interpreters/guile {
|
2008-03-13 14:18:29 +00:00
|
|
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper;
|
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 {
|
2007-10-27 18:55:13 +01:00
|
|
|
inherit stdenv fetchurl readline ncurses perl flex;
|
2008-04-02 20:55:40 +01:00
|
|
|
g77 = g77_42;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2007-01-23 09:55:25 +00:00
|
|
|
perl = if !stdenv.isLinux then sysPerl else realPerl;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-22 14:43:00 +00:00
|
|
|
perl58 = import ../development/interpreters/perl-5.8 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
# FIXME: unixODBC needs patching on Darwin (see darwinports)
|
2007-11-23 16:58:42 +00:00
|
|
|
phpOld = import ../development/interpreters/php {
|
|
|
|
inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
|
|
|
unixODBC =
|
|
|
|
if stdenv.isDarwin then null else unixODBC;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-06-06 14:03:55 +01:00
|
|
|
php = import ../development/interpreters/php_configurable {
|
|
|
|
inherit
|
|
|
|
stdenv fetchurl lib mkDerivationByConfiguration autoconf automake
|
|
|
|
flex bison apacheHttpd mysql libxml2 # gettext
|
|
|
|
zlib curl gd postgresql;
|
|
|
|
flags = [
|
|
|
|
"xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" "curl"
|
|
|
|
"postgresql" "bcmath" "gd"
|
|
|
|
];
|
2008-01-03 10:46:18 +00:00
|
|
|
};
|
2007-11-05 21:13:16 +00:00
|
|
|
|
2008-03-17 13:45:50 +00:00
|
|
|
python = python24;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-03-17 13:45:50 +00:00
|
|
|
python24 = import ../development/interpreters/python/2.4 {
|
2008-06-06 14:03:55 +01:00
|
|
|
inherit fetchurl stdenv zlib bzip2;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-05 08:32:20 +00:00
|
|
|
|
2008-05-06 08:03:41 +01:00
|
|
|
python25Fun = lib.sumArgs (import ../development/interpreters/python/2.5) {
|
2008-04-08 08:37:49 +01:00
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
2008-03-17 13:45:50 +00:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-05-26 08:47:07 +01:00
|
|
|
python25 = python25Fun {
|
|
|
|
db4 = if getConfig ["python" "db4Support"] false then db4 else null;
|
|
|
|
sqlite = if getConfig ["python" "sqlite"] false then sqlite else null;
|
2008-05-26 12:39:08 +01:00
|
|
|
readline = if getConfig ["python" "readlineSupport"] false then readline else null;
|
2008-05-26 13:27:17 +01:00
|
|
|
openssl = if getConfig ["python" "opensslSupport"] false then openssl else null;
|
2008-05-26 08:47:07 +01:00
|
|
|
} null;
|
2008-03-17 13:45:50 +00:00
|
|
|
|
|
|
|
pyrex = pyrex095;
|
|
|
|
|
|
|
|
pyrex095 = import ../development/interpreters/pyrex/0.9.5.nix {
|
|
|
|
inherit fetchurl stdenv stringsWithDeps lib builderDefs python;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-05 08:32:20 +00:00
|
|
|
|
2008-03-17 13:45:50 +00:00
|
|
|
pyrex096 = import ../development/interpreters/pyrex/0.9.6.nix {
|
|
|
|
inherit fetchurl stdenv stringsWithDeps lib builderDefs python;
|
|
|
|
};
|
2007-11-08 14:34:54 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
QiFun = lib.sumArgs (selectVersion ../development/compilers/qi "9.1") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit clisp stdenv fetchurl builderDefs unzip;
|
|
|
|
};
|
2007-11-08 14:34:54 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
Qi = QiFun null;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-22 14:43:00 +00:00
|
|
|
realPerl = import ../development/interpreters/perl-5.10 {
|
2008-05-27 08:49:55 +01:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ruby = import ../development/interpreters/ruby {
|
2008-04-11 10:32:27 +01:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib lib openssl;
|
|
|
|
};
|
|
|
|
|
2008-05-07 12:24:28 +01:00
|
|
|
rLang = import ../development/interpreters/r-lang {
|
|
|
|
inherit fetchurl stdenv readline perl g77_42 libpng zlib;
|
|
|
|
inherit (xorg) libX11 libXt;
|
|
|
|
};
|
|
|
|
|
2008-04-11 10:32:27 +01:00
|
|
|
rubygemsFun = builderDefsPackage (import ../development/interpreters/ruby/gems.nix) {
|
|
|
|
inherit ruby makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2008-04-11 10:32:27 +01:00
|
|
|
rubygems = rubygemsFun null;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
spidermonkey = import ../development/interpreters/spidermonkey {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sysPerl = import ../development/interpreters/sys-perl {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
tcl = import ../development/interpreters/tcl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xulrunner = import ../development/interpreters/xulrunner {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl zip;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xulrunnerWrapper = {application, launcher}:
|
|
|
|
import ../development/interpreters/xulrunner/wrapper {
|
|
|
|
inherit stdenv xulrunner application launcher;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / MISC
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
/*
|
|
|
|
toolbus = import ../development/interpreters/toolbus {
|
|
|
|
inherit stdenv fetchurl atermjava toolbuslib aterm yacc flex;
|
|
|
|
};
|
|
|
|
*/
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
bleedingEdgeRepos = import ../development/misc/bleeding-edge-repos {
|
|
|
|
inherit getConfig fetchdarcs2 fetchurl;
|
2008-03-09 00:08:45 +00:00
|
|
|
};
|
2008-03-06 02:46:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ecj = import ../development/eclipse/ecj {
|
|
|
|
inherit fetchurl stdenv unzip jre ant;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jdtsdk = import ../development/eclipse/jdt-sdk {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-12 11:16:53 +00:00
|
|
|
guileLib = import ../development/guile-modules/guile-lib {
|
2008-03-26 15:20:25 +00:00
|
|
|
inherit fetchurl stdenv guile texinfo;
|
2008-02-12 11:16:53 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
windowssdk = import ../development/misc/windows-sdk {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / TOOLS
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
|
2008-01-16 10:35:49 +00:00
|
|
|
alex = import ../development/tools/parsing/alex {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal perl;
|
2008-01-16 10:35:49 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
antlr = import ../development/tools/parsing/antlr/antlr-2.7.6.nix {
|
|
|
|
inherit fetchurl stdenv jre;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
antlr3 = import ../development/tools/parsing/antlr {
|
|
|
|
inherit fetchurl stdenv jre;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ant = apacheAnt;
|
|
|
|
apacheAnt = import ../development/tools/build-managers/apache-ant {
|
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
name = "ant-" + jdk.name;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
apacheAnt14 = import ../development/tools/build-managers/apache-ant {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
jdk = j2sdk14x;
|
|
|
|
name = "ant-" + j2sdk14x.name;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-07-01 09:31:48 +01:00
|
|
|
autoconf = import ../development/tools/misc/autoconf {
|
2008-06-16 14:15:55 +01:00
|
|
|
inherit fetchurl stdenv perl m4 lzma;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
automake = automake19x;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
automake17x = import ../development/tools/misc/automake/automake-1.7.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
automake19x = import ../development/tools/misc/automake/automake-1.9.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-12 14:00:26 +00:00
|
|
|
automake110x = import ../development/tools/misc/automake/automake-1.10.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00: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
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
binutils = useFromStdenv "binutils"
|
2007-12-30 22:02:04 +00:00
|
|
|
(import ../development/tools/misc/binutils {
|
2006-10-18 15:04:55 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bison = bison1875;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bison1875 = import ../development/tools/parsing/bison/bison-1.875.nix {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bison23 = import ../development/tools/parsing/bison/bison-2.3.nix {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-12 13:32:37 +00:00
|
|
|
ccache = import ../development/tools/misc/ccache {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ctags = import ../development/tools/misc/ctags {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cmake = import ../development/tools/build-managers/cmake {
|
|
|
|
inherit fetchurl stdenv replace;
|
|
|
|
};
|
2007-07-07 23:31:37 +01:00
|
|
|
|
2008-04-27 19:20:57 +01:00
|
|
|
cproto = import ../development/tools/misc/cproto {
|
|
|
|
inherit fetchurl stdenv flex bison;
|
|
|
|
};
|
|
|
|
|
2008-04-14 12:47:26 +01:00
|
|
|
dejagnu = import ../development/tools/misc/dejagnu {
|
|
|
|
inherit fetchurl stdenv expect makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
elfutilsFun = lib.sumArgs
|
2008-01-31 17:32:28 +00:00
|
|
|
(selectVersion ../development/tools/misc/elfutils "0.131") {
|
2008-01-01 15:44:27 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
2007-03-21 19:25:58 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
elfutils = elfutilsFun null;
|
2008-01-01 15:44:27 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
epm = import ../development/tools/misc/epm {
|
|
|
|
inherit fetchurl stdenv rpm;
|
|
|
|
};
|
2007-09-06 16:00:33 +01:00
|
|
|
|
2008-02-26 15:48:14 +00:00
|
|
|
emma = import ../development/tools/analysis/emma {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-02-25 14:55:30 +00:00
|
|
|
findbugs = import ../development/tools/analysis/findbugs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
flex = flex254a;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-03-20 09:52:40 +00:00
|
|
|
flex2535 = import ../development/tools/parsing/flex/flex-2.5.35.nix {
|
|
|
|
inherit fetchurl stdenv yacc m4;
|
|
|
|
};
|
|
|
|
|
2008-02-16 19:12:55 +00:00
|
|
|
flex2534 = import ../development/tools/parsing/flex/flex-2.5.34.nix {
|
|
|
|
inherit fetchurl stdenv yacc m4;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
flex2533 = import ../development/tools/parsing/flex/flex-2.5.33.nix {
|
|
|
|
inherit fetchurl stdenv yacc m4;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
flex254a = import ../development/tools/parsing/flex/flex-2.5.4a.nix {
|
|
|
|
inherit fetchurl stdenv yacc;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
frown = import ../development/tools/parsing/frown {
|
|
|
|
inherit fetchurl stdenv ghc;
|
|
|
|
};
|
2007-05-09 14:10:31 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
m4 = gnum4;
|
2006-12-13 22:29:40 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnum4 = import ../development/tools/misc/gnum4 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-07-01 20:50:34 +01:00
|
|
|
gnum4_1411 = import ../development/tools/misc/gnum4/1.4.11.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gnumake = useFromStdenv "gnumake"
|
2007-12-30 22:02:04 +00:00
|
|
|
(import ../development/tools/build-managers/gnumake {
|
2006-10-18 15:04:55 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnumake380 = import ../development/tools/build-managers/gnumake-3.80 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gperf = import ../development/tools/misc/gperf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-01-19 17:05:54 +00:00
|
|
|
haddock = import ../development/tools/documentation/haddock {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal;
|
2008-01-19 17:05:54 +00:00
|
|
|
};
|
|
|
|
|
2008-03-21 18:07:02 +00:00
|
|
|
hsc2hs = import ../development/tools/misc/hsc2hs {
|
2008-03-21 01:24:43 +00:00
|
|
|
inherit bleedingEdgeRepos stdenv;
|
|
|
|
ghc = ghcsAndLibs.ghc68.ghc;
|
|
|
|
libs = with (ghc68extraLibs ghcsAndLibs.ghc68 // ghcsAndLibs.ghc68.core_libs); [ base directory process cabal_darcs ];
|
|
|
|
};
|
|
|
|
|
2008-02-15 16:30:33 +00:00
|
|
|
guileLint = import ../development/tools/guile/guile-lint {
|
|
|
|
inherit fetchurl stdenv guile;
|
|
|
|
};
|
|
|
|
|
2008-04-09 08:56:52 +01:00
|
|
|
gwrap = import ../development/tools/guile/g-wrap {
|
|
|
|
inherit fetchurl stdenv guile libffi pkgconfig guileLib;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
/*
|
|
|
|
happy = import ../development/tools/parsing/happy {
|
|
|
|
inherit fetchurl stdenv perl ghc;
|
|
|
|
};
|
|
|
|
*/
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-01-22 22:43:38 +00:00
|
|
|
happy = import ../development/tools/parsing/happy/happy-1.17.nix {
|
|
|
|
inherit cabal perl;
|
2008-01-17 18:21:50 +00:00
|
|
|
};
|
|
|
|
|
2008-02-13 11:15:08 +00:00
|
|
|
hasktags = import ../development/tools/misc/hasktags {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-02-13 11:15:08 +00:00
|
|
|
ghc = ghcsAndLibs.ghc68.ghc;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
help2man = import ../development/tools/misc/help2man {
|
|
|
|
inherit fetchurl stdenv perl gettext perlLocaleGettext;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
iconnamingutils = import ../development/tools/misc/icon-naming-utils {
|
|
|
|
inherit fetchurl stdenv perl perlXMLSimple;
|
|
|
|
};
|
2007-03-05 18:52:31 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
indentFun = lib.sumArgs (selectVersion ../development/tools/misc/indent "2.2.9") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv builderDefs;
|
|
|
|
};
|
2007-11-25 18:35:33 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
indent = indentFun null;
|
2007-11-25 18:35:33 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jikespg = import ../development/tools/parsing/jikespg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kcachegrind = import ../development/tools/misc/kcachegrind {
|
|
|
|
inherit fetchurl stdenv kdelibs zlib perl expat libpng libjpeg;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-26 14:15:37 +00:00
|
|
|
lcov = import ../development/tools/analysis/lcov {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libtool = import ../development/tools/misc/libtool {
|
|
|
|
inherit fetchurl stdenv perl m4;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lsof = import ../development/tools/misc/lsof {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-06-17 23:44:30 +01:00
|
|
|
|
2008-02-10 16:44:43 +00:00
|
|
|
ltraceFun = lib.sumArgs (selectVersion ../development/tools/misc/ltrace "0.5-3deb") {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps lib;
|
|
|
|
elfutils = elfutilsFun {version = "0.127";} null;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-03 08:19:00 +00:00
|
|
|
|
2008-02-10 16:44:43 +00:00
|
|
|
ltrace = ltraceFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mk = import ../development/tools/build-managers/mk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
noweb = import ../development/tools/literate-programming/noweb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-06-04 22:23:30 +01:00
|
|
|
oprofile = import ../development/tools/profiling/oprofile {
|
|
|
|
inherit fetchurl stdenv binutils popt;
|
|
|
|
inherit makeWrapper gawk which gnugrep;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
patchelf = useFromStdenv "patchelf"
|
2007-12-30 22:02:04 +00:00
|
|
|
(import ../development/tools/misc/patchelf {
|
2007-11-05 23:59:55 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-06-06 13:26:01 +01:00
|
|
|
pmccabe = import ../development/tools/misc/pmccabe {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
/**
|
|
|
|
* pkgconfig is optionally taken from the stdenv to allow bootstrapping
|
|
|
|
* of glib and pkgconfig itself on MinGW.
|
|
|
|
*/
|
2008-02-03 13:19:16 +00:00
|
|
|
pkgconfig = useFromStdenv "pkgconfig"
|
2007-12-30 22:02:04 +00:00
|
|
|
(import ../development/tools/misc/pkgconfig {
|
2006-10-18 15:04:55 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
# couldn't find the source yet
|
|
|
|
selenium_rc_binary = import ../development/tools/selenium/remote-control {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-12-03 14:33:54 +00:00
|
|
|
|
2008-06-18 23:48:54 +01:00
|
|
|
scons = selectVersion ../development/tools/build-managers/scons "0.98.5" {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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];
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-01-29 09:37:15 +00:00
|
|
|
sdf24 = import ../development/tools/parsing/sdf/sdf2-bundle-2.4.nix {
|
|
|
|
inherit fetchurl getopt pkgconfig;
|
|
|
|
aterm = aterm25;
|
|
|
|
# Note: sdf2-bundle currently requires GNU make 3.80; remove
|
|
|
|
# explicit dependency when this is fixed.
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
strace = import ../development/tools/misc/strace {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
swig = import ../development/tools/misc/swig {
|
|
|
|
inherit fetchurl stdenv perl python;
|
|
|
|
perlSupport = true;
|
|
|
|
pythonSupport = true;
|
|
|
|
javaSupport = false;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
swigWithJava = lowPrio (appendToName "with-java" (import ../development/tools/misc/swig {
|
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
perlSupport = false;
|
|
|
|
pythonSupport = false;
|
|
|
|
javaSupport = true;
|
|
|
|
}));
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-07 15:02:17 +01:00
|
|
|
sysprof = import ../development/tools/profiling/sysprof {
|
|
|
|
kernel = kernel_2_6_23; # FIXME: Allow the choice of a kernel
|
|
|
|
inherit fetchurl stdenv binutils pkgconfig;
|
|
|
|
inherit (gnome) gtk glib pango libglade;
|
|
|
|
};
|
|
|
|
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo49 = import ../development/tools/misc/texinfo/4.9.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
texinfo = import ../development/tools/misc/texinfo {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
uisp = import ../development/tools/misc/uisp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
uuagc = import ../development/tools/haskell/uuagc {
|
2008-01-23 08:36:03 +00:00
|
|
|
inherit cabal uulib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gdb = import ../development/tools/misc/gdb {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-26 14:15:37 +00:00
|
|
|
valgrind = import ../development/tools/analysis/valgrind {
|
2008-06-03 21:56:12 +01:00
|
|
|
inherit fetchurl stdenv perl gdb;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-05-25 21:43:56 +01:00
|
|
|
xxdiff = builderDefsPackage (selectVersion ../development/tools/misc/xxdiff "3.2") {
|
|
|
|
bison = bison23;
|
|
|
|
flex = flex2535;
|
|
|
|
qt = qt3;
|
|
|
|
python = python25;
|
|
|
|
inherit pkgconfig makeWrapper;
|
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
} null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
yacc = bison;
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / LIBRARIES
|
2007-02-22 16:07:51 +00:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
a52dec = import ../development/libraries/a52dec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aalib = import ../development/libraries/aalib {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-06-02 10:56:10 +01:00
|
|
|
|
2008-05-19 16:12:03 +01:00
|
|
|
acl = useFromStdenv "acl"
|
|
|
|
(import ../development/libraries/acl {
|
|
|
|
inherit stdenv fetchurl gettext attr libtool;
|
|
|
|
});
|
2007-12-23 15:09:12 +00:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
adns = selectVersion ../development/libraries/adns "1.4" {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
static = getPkgConfig "adns" "static" (stdenv ? isStatic || stdenv ? isDietLibC);
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
agg = import ../development/libraries/agg {
|
2008-03-10 09:48:17 +00:00
|
|
|
inherit fetchurl stdenv autoconf automake libtool pkgconfig
|
|
|
|
freetype SDL;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-22 12:05:36 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
apr = import ../development/libraries/apr {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aprutil = import ../development/libraries/apr-util {
|
|
|
|
inherit fetchurl stdenv apr expat db4;
|
|
|
|
bdbSupport = true;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
arts = import ../development/libraries/arts {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
inherit kdelibs zlib libjpeg libpng perl;
|
|
|
|
qt = qt3;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aspell = import ../development/libraries/aspell {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
2007-12-23 15:09:12 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aspellDicts = recurseIntoAttrs (import ../development/libraries/aspell/dictionaries.nix {
|
|
|
|
inherit fetchurl stdenv aspell which;
|
|
|
|
});
|
2007-12-23 15:09:12 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aterm = lowPrio (import ../development/libraries/aterm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aterm242fixes = import ../development/libraries/aterm/2.4.2-fixes.nix {
|
2008-06-29 18:07:23 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-22 12:05:36 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aterm23x = import ../development/libraries/aterm/2.3.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-06-02 10:56:10 +01:00
|
|
|
|
2008-01-29 09:32:56 +00:00
|
|
|
aterm25 = import ../development/libraries/aterm/2.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-05-20 10:23:18 +01:00
|
|
|
attr = useFromStdenv "attr"
|
2008-05-19 16:12:03 +01:00
|
|
|
(import ../development/libraries/attr {
|
|
|
|
inherit stdenv fetchurl libtool gettext;
|
|
|
|
});
|
2004-01-24 22:50:47 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
axis = import ../development/libraries/axis {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-04 16:11:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
babl = import ../development/libraries/babl {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-05-05 00:36:28 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
beecrypt = import ../development/libraries/beecrypt {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-04-26 15:47:16 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
boehmgc = import ../development/libraries/boehm-gc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-02-02 17:07:07 +00:00
|
|
|
|
2008-06-28 16:22:23 +01:00
|
|
|
boost = selectVersion ../development/libraries/boost "1.35.0" {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv icu zlib bzip2 python;
|
|
|
|
};
|
2006-11-14 15:55:57 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cairo = import ../development/libraries/cairo {
|
|
|
|
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng;
|
2008-04-23 11:48:10 +01:00
|
|
|
inherit (xlibs) pixman;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-03 13:18:15 +00:00
|
|
|
cairomm = import ../development/libraries/cairomm {
|
|
|
|
inherit fetchurl stdenv pkgconfig cairo x11 fontconfig freetype;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
chmlib = import ../development/libraries/chmlib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-13 15:22:24 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cil = import ../development/libraries/cil {
|
|
|
|
inherit stdenv fetchurl ocaml perl;
|
|
|
|
};
|
2007-10-23 17:33:11 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cilaterm = import ../development/libraries/cil-aterm {
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
inherit fetchurl perl ocaml;
|
|
|
|
};
|
2006-02-02 17:07:07 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
clanlib = import ../development/libraries/clanlib {
|
|
|
|
inherit fetchurl stdenv zlib libpng libjpeg libvorbis libogg mesa;
|
|
|
|
inherit (xlibs) libX11 xf86vidmodeproto libXmu libXxf86vm;
|
|
|
|
};
|
2005-11-22 12:05:36 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
clearsilver = import ../development/libraries/clearsilver {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
2004-11-19 17:47:17 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cluceneCore = (import ../development/libraries/clucene-core) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
coredumper = import ../development/libraries/coredumper {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-06-12 16:35:57 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ctl = import ../development/libraries/ctl {
|
|
|
|
inherit fetchurl stdenv ilmbase;
|
|
|
|
};
|
2004-08-23 11:44:21 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cppunit = import ../development/libraries/cppunit {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-09-11 23:39:06 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cracklib = import ../development/libraries/cracklib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-02-26 23:45:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cyrus_sasl = import ../development/libraries/cyrus-sasl {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv openssl db4 gettext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2004-01-24 23:46:00 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
db4 = db45;
|
2007-07-22 19:22:46 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
db44 = import ../development/libraries/db4/db4-4.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-23 18:06:50 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
db45 = import ../development/libraries/db4/db4-4.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-02 20:41:06 +00:00
|
|
|
dbus = import ../development/libraries/dbus {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig expat;
|
2008-03-04 13:30:34 +00:00
|
|
|
inherit (xlibs) libX11 libICE libSM;
|
|
|
|
useX11 = true; # !!! `false' doesn't build
|
|
|
|
#useX11 = getConfig ["dbus" "tools" "useX11"]
|
|
|
|
# (getConfig ["services" "xserver" "enable"] false);
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
dbus_glib = import ../development/libraries/dbus-glib {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext dbus expat;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
dclib = import ../development/libraries/dclib {
|
|
|
|
inherit fetchurl stdenv libxml2 openssl bzip2;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
directfb = import ../development/libraries/directfb {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-18 20:51:07 +00:00
|
|
|
enchant = selectVersion ../development/libraries/enchant "1.3.0" {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv aspell pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
exiv2 = import ../development/libraries/exiv2 {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv zlib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-08-05 14:54:42 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
expat = import ../development/libraries/expat {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-10 12:07:50 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
facile = import ../development/libraries/facile {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
# Actually, we don't need this version but we need native-code compilation
|
|
|
|
ocaml = builtins.getAttr "3.10.0" ocaml_alts;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2008-02-08 10:54:56 +00:00
|
|
|
fcgi = import ../development/libraries/fcgi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ffmpeg = import ../development/libraries/ffmpeg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-10-01 16:09:29 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ffmpeg_svn = import ../development/libraries/ffmpeg_svn_snapshot {
|
2008-02-10 23:00:58 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fftw = import ../development/libraries/fftw {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
|
|
|
};
|
2007-10-01 16:11:38 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fltk20 = (import ../development/libraries/fltk) {
|
2008-01-16 03:29:56 +00:00
|
|
|
inherit mkDerivationByConfiguration x11 lib;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv mesa mesaHeaders libpng libjpeg zlib ;
|
|
|
|
flags = [ "useNixLibs" "threads" "shared" "gl" ];
|
|
|
|
};
|
2006-10-13 13:58:13 +01:00
|
|
|
|
2008-01-28 19:46:59 +00:00
|
|
|
cfitsio = import ../development/libraries/cfitsio {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fontconfig = import ../development/libraries/fontconfig {
|
|
|
|
inherit fetchurl stdenv freetype expat;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2008-07-03 15:27:19 +01:00
|
|
|
makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}:
|
|
|
|
import ../development/libraries/fontconfig/make-fonts-conf.nix {
|
|
|
|
inherit runCommand libxslt fontconfig fontDirectories;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
freealut = import ../development/libraries/freealut {
|
|
|
|
inherit fetchurl stdenv openal;
|
|
|
|
};
|
2007-09-20 20:40:22 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
freeglut = assert mesaSupported; import ../development/libraries/freeglut {
|
|
|
|
inherit fetchurl stdenv x11 mesa;
|
|
|
|
};
|
2007-03-04 21:28:24 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
freetype = import ../development/libraries/freetype {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-03-04 21:28:24 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fribidi = import ../development/libraries/fribidi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-24 12:26:26 +01:00
|
|
|
|
2008-01-28 19:44:39 +00:00
|
|
|
fam = gamin;
|
|
|
|
|
2008-01-28 19:41:55 +00:00
|
|
|
gamin = import ../development/libraries/gamin {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv python pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
2008-01-28 19:41:55 +00:00
|
|
|
};
|
|
|
|
|
2008-04-07 00:18:25 +01:00
|
|
|
gdbm = import ../development/libraries/gdbm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-04-04 21:57:09 +01:00
|
|
|
gegl = import ../development/libraries/gegl {
|
|
|
|
inherit fetchurl stdenv libpng pkgconfig babl;
|
|
|
|
# optional gtk+
|
|
|
|
glib = glib214;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
# avocodec avformat librsvg
|
|
|
|
inherit cairo libjpeg librsvg;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
geos = import ../development/libraries/geos {
|
2008-01-16 03:29:56 +00:00
|
|
|
inherit fetchurl fetchsvn stdenv mkDerivationByConfiguration autoconf automake libtool swig which lib;
|
2007-12-30 22:02:04 +00:00
|
|
|
use_svn = stdenv.system == "x86_64-linux";
|
|
|
|
python = python;
|
2008-06-18 23:48:34 +01:00
|
|
|
# optional features:
|
2007-12-30 22:02:04 +00:00
|
|
|
# python / ruby support
|
|
|
|
};
|
2006-11-14 22:23:33 +00:00
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
gettextFun = lib.sumArgs (selectVersion ../development/libraries/gettext "0.17") {
|
2008-01-28 19:30:57 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-02 20:39:12 +00:00
|
|
|
gettext = gettextFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gd = import ../development/libraries/gd {
|
|
|
|
inherit fetchurl stdenv zlib libpng freetype libjpeg fontconfig;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00: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";
|
|
|
|
};
|
|
|
|
};
|
2007-10-12 21:27:15 +01:00
|
|
|
|
2008-01-16 02:20:46 +00:00
|
|
|
glew = import ../development/libraries/glew {
|
2008-01-16 10:28:47 +00:00
|
|
|
inherit fetchurl stdenv mesa x11 libtool;
|
2008-01-16 02:20:46 +00:00
|
|
|
inherit (xlibs) libXmu libXi;
|
|
|
|
};
|
|
|
|
|
2008-04-04 17:58:19 +01:00
|
|
|
# don't know wether this newer version breaks anything..
|
|
|
|
# not replacing the existing one.
|
|
|
|
glib214 = import ../development/libraries/glib {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
glibc = useFromStdenv "glibc"
|
2007-12-01 20:04:14 +00:00
|
|
|
(import ../development/libraries/glibc-2.7 {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
|
|
|
#installLocales = false;
|
|
|
|
});
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
glibc_multi =
|
|
|
|
assert system == "x86_64-linux";
|
|
|
|
runCommand "${glibc.name}-multi"
|
|
|
|
{ glibc64 = glibc;
|
|
|
|
glibc32 = (import ./all-packages.nix {system = "i686-linux";}).glibc;
|
|
|
|
}
|
|
|
|
''
|
|
|
|
ensureDir $out
|
|
|
|
ln -s $glibc64/* $out/
|
2008-06-28 16:22:23 +01:00
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
rm $out/lib $out/lib64
|
|
|
|
ensureDir $out/lib
|
|
|
|
ln -s $glibc64/lib/* $out/lib
|
|
|
|
ln -s $glibc32/lib $out/lib/32
|
|
|
|
ln -s lib $out/lib64
|
|
|
|
|
|
|
|
rm $out/include
|
|
|
|
cp -rs $glibc32/include $out
|
|
|
|
chmod -R u+w $out/include
|
|
|
|
cp -rsf $glibc64/include $out
|
|
|
|
''; # */
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gmime = import ../development/libraries/gmime {
|
|
|
|
inherit fetchurl stdenv pkgconfig zlib;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-04-21 16:20:49 +01:00
|
|
|
gmm = import ../development/libraries/gmm {
|
|
|
|
inherit fetchurl stdenv;
|
2008-06-18 23:48:34 +01:00
|
|
|
};
|
2008-04-21 16:20:49 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gmp = import ../development/libraries/gmp {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
#GMP ex-satellite, so better keep it near gmp
|
|
|
|
mpfr = import ../development/libraries/mpfr {
|
|
|
|
inherit fetchurl stdenv gmp;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
gst_all = import ../development/libraries/gstreamer {
|
|
|
|
inherit lib selectVersion stdenv fetchurl perl bison flex pkgconfig libxml2
|
|
|
|
python alsaLib cdparanoia libogg libvorbis libtheora freetype liboil
|
|
|
|
libjpeg zlib speex libpng libdv aalib cairo libcaca flac hal libiec61883
|
|
|
|
dbus libavc1394 ladspaH taglib;
|
|
|
|
inherit (xorg) libX11 libXv libXext;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
|
|
|
inherit (gnome) gnomevfs;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnet = import ../development/libraries/gnet {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnutls = import ../development/libraries/gnutls {
|
2008-06-13 12:46:39 +01:00
|
|
|
inherit fetchurl stdenv libgcrypt zlib lzo guile;
|
|
|
|
guileBindings = getConfig ["gnutls" "guile"] false;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gpgme = import ../development/libraries/gpgme {
|
2008-01-28 19:46:13 +00:00
|
|
|
inherit fetchurl stdenv libgpgerror pkgconfig pth gnupg gnupg2;
|
2008-05-20 15:25:09 +01:00
|
|
|
inherit (gtkLibs) glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
# gnu scientific library
|
|
|
|
gsl = import ../development/libraries/gsl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-03-07 15:43:43 +00:00
|
|
|
gtkLibs = recurseIntoAttrs gtkLibs212;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-03 13:17:07 +00:00
|
|
|
gtkLibs1x = import ../development/libraries/gtk-libs/1.x {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv x11 libtiff libjpeg libpng;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-03 13:17:07 +00:00
|
|
|
gtkLibs210 = import ../development/libraries/gtk-libs/2.10 {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
2008-02-03 13:18:37 +00:00
|
|
|
libtiff libjpeg libpng cairo libsigcxx cairomm;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXinerama libXrandr;
|
|
|
|
xineramaSupport = true;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-03-07 15:43:43 +00:00
|
|
|
gtkLibs212 = import ../development/libraries/gtk-libs/2.12 {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl x11
|
2008-02-03 13:18:37 +00:00
|
|
|
libtiff libjpeg libpng cairo libsigcxx cairomm;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXinerama libXrandr;
|
|
|
|
xineramaSupport = true;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
gtksharp = gtksharp2;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtksharp1 = import ../development/libraries/gtk-sharp-1 {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit (gnome) gtk glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeui libgnomeprint
|
2007-12-30 22:02:04 +00:00
|
|
|
libgnomeprintui GConf;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtksharp2 = import ../development/libraries/gtk-sharp-2 {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit (gnome) gtk glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeui libgnomeprint
|
2007-12-30 22:02:04 +00:00
|
|
|
libgnomeprintui GConf gnomepanel;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtksourceviewsharp = import ../development/libraries/gtksourceview-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtksourceview;
|
|
|
|
gtksharp = gtksharp2;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtkspell = import ../development/libraries/gtkspell {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit aspell;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-28 19:44:39 +00:00
|
|
|
# TODO : Add MIT Kerberos and let admin choose.
|
|
|
|
kerberos = heimdal;
|
|
|
|
|
2008-01-28 19:41:25 +00:00
|
|
|
heimdal = import ../development/libraries/kerberos/heimdal.nix {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv readline db4 openssl openldap cyrus_sasl;
|
2008-01-28 19:41:25 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
hsqldb = import ../development/libraries/java/hsqldb {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-10-01 16:12:41 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
icu = import ../development/libraries/icu {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-25 00:50:00 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
id3lib = import ../development/libraries/id3lib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-11-14 23:05:11 +00:00
|
|
|
|
2008-02-10 17:35:03 +00:00
|
|
|
ilbc = import ../development/libraries/ilbc {
|
|
|
|
inherit stdenv msilbc;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ilmbase = import ../development/libraries/ilmbase {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-12-19 18:56:31 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
imlib = import ../development/libraries/imlib {
|
|
|
|
inherit fetchurl stdenv libjpeg libtiff libungif libpng;
|
|
|
|
inherit (xlibs) libX11 libXext xextproto;
|
|
|
|
};
|
2007-10-22 01:51:40 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
imlib2 = import ../development/libraries/imlib2 {
|
|
|
|
inherit fetchurl stdenv x11 libjpeg libtiff libungif libpng bzip2;
|
|
|
|
};
|
2007-10-29 10:52:04 +00:00
|
|
|
|
2008-01-28 19:47:23 +00:00
|
|
|
indilib = import ../development/libraries/indilib {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv cfitsio libusb zlib;
|
2008-01-28 19:47:23 +00:00
|
|
|
};
|
|
|
|
|
2008-01-28 19:45:19 +00:00
|
|
|
iniparser = import ../development/libraries/iniparser {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
intltoolFun = lib.sumArgs (selectVersion ../development/tools/misc/intltool "0.36.2") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv lib builderDefs stringsWithDeps
|
|
|
|
perl perlXMLParser;
|
|
|
|
};
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
intltool = intltoolFun null;
|
2007-08-20 11:40:48 +01:00
|
|
|
|
2008-01-28 19:41:03 +00:00
|
|
|
jasper = import ../development/libraries/jasper {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv unzip libjpeg freeglut mesa;
|
|
|
|
inherit (xlibs) xproto libX11 libICE libXmu libXi libXext libXt;
|
2008-01-28 19:41:03 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lablgtk = import ../development/libraries/lablgtk {
|
|
|
|
inherit fetchurl stdenv ocaml pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-06-11 07:12:18 +01:00
|
|
|
inherit (gnome) libgnomecanvas;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-05-09 16:56:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lcms = import ../development/libraries/lcms {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-14 22:47:11 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lesstif = import ../development/libraries/lesstif {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXp libXau;
|
|
|
|
};
|
2007-04-18 14:47:35 +01:00
|
|
|
|
2008-06-08 04:56:32 +01:00
|
|
|
lib3ds = import ../development/libraries/lib3ds {
|
|
|
|
inherit fetchurl stdenv unzip;
|
2008-06-18 23:48:34 +01:00
|
|
|
};
|
2008-06-08 04:56:32 +01:00
|
|
|
|
2008-02-04 14:37:15 +00:00
|
|
|
libaal = import ../development/libraries/libaal {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-11 21:02:38 +00:00
|
|
|
libao = import ../development/libraries/libao {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
};
|
|
|
|
|
2008-02-18 20:52:40 +00:00
|
|
|
libarchive = selectVersion ../development/libraries/libarchive "2.4.12" {
|
|
|
|
inherit fetchurl stdenv zlib bzip2 e2fsprogs sharutils;
|
2008-01-28 19:46:38 +00:00
|
|
|
};
|
|
|
|
|
2008-01-28 19:43:37 +00:00
|
|
|
libassuan = import ../development/libraries/libassuan {
|
|
|
|
inherit fetchurl stdenv pth;
|
|
|
|
};
|
|
|
|
|
2008-01-13 15:21:21 +00:00
|
|
|
libavc1394 = import ../development/libraries/libavc1394 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libraw1394;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libcaca = import ../development/libraries/libcaca {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-01-02 14:24:36 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libcdaudio = import ../development/libraries/libcdaudio {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2008-03-05 09:10:23 +00:00
|
|
|
libcddb = import ../development/libraries/libcddb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libcdio = import ../development/libraries/libcdio {
|
|
|
|
inherit fetchurl stdenv libcddb pkgconfig ncurses;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libcm = assert mesaSupported; import ../development/libraries/libcm {
|
|
|
|
inherit fetchurl stdenv pkgconfig xlibs mesa;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdaemon = import ../development/libraries/libdaemon {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-09-01 19:26:13 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
libdbiFun = lib.sumArgs (selectVersion ../development/libraries/libdbi "0.8.2") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit stdenv fetchurl builderDefs;
|
|
|
|
};
|
2006-06-21 22:05:39 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
libdbi = libdbiFun null;
|
2007-09-21 21:43:43 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
libdbiDriversFun = lib.sumArgs (selectVersion ../development/libraries/libdbi-drivers "0.8.2-1") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit stdenv fetchurl builderDefs libdbi;
|
|
|
|
};
|
2007-09-04 10:38:52 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdbiDrivers = libdbiDriversFun {
|
2008-02-25 03:16:07 +00:00
|
|
|
inherit sqlite mysql;
|
2007-12-30 22:02:04 +00:00
|
|
|
} null;
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2008-01-10 13:37:32 +00:00
|
|
|
libdv = import ../development/libraries/libdv {
|
2008-01-16 09:57:25 +00:00
|
|
|
inherit fetchurl stdenv lib mkDerivationByConfiguration;
|
2008-01-10 13:37:32 +00:00
|
|
|
};
|
2007-08-18 17:20:14 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdrm = import ../development/libraries/libdrm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdvdcss = import ../development/libraries/libdvdcss {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdvdnav = import ../development/libraries/libdvdnav {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-12-13 22:29:40 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdvdread = import ../development/libraries/libdvdread {
|
|
|
|
inherit fetchurl stdenv libdvdcss;
|
|
|
|
};
|
2007-10-27 18:55:13 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libevent = import ../development/libraries/libevent {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-22 19:09:49 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libexif = import ../development/libraries/libexif {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2007-11-08 17:48:52 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
libextractorFun = lib.sumArgs (selectVersion ../development/libraries/libextractor "0.5.18")
|
2007-12-30 22:02:04 +00:00
|
|
|
{
|
|
|
|
inherit fetchurl stdenv builderDefs zlib;
|
|
|
|
};
|
2006-03-14 18:20:21 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
libextractor = libextractorFun null;
|
2007-12-04 04:18:31 +00:00
|
|
|
|
2008-04-09 08:40:48 +01:00
|
|
|
libffi = import ../development/libraries/libffi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libgcrypt = import ../development/libraries/libgcrypt {
|
|
|
|
inherit fetchurl stdenv libgpgerror;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libgpgerror = import ../development/libraries/libgpg-error {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-05 12:17:48 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libgphoto2 = import ../development/libraries/libgphoto2 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb libtool libexif libjpeg gettext;
|
|
|
|
};
|
2005-01-19 21:12:46 +00:00
|
|
|
|
2008-06-08 04:56:32 +01:00
|
|
|
libQGLViewer = import ../development/libraries/libqglviewer {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit qt4;
|
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
libsamplerate = import ../development/libraries/libsamplerate {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv mkDerivationByConfiguration pkgconfig lib;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libgsf = import ../development/libraries/libgsf {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2 gettext bzip2 python;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gnome) glib gnomevfs libbonobo;
|
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2008-02-11 21:02:38 +00:00
|
|
|
libid3tag = import ../development/libraries/libid3tag {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libidn = import ../development/libraries/libidn {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-01-07 17:25:39 +00:00
|
|
|
|
2008-01-13 15:21:21 +00:00
|
|
|
libiec61883 = import ../development/libraries/libiec61883 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libraw1394;
|
|
|
|
};
|
|
|
|
|
2008-02-20 23:02:41 +00:00
|
|
|
libjingle = selectVersion ../development/libraries/libjingle "0.3.11" {
|
|
|
|
inherit fetchurl stdenv mediastreamer;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libjpeg = import ../development/libraries/libjpeg {
|
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
};
|
2005-11-22 22:32:18 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libjpegStatic = lowPrio (appendToName "static" (import ../development/libraries/libjpeg-static {
|
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
static = true;
|
|
|
|
}));
|
2005-02-16 16:18:43 +00:00
|
|
|
|
2008-01-28 19:44:20 +00:00
|
|
|
libksba = import ../development/libraries/libksba {
|
2008-03-03 10:55:20 +00:00
|
|
|
inherit fetchurl stdenv libgpgerror;
|
2008-01-28 19:44:20 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libmad = import ../development/libraries/libmad {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-10-26 22:10:31 +01:00
|
|
|
|
2008-03-03 10:55:20 +00:00
|
|
|
libmcs = import ../development/libraries/libmcs {
|
|
|
|
inherit fetchurl stdenv pkgconfig libmowgli;
|
|
|
|
};
|
|
|
|
|
2008-05-11 12:46:48 +01:00
|
|
|
libmicrohttpd = import ../development/libraries/libmicrohttpd {
|
|
|
|
inherit fetchurl stdenv curl;
|
|
|
|
};
|
|
|
|
|
2008-03-03 10:55:20 +00:00
|
|
|
libmowgli = import ../development/libraries/libmowgli {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libmpcdec = import ../development/libraries/libmpcdec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-10-26 22:10:31 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libmspack = import ../development/libraries/libmspack {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2008-01-28 19:47:12 +00:00
|
|
|
libnova = import ../development/libraries/libnova {
|
2008-03-03 10:55:20 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 19:47:12 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libogg = import ../development/libraries/libogg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
liboilFun = lib.sumArgs
|
2008-03-10 20:13:44 +00:00
|
|
|
(selectVersion ../development/libraries/liboil "0.3.13") {
|
2008-02-22 03:06:12 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2008-03-10 20:13:44 +00:00
|
|
|
inherit (gtkLibs) glib;
|
2008-02-22 03:06:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
liboil = liboilFun null;
|
|
|
|
|
2008-02-12 10:51:44 +00:00
|
|
|
liboop = import ../development/libraries/liboop {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libotr = import ../development/libraries/libotr {
|
|
|
|
inherit fetchurl stdenv libgcrypt;
|
|
|
|
};
|
2007-05-13 15:22:24 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libpcap = import ../development/libraries/libpcap {
|
|
|
|
inherit fetchurl stdenv flex bison;
|
|
|
|
};
|
2007-09-06 16:56:39 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libpng = import ../development/libraries/libpng {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2007-08-08 14:20:18 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
/*libscdFun = lib.sumArgs (selectVersion ../development/libraries/libscd "0.4.2") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit stdenv fetchurl builderDefs libextractor perl pkgconfig;
|
|
|
|
};
|
2003-11-05 12:17:48 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
libscd = libscdFun null;*/
|
2007-10-12 21:33:03 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libsigcxx = import ../development/libraries/libsigcxx {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
};
|
2003-11-05 12:17:48 +00:00
|
|
|
|
2008-02-07 10:43:05 +00:00
|
|
|
libsigsegv = selectVersion ../development/libraries/libsigsegv "2.5" {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-03-05 13:44:27 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libsndfile = import ../development/libraries/libsndfile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-11-05 08:32:20 +00:00
|
|
|
|
2008-05-20 15:25:09 +01:00
|
|
|
libtasn1 = import ../development/libraries/libtasn1 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libtheora = import ../development/libraries/libtheora {
|
|
|
|
inherit fetchurl stdenv libogg libvorbis;
|
|
|
|
};
|
2007-11-05 08:32:20 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libtiff = import ../development/libraries/libtiff {
|
|
|
|
inherit fetchurl stdenv zlib libjpeg;
|
|
|
|
};
|
2007-08-10 09:21:31 +01:00
|
|
|
|
2007-12-31 21:52:43 +00:00
|
|
|
giflib = import ../development/libraries/giflib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libungif = import ../development/libraries/giflib/libungif.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libusb = import ../development/libraries/libusb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-01-28 19:45:30 +00:00
|
|
|
libunwind = import ../development/libraries/libunwind {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libvorbis = import ../development/libraries/libvorbis {
|
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
2006-07-08 13:44:39 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libwmf = import ../development/libraries/libwmf {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick
|
2008-03-17 09:41:28 +00:00
|
|
|
zlib libpng freetype libjpeg libxml2;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libwpd = import ../development/libraries/libwpd {
|
|
|
|
inherit fetchurl stdenv pkgconfig libgsf libxml2 bzip2;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2007-02-28 17:52:41 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libxcrypt = import ../development/libraries/libxcrypt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-08-06 19:45:53 +01:00
|
|
|
|
2008-02-18 20:53:36 +00:00
|
|
|
libxklavier = selectVersion ../development/libraries/libxklavier "3.4" {
|
|
|
|
inherit fetchurl stdenv xkeyboard_config pkgconfig libxml2;
|
|
|
|
inherit (xorg) libX11 libICE libxkbfile;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libxml2 = import ../development/libraries/libxml2 {
|
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = false;
|
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libxml2Python = lowPrio (appendToName "with-python" (import ../development/libraries/libxml2 {
|
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = true;
|
|
|
|
}));
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libxslt = import ../development/libraries/libxslt {
|
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libzip = import ../development/libraries/libzip {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv zlib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-07-25 09:44:05 +01:00
|
|
|
|
2008-07-01 15:47:49 +01:00
|
|
|
lightning = import ../development/libraries/lightning {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
log4cxx = import ../development/libraries/log4cxx {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv automake autoconf libtool cppunit libxml2 boost;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2008-01-28 19:49:25 +00:00
|
|
|
loudmouth = import ../development/libraries/loudmouth {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv libidn gnutls pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
2008-01-28 19:49:25 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lzo = import ../development/libraries/lzo {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2008-03-03 10:55:20 +00:00
|
|
|
# failed to build
|
2008-02-07 09:43:10 +00:00
|
|
|
mediastreamerFun = lib.sumArgs (selectVersion
|
2008-02-07 11:07:27 +00:00
|
|
|
../development/libraries/mediastreamer "2.2.0-cvs20080207") {
|
2008-02-10 17:34:49 +00:00
|
|
|
inherit fetchurl stdenv automake libtool autoconf alsaLib pkgconfig speex
|
|
|
|
ortp;
|
|
|
|
ffmpeg = ffmpeg_svn;
|
2008-02-07 09:43:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mediastreamer = mediastreamerFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mesaSupported =
|
|
|
|
system == "i686-linux" ||
|
|
|
|
system == "x86_64-linux";
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mesa = assert mesaSupported; import ../development/libraries/mesa {
|
|
|
|
inherit fetchurl stdenv pkgconfig x11 xlibs libdrm;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mesaHeaders = import ../development/libraries/mesa/headers.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
mesaSrc = mesa.src;
|
|
|
|
};
|
2006-10-08 11:31:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mpeg2dec = import ../development/libraries/mpeg2dec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-08-13 10:46:54 +01:00
|
|
|
|
2008-02-10 17:35:03 +00:00
|
|
|
msilbc = selectVersion ../development/libraries/msilbc "2.0.0" {
|
|
|
|
inherit fetchurl stdenv ilbc mediastreamer pkgconfig;
|
|
|
|
};
|
|
|
|
|
2008-02-21 16:17:43 +00:00
|
|
|
mpich2 = import ../development/libraries/mpich2 {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
2008-02-13 21:05:37 +00:00
|
|
|
ncursesFun = lib.sumArgs (import ../development/libraries/ncurses) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
unicode = (system != "i686-cygwin");
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-02-13 21:05:37 +00:00
|
|
|
ncurses = ncursesFun null;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ncursesDiet = import ../development/libraries/ncurses-diet {
|
|
|
|
inherit fetchurl;
|
|
|
|
stdenv = useDietLibC stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-19 16:29:25 +01:00
|
|
|
neon = neon026;
|
|
|
|
|
|
|
|
neon026 = import ../development/libraries/neon/0.26.nix {
|
|
|
|
inherit fetchurl stdenv libxml2 zlib openssl;
|
|
|
|
compressionSupport = true;
|
|
|
|
sslSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
neon028 = import ../development/libraries/neon/0.28.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv libxml2 zlib openssl;
|
|
|
|
compressionSupport = true;
|
|
|
|
sslSupport = true;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nss = import ../development/libraries/nss {
|
|
|
|
inherit fetchurl stdenv perl zip;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openal = import ../development/libraries/openal {
|
|
|
|
inherit fetchurl stdenv alsaLib autoconf automake libtool;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
# added because I hope that it has been easier to compile on x86 (for blender)
|
|
|
|
openalSoft = import ../development/libraries/openalSoft {
|
|
|
|
inherit fetchurl stdenv alsaLib libtool cmake;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openbabel = import ../development/libraries/openbabel {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv zlib libxml2;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
# this ctl version is needed by openexr_viewers
|
|
|
|
openexr_ctl = import ../development/libraries/openexr_ctl {
|
|
|
|
inherit fetchurl stdenv ilmbase ctl;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openexr_1_6_1 = import ../development/libraries/openexr {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv ilmbase zlib pkgconfig lib;
|
2007-12-30 22:02:04 +00:00
|
|
|
version = "1.6.1";
|
|
|
|
# optional features:
|
|
|
|
inherit ctl;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
# This older version is needed by blender (it complains about missing half.h )
|
|
|
|
openexr_1_4_0 = import ../development/libraries/openexr {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv ilmbase zlib pkgconfig lib;
|
2007-12-30 22:02:04 +00:00
|
|
|
version = "1.4.0";
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openldap = import ../development/libraries/openldap {
|
|
|
|
inherit fetchurl stdenv openssl cyrus_sasl db4;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openssl = import ../development/libraries/openssl {
|
2008-05-27 08:49:55 +01:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv perl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-18 20:51:25 +00:00
|
|
|
ortp = selectVersion ../development/libraries/ortp "0.13.1" {
|
2008-01-28 19:49:08 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pangoxsl = import ../development/libraries/pangoxsl {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) glib pango;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pcre = import ../development/libraries/pcre {
|
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 19:36:15 +00:00
|
|
|
unicodeSupport = getConfig ["pcre" "unicode"] false;
|
2007-11-21 19:28:54 +00:00
|
|
|
cplusplusSupport = !stdenv ? isDietLibC;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
poppler = import ../development/libraries/poppler {
|
2007-11-21 19:28:54 +00:00
|
|
|
inherit fetchurl stdenv qt4 cairo freetype fontconfig zlib libjpeg;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-08-16 22:45:10 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
popt = import ../development/libraries/popt {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2006-08-13 10:46:54 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
popt110 = import ../development/libraries/popt/popt-1.10.6.nix {
|
|
|
|
inherit fetchurl stdenv gettext libtool autoconf automake;
|
|
|
|
};
|
2005-08-24 15:26:32 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
proj = import ../development/libraries/proj.4 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-28 19:43:03 +00:00
|
|
|
pth = import ../development/libraries/pth {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 19:43:03 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
qt3 = import ../development/libraries/qt-3 {
|
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa;
|
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
|
|
|
libXmu libXinerama xineramaproto libXcursor;
|
|
|
|
openglSupport = mesaSupported;
|
2008-01-28 19:48:57 +00:00
|
|
|
mysqlSupport = getConfig ["qt" "mysql"] false;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-23 10:01:04 +01:00
|
|
|
qt3mysql = import ../development/libraries/qt-3 {
|
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa;
|
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
|
|
|
libXmu libXinerama xineramaproto libXcursor;
|
|
|
|
openglSupport = mesaSupported;
|
|
|
|
mysqlSupport = true;
|
|
|
|
};
|
|
|
|
|
2008-05-10 10:09:56 +01:00
|
|
|
qt4 = import ../development/libraries/qt-4 {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv fetchsvn zlib libjpeg libpng which mysql mesa openssl cups dbus
|
2008-03-17 09:41:28 +00:00
|
|
|
fontconfig freetype pkgconfig libtiff;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2008-03-17 09:41:28 +00:00
|
|
|
libXmu libXinerama xineramaproto libXcursor libICE libSM libX11 libXext
|
|
|
|
inputproto fixesproto libXfixes;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
readline = readline5;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
readline4 = import ../development/libraries/readline/readline4.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
readline5 = import ../development/libraries/readline/readline5.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-04-03 14:02:05 +01:00
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
# Also known as librdf, includes raptor and rasqal
|
2007-12-30 22:02:04 +00:00
|
|
|
redland = import ../development/libraries/redland {
|
2008-02-10 17:42:11 +00:00
|
|
|
inherit fetchurl stdenv openssl libxml2 pkgconfig perl postgresql sqlite
|
|
|
|
mysql libxslt curl pcre;
|
|
|
|
bdb = db4;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-11 16:36:11 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
rte = import ../development/libraries/rte {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-08-24 16:02:30 +01:00
|
|
|
|
2008-03-10 20:13:44 +00:00
|
|
|
schroedinger = import ../development/libraries/schroedinger {
|
|
|
|
inherit fetchurl stdenv liboil pkgconfig;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
SDL = import ../development/libraries/SDL {
|
|
|
|
inherit fetchurl stdenv x11 mesa alsaLib;
|
|
|
|
inherit (xlibs) libXrandr;
|
|
|
|
openglSupport = mesaSupported;
|
|
|
|
alsaSupport = true;
|
|
|
|
};
|
2006-11-25 23:41:53 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
SDL_image = import ../development/libraries/SDL_image {
|
|
|
|
inherit fetchurl stdenv SDL libjpeg libungif libtiff libpng;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
};
|
2004-08-23 10:35:36 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
SDL_mixer = import ../development/libraries/SDL_mixer {
|
|
|
|
inherit fetchurl stdenv SDL libogg libvorbis;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-02-06 21:26:17 +00:00
|
|
|
SDL_net = import ../development/libraries/SDL_net {
|
|
|
|
inherit fetchurl stdenv SDL;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
SDL_ttf = import ../development/libraries/SDL_ttf {
|
|
|
|
inherit fetchurl stdenv SDL freetype;
|
|
|
|
};
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
slang = import ../development/libraries/slang {
|
|
|
|
inherit fetchurl stdenv pcre libpng;
|
|
|
|
};
|
2005-03-11 10:55:21 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
speex = import ../development/libraries/speex {
|
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
2007-08-16 22:45:10 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sqlite = import ../development/libraries/sqlite {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-04-22 19:08:37 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
t1lib = import ../development/libraries/t1lib {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
};
|
2005-03-11 11:02:31 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
taglib = import ../development/libraries/taglib {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2008-01-28 19:49:44 +00:00
|
|
|
tapioca_qt = import ../development/libraries/tapioca-qt {
|
|
|
|
inherit fetchsvn stdenv cmake telepathy_qt;
|
2008-03-17 09:41:28 +00:00
|
|
|
qt = qt4;
|
2008-01-28 19:49:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
telepathy_gabble = import ../development/libraries/telepathy-gabble {
|
|
|
|
inherit fetchurl stdenv pkgconfig libxslt telepathy_glib loudmouth;
|
|
|
|
};
|
|
|
|
|
|
|
|
telepathy_glib = import ../development/libraries/telepathy-glib {
|
|
|
|
inherit fetchurl stdenv dbus_glib pkgconfig libxslt python;
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit (gtkLibs) glib;
|
2008-01-28 19:49:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
telepathy_qt = import ../development/libraries/telepathy-qt {
|
|
|
|
inherit fetchsvn stdenv cmake;
|
2008-03-17 09:41:28 +00:00
|
|
|
qt = qt4;
|
2008-01-28 19:49:44 +00:00
|
|
|
};
|
|
|
|
|
2008-02-10 17:41:04 +00:00
|
|
|
tkFun = lib.sumArgs (selectVersion ../development/libraries/tk "8.4.16") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv tcl x11;
|
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2008-02-03 14:17:22 +00:00
|
|
|
tk = tkFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
unixODBC = import ../development/libraries/unixODBC {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-12 00:03:30 +01:00
|
|
|
unixODBCDrivers = recurseIntoAttrs (import ../development/libraries/unixODBCDrivers {
|
|
|
|
inherit fetchurl stdenv unixODBC glibc libtool openssl zlib;
|
2008-06-13 10:44:43 +01:00
|
|
|
inherit postgresql mysql sqlite;
|
2008-06-12 00:03:30 +01:00
|
|
|
});
|
|
|
|
|
2008-06-29 08:02:11 +01:00
|
|
|
webkit = builderDefsPackage (import ../development/libraries/webkit) {
|
|
|
|
inherit (gtkLibs) gtk atk pango;
|
|
|
|
inherit freetype fontconfig gettext gperf curl
|
|
|
|
libjpeg libtiff libpng libxml2 libxslt sqlite
|
|
|
|
icu cairo perl intltool automake libtool
|
2008-07-01 09:31:48 +01:00
|
|
|
pkgconfig autoconf;
|
2008-06-29 08:02:11 +01:00
|
|
|
flex = flex2535;
|
|
|
|
bison = bison23;
|
|
|
|
} null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxGTK = wxGTK26;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxGTK28fun = lib.sumArgs (import ../development/libraries/wxGTK-2.8);
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxGTK28deps = wxGTK28fun {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxGTK28 = wxGTK28deps null;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-22 01:18:45 +01:00
|
|
|
x264 = import ../development/libraries/x264 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
Xaw3d = import ../development/libraries/Xaw3d {
|
|
|
|
inherit fetchurl stdenv x11 bison;
|
|
|
|
flex = flex2533;
|
|
|
|
inherit (xlibs) imake gccmakedep libXmu libXpm libXp;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xineLib = import ../development/libraries/xine-lib {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv zlib x11 libdvdcss alsaLib pkgconfig mesa aalib SDL
|
|
|
|
libvorbis libtheora speex;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXv libXinerama;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-07-07 12:54:25 +01:00
|
|
|
xautolock = import ../misc/screensavers/xautolock {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xorg) imake;
|
|
|
|
inherit (xlibs) libXScrnSaver scrnsaverproto;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00: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
|
|
|
|
];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
zlib = import ../development/libraries/zlib {
|
2008-05-27 08:49:55 +01:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-03-11 11:08:38 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
zlibStatic = lowPrio (appendToName "static" (import ../development/libraries/zlib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
static = true;
|
|
|
|
}));
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
zvbi = import ../development/libraries/zvbi {
|
|
|
|
inherit fetchurl stdenv libpng x11;
|
|
|
|
pngSupport = true;
|
|
|
|
};
|
2006-08-27 20:59:45 +01:00
|
|
|
|
2005-12-26 15:56:00 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / LIBRARIES / JAVA
|
2005-10-12 12:57:24 +01:00
|
|
|
|
2006-07-04 17:58:25 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
atermjava = import ../development/libraries/java/aterm {
|
|
|
|
inherit fetchurl sharedobjects jjtraveler jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
2005-02-15 16:22:20 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
commonsFileUpload = import ../development/libraries/java/jakarta-commons/file-upload {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
httpunit = import ../development/libraries/java/httpunit {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-08-18 10:35:54 +01:00
|
|
|
|
2008-02-26 08:48:40 +00:00
|
|
|
gwtdragdrop = import ../development/libraries/java/gwt-dragdrop {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-02-25 12:45:17 +00:00
|
|
|
gwtwidgets = import ../development/libraries/java/gwt-widgets {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jakartabcel = import ../development/libraries/java/jakarta-bcel {
|
|
|
|
regexp = jakartaregexp;
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jakartaregexp = import ../development/libraries/java/jakarta-regexp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-12-11 02:35:05 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
javaCup = import ../development/libraries/java/cup {
|
|
|
|
inherit stdenv fetchurl jdk;
|
|
|
|
};
|
2004-04-05 15:09:01 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
javasvn = import ../development/libraries/java/javasvn {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-03-04 23:37:34 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jclasslib = import ../development/tools/java/jclasslib {
|
|
|
|
inherit fetchurl stdenv xpf jre;
|
|
|
|
ant = apacheAnt14;
|
|
|
|
};
|
2003-11-06 16:28:57 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jdom = import ../development/libraries/java/jdom {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-03-18 23:58:22 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jflex = import ../development/libraries/java/jflex {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jjtraveler = import ../development/libraries/java/jjtraveler {
|
|
|
|
inherit fetchurl jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
junit = import ../development/libraries/java/junit {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lucene = import ../development/libraries/java/lucene {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mockobjects = import ../development/libraries/java/mockobjects {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
saxon = import ../development/libraries/java/saxon {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
saxonb = import ../development/libraries/java/saxon/default8.nix {
|
|
|
|
inherit fetchurl stdenv unzip jre;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sharedobjects = import ../development/libraries/java/shared-objects {
|
|
|
|
inherit fetchurl jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-26 09:07:12 +00:00
|
|
|
smack = import ../development/libraries/java/smack {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
swt = import ../development/libraries/java/swt {
|
|
|
|
inherit stdenv fetchurl unzip jdk pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXtst;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xalanj = import ../development/libraries/java/xalanj {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / LIBRARIES / HASKELL
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-17 16:54:48 +00:00
|
|
|
binary = import ../development/libraries/haskell/binary {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit cabal;
|
2008-01-22 16:26:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# cabal is a utility function to build cabal-based
|
|
|
|
# Haskell packages
|
|
|
|
cabal68 = import ../development/libraries/haskell/cabal/cabal.nix {
|
2008-01-17 16:54:48 +00:00
|
|
|
inherit stdenv fetchurl;
|
|
|
|
ghc = ghc68;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-01-22 22:43:38 +00:00
|
|
|
cabal = cabal68;
|
2008-01-17 16:54:48 +00:00
|
|
|
|
2008-01-22 19:02:55 +00:00
|
|
|
Crypto = import ../development/libraries/haskell/Crypto {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal;
|
2008-01-22 19:02:55 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtk2hs = import ../development/libraries/haskell/gtk2hs {
|
2008-01-25 12:42:07 +00:00
|
|
|
inherit pkgconfig stdenv fetchurl cairo ghc;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gnome) gtk glib GConf libglade libgtkhtml gtkhtml;
|
2008-01-25 12:42:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
HDBC = import ../development/libraries/haskell/HDBC/HDBC-1.1.4.nix {
|
|
|
|
inherit cabal;
|
|
|
|
};
|
|
|
|
|
|
|
|
HDBCPostgresql = import ../development/libraries/haskell/HDBC/HDBC-postgresql-1.1.4.0.nix {
|
|
|
|
inherit cabal HDBC postgresql;
|
|
|
|
};
|
|
|
|
|
|
|
|
HDBCSqlite = import ../development/libraries/haskell/HDBC/HDBC-sqlite3-1.1.4.0.nix {
|
|
|
|
inherit cabal HDBC sqlite;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-22 19:02:55 +00:00
|
|
|
pcreLight = import ../development/libraries/haskell/pcre-light {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal pcre;
|
2008-01-22 19:02:55 +00:00
|
|
|
};
|
|
|
|
|
2008-01-23 08:36:03 +00:00
|
|
|
uulib = import ../development/libraries/haskell/uulib {
|
|
|
|
inherit cabal;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxHaskell = import ../development/libraries/haskell/wxHaskell {
|
2008-02-22 14:09:29 +00:00
|
|
|
inherit stdenv fetchurl unzip wxGTK ghc;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
/*
|
|
|
|
wxHaskell68 = lowPrio (appendToName "ghc68" (import ../development/libraries/haskell/wxHaskell {
|
|
|
|
inherit stdenv fetchurl unzip wxGTK;
|
|
|
|
ghc = ghc68;
|
|
|
|
}));
|
|
|
|
*/
|
2008-01-16 10:35:49 +00:00
|
|
|
|
|
|
|
X11 = import ../development/libraries/haskell/X11 {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal;
|
2008-01-16 10:35:49 +00:00
|
|
|
inherit (xlibs) libX11 libXinerama libXext;
|
|
|
|
xineramaSupport = true;
|
|
|
|
};
|
|
|
|
|
2008-01-19 16:42:42 +00:00
|
|
|
vty = import ../development/libraries/haskell/vty {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal;
|
2008-01-19 16:42:42 +00:00
|
|
|
};
|
|
|
|
|
2008-01-17 15:57:26 +00:00
|
|
|
zlibHaskell = import ../development/libraries/haskell/zlib {
|
2008-01-22 22:43:38 +00:00
|
|
|
inherit cabal zlib;
|
2008-01-17 15:57:26 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / PERL MODULES
|
2007-12-13 22:15:03 +00:00
|
|
|
|
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlAlgorithmAnnotate = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Algorithm-Annotate-0.10";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/Algorithm-Annotate-0.10.tar.gz;
|
|
|
|
sha256 = "1y92k4nqkscfwpriv8q7c90rjfj85lvwq1k96niv2glk8d37dcf9";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlAlgorithmDiff = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Algorithm-Diff-1.15";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1901.zip;
|
|
|
|
sha256 = "0qk60fi49mpyvnfpjd2dzcmya8x3g5zfgb2hrnl7a5krn045g6i2";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
buildInputs = [unzip];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlAppCLI = import ../development/perl-modules/generic perl {
|
|
|
|
name = "App-CLI-0.07";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/App-CLI-0.07.tar.gz;
|
|
|
|
sha256 = "000866qsm7jck3ini69b02sgbjwp6s297lsds002r7xk2wb6fqcz";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlLocaleMaketextSimple];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlArchiveZip = import ../development/perl-modules/Archive-Zip {
|
|
|
|
inherit fetchurl perl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlBerkeleyDB = import ../development/perl-modules/BerkeleyDB {
|
|
|
|
inherit fetchurl perl db4;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlCGISession = import ../development/perl-modules/generic perl {
|
|
|
|
name = "CGI-Session-3.95";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/S/SH/SHERZODR/CGI-Session-3.95.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
md5 = "fe9e46496c7c711c54ca13209ded500b";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlClassAccessor = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Class-Accessor-0.31";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/Class-Accessor-0.31.tar.gz;
|
|
|
|
sha256 = "1a4v5qqdf9bipd6ba5n47mag0cmgwp97cid67i510aw96bcjrsiy";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlClassAutouse = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Class-Autouse-1.99_02";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Autouse-1.99_02.tar.gz;
|
|
|
|
sha256 = "1jkhczx2flxrz154ps90fj9wcchkpmnp5sapwc0l92rpn7jpsf08";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlClassDataInheritable = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Class-Data-Inheritable-0.08";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-Data-Inheritable-0.08.tar.gz;
|
|
|
|
sha256 = "0jpi38wy5xh6p1mg2cbyjjw76vgbccqp46685r27w8hmxb7gwrwr";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlCompressZlib = import ../development/perl-modules/Compress-Zlib {
|
|
|
|
inherit fetchurl perl;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlconstant = import ../development/perl-modules/generic perl {
|
|
|
|
name = "constant-1.15";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/constant-1.15.tar.gz;
|
|
|
|
sha256 = "1ygz0hd1fd3q88r6dlw14kpyh06zjprksdci7qva6skxz3261636";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2008-02-12 08:47:56 +00:00
|
|
|
perlCryptPasswordMD5 = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Crypt-PasswdMD5-1.3";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-1.3.tar.gz;
|
2008-02-12 08:47:56 +00:00
|
|
|
sha256 = "13j0v6ihgx80q8jhyas4k48b64gnzf202qajyn097vj8v48khk54";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlDataHierarchy = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Data-Hierarchy-0.34";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/Data-Hierarchy-0.34.tar.gz;
|
|
|
|
sha256 = "1vfrkygdaq0k7006i83jwavg9wgszfcyzbl9b7fp37z2acmyda5k";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlTestException];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlDateManip = import ../development/perl-modules/generic perl {
|
|
|
|
name = "DateManip-5.42a";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/DateManip-5.42a.tar.gz;
|
|
|
|
md5 = "648386bbf46d021ae283811f75b07bdf";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-12 08:42:56 +00:00
|
|
|
perlDBFile = import ../development/perl-modules/DB_File {
|
|
|
|
inherit fetchurl perl db4;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlDigestSHA1 = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Digest-SHA1-2.11";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
md5 = "2449bfe21d6589c96eebf94dae24df6b";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlEmailAddress = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Email-Address-1.888";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/R/RJ/RJBS/Email-Address-1.888.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "0c6b8djnmiy0niskrvywd6867xd1qmn241ffdwj957dkqdakq9yx";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlEmailSend = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Email-Send-2.185";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/R/RJ/RJBS/Email-Send-2.185.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "0pbgnnbmv6z3zzqaiq1sdcv5d26ijhw4p8k8kp6ac7arvldblamz";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlEmailSimple perlEmailAddress perlModulePluggable perlReturnValue];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlEmailSimple = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Email-Simple-2.003";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/R/RJ/RJBS/Email-Simple-2.003.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "0h8873pidhkqy7415s5sx8z614d0haxiknbjwrn65icrr2m0b8g6";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlEncode = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Encode-2.25";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-2.25.tar.gz;
|
|
|
|
sha256 = "0prwmbg3xh1lqskianwrfrgasdfmz4kjm3qpdm27ay110jkk25ak";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlExtUtilsInstall = import ../development/perl-modules/generic perl {
|
|
|
|
name = "ExtUtils-Install-1.50";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/ExtUtils-Install-1.50.tar.gz;
|
|
|
|
sha256 = "18fr056fwnnhvgc646crx2p9mybf69mh5rkcphc7bbvahw9i61jy";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlExtUtilsMakeMaker];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlExtUtilsMakeMaker = import ../development/perl-modules/generic perl {
|
|
|
|
name = "ExtUtils-MakeMaker-6.44";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/ExtUtils-MakeMaker-6.44.tar.gz;
|
|
|
|
sha256 = "0zyypnlmmyp06qbfdpc14rp5rj63066mjammn6rlcqz2iil9mpcj";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlExtUtilsManifest = import ../development/perl-modules/generic perl {
|
|
|
|
name = "ExtUtils-Manifest-1.53";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/R/RK/RKOBES/ExtUtils-Manifest-1.53.tar.gz;
|
|
|
|
sha256 = "0xgfzivw0dfy29ydfjkg0c9mvlhjvlhc54s0yvbb4sxb2mdvrfkp";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlFilechdir = import ../development/perl-modules/generic perl {
|
|
|
|
name = "File-chdir-0.1002";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/File-chdir-0.1002.tar.gz;
|
|
|
|
sha256 = "1fc2l754bxsizli3injm4wqf8dn03iq16rmfn62l99nxpibl5k6p";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlFileTemp = import ../development/perl-modules/generic perl {
|
|
|
|
name = "File-Temp-0.20";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/T/TJ/TJENNESS/File-Temp-0.20.tar.gz;
|
|
|
|
sha256 = "0n7lr7mpdvwgznw469qdpdmac627a26wp615dkpzanc452skad4v";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlFreezeThaw = import ../development/perl-modules/generic perl {
|
|
|
|
name = "FreezeThaw-0.43";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/FreezeThaw-0.43.tar.gz;
|
|
|
|
sha256 = "1qamc5aggp35xk590a4hy660f2rhc2l7j65hbyxdya9yvg7z437l";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlHTMLParser = import ../development/perl-modules/generic perl {
|
|
|
|
name = "HTML-Parser-3.56";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-3.56.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "0x1h42r54aq4yqpwi7mla4jzia9c5ysyqh8ir2nav833f9jm6g2h";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlHTMLTagset];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlHTMLTagset = import ../development/perl-modules/generic perl {
|
|
|
|
name = "HTML-Tagset-3.10";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-3.10.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "05k292qy7jzjlmmybis8nncpnwwa4jfkm7q3gq6866ydxrzds9xh";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlHTMLTree = import ../development/perl-modules/generic perl {
|
|
|
|
name = "HTML-Tree-3.18";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/HTML-Tree-3.18.tar.gz;
|
|
|
|
md5 = "6a9e4e565648c9772e7d8ec6d4392497";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlI18NLangTags = import ../development/perl-modules/generic perl {
|
|
|
|
name = "I18N-LangTags-0.35";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/I18N-LangTags-0.35.tar.gz;
|
|
|
|
sha256 = "0idwfi7k8l44d9akpdj6ygdz3q8zxr690m18s7w23ms9d55bh3jy";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlIODigest = import ../development/perl-modules/generic perl {
|
|
|
|
name = "IO-Digest-0.10";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/IO-Digest-0.10.tar.gz;
|
|
|
|
sha256 = "1g6ilxqv2a7spf273v7k0721c6am7pwpjrin3h5zaqxfmd312nav";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlPerlIOviadynamic];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlIOPager = import ../development/perl-modules/generic perl {
|
|
|
|
name = "IO-Pager-0.06.tgz";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/J/JP/JPIERCE/IO-Pager-0.06.tgz;
|
|
|
|
sha256 = "0r3af4gyjpy0f7bhs7hy5s7900w0yhbckb2dl3a1x5wpv7hcbkjb";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlListMoreUtils = import ../development/perl-modules/generic perl {
|
|
|
|
name = "List-MoreUtils-0.22";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz;
|
|
|
|
sha256 = "1dv21xclh6r1cyy19r34xv2w6pc1jb5pwj7b2739m78xhlk8p55l";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlLocaleMaketext = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Locale-Maketext-1.13";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/Locale-Maketext-1.13.tar.gz;
|
|
|
|
sha256 = "0qvrhcs1f28ix3v8hcd5xr4z9s7plz4g5a4q1cjp7bs0c3w2yl6z";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlI18NLangTags];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlLocaleMaketextLexicon = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Locale-Maketext-Lexicon-0.66";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Locale-Maketext-Lexicon-0.66.tar.gz;
|
|
|
|
sha256 = "1cd2kbcrlyjcmlr7m8kf94mm1hlr7hpv1r80a596f4ljk81f2nvd";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlLocaleMaketext];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlLocaleMaketextSimple = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Locale-Maketext-Simple-0.18";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Locale-Maketext-Simple-0.18.tar.gz;
|
|
|
|
sha256 = "14kx7vkxyfqndy90rzavrjp2346aidyc7x5dzzdj293qf8s4q6ig";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlLWP = import ../development/perl-modules/generic perl {
|
|
|
|
name = "libwww-perl-5.808";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/G/GA/GAAS/libwww-perl-5.808.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "1r5rslx68yplyd07bvjahjjrrqb56bhgg6gwdr9c16mv2s57gq12";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlURI perlHTMLParser perlHTMLTagset];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlModuleBuild = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Module-Build-0.2808";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Module-Build-0.2808.tar.gz;
|
|
|
|
sha256 = "1h8zpf4g2n8v47l9apmdqbdgcg039g70w75hpn84m37pmqkbnj8v";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlExtUtilsInstall perlExtUtilsManifest perlTestHarness];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlPathClass = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Path-Class-0.16";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-0.16.tar.gz;
|
|
|
|
sha256 = "0zisxkj58jm84fwcssmdq8g6n37s33v5h7j28m12sbkqib0h76gc";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlPerlIOeol = import ../development/perl-modules/generic perl {
|
|
|
|
name = "PerlIO-eol-0.14";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/PerlIO-eol-0.14.tar.gz;
|
|
|
|
sha256 = "1rwj0r075jfvvd0fnzgdqldc7qdb94wwsi21rs2l6yhcv0380fs2";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlPerlIOviadynamic = import ../development/perl-modules/generic perl {
|
|
|
|
name = "PerlIO-via-dynamic-0.12";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/PerlIO-via-dynamic-0.12.tar.gz;
|
|
|
|
sha256 = "140hay9q8q9sz1fa2s57ijp5l2448fkcg7indgn6k4vc7yshmqz2";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlPerlIOviasymlink = import ../development/perl-modules/generic perl {
|
|
|
|
name = "PerlIO-via-symlink-0.05";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/PerlIO-via-symlink-0.05.tar.gz;
|
|
|
|
sha256 = "0lidddcaz9anddqrpqk4zwm550igv6amdhj86i2jjdka9b1x81s1";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlModulePluggable = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Module-Pluggable-3.5";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/S/SI/SIMONW/Module-Pluggable-3.5.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "08rywi79pqn2c8zr17fmd18lpj5hm8lxd1j4v2k002ni8vhl43nv";
|
|
|
|
};
|
|
|
|
patches = [
|
|
|
|
../development/perl-modules/module-pluggable.patch
|
|
|
|
];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlPodEscapes = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Pod-Escapes-1.04";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz;
|
|
|
|
sha256 = "1wrg5dnsl785ygga7bp6qmakhjgh9n4g3jp2l85ab02r502cagig";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlPodSimple = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Pod-Simple-3.05";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AR/ARANDAL/Pod-Simple-3.05.tar.gz;
|
|
|
|
sha256 = "1j0kqcvr9ykcqlkr797j1npkbggykb3p4w5ri73s8mi163lzxkqb";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlconstant perlPodEscapes];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlReturnValue = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Return-Value-1.302";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/R/RJ/RJBS/Return-Value-1.302.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "0hf5rmfap49jh8dnggdpvapy5r4awgx5hdc3acc9ff0vfqav8azm";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-12 12:40:57 +00:00
|
|
|
perlStringMkPasswd = import ../development/perl-modules/generic perl {
|
|
|
|
name = "String-MkPasswd-0.02";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/C/CG/CGRAU/String-MkPasswd-0.02.tar.gz;
|
2008-02-12 12:40:57 +00:00
|
|
|
sha256 = "0si4xfgf8c2pfag1cqbr9jbyvg3hak6wkmny56kn2qwa4ljp9bk6";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlSVK = import ../development/perl-modules/generic perl {
|
|
|
|
name = "SVK-v2.0.2";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/SVK-v2.0.2.tar.gz;
|
|
|
|
sha256 = "0c4m2q7cvzwh9kk1nc1vd8lkxx2kss5nd4k20dpkal4c7735jns0";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlAlgorithmDiff perlAlgorithmAnnotate perlAppCLI perlClassDataInheritable perlDataHierarchy perlEncode perlFileTemp perlIODigest perlListMoreUtils perlPathClass perlPerlIOeol perlPerlIOviadynamic perlPerlIOviasymlink perlPodEscapes perlPodSimple perlSVNMirror perlTimeHiRes perlUNIVERSALrequire perlURI perlYAMLSyck perlClassAutouse perlIOPager perlLocaleMaketextLexicon perlFreezeThaw];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlSVNMirror = import ../development/perl-modules/generic perl {
|
|
|
|
name = "SVN-Mirror-0.73";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/SVN-Mirror-0.73.tar.gz;
|
|
|
|
sha256 = "1scjaq7qjz6jlsk1c2l5q15yxf0sqbydvf22mb2xzy1bzaln0x2c";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlClassAccessor perlFilechdir subversion perlURI perlTermReadKey perlTimeDate perlSVNSimple];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlSVNSimple = import ../development/perl-modules/generic perl {
|
|
|
|
name = "SVN-Simple-0.27";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/SVN-Simple-0.27.tar.gz;
|
|
|
|
sha256 = "0p7p52ja6sf4j0w3b05i0bbqi5wiambckw2m5dsr63bbmlhv4a71";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [subversion];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlTermReadKey = import ../development/perl-modules/generic perl {
|
|
|
|
name = "TermReadKey-2.30";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/TermReadKey-2.30.tar.gz;
|
|
|
|
md5 = "f0ef2cea8acfbcc58d865c05b0c7e1ff";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlTestBuilderTester = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Test-Builder-Tester-1.01";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/M/MA/MARKF/Test-Builder-Tester-1.01.tar.gz;
|
|
|
|
sha256 = "0s785j4w7rfx5b6bwzflic04vynrcp4dci4p3n8w609zrdn43g32";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlTestException = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Test-Exception-0.27";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-0.27.tar.gz;
|
|
|
|
sha256 = "1s921j7yv2szywd1ffi6yz3ngrbq97f9dh38bvvajqnm29g1xb9j";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlTestBuilderTester perlTestHarness perlTestSimple];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlTestHarness = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Test-Harness-3.10";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Test-Harness-3.10.tar.gz;
|
|
|
|
sha256 = "1qd217yzppj1vbjhny06v8niqhz85pam996ry6bzi08z0jidr2wh";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlTestSimple = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Test-Simple-0.80";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-0.80.tar.gz;
|
|
|
|
sha256 = "15rzwi01q4lp5sl5n8rvghcvhfd4h4a9m86pnds16nv045irv4x0";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlTestHarness];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlTimeDate = import ../development/perl-modules/generic perl {
|
|
|
|
name = "TimeDate-1.16";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/TimeDate-1.16.tar.gz;
|
|
|
|
sha256 = "1cvcpaghn7dc14m9871sfw103g3m3a00m2mrl5iqb0mmh40yyhkr";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
perlTimeHiRes = import ../development/perl-modules/generic perl {
|
|
|
|
name = "Time-HiRes-1.9715";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.9715.tar.gz;
|
|
|
|
sha256 = "0pgqrfkysy3mdcx5nd0x8c80lgqb7rkb3nrkii3vc576dcbpvw0i";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
perlFontTTF = import ../development/perl-modules/Font-TTF {
|
|
|
|
inherit fetchurl perl;
|
|
|
|
};
|
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlUNIVERSALrequire = import ../development/perl-modules/generic perl {
|
|
|
|
name = "UNIVERSAL-require-0.11";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/UNIVERSAL-require-0.11.tar.gz;
|
|
|
|
sha256 = "1rh7i3gva4m96m31g6yfhlqcabszhghbb3k3qwxbgx3mkf5s6x6i";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlURI = import ../development/perl-modules/generic perl {
|
|
|
|
name = "URI-1.35";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/G/GA/GAAS/URI-1.35.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
md5 = "1a933b1114c41a25587ee59ba8376f7c";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlXMLDOM = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-DOM-1.44";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/T/TJ/TJMATHER/XML-DOM-1.44.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "1r0ampc88ni3sjpzr583k86076qg399arfm9xirv3cw49k3k5bzn";
|
|
|
|
};
|
2008-03-17 09:41:28 +00:00
|
|
|
#buildInputs = [libxml2];
|
2007-12-30 22:02:04 +00:00
|
|
|
propagatedBuildInputs = [perlXMLRegExp perlXMLParser perlLWP];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlXMLLibXML = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-LibXML-1.58";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/XML-LibXML-1.58.tar.gz;
|
|
|
|
md5 = "4691fc436e5c0f22787f5b4a54fc56b0";
|
|
|
|
};
|
|
|
|
buildInputs = [libxml2];
|
|
|
|
propagatedBuildInputs = [perlXMLLibXMLCommon perlXMLSAX];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00: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];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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 = [];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlXMLParser = import ../development/perl-modules/XML-Parser {
|
|
|
|
inherit fetchurl perl expat;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlXMLRegExp = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-RegExp-0.03";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/T/TJ/TJMATHER/XML-RegExp-0.03.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "1gkarylvdk3mddmchcwvzq09gpvx5z26nybp38dg7mjixm5bs226";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00: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];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlXMLSimple = import ../development/perl-modules/generic perl {
|
2008-04-11 12:49:14 +01:00
|
|
|
name = "XML-Simple-2.18";
|
2007-12-30 22:02:04 +00:00
|
|
|
src = fetchurl {
|
2008-04-11 12:49:14 +01:00
|
|
|
url = mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-2.18.tar.gz;
|
|
|
|
sha256 = "09k8fvc9m5nd5rqq00rwm3m0wx7iwd6vx0vc947y58ydi30nfjd5";
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
propagatedBuildInputs = [perlXMLParser];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
perlXMLWriter = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XML-Writer-0.602";
|
|
|
|
src = fetchurl {
|
2008-02-21 15:52:31 +00:00
|
|
|
url = mirror://cpan/authors/id/J/JO/JOSEPHW/XML-Writer-0.602.tar.gz;
|
2007-12-30 22:02:04 +00:00
|
|
|
sha256 = "0kdi022jcn9mwqsxy2fiwl2cjlid4x13r038jvi426fhjknl11nl";
|
|
|
|
};
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlXSLoader = import ../development/perl-modules/generic perl {
|
|
|
|
name = "XSLoader-0.08";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/XSLoader-0.08.tar.gz;
|
|
|
|
sha256 = "0mr4l3givrpyvz1kg0kap2ds8g0rza2cim9kbnjy8hi64igkixi5";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2008-05-31 08:26:13 +01:00
|
|
|
perlYAML = import ../development/perl-modules/generic perl {
|
|
|
|
name = "YAML-0.66";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-0.66.tar.gz;
|
|
|
|
sha256 = "1pcjf6y3l88ypa52mkk349jglabm53mhxda4p5awc1jl67lx3ngw";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
perlYAMLSyck = import ../development/perl-modules/generic perl {
|
|
|
|
name = "YAML-Syck-1.04";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/YAML-Syck-1.04.tar.gz;
|
|
|
|
sha256 = "180w77rxqwrfmd2jjmrd407bf8vnpry73941g5n61ippzic5x1v3";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [];
|
|
|
|
};
|
|
|
|
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / PYTHON MODULES
|
2007-12-13 22:15:03 +00:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bsddb3 = import ../development/python-modules/bsddb3 {
|
|
|
|
inherit fetchurl stdenv python db4;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
flup = builderDefsPackage (selectVersion ../development/python-modules/flup "r2311")
|
|
|
|
(let python=python25; in
|
2008-06-12 16:59:59 +01:00
|
|
|
{
|
|
|
|
inherit python;
|
|
|
|
setuptools = setuptools.meta.function {inherit python;} null;
|
|
|
|
}) null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pil = import ../development/python-modules/pil {
|
|
|
|
inherit fetchurl stdenv python zlib libtiff libjpeg freetype;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
psyco = import ../development/python-modules/psyco {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pycairo = import ../development/python-modules/pycairo {
|
|
|
|
inherit fetchurl stdenv python pkgconfig cairo x11;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pycrypto = import ../development/python-modules/pycrypto {
|
|
|
|
inherit fetchurl stdenv python gmp;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pygame = import ../development/python-modules/pygame {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv python pkgconfig SDL SDL_image
|
2008-03-17 09:41:28 +00:00
|
|
|
SDL_ttf;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pygobject = import ../development/python-modules/pygobject {
|
|
|
|
inherit fetchurl stdenv python pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pygtk = import ../development/python-modules/pygtk {
|
|
|
|
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-25 21:43:56 +01:00
|
|
|
pythonSip = builderDefsPackage (selectVersion ../development/python-modules/python-sip "4.7.4") {
|
|
|
|
python=python25;
|
|
|
|
} null;
|
|
|
|
|
|
|
|
pyqt = builderDefsPackage (selectVersion ../development/python-modules/pyqt "4.3.3") {
|
|
|
|
inherit pkgconfig pythonSip;
|
|
|
|
python = python25;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
qt = qt4;
|
|
|
|
} null;
|
|
|
|
|
2008-06-01 17:06:18 +01:00
|
|
|
pyx = import ../development/python-modules/pyx {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-02-22 13:53:45 +00:00
|
|
|
pyxml = import ../development/python-modules/pyxml {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-06-12 16:59:59 +01:00
|
|
|
setuptools = builderDefsPackage (selectVersion ../development/python-modules/setuptools "0.6c8") {
|
|
|
|
python = python25;
|
|
|
|
} null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython = wxPython26;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython26 = import ../development/python-modules/wxPython/2.6.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
wxGTK = wxGTK26;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
wxGTK = wxGTK28;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
twisted = import ../development/python-modules/twisted {
|
|
|
|
inherit fetchurl stdenv python ZopeInterface;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ZopeInterface = import ../development/python-modules/ZopeInterface {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### SERVERS
|
2007-12-13 22:15:03 +00:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
apacheHttpd = import ../servers/http/apache-httpd {
|
|
|
|
inherit fetchurl stdenv perl openssl db4 expat zlib;
|
|
|
|
sslSupport = true;
|
|
|
|
db4Support = true;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-12 19:10:08 +01:00
|
|
|
bind = builderDefsPackage (selectVersion ../servers/dns/bind "9.5.0") {
|
|
|
|
inherit openssl libtool;
|
|
|
|
} null;
|
|
|
|
|
2008-03-06 04:39:05 +00:00
|
|
|
dictFun = lib.sumArgs (selectVersion ../servers/dict "1.9.15") {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit builderDefs which;
|
|
|
|
flex=flex2534;
|
2008-03-06 04:39:05 +00:00
|
|
|
bison=bison23;
|
|
|
|
};
|
|
|
|
|
|
|
|
dict = dictFun null;
|
|
|
|
|
|
|
|
dictdDBs = recurseIntoAttrs (import ../servers/dict/dictd-db.nix {
|
|
|
|
inherit builderDefs;
|
|
|
|
});
|
|
|
|
|
2008-03-07 06:11:08 +00:00
|
|
|
dictDBCollector = import ../servers/dict/dictd-db-collector.nix {
|
|
|
|
inherit stdenv lib dict;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
dovecot = import ../servers/mail/dovecot {
|
2008-06-30 22:11:07 +01:00
|
|
|
inherit fetchurl stdenv openssl pam;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2008-07-01 15:40:53 +01:00
|
|
|
dovecot_1_1_1 = import ../servers/mail/dovecot/1.1.1.nix {
|
|
|
|
inherit fetchurl stdenv openssl pam;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-23 10:06:07 +00:00
|
|
|
ejabberd = import ../servers/xmpp/ejabberd {
|
|
|
|
inherit fetchurl stdenv expat erlang zlib openssl;
|
|
|
|
};
|
|
|
|
|
2008-01-28 19:51:14 +00:00
|
|
|
fingerd_bsd = import ../servers/fingerd/bsd-fingerd {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 19:51:14 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ircdHybrid = import ../servers/irc/ircd-hybrid {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv openssl zlib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-23 12:25:08 +00:00
|
|
|
jboss = import ../servers/http/jboss {
|
|
|
|
inherit fetchurl stdenv jdk5 jdk;
|
|
|
|
};
|
|
|
|
|
2008-01-29 11:11:26 +00:00
|
|
|
jboss_mysql_jdbc = import ../servers/http/jboss/jdbc/mysql {
|
|
|
|
inherit stdenv jboss mysql_jdbc;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jetty = import ../servers/http/jetty {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2008-02-26 09:26:17 +00:00
|
|
|
jetty61 = import ../servers/http/jetty/6.1 {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mod_python = import ../servers/http/apache-modules/mod_python {
|
|
|
|
inherit fetchurl stdenv apacheHttpd python;
|
|
|
|
};
|
2007-11-11 16:19:00 +00:00
|
|
|
|
2008-06-13 05:31:31 +01:00
|
|
|
postfix = import ../servers/mail/postfix {
|
2008-06-30 22:11:07 +01:00
|
|
|
inherit fetchurl stdenv db4 openssl cyrus_sasl;
|
2008-06-13 05:31:31 +01:00
|
|
|
glibc = stdenv.glibc;
|
|
|
|
};
|
|
|
|
|
2008-01-23 14:40:03 +00:00
|
|
|
tomcat_connectors = import ../servers/http/apache-modules/tomcat-connectors {
|
|
|
|
inherit fetchurl stdenv apacheHttpd jdk;
|
|
|
|
};
|
|
|
|
|
2008-03-15 23:39:18 +00:00
|
|
|
# This function is typically called by the NixOS Upstart job to specify the
|
|
|
|
# right UID/GID for `portmap'.
|
|
|
|
makePortmap = { daemonUser ? false, daemonGID ? false, daemonUID ? false }:
|
|
|
|
(import ../servers/portmap {
|
|
|
|
inherit fetchurl stdenv lib tcpWrapper
|
|
|
|
daemonUser daemonGID daemonUID;
|
|
|
|
});
|
|
|
|
|
|
|
|
portmap = (makePortmap);
|
2008-03-15 22:51:46 +00:00
|
|
|
|
2008-02-25 03:16:07 +00:00
|
|
|
mysql4 = import ../servers/sql/mysql {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv ncurses zlib perl;
|
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
2007-11-11 16:22:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mysql5 = import ../servers/sql/mysql5 {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv ncurses zlib perl openssl;
|
2007-12-30 22:02:04 +00:00
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
2007-11-11 16:17:21 +00:00
|
|
|
|
2008-02-25 03:16:07 +00:00
|
|
|
mysql = mysql5;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mysql_jdbc = import ../servers/sql/mysql/jdbc {
|
|
|
|
inherit fetchurl stdenv ant;
|
|
|
|
};
|
2005-09-07 15:57:30 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nagios = import ../servers/monitoring/nagios {
|
|
|
|
inherit fetchurl stdenv perl gd libpng zlib;
|
|
|
|
gdSupport = true;
|
|
|
|
};
|
2007-02-26 23:10:25 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nagiosPluginsOfficial = import ../servers/monitoring/nagios/plugins/official {
|
|
|
|
inherit fetchurl stdenv openssh;
|
|
|
|
};
|
2005-08-13 22:35:49 +01:00
|
|
|
|
2008-02-21 16:24:44 +00:00
|
|
|
openfireFun = lib.sumArgs (selectVersion ../servers/xmpp/openfire "3.4.5") {
|
|
|
|
inherit builderDefs jre;
|
|
|
|
};
|
|
|
|
|
|
|
|
openfire = openfireFun null;
|
|
|
|
|
2008-02-10 17:41:23 +00:00
|
|
|
postgresql = selectVersion ../servers/sql/postgresql "8.3.0" {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
|
|
|
};
|
2006-06-17 23:04:42 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
postgresql_jdbc = import ../servers/sql/postgresql/jdbc {
|
|
|
|
inherit fetchurl stdenv ant;
|
|
|
|
};
|
2005-01-19 22:51:27 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
samba = import ../servers/samba {
|
2008-01-28 19:46:27 +00:00
|
|
|
inherit stdenv fetchurl readline openldap pam kerberos popt iniparser
|
2008-03-17 09:41:28 +00:00
|
|
|
libunwind acl fam;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-12 14:52:16 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
squid = import ../servers/squid {
|
2008-01-16 03:29:56 +00:00
|
|
|
inherit fetchurl stdenv mkDerivationByConfiguration perl lib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-08-13 10:46:54 +01:00
|
|
|
|
2008-05-15 18:51:41 +01:00
|
|
|
squidHead = import ../servers/squid/3.head.nix {
|
|
|
|
inherit fetchurl stdenv mkDerivationByConfiguration perl lib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
tomcat5 = import ../servers/http/tomcat {
|
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
};
|
2005-03-09 17:49:19 +00:00
|
|
|
|
2008-01-30 09:41:33 +00:00
|
|
|
tomcat6 = import ../servers/http/tomcat/6.0.nix {
|
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
};
|
|
|
|
|
2008-02-04 12:24:41 +00:00
|
|
|
axis2 = import ../servers/http/tomcat/axis2 {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv jdk apacheAnt unzip;
|
2008-02-04 12:24:41 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
vsftpd = import ../servers/ftp/vsftpd {
|
2008-01-31 14:08:02 +00:00
|
|
|
inherit fetchurl openssl stdenv libcap pam;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-02-26 23:45:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xorg = recurseIntoAttrs (import ../servers/x11/xorg {
|
|
|
|
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
|
|
|
libxslt expat libdrm libpng zlib perl mesa mesaHeaders
|
2008-02-02 20:42:55 +00:00
|
|
|
xkeyboard_config dbus hal;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2007-12-01 05:56:58 +00:00
|
|
|
|
2008-06-03 22:59:35 +01:00
|
|
|
zabbixAgent = import ../servers/monitoring/zabbix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
enableServer = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
zabbixServer = import ../servers/monitoring/zabbix {
|
|
|
|
inherit fetchurl stdenv postgresql curl;
|
|
|
|
enableServer = true;
|
|
|
|
};
|
|
|
|
|
2007-11-11 16:15:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### OS-SPECIFIC
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2007-12-30 22:02:04 +00: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;
|
|
|
|
};
|
2007-10-12 21:33:03 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
_915resolution = import ../os-specific/linux/915resolution {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-01-11 21:55:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nfsUtils = import ../os-specific/linux/nfs-utils {
|
2008-03-30 18:42:49 +01:00
|
|
|
inherit fetchurl stdenv tcpWrapper e2fsprogs;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-03-08 15:44:23 +00:00
|
|
|
|
2008-02-21 20:13:36 +00:00
|
|
|
acpi = import ../os-specific/linux/acpi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-21 19:57:40 +00:00
|
|
|
acpitool = import ../os-specific/linux/acpitool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
alsaFun = lib.sumArgs (selectVersion ../os-specific/linux/alsa "1.0.16") {
|
|
|
|
inherit fetchurl stdenv ncurses gettext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-03-08 18:52:35 +00:00
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
alsa = alsaFun null;
|
|
|
|
|
|
|
|
alsaLib = alsa.alsaLib;
|
|
|
|
|
|
|
|
alsaUtils = alsa.alsaUtils;
|
|
|
|
|
2008-04-11 10:32:27 +01:00
|
|
|
blcrFun = builderDefsPackage (selectVersion ../os-specific/linux/blcr "0.6.5"){
|
|
|
|
inherit perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
blcrFunCurrent = kernel : (blcrFun {
|
|
|
|
inherit kernel;
|
|
|
|
} null);
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bridge_utils = import ../os-specific/linux/bridge_utils {
|
|
|
|
inherit fetchurl stdenv autoconf automake;
|
|
|
|
};
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cramfsswap = import ../os-specific/linux/cramfsswap {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
devicemapper = import ../os-specific/linux/device-mapper {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
devicemapperStatic = lowPrio (appendToName "static" (import ../os-specific/linux/device-mapper {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
static = true;
|
|
|
|
}));
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
dmidecodeFun = lib.sumArgs (selectVersion ../os-specific/linux/dmidecode "2.9") {
|
2008-01-08 00:18:20 +00:00
|
|
|
inherit fetchurl stdenv builderDefs;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
dmidecode = dmidecodeFun null;
|
2008-01-08 00:18:20 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
dietlibc = import ../os-specific/linux/dietlibc {
|
|
|
|
inherit fetchurl glibc;
|
|
|
|
# Dietlibc 0.30 doesn't compile on PPC with GCC 4.1, bus GCC 3.4 works.
|
2007-11-21 15:32:20 +00:00
|
|
|
stdenv = if stdenv.system == "powerpc-linux" then overrideGCC stdenv gcc34 else stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
e2fsprogs = import ../os-specific/linux/e2fsprogs {
|
2008-03-06 16:10:01 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
e2fsprogsDiet = lowPrio (appendToName "diet" (import ../os-specific/linux/e2fsprogs {
|
2008-03-06 17:06:59 +00:00
|
|
|
inherit fetchurl;
|
2007-12-30 22:02:04 +00:00
|
|
|
stdenv = useDietLibC stdenv;
|
|
|
|
}));
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
e3cfsprogs = import ../os-specific/linux/e3cfsprogs {
|
|
|
|
inherit stdenv fetchurl gettext;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
eject = import ../os-specific/linux/eject {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fuse = import ../os-specific/linux/fuse {
|
|
|
|
inherit fetchurl stdenv utillinux;
|
|
|
|
};
|
2003-11-05 12:17:48 +00:00
|
|
|
|
2008-02-03 14:43:19 +00:00
|
|
|
fxload = import ../os-specific/linux/fxload {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
genext2fs = import ../os-specific/linux/genext2fs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2008-05-21 14:27:41 +01:00
|
|
|
gpm = builderDefsPackage (selectVersion ../servers/gpm "1.20.3pre6") {
|
|
|
|
inherit lzma ncurses;
|
|
|
|
bison = bison23;
|
|
|
|
flex = flex2535;
|
|
|
|
} null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
hal = import ../os-specific/linux/hal {
|
|
|
|
inherit fetchurl stdenv pkgconfig python pciutils usbutils expat
|
|
|
|
libusb dbus dbus_glib libvolume_id perl perlXMLParser
|
|
|
|
gettext zlib eject libsmbios udev;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
hdparm = import ../os-specific/linux/hdparm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-04-01 15:02:54 +01:00
|
|
|
|
|
|
|
hibernate = import ../os-specific/linux/hibernate {
|
|
|
|
inherit fetchurl stdenv gawk;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
htop = import ../os-specific/linux/htop {
|
2008-01-29 13:24:40 +00:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
hwdata = import ../os-specific/linux/hwdata {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-07-17 18:08:38 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ifplugd = import ../os-specific/linux/ifplugd {
|
|
|
|
inherit fetchurl stdenv pkgconfig libdaemon;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
initscripts = import ../os-specific/linux/initscripts {
|
|
|
|
inherit fetchurl stdenv popt pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
iproute = import ../os-specific/linux/iproute {
|
|
|
|
inherit fetchurl stdenv flex bison db4;
|
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
iputils = import ../os-specific/linux/iputils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
glibc = stdenv.gcc.libc;
|
|
|
|
kernelHeaders = stdenv.gcc.libc.kernelHeaders;
|
|
|
|
};
|
2007-10-01 16:14:50 +01:00
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
iptablesFun = lib.sumArgs (selectVersion ../os-specific/linux/iptables "1.4.0") {
|
|
|
|
inherit builderDefs kernelHeaders;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
iptables = iptablesFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ipw2200fw = import ../os-specific/linux/firmware/ipw2200 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2008-01-12 22:38:37 +00:00
|
|
|
iwlwifi3945ucode = import ../os-specific/linux/firmware/iwlwifi-3945-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-18 16:15:51 +00:00
|
|
|
iwlwifi4965ucode = import ../os-specific/linux/firmware/iwlwifi-4965-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-28 11:16:43 +00:00
|
|
|
jfsrecFun = builderDefsPackage (selectVersion ../os-specific/linux/jfsrec "svn-7"){
|
|
|
|
inherit boost;
|
|
|
|
};
|
|
|
|
jfsrec = jfsrecFun null;
|
|
|
|
|
2008-03-27 19:12:14 +00:00
|
|
|
jfsUtilsFun = builderDefsPackage (selectVersion ../os-specific/linux/jfsutils "1.1.12") {
|
|
|
|
inherit e2fsprogs;
|
|
|
|
};
|
|
|
|
jfsUtils = jfsUtilsFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kbd = import ../os-specific/linux/kbd {
|
|
|
|
inherit fetchurl stdenv bison flex;
|
|
|
|
};
|
2007-08-09 18:33:18 +01:00
|
|
|
|
2007-11-19 17:39:19 +00:00
|
|
|
kernelHeaders = kernelHeaders_2_6_23;
|
2006-06-29 13:41:25 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernelHeaders_2_6_21 = import ../os-specific/linux/kernel-headers/2.6.21.3.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-08-09 18:33:18 +01:00
|
|
|
|
2008-02-22 18:19:04 +00:00
|
|
|
kernelHeaders_2_6_23 = import ../os-specific/linux/kernel-headers/2.6.23.16.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-25 08:51:03 +00:00
|
|
|
|
2008-06-05 11:59:41 +01:00
|
|
|
kernelHeaders_2_6_25 = import ../os-specific/linux/kernel-headers/2.6.25.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
kernelHeaders_2_6_26 = import ../os-specific/linux/kernel-headers/2.6.26-rc5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernelHeadersArm = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "arm-linux";
|
|
|
|
};
|
2004-06-21 21:41:32 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernelHeadersMips = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "mips-linux";
|
|
|
|
};
|
2004-03-05 10:13:23 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernelHeadersSparc = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "sparc-linux";
|
|
|
|
};
|
2005-11-04 13:07:22 +00:00
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
/*
|
2008-03-17 09:41:28 +00:00
|
|
|
systemKernel =
|
|
|
|
if getConfig ["kernel" "version"] "2.6.21" == "2.6.22" then kernel_2_6_22 else
|
|
|
|
if getConfig ["kernel" "version"] "2.6.21" == "2.6.23" then kernel_2_6_23 else
|
|
|
|
kernel;
|
2008-05-22 13:01:24 +01:00
|
|
|
*/
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
kernel_2_6_20 = import ../os-specific/linux/kernel/linux-2.6.20.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ 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.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-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernel_2_6_21 = import ../os-specific/linux/kernel/linux-2.6.21.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ name = "ext3cow";
|
2008-03-09 20:07:03 +00:00
|
|
|
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
|
2008-06-18 23:48:34 +01:00
|
|
|
extraConfig =
|
2008-03-17 09:41:28 +00:00
|
|
|
"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-12-30 22:02:04 +00:00
|
|
|
}
|
2008-06-18 23:48:34 +01:00
|
|
|
/* Commented out because only acer users have need for it..
|
2007-12-30 22:02:04 +00:00
|
|
|
It takes quite a while to create the patch when unpacking the kernel sources only for that task
|
|
|
|
{ name = "acerhk";
|
2007-12-13 22:15:03 +00:00
|
|
|
patch = kernel_module_acerhk + "/acerhk-patch.tar.bz2" ;
|
2008-06-18 23:48:34 +01:00
|
|
|
extraConfig =
|
2008-03-17 09:41:28 +00:00
|
|
|
"CONFIG_ACERHK=m\n";
|
2007-12-30 22:02:04 +00:00
|
|
|
}
|
2007-12-13 22:15:03 +00:00
|
|
|
*/
|
2007-12-30 22:02:04 +00: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-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernel_2_6_22 = import ../os-specific/linux/kernel/linux-2.6.22.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
/*
|
|
|
|
{ name = "ext3cow";
|
2008-03-09 20:07:03 +00:00
|
|
|
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
|
2007-12-30 22:02:04 +00:00
|
|
|
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 = "skas-2.6.20-v9-pre9";
|
2007-12-13 22:15:03 +00:00
|
|
|
patch = fetchurl {
|
2007-12-30 22:02:04 +00:00
|
|
|
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";
|
2007-12-13 22:15:03 +00:00
|
|
|
};
|
|
|
|
extraConfig =
|
2007-12-30 22:02:04 +00:00
|
|
|
"CONFIG_PROC_MM=y\n" +
|
|
|
|
"# CONFIG_PROC_MM_DUMPABLE is not set\n";
|
|
|
|
}
|
2007-12-13 22:15:03 +00:00
|
|
|
*/
|
2007-12-30 22:02:04 +00:00
|
|
|
{ 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";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
extraConfig =
|
|
|
|
lib.optional (getConfig ["kernel" "no_hz"] false) "CONFIG_NO_HZ=y" ++
|
|
|
|
lib.optional (getConfig ["kernel" "timer_stats"] false) "CONFIG_TIMER_STATS=y" ++
|
|
|
|
lib.optional (getConfig ["kernel" "usb_suspend"] false) "CONFIG_USB_SUSPEND=y" ++
|
|
|
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
|
|
|
[(getConfig ["kernel" "addConfig"] "")];
|
|
|
|
};
|
|
|
|
|
|
|
|
kernel_2_6_21_ck = import ../os-specific/linux/kernel/linux-2.6.21_ck.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ name = "ext3cow";
|
2008-03-09 20:07:03 +00:00
|
|
|
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
|
2007-12-30 22:02:04 +00:00
|
|
|
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 = "Con Kolivas Patch";
|
|
|
|
patch = ../os-specific/linux/kernel/patch-2.6.21-ck1;
|
|
|
|
}
|
|
|
|
{ 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-12-13 22:15:03 +00:00
|
|
|
|
2008-04-22 13:01:53 +01:00
|
|
|
kernel_2_6_25 = import ../os-specific/linux/kernel/linux-2.6.25.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ name = "fbcondecor-0.9.4-2.6.25-rc6";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.25-rc6.patch;
|
|
|
|
sha256 = "1wm94n7f0qyb8xvafip15r158z5pzw7zb7q8hrgddb092c6ibmq8";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_CON_DECOR=y";
|
2008-05-22 13:01:24 +01:00
|
|
|
features = { fbConDecor = true; };
|
2008-04-22 13:01:53 +01:00
|
|
|
}
|
2008-05-21 10:19:44 +01:00
|
|
|
{ name = "sec_perm-2.6.24";
|
|
|
|
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
|
2008-05-22 13:01:24 +01:00
|
|
|
features = { secPermPatch = true; };
|
2008-05-21 10:19:44 +01:00
|
|
|
}
|
2008-04-22 13:01:53 +01:00
|
|
|
];
|
|
|
|
extraConfig =
|
|
|
|
lib.optional (getConfig ["kernel" "timer_stats"] false) "CONFIG_TIMER_STATS=y" ++
|
|
|
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
|
|
|
[(getConfig ["kernel" "addConfig"] "")];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kernel_2_6_23 = import ../os-specific/linux/kernel/linux-2.6.23.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
2008-02-11 10:22:17 +00:00
|
|
|
/*
|
2007-12-30 22:02:04 +00:00
|
|
|
{ # resume with resume=swap:/dev/xx
|
|
|
|
name = "tux on ice"; # (swsusp2)
|
|
|
|
patch = fetchurl {
|
2008-01-29 01:24:54 +00:00
|
|
|
url = "http://www.tuxonice.net/downloads/all/tuxonice-3.0-rc5-for-2.6.23.14.patch.bz2";
|
|
|
|
sha256 = "187190rxbn9x1c6bwv59mwy1zhff8nn5ad58cfiz23wa5wrk4mif";
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
extraConfig = "
|
|
|
|
CONFIG_SUSPEND2=y
|
|
|
|
CONFIG_SUSPEND2_FILE=y
|
|
|
|
CONFIG_SUSPEND2_SWAP=y
|
|
|
|
CONFIG_CRYPTO_LZF=y
|
|
|
|
";
|
|
|
|
}
|
2008-02-11 10:22:17 +00:00
|
|
|
*/
|
2007-12-30 22:02:04 +00:00
|
|
|
{ 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";
|
2008-05-22 13:01:24 +01:00
|
|
|
features = { fbSplash = true; };
|
2007-12-30 22:02:04 +00:00
|
|
|
}
|
2008-02-11 10:22:17 +00:00
|
|
|
/* !!! Not needed anymore for the NixOS LiveCD - we have AUFS. */
|
2008-01-18 22:03:13 +00:00
|
|
|
{ name = "unionfs-2.2.2";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://download.filesystems.org/unionfs/unionfs-2.x/unionfs-2.2.2_for_2.6.23.13.diff.gz;
|
|
|
|
sha256 = "104hahp6fjpxwprcl2njw5mimyh442ma3cp5r1ww0mzq3vwrcdyz";
|
|
|
|
};
|
|
|
|
extraConfig = ''
|
|
|
|
CONFIG_UNION_FS=m
|
|
|
|
CONFIG_UNION_FS_XATTR=y
|
|
|
|
'';
|
|
|
|
}
|
2007-12-30 22:02:04 +00:00
|
|
|
];
|
|
|
|
extraConfig =
|
|
|
|
lib.optional (getConfig ["kernel" "timer_stats"] false) "CONFIG_TIMER_STATS=y" ++
|
|
|
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
|
|
|
[(getConfig ["kernel" "addConfig"] "")];
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
/* Kernel modules are inherently tied to a specific kernel. So
|
|
|
|
rather than provide specific instances of those packages for a
|
|
|
|
specific kernel, we have a function that builds those packages
|
|
|
|
for a specific kernel. This function can then be called for
|
|
|
|
whatever kernel you're using. */
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
kernelPackagesFor = kernel: rec {
|
|
|
|
|
|
|
|
inherit kernel;
|
|
|
|
|
|
|
|
aufs = import ../os-specific/linux/aufs {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
|
|
|
iwlwifi = import ../os-specific/linux/iwlwifi {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
2008-05-22 20:29:23 +01:00
|
|
|
atheros = composedArgsAndFun (selectVersion ../os-specific/linux/atheros "0.9.4") {
|
2008-06-03 08:41:52 +01:00
|
|
|
inherit fetchurl stdenv builderDefs kernel lib;
|
2008-05-22 20:29:23 +01:00
|
|
|
} null;
|
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
nvidiaDrivers = import ../os-specific/linux/nvidia {
|
2008-06-13 12:58:46 +01:00
|
|
|
inherit stdenv fetchurl kernel xlibs gtkLibs zlib;
|
2008-05-22 13:01:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
wis_go7007 = import ../os-specific/linux/wis-go7007 {
|
|
|
|
inherit fetchurl stdenv kernel ncurses fxload;
|
|
|
|
};
|
|
|
|
|
2008-05-22 20:29:23 +01:00
|
|
|
kqemu = builderDefsPackage (selectVersion ../os-specific/linux/kqemu "1.3.0pre11") {
|
|
|
|
inherit kernel;
|
|
|
|
} null;
|
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
# Actually, klibc builds fine with the static kernelHeaders, but
|
|
|
|
# splashutils expects a klibc with patched headers...
|
|
|
|
klibc = import ../os-specific/linux/klibc {
|
|
|
|
inherit fetchurl stdenv perl bison mktemp kernel;
|
|
|
|
};
|
|
|
|
|
|
|
|
klibcShrunk = import ../os-specific/linux/klibc/shrunk.nix {
|
|
|
|
inherit stdenv klibc;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
splashutils =
|
2008-06-10 17:09:53 +01:00
|
|
|
if kernel.features ? fbSplash then splashutils_13 else
|
|
|
|
if kernel.features ? fbConDecor then splashutils_15 else
|
|
|
|
null;
|
|
|
|
|
|
|
|
splashutils_13 = import ../os-specific/linux/splashutils/1.3.nix {
|
|
|
|
inherit fetchurl stdenv klibc;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
libjpeg = libjpegStatic;
|
|
|
|
};
|
|
|
|
|
|
|
|
splashutils_15 = import ../os-specific/linux/splashutils/1.5.nix {
|
2008-05-22 13:01:24 +01:00
|
|
|
inherit fetchurl stdenv klibc;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
libjpeg = libjpegStatic;
|
|
|
|
};
|
|
|
|
|
|
|
|
ext3cowtools = import ../os-specific/linux/ext3cow-tools {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
kernel_ext3cowpatched = kernel;
|
|
|
|
};
|
|
|
|
|
2008-06-15 12:39:54 +01:00
|
|
|
/* compiles but has to be integrated into the kernel somehow
|
|
|
|
Let's have it uncommented and finish it..
|
|
|
|
*/
|
|
|
|
ndiswrapper = import ../os-specific/linux/ndiswrapper {
|
|
|
|
inherit fetchurl stdenv;
|
2008-06-15 18:30:22 +01:00
|
|
|
inherit kernel perl;
|
2008-06-15 12:39:54 +01:00
|
|
|
};
|
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
ov511 = import ../os-specific/linux/ov511 {
|
|
|
|
inherit fetchurl kernel;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
};
|
|
|
|
|
|
|
|
# State Nix
|
|
|
|
snix = import ../tools/package-management/snix {
|
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
|
|
|
inherit libtool automake autoconf docbook5 docbook5_xsl libxslt docbook_xml_dtd_43 w3m;
|
|
|
|
|
|
|
|
aterm = aterm242fixes;
|
|
|
|
db4 = db45;
|
|
|
|
|
|
|
|
bison = bison23;
|
|
|
|
flex = flex2533;
|
|
|
|
|
|
|
|
inherit ext3cowtools e3cfsprogs rsync;
|
|
|
|
ext3cow_kernel = kernel;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
# Build the kernel modules for the some of the kernels.
|
|
|
|
kernelPackages_2_6_23 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_23);
|
|
|
|
kernelPackages_2_6_25 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_25);
|
|
|
|
|
|
|
|
# The current default kernel / kernel modules.
|
|
|
|
kernelPackages = kernelPackages_2_6_23;
|
|
|
|
#kernel = kernelPackages.kernel;
|
|
|
|
|
2008-03-24 19:40:15 +00:00
|
|
|
customKernel = lib.sumArgs (import ../os-specific/linux/kernel/linux.nix) {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools lib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libselinux = import ../os-specific/linux/libselinux {
|
|
|
|
inherit fetchurl stdenv libsepol;
|
|
|
|
};
|
2008-01-12 01:26:04 +00:00
|
|
|
|
|
|
|
libraw1394 = import ../development/libraries/libraw1394 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libsexy = import ../development/libraries/libsexy {
|
|
|
|
inherit stdenv fetchurl pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib gtk pango;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-05-20 15:25:09 +01:00
|
|
|
librsvg = gnome.librsvg;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libsepol = import ../os-specific/linux/libsepol {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libsmbios = import ../os-specific/linux/libsmbios {
|
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-07 09:02:28 +00:00
|
|
|
kvm = kvm57;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-06-17 11:53:08 +01:00
|
|
|
kvm57 = import ../os-specific/linux/kvm/57.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl zlib e2fsprogs SDL alsaLib;
|
2008-02-07 09:02:28 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
kernelHeaders = kernelHeaders_2_6_23;
|
|
|
|
};
|
|
|
|
|
2008-06-17 11:53:08 +01:00
|
|
|
kvm69 = import ../os-specific/linux/kvm/69.nix {
|
|
|
|
inherit fetchurl zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
2007-12-30 22:02:04 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2008-06-17 11:53:08 +01:00
|
|
|
kernelHeaders = kernelHeaders_2_6_26;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-01 20:27:57 +00:00
|
|
|
|
2008-06-17 11:53:08 +01:00
|
|
|
kvm70 = import ../os-specific/linux/kvm/70.nix {
|
2008-06-05 11:59:41 +01:00
|
|
|
inherit fetchurl zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
kernelHeaders = kernelHeaders_2_6_26;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libcap = import ../os-specific/linux/libcap {
|
2008-02-29 09:42:12 +00:00
|
|
|
inherit fetchurl stdenv attr;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libnscd = import ../os-specific/linux/libnscd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-08-30 08:39:38 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libnotify = import ../development/libraries/libnotify {
|
|
|
|
inherit stdenv fetchurl pkgconfig dbus dbus_glib;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
2007-10-27 18:55:13 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libvolume_id = import ../os-specific/linux/libvolume_id {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-31 14:43:13 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lvm2 = import ../os-specific/linux/lvm2 {
|
|
|
|
inherit fetchurl stdenv devicemapper;
|
|
|
|
};
|
2007-10-27 18:55:13 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lvm2Static = lowPrio (appendToName "static" (import ../os-specific/linux/lvm2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
static = true;
|
|
|
|
devicemapper = devicemapperStatic;
|
|
|
|
}));
|
2005-12-19 10:34:01 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mdadm = import ../os-specific/linux/mdadm {
|
|
|
|
inherit fetchurl stdenv groff;
|
|
|
|
};
|
2005-12-19 10:34:01 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mingetty = import ../os-specific/linux/mingetty {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-01-26 14:01:08 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mkinitrd = import ../os-specific/linux/mkinitrd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
popt = popt110;
|
|
|
|
};
|
2006-03-15 12:43:40 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
module_init_tools = import ../os-specific/linux/module-init-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-11 09:45:01 +01:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
aggregateModules = modules:
|
2008-03-17 09:41:28 +00:00
|
|
|
import ../os-specific/linux/module-init-tools/aggregator.nix {
|
2008-05-08 16:36:19 +01:00
|
|
|
inherit stdenv module_init_tools modules;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
2008-01-04 17:02:12 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
modutils = import ../os-specific/linux/modutils {
|
|
|
|
inherit fetchurl bison flex;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nettools = import ../os-specific/linux/net-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-04-18 15:38:27 +01:00
|
|
|
numactl = import ../os-specific/linux/numactl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-04-13 09:23:58 +01:00
|
|
|
gw6cFun = builderDefsPackage (selectVersion ../os-specific/linux/gw6c "5.1") {
|
|
|
|
inherit fetchurl stdenv nettools openssl procps iproute;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2008-04-13 09:23:58 +01:00
|
|
|
gw6c = gw6cFun null;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nss_ldap = import ../os-specific/linux/nss_ldap {
|
|
|
|
inherit fetchurl stdenv openldap;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pam = import ../os-specific/linux/pam {
|
|
|
|
inherit stdenv fetchurl cracklib flex;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pam_console = import ../os-specific/linux/pam_console {
|
|
|
|
inherit stdenv fetchurl pam autoconf automake libtool pkgconfig bison;
|
|
|
|
flex = if stdenv.system == "i686-linux" then flex else flex2533;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pam_devperm = import ../os-specific/linux/pam_devperm {
|
|
|
|
inherit stdenv fetchurl pam;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pam_ldap = import ../os-specific/linux/pam_ldap {
|
|
|
|
inherit stdenv fetchurl pam openldap;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pam_login = import ../os-specific/linux/pam_login {
|
|
|
|
inherit stdenv fetchurl pam;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pam_unix2 = import ../os-specific/linux/pam_unix2 {
|
|
|
|
inherit stdenv fetchurl pam libxcrypt;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
powertop = import ../os-specific/linux/powertop {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
procps = import ../os-specific/linux/procps {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-09-11 10:17:28 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pwdutils = import ../os-specific/linux/pwdutils {
|
|
|
|
inherit fetchurl stdenv pam openssl libnscd;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
reiserfsprogs = import ../os-specific/linux/reiserfsprogs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2008-02-04 14:37:15 +00:00
|
|
|
reiser4progs = import ../os-specific/linux/reiser4progs {
|
|
|
|
inherit fetchurl stdenv libaal;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
radeontools = import ../os-specific/linux/radeontools {
|
|
|
|
inherit pciutils;
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
sdparmFun = lib.sumArgs (selectVersion ../os-specific/linux/sdparm "1.02") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv builderDefs;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
sdparm = sdparmFun null;
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
shadowutils = import ../os-specific/linux/shadow {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
squashfsTools = import ../os-specific/linux/squashfs {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sysklogd = import ../os-specific/linux/sysklogd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 16:38:59 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
syslinux = import ../os-specific/linux/syslinux {
|
|
|
|
inherit fetchurl stdenv nasm perl;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sysstat = import ../os-specific/linux/sysstat {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2005-12-20 00:48:38 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sysvinit = import ../os-specific/linux/sysvinit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
sysvtools = import ../os-specific/linux/sysvinit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
withoutInitTools = true;
|
|
|
|
};
|
|
|
|
|
2008-03-15 22:41:31 +00:00
|
|
|
# FIXME: `tcp-wrapper' is actually not OS-specific.
|
|
|
|
tcpWrapper = import ../os-specific/linux/tcp-wrapper {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
udev = import ../os-specific/linux/udev {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
uml = import ../os-specific/linux/kernel/linux-2.6.20.nix {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
userModeLinux = true;
|
|
|
|
};
|
2007-09-11 20:27:25 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
umlutilities = import ../os-specific/linux/uml-utilities {
|
|
|
|
inherit fetchurl kernelHeaders stdenv;
|
|
|
|
tunctl = true;
|
|
|
|
};
|
2005-10-04 15:25:13 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
upstart = import ../os-specific/linux/upstart {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-06-20 13:20:39 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
upstartJobControl = import ../os-specific/linux/upstart/jobcontrol.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2007-07-01 21:11:32 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
usbutils = import ../os-specific/linux/usbutils {
|
|
|
|
inherit fetchurl stdenv libusb;
|
|
|
|
};
|
2007-11-11 16:52:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
utillinux = import ../os-specific/linux/util-linux {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-11 22:58:44 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
utillinuxCurses = import ../os-specific/linux/util-linux {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
utillinuxStatic = lowPrio (appendToName "static" (import ../os-specific/linux/util-linux {
|
|
|
|
inherit fetchurl;
|
|
|
|
stdenv = makeStaticBinaries stdenv;
|
|
|
|
}));
|
2007-03-17 13:29:15 +00:00
|
|
|
|
2008-02-06 21:26:17 +00:00
|
|
|
wesnoth = import ../games/wesnoth {
|
|
|
|
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_net gettext zlib boost freetype;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wirelesstools = import ../os-specific/linux/wireless-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wpa_supplicant = import ../os-specific/linux/wpa_supplicant {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
2007-07-17 20:29:53 +01:00
|
|
|
|
2008-03-27 19:12:14 +00:00
|
|
|
xfsProgsFun = builderDefsPackage (selectVersion ../os-specific/linux/xfsprogs "2.9.7-1"){
|
|
|
|
inherit libtool gettext e2fsprogs;
|
|
|
|
};
|
|
|
|
xfsProgs = xfsProgsFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
|
|
|
|
inherit stdenv xlibs expat libdrm;
|
|
|
|
};
|
2007-08-20 14:48:56 +01:00
|
|
|
|
2008-02-20 08:53:42 +00:00
|
|
|
zd1211fw = import ../os-specific/linux/firmware/zd1211 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2005-05-26 21:09:29 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DATA
|
2005-08-30 08:39:38 +01:00
|
|
|
|
2008-07-05 06:26:58 +01:00
|
|
|
arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) {
|
|
|
|
} null;
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bakoma_ttf = import ../data/fonts/bakoma-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
corefonts = import ../data/fonts/corefonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wrapFonts = paths : ((import ../data/fonts/fontWrap) {
|
2008-03-02 19:19:34 +00:00
|
|
|
inherit fetchurl stdenv builderDefs paths ttmkfdir;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
});
|
2007-11-22 04:23:27 +00:00
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
clearlyUFun = lib.sumArgs (selectVersion ../data/fonts/clearlyU "1.9") {
|
|
|
|
inherit builderDefs;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
};
|
|
|
|
|
|
|
|
clearlyU = clearlyUFun null;
|
|
|
|
|
|
|
|
dejavu_fonts = import ../data/fonts/dejavu-fonts {
|
|
|
|
inherit fetchurl stdenv fontforge perl perlFontTTF
|
|
|
|
fontconfig;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
docbook5 = import ../data/sgml+xml/schemas/docbook-5.0 {
|
2008-06-11 16:39:04 +01:00
|
|
|
inherit fetchurl stdenv unzip;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-22 04:23:27 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
docbook_xml_dtd_412 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.1.2.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
docbook_xml_dtd_42 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.2.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2005-10-22 12:51:30 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
docbook_xml_dtd_43 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.3.nix {
|
2007-12-13 22:15:03 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
2007-03-05 13:44:27 +00:00
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
docbook_xml_ebnf_dtd = import ../data/sgml+xml/schemas/xml-dtd/docbook-ebnf {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 22:02:28 +00:00
|
|
|
junicodeFun = lib.sumArgs (selectVersion ../data/fonts/junicode "0.6.15") {
|
|
|
|
inherit builderDefs fontforge unzip;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
};
|
|
|
|
|
|
|
|
junicode = junicodeFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
freefont_ttf = import ../data/fonts/freefont-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
liberation_ttf = import ../data/fonts/redhat-liberation-fonts {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-05-18 09:13:07 +01:00
|
|
|
libertine = builderDefsPackage (selectVersion ../data/fonts/libertine "2.7") {
|
2008-04-28 11:10:44 +01:00
|
|
|
inherit fontforge;
|
2008-05-18 09:13:07 +01:00
|
|
|
} null;
|
|
|
|
libertineBin = builderDefsPackage (selectVersion ../data/fonts/libertine "2.7.bin") {
|
|
|
|
} null;
|
2008-04-28 11:10:44 +01:00
|
|
|
|
2008-04-26 16:23:46 +01:00
|
|
|
lmodernFun = builderDefsPackage (selectVersion ../data/fonts/lmodern "1.010") {
|
|
|
|
};
|
|
|
|
lmodern = lmodernFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
manpages = import ../data/documentation/man-pages {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
mph_2b_damase = import ../data/fonts/mph-2b-damase {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-02-18 20:50:49 +00:00
|
|
|
shared_mime_info = selectVersion ../data/misc/shared-mime-info "0.23" {
|
2008-01-29 13:24:40 +00:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig gettext libxml2;
|
|
|
|
inherit (gtkLibs) glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
iana_etc = import ../data/misc/iana-etc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
poppler_data = import ../data/misc/poppler-data {
|
2008-01-29 13:24:40 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-03-27 14:40:08 +00:00
|
|
|
r3rs = import ../data/documentation/rnrs/r3rs.nix {
|
|
|
|
inherit fetchurl stdenv texinfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
r4rs = import ../data/documentation/rnrs/r4rs.nix {
|
|
|
|
inherit fetchurl stdenv texinfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
r5rs = import ../data/documentation/rnrs/r5rs.nix {
|
|
|
|
inherit fetchurl stdenv texinfo;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ttf_bitstream_vera = import ../data/fonts/ttf-bitstream-vera {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 19:19:34 +00:00
|
|
|
ucsFonts = import ../data/fonts/ucs-fonts {
|
|
|
|
inherit fetchurl stdenv wrapFonts;
|
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
unifontFun = import ../data/fonts/unifont {
|
|
|
|
inherit debPackage perl;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale bdftopcf fontutil;
|
|
|
|
};
|
|
|
|
|
|
|
|
unifont = unifontFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
vistafonts = import ../data/fonts/vista-fonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
wqy_zenheiFun = lib.sumArgs (selectVersion ../data/fonts/wqy_zenhei "0.4.23-1") {
|
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
|
|
|
wqy_zenhei = wqy_zenheiFun null;
|
|
|
|
|
2008-02-10 17:41:04 +00:00
|
|
|
xkeyboard_configFun = lib.sumArgs (selectVersion ../data/misc/xkeyboard-config "1.2") {
|
2008-02-03 08:53:47 +00:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser gettext;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) xkbcomp;
|
|
|
|
};
|
|
|
|
|
2008-02-03 08:53:47 +00:00
|
|
|
xkeyboard_config = xkeyboard_configFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
### APPLICATIONS
|
|
|
|
|
|
|
|
|
|
|
|
aangifte2005 = import ../applications/taxes/aangifte-2005 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
|
|
|
aangifte2006 = import ../applications/taxes/aangifte-2006 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
2008-03-15 21:45:57 +00:00
|
|
|
aangifte2007 = import ../applications/taxes/aangifte-2007 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
};
|
|
|
|
|
2008-05-26 21:54:34 +01:00
|
|
|
abcde = import ../applications/audio/abcde {
|
|
|
|
inherit fetchurl stdenv libcdio cddiscid wget bash vorbisTools
|
|
|
|
makeWrapper;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
abiword = import ../applications/office/abiword {
|
2008-03-31 22:41:18 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig fribidi libpng popt libgsf enchant wv;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade libgnomeprint libgnomeprintui libgnomecanvas;
|
|
|
|
};
|
|
|
|
|
|
|
|
acroread = import ../applications/misc/acrobat-reader {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
inherit (xlibs) libXt libXp libXext libX11 libXinerama;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
xineramaSupport = true;
|
|
|
|
fastStart = getConfig ["acroread" "fastStart"] true;
|
|
|
|
};
|
|
|
|
|
|
|
|
amsn = import ../applications/networking/instant-messengers/amsn {
|
|
|
|
inherit fetchurl stdenv which tcl tk x11;
|
|
|
|
libstdcpp = gcc33.gcc;
|
|
|
|
};
|
|
|
|
|
2008-03-03 10:55:20 +00:00
|
|
|
audacious = import ../applications/audio/audacious/player.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig libmowgli libmcs gettext xlibs dbus_glib;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
|
|
|
audacious_plugins = import ../applications/audio/audacious/plugins.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig audacious dbus_glib gettext
|
2008-04-22 08:14:47 +01:00
|
|
|
libmad xlibs alsaLib taglib libmpcdec libogg libvorbis
|
|
|
|
libcdio libcddb;
|
2008-03-03 10:55:20 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
audacity = import ../applications/audio/audacity {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv libogg libvorbis libsndfile libmad
|
2008-01-29 13:24:40 +00:00
|
|
|
pkgconfig gettext;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
wxGTK = wxGTK28deps;
|
|
|
|
inherit builderDefs stringsWithDeps;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-02-11 21:45:52 +00:00
|
|
|
aumix = import ../applications/audio/aumix {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig gettext;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
gtkGUI = false;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
batik = import ../applications/graphics/batik {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-01-18 10:29:58 +00:00
|
|
|
bazaar = import ../applications/version-management/bazaar {
|
2008-05-26 12:39:08 +01:00
|
|
|
inherit fetchurl stdenv makeWrapper;
|
|
|
|
python = python25;
|
2008-01-18 10:29:58 +00:00
|
|
|
};
|
|
|
|
|
2008-05-26 12:39:08 +01:00
|
|
|
bazaarTools = builderDefsPackage (import ../applications/version-management/bazaar/tools.nix) {
|
|
|
|
inherit bazaar;
|
|
|
|
} null;
|
|
|
|
|
2008-02-17 15:33:04 +00:00
|
|
|
bitlbee = import ../applications/networking/instant-messengers/bitlbee {
|
|
|
|
inherit fetchurl stdenv gnutls pkgconfig;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00: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;
|
|
|
|
#};
|
|
|
|
|
|
|
|
# only to be able to compile blender - I couldn't compile the default openal software
|
|
|
|
# Perhaps this can be removed - don't know which one openal{,soft} is better
|
|
|
|
freealut_soft = import ../development/libraries/freealut {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
openal = openalSoft;
|
|
|
|
};
|
2008-02-20 23:02:41 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
blender = import ../applications/misc/blender {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit stdenv cmake mesa gettext freetype SDL libtiff fetchurl glibc scons x11 lib
|
2008-03-17 09:41:28 +00:00
|
|
|
libjpeg libpng zlib /* smpeg sdl */;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) inputproto libXi;
|
2008-03-17 13:45:50 +00:00
|
|
|
python = python25;
|
2007-12-30 22:02:04 +00:00
|
|
|
freealut = freealut_soft;
|
|
|
|
openal = openalSoft;
|
|
|
|
openexr = openexr_1_4_0;
|
|
|
|
};
|
|
|
|
|
|
|
|
bmp = import ../applications/audio/bmp {
|
|
|
|
inherit fetchurl stdenv pkgconfig libogg libvorbis alsaLib id3lib;
|
|
|
|
inherit (gnome) esound libglade;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
|
|
|
bmp_plugin_musepack = import ../applications/audio/bmp-plugins/musepack {
|
|
|
|
inherit fetchurl stdenv pkgconfig bmp libmpcdec taglib;
|
|
|
|
};
|
|
|
|
|
|
|
|
bmp_plugin_wma = import ../applications/audio/bmp-plugins/wma {
|
|
|
|
inherit fetchurl stdenv pkgconfig bmp;
|
|
|
|
};
|
|
|
|
|
2008-01-20 22:47:08 +00:00
|
|
|
bvi = import ../applications/editors/bvi {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2008-06-16 14:15:55 +01:00
|
|
|
carrier = builderDefsPackage (selectVersion ../applications/networking/instant-messengers/carrier "2.4.2") {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss
|
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib python
|
2008-07-01 09:31:48 +01:00
|
|
|
libtool automake autoconf;
|
2008-06-16 14:15:55 +01:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) startupnotification GConf ;
|
|
|
|
inherit (xlibs) libXScrnSaver scrnsaverproto libX11 xproto kbproto;
|
|
|
|
} null;
|
|
|
|
funpidgin = carrier;
|
|
|
|
|
2008-05-26 21:18:45 +01:00
|
|
|
cddiscid = import ../applications/audio/cd-discid {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
cdparanoia = cdparanoiaIII;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cdparanoiaIII = import ../applications/audio/cdparanoia {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
cdrtools = import ../applications/misc/cdrtools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
cdrkit = import ../applications/misc/cdrkit {
|
|
|
|
inherit fetchurl stdenv cmake libcap zlib;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
chatzilla =
|
2007-12-30 22:02:04 +00:00
|
|
|
xulrunnerWrapper {
|
|
|
|
launcher = "chatzilla";
|
|
|
|
application = import ../applications/networking/irc/chatzilla {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
compiz_050 = assert mesaSupported; import ../applications/window-managers/compiz/0.5.0.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa;
|
|
|
|
inherit (xorg) libXcomposite libXfixes libXdamage libXrandr
|
|
|
|
libXinerama libICE libSM libXrender xextproto;
|
|
|
|
inherit (gnome) startupnotification libwnck GConf;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libgnome libgnomeui metacity glib pango
|
|
|
|
libglade libgtkhtml gtkhtml libgnomecanvas libgnomeprint
|
|
|
|
libgnomeprintui gnomepanel;
|
|
|
|
gnomegtk = gnome.gtk;
|
|
|
|
inherit librsvg fuse;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
|
|
|
compiz_062 = compizFun {
|
2007-12-30 22:02:04 +00:00
|
|
|
version = "0.6.2";
|
|
|
|
};
|
|
|
|
|
2008-04-11 10:32:27 +01:00
|
|
|
compizFun = lib.sumArgs (assert mesaSupported; selectVersion ../applications/window-managers/compiz "0.7.4") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit lib builderDefs stringsWithDeps;
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt;
|
|
|
|
inherit (xorg) libXcomposite libXfixes libXdamage libXrandr
|
|
|
|
libXinerama libICE libSM libXrender xextproto compositeproto fixesproto
|
2008-06-18 23:48:34 +01:00
|
|
|
damageproto randrproto xineramaproto renderproto kbproto xproto libX11
|
2008-04-11 10:32:27 +01:00
|
|
|
libxcb;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gnome) startupnotification libwnck GConf;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libgnome libgnomeui metacity
|
|
|
|
glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeprint
|
|
|
|
libgnomeprintui gnomepanel;
|
|
|
|
gnomegtk = gnome.gtk;
|
|
|
|
inherit librsvg fuse;
|
|
|
|
inherit dbus dbus_glib;
|
|
|
|
};
|
|
|
|
|
|
|
|
compiz = compizFun {
|
|
|
|
extraConfigureFlags = getConfig ["compiz" "extraConfigureFlags"] [];
|
|
|
|
} null;
|
|
|
|
|
|
|
|
compizFusion = assert mesaSupported; import ../applications/window-managers/compiz-fusion {
|
2008-04-11 10:32:27 +01:00
|
|
|
version = getConfig ["compizFusion" "version"] "0.7.4";
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit compiz;
|
|
|
|
inherit stringsWithDeps lib builderDefs;
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt;
|
|
|
|
inherit (xorg) libXcomposite libXfixes libXdamage libXrandr
|
|
|
|
libXinerama libICE libSM libXrender xextproto;
|
|
|
|
inherit (gnome) startupnotification libwnck GConf;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libgnome libgnomeui metacity
|
|
|
|
glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeprint
|
|
|
|
libgnomeprintui gnomepanel gnomedesktop;
|
|
|
|
gnomegtk = gnome.gtk;
|
|
|
|
inherit librsvg fuse dbus dbus_glib git;
|
|
|
|
inherit automake autoconf libtool intltool python pyrex gettext;
|
|
|
|
inherit pygtk pycairo getopt libjpeg glxinfo;
|
|
|
|
inherit (xorg) xvinfo xdpyinfo;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
compizExtra = import ../applications/window-managers/compiz/extra.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig compiz perl perlXMLParser dbus;
|
|
|
|
inherit (gnome) GConf;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2008-02-11 17:02:46 +00:00
|
|
|
bbdb = import ../applications/editors/emacs-modes/bbdb {
|
|
|
|
inherit fetchurl stdenv emacs texinfo ctags;
|
|
|
|
};
|
|
|
|
|
2008-05-26 08:47:07 +01:00
|
|
|
codeville = builderDefsPackage (selectVersion ../applications/version-management/codeville "0.8.0") {
|
|
|
|
python = python25;
|
|
|
|
inherit makeWrapper;
|
|
|
|
} null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cua = import ../applications/editors/emacs-modes/cua {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
cvs = import ../applications/version-management/cvs {
|
2008-03-13 10:01:21 +00:00
|
|
|
inherit fetchurl stdenv nano;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-03-13 10:02:57 +00:00
|
|
|
cvsps = import ../applications/version-management/cvsps {
|
|
|
|
inherit fetchurl stdenv cvs zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cvs2svn = import ../applications/version-management/cvs2svn {
|
2008-01-18 11:28:41 +00:00
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
d4x = import ../applications/misc/d4x {
|
|
|
|
inherit fetchurl stdenv pkgconfig openssl boost;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
darcs = import ../applications/version-management/darcs {
|
2008-03-02 08:22:26 +00:00
|
|
|
inherit fetchurl stdenv zlib ncurses curl;
|
2008-06-18 23:48:34 +01:00
|
|
|
ghc = ghc661;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# some speed bottle necks are resolved in this version I think .. perhaps you like to try it?
|
2008-04-14 20:59:26 +01:00
|
|
|
darcs2 = import ../applications/version-management/darcs/darcs-2.nix {
|
2008-02-22 14:09:29 +00:00
|
|
|
inherit fetchurl stdenv zlib ncurses curl ghc;
|
2008-02-09 13:52:41 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
dia = import ../applications/graphics/dia {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit stdenv fetchurl pkgconfig perl perlXMLParser
|
|
|
|
libxml2 gettext python libxml2Python docbook5 docbook_xsl
|
2008-03-17 09:41:28 +00:00
|
|
|
libxslt;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
|
|
|
|
|
|
|
djvulibre = import ../applications/misc/djvulibre {
|
|
|
|
inherit stdenv fetchurl libjpeg libtiff libungif zlib
|
2008-03-17 09:41:28 +00:00
|
|
|
ghostscript libpng x11 mesa;
|
2008-01-28 19:48:08 +00:00
|
|
|
qt = if (getConfig ["djvulibre" "qt3Frontend"] true) then qt3 else null;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
djview4 = import ../applications/graphics/djview {
|
|
|
|
inherit fetchurl stdenv qt4 djvulibre;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
/* TODO: rename to be able to set version */
|
|
|
|
dvdplusrwtoolsFun = lib.sumArgs (selectVersion ../os-specific/linux/dvd+rw-tools "7.0") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv builderDefs cdrkit m4;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
dvdplusrwtools = dvdplusrwtoolsFun null;
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# building eclipise from source
|
2008-03-02 21:17:23 +00:00
|
|
|
# experimental tested on x86_64-linux only
|
|
|
|
eclipse_classic_src = import ../applications/editors/eclipse/eclipse_classic.nix {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv makeWrapper jdk unzip ant;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (xlibs) libXtst;
|
2008-03-02 21:17:23 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
eclipse = plugins:
|
|
|
|
import ../applications/editors/eclipse {
|
|
|
|
inherit fetchurl stdenv makeWrapper jdk;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (xlibs) libXtst;
|
|
|
|
inherit plugins;
|
|
|
|
};
|
|
|
|
|
|
|
|
eclipsesdk = eclipse [];
|
|
|
|
|
|
|
|
eclipseSpoofax = lowPrio (appendToName "with-spoofax" (eclipse [spoofax]));
|
|
|
|
|
2008-04-25 17:13:36 +01:00
|
|
|
ed = import ../applications/editors/ed {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
elinks = import ../applications/networking/browsers/elinks {
|
|
|
|
inherit stdenv fetchurl python perl ncurses x11 zlib openssl spidermonkey
|
2008-03-17 09:41:28 +00:00
|
|
|
guile bzip2;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
emacs = emacs22;
|
|
|
|
|
|
|
|
emacs21 = import ../applications/editors/emacs-21 {
|
|
|
|
inherit fetchurl stdenv ncurses x11 Xaw3d;
|
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
xaw3dSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacs22 = import ../applications/editors/emacs-22 {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d;
|
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
xaw3dSupport = false;
|
|
|
|
gtkGUI = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacsUnicode = import ../applications/editors/emacs-unicode {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d
|
|
|
|
libpng libjpeg libungif libtiff;
|
|
|
|
inherit (xlibs) libXaw libXpm libXft;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
xawSupport = false;
|
|
|
|
xaw3dSupport = false;
|
|
|
|
gtkGUI = true;
|
|
|
|
xftSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
exrdisplay = import ../applications/graphics/exrdisplay {
|
|
|
|
inherit fetchurl stdenv pkgconfig mesa which openexr_ctl;
|
|
|
|
fltk = fltk20;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
fbpanelFun = lib.sumArgs (selectVersion ../applications/window-managers/fbpanel "4.12") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv builderDefs pkgconfig libpng libjpeg libtiff librsvg;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11 libXmu libXpm;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
fbpanel = fbpanelFun null;
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
fetchmail = import ../applications/misc/fetchmail {
|
2008-02-22 10:12:01 +00:00
|
|
|
inherit stdenv fetchurl openssl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wireshark = import ../applications/networking/sniffers/wireshark {
|
2008-04-12 13:44:56 +01:00
|
|
|
inherit fetchurl stdenv perl pkgconfig libpcap flex bison;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
|
|
|
feh = import ../applications/graphics/feh {
|
|
|
|
inherit fetchurl stdenv x11 imlib2 libjpeg libpng;
|
|
|
|
};
|
|
|
|
|
2008-06-17 08:39:01 +01:00
|
|
|
firefox = lowPrio (import ../applications/networking/browsers/firefox-2 {
|
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;
|
2007-12-30 22:02:04 +00:00
|
|
|
#enableOfficialBranding = true;
|
|
|
|
});
|
2006-10-04 14:59:41 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
firefoxWrapper = wrapFirefox firefox "";
|
2006-02-15 02:53:01 +00:00
|
|
|
|
2008-02-13 10:36:53 +00:00
|
|
|
firefox3 = lowPrio (import ../applications/networking/browsers/firefox-3 {
|
2007-11-21 22:38:25 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2008-06-17 11:53:08 +01:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs;
|
2007-12-25 12:29:02 +00:00
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
2007-12-30 22:02:04 +00:00
|
|
|
#enableOfficialBranding = true;
|
|
|
|
});
|
2007-12-25 12:29:02 +00:00
|
|
|
|
2008-02-14 10:50:24 +00:00
|
|
|
firefox3b1Bin = lowPrio (import ../applications/networking/browsers/firefox-3/binary.nix {
|
2007-12-10 16:56:55 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2008-03-17 09:41:28 +00:00
|
|
|
python curl coreutils freetype fontconfig;
|
2007-12-10 16:56:55 +00:00
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi libX11 libXrender libXft libXt;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2003-11-11 15:01:07 +00:00
|
|
|
|
2008-02-13 10:36:53 +00:00
|
|
|
firefox3Wrapper = lowPrio (wrapFirefox firefox3 "");
|
2007-12-30 22:05:58 +00:00
|
|
|
firefox3b1BinWrapper = lowPrio (wrapFirefox firefox3b1Bin "");
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-01-28 19:48:21 +00:00
|
|
|
flacAlts = import ../applications/audio/flac {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
|
|
|
|
2008-01-28 19:48:21 +00:00
|
|
|
flac = getVersion "flac" flacAlts;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
flashplayer = flashplayer9;
|
|
|
|
|
|
|
|
flashplayer7 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-7 {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
};
|
|
|
|
|
|
|
|
flashplayer9 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
|
|
|
inherit fetchurl stdenv zlib alsaLib;
|
|
|
|
};
|
|
|
|
|
|
|
|
flite = import ../applications/misc/flite {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
freemind = import ../applications/misc/freemind {
|
|
|
|
inherit fetchurl stdenv ant;
|
|
|
|
jdk = jdk;
|
|
|
|
jre = jdk;
|
|
|
|
};
|
|
|
|
|
|
|
|
fspot = import ../applications/graphics/f-spot {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig mono
|
|
|
|
libexif libjpeg sqlite lcms libgphoto2 monoDLLFixer;
|
|
|
|
inherit (gnome) libgnome libgnomeui;
|
|
|
|
gtksharp = gtksharp1;
|
|
|
|
};
|
|
|
|
|
|
|
|
gimp = import ../applications/graphics/gimp {
|
|
|
|
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
|
|
|
libtiff libjpeg libpng libexif zlib perl perlXMLParser
|
|
|
|
python pygtk gettext xlibs;
|
|
|
|
inherit (gnome) gtk libgtkhtml libart_lgpl;
|
|
|
|
};
|
|
|
|
|
2008-05-22 10:58:31 +01:00
|
|
|
git = import ../applications/version-management/git {
|
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl gettext
|
|
|
|
asciidoc texinfo xmlto docbook2x
|
|
|
|
docbook_xsl docbook_xml_dtd_42 libxslt
|
2008-06-11 13:31:44 +01:00
|
|
|
cpio tcl tk makeWrapper subversion;
|
|
|
|
svnSupport = getConfig ["git" "svnSupport"] false; # for git-svn support
|
|
|
|
guiSupport = getConfig ["git" "guiSupport"] false;
|
|
|
|
perlLibs = [perlLWP perlURI perlTermReadKey subversion];
|
2008-05-22 10:58:31 +01:00
|
|
|
};
|
2008-03-27 10:57:54 +00:00
|
|
|
|
2008-07-07 12:48:24 +01:00
|
|
|
qgit = import ../applications/version-management/qgit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2008-02-13 16:38:33 +00:00
|
|
|
gkrellm = import ../applications/misc/gkrellm {
|
|
|
|
inherit fetchurl stdenv gettext pkgconfig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit (xlibs) libX11 libICE libSM;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnash = assert mesaSupported; import ../applications/video/gnash {
|
2008-03-10 09:48:17 +00:00
|
|
|
inherit fetchurl stdenv SDL SDL_mixer libogg libxml2 libjpeg mesa libpng
|
2008-07-06 22:46:33 +01:00
|
|
|
boost freetype agg dbus curl pkgconfig x11 libtool lib;
|
2008-03-10 09:48:17 +00:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2008-02-22 03:06:12 +00:00
|
|
|
GStreamer = gst_all.gstreamer;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
gocrFun = lib.sumArgs (selectVersion ../applications/graphics/gocr "0.44") {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit builderDefs fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
gocr = gocrFun null;
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
gphoto2 = import ../applications/misc/gphoto2 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt readline gettext;
|
|
|
|
};
|
|
|
|
|
|
|
|
gqview = import ../applications/graphics/gqview {
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
|
|
|
gv = import ../applications/misc/gv {
|
|
|
|
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
2008-07-07 12:49:57 +01:00
|
|
|
inherit fetchurl stdenv emacs;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-06-17 15:19:59 +01:00
|
|
|
hello = import ../applications/misc/hello/ex-2 {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i810switch = import ../applications/misc/i810 {
|
|
|
|
inherit fetchurl stdenv pciutils;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
icewm = import ../applications/window-managers/icewm {
|
|
|
|
inherit fetchurl stdenv gettext libjpeg libtiff libungif libpng imlib;
|
|
|
|
inherit (xlibs) libX11 libXft libXext libXinerama libXrandr;
|
|
|
|
};
|
|
|
|
|
2008-05-16 12:26:23 +01:00
|
|
|
imagemagick = import ../applications/graphics/ImageMagick {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz ghostscript
|
|
|
|
libjpeg libpng libtiff libxml2 zlib libtool;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libX11;
|
2008-05-16 12:26:23 +01:00
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2008-05-16 12:26:23 +01:00
|
|
|
imagemagickBig = import ../applications/graphics/ImageMagick {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz ghostscript
|
|
|
|
libjpeg libpng libtiff libxml2 zlib tetex librsvg libtool;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libX11;
|
2008-05-16 12:26:23 +01:00
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
inkscape = import ../applications/graphics/inkscape {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib
|
2008-02-03 13:18:37 +00:00
|
|
|
popt libxml2 libxslt libpng boehmgc fontconfig
|
2008-02-25 11:09:37 +00:00
|
|
|
libsigcxx lcms boost gettext cairomm
|
2008-02-22 16:24:58 +00:00
|
|
|
python pyxml makeWrapper;
|
2008-02-03 13:18:37 +00:00
|
|
|
inherit (gtkLibs) gtk glib glibmm gtkmm;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXft;
|
|
|
|
};
|
|
|
|
|
|
|
|
ion3 = import ../applications/window-managers/ion-3 {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv x11 gettext groff;
|
|
|
|
lua = lua5;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
irssi = import ../applications/networking/irc/irssi {
|
|
|
|
inherit stdenv fetchurl pkgconfig ncurses openssl;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2008-06-04 12:59:42 +01:00
|
|
|
jedit = import ../applications/editors/jedit {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv ant;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
joe = import ../applications/editors/joe {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-03-25 09:50:54 +00:00
|
|
|
jwm = import ../applications/window-managers/jwm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXext libXinerama libXpm libXft;
|
|
|
|
};
|
|
|
|
|
2008-06-26 15:38:28 +01:00
|
|
|
k3b = import ../applications/misc/k3b {
|
|
|
|
inherit stdenv fetchurl kdelibs x11 zlib libpng libjpeg perl qt3;
|
|
|
|
};
|
|
|
|
|
2008-01-13 15:21:21 +00:00
|
|
|
kino = import ../applications/video/kino {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 perl perlXMLParser
|
2008-01-13 18:08:51 +00:00
|
|
|
libdv libraw1394 libavc1394 libiec61883 x11 gettext cairo; /* libavformat */
|
2008-01-13 15:21:21 +00:00
|
|
|
inherit libsamplerate ffmpeg;
|
2008-01-13 18:08:51 +00:00
|
|
|
inherit (gnome) libglade gtk glib;
|
2008-01-13 15:21:21 +00:00
|
|
|
inherit (xlibs) libXv libX11;
|
2008-01-13 18:08:51 +00:00
|
|
|
inherit (gtkLibs) pango;
|
2008-02-20 23:02:41 +00:00
|
|
|
# # optional
|
|
|
|
# inherit ffmpeg2theora sox, vorbis-tools lame mjpegtools dvdauthor 'Q'dvdauthor growisofs mencoder;
|
2008-01-13 15:21:21 +00:00
|
|
|
};
|
|
|
|
|
2008-04-21 14:12:44 +01:00
|
|
|
kile = import ../applications/editors/kile {
|
|
|
|
inherit stdenv fetchurl perl arts kdelibs zlib libpng libjpeg freetype expat;
|
|
|
|
inherit (xlibs) libX11 libXt libXext;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2008-03-15 06:11:45 +00:00
|
|
|
/*kiwixBuilderFun = lib.sumArgs (import ../applications/misc/kiwixbuilder) {
|
|
|
|
inherit builderDefs;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
};
|
|
|
|
|
|
|
|
kiwixBuilder = kiwixBuilderFun null;*/
|
|
|
|
|
2008-04-21 13:11:34 +01:00
|
|
|
konversation = import ../applications/networking/irc/konversation {
|
|
|
|
inherit fetchurl stdenv perl arts kdelibs zlib libpng libjpeg expat;
|
|
|
|
inherit (xlibs) libX11 libXt libXext;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kuickshow = import ../applications/graphics/kuickshow {
|
|
|
|
inherit fetchurl stdenv kdelibs arts libpng libjpeg libtiff libungif imlib expat perl;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
lame = import ../applications/audio/lame {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ladspaH = import ../applications/audio/ladspa-plugins/ladspah.nix {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
|
|
|
};
|
|
|
|
|
|
|
|
ladspaPlugins = import ../applications/audio/ladspa-plugins {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps fftw ladspaH pkgconfig;
|
|
|
|
};
|
|
|
|
|
2008-03-15 06:11:45 +00:00
|
|
|
ldcppFun = lib.sumArgs (selectVersion ../applications/networking/p2p/ldcpp "1.0.1") {
|
|
|
|
inherit builderDefs scons pkgconfig bzip2 openssl;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldcpp = ldcppFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
links = import ../applications/networking/browsers/links {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
lynx = import ../applications/networking/browsers/lynx {
|
|
|
|
inherit fetchurl stdenv ncurses openssl;
|
|
|
|
};
|
|
|
|
|
2008-01-30 19:38:07 +00:00
|
|
|
lyx = import ../applications/misc/lyx {
|
2008-03-27 23:33:10 +00:00
|
|
|
inherit fetchurl stdenv texLive python;
|
2008-01-30 19:38:07 +00:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
maxima = import ../applications/misc/maxima {
|
|
|
|
inherit fetchurl stdenv clisp;
|
|
|
|
};
|
|
|
|
|
|
|
|
mercurial = import ../applications/version-management/mercurial {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-04-11 10:32:27 +01:00
|
|
|
minicomFun = builderDefsPackage (selectVersion ../tools/misc/minicom "2.3") {
|
|
|
|
inherit ncurses;
|
|
|
|
};
|
|
|
|
minicom = minicomFun null;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
monodevelop = import ../applications/editors/monodevelop {
|
|
|
|
inherit fetchurl stdenv file mono gtksourceviewsharp
|
|
|
|
gtkmozembedsharp monodoc perl perlXMLParser pkgconfig;
|
|
|
|
inherit (gnome) gnomevfs libbonobo libglade libgnome GConf glib gtk;
|
|
|
|
mozilla = firefox;
|
|
|
|
gtksharp = gtksharp2;
|
|
|
|
};
|
|
|
|
|
|
|
|
monodoc = import ../applications/editors/monodoc {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig;
|
|
|
|
gtksharp = gtksharp1;
|
|
|
|
};
|
|
|
|
|
|
|
|
mozilla = import ../applications/networking/browsers/mozilla {
|
|
|
|
inherit fetchurl pkgconfig stdenv perl zip;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
};
|
|
|
|
|
2008-02-11 21:02:38 +00:00
|
|
|
mpg321 = import ../applications/audio/mpg321 {
|
|
|
|
inherit stdenv fetchurl libao libmad libid3tag zlib;
|
|
|
|
};
|
|
|
|
|
2008-03-06 09:34:36 +00:00
|
|
|
MPlayerFun = lib.composedArgs (import ../applications/video/MPlayer) {
|
|
|
|
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav
|
|
|
|
cdparanoia;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
|
|
|
alsaSupport = true;
|
|
|
|
alsa = alsaLib;
|
|
|
|
theoraSupport = true;
|
|
|
|
cacaSupport = true;
|
|
|
|
xineramaSupport = true;
|
|
|
|
randrSupport = true;
|
2008-03-06 09:34:36 +00:00
|
|
|
cddaSupport = true;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-03-06 09:34:36 +00:00
|
|
|
MPlayer = MPlayerFun null;
|
|
|
|
|
2008-03-17 09:41:28 +00: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 :)
|
|
|
|
/*
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
2007-09-18 00:24:58 +01:00
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
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
|
2008-03-17 09:41:28 +00:00
|
|
|
/*
|
|
|
|
mrxvt = import ../applications/misc/mrxvt {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
|
|
|
|
};
|
|
|
|
*/
|
2007-09-04 21:06:18 +01:00
|
|
|
|
2007-08-06 16:09:38 +01:00
|
|
|
mutt = import ../applications/networking/mailreaders/mutt {
|
2008-05-13 20:21:09 +01:00
|
|
|
inherit fetchurl stdenv ncurses which openssl gdbm;
|
2007-08-06 16:09:38 +01:00
|
|
|
};
|
|
|
|
|
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 {
|
2008-06-25 23:01:33 +01:00
|
|
|
inherit fetchurl stdenv which x11 xlibs lame zlib mesa freetype perl alsaLib;
|
2008-06-23 10:01:04 +01:00
|
|
|
qt3 = qt3mysql;
|
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 {
|
2007-11-28 02:10:27 +00:00
|
|
|
inherit fetchurl zlib glibc;
|
|
|
|
stdenv = overrideGCC stdenv gcc40;
|
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;
|
2007-11-28 02:10:27 +00:00
|
|
|
#33motif = lesstif;
|
|
|
|
libstdcpp5 = (if (stdenv.system == "i686-linux") then gcc33 /* stdc++ 3.8 is used */ else gcc).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
|
|
|
};
|
|
|
|
|
2008-04-26 00:40:18 +01:00
|
|
|
pidgin = import ../applications/networking/instant-messengers/pidgin {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss
|
2008-05-25 13:26:46 +01:00
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib;
|
2008-04-26 00:40:18 +01:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) startupnotification;
|
|
|
|
inherit (xlibs) libXScrnSaver;
|
|
|
|
};
|
|
|
|
|
|
|
|
pidginlatexFun = lib.sumArgs (import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex) {
|
|
|
|
inherit fetchurl stdenv pkgconfig ghostscript pidgin texLive;
|
|
|
|
imagemagick = imagemagickBig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
pidginlatex = pidginlatexFun null;
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
pidginlatexSFFun = builderDefsPackage
|
|
|
|
(import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/pidgin-latex-sf.nix)
|
2008-04-26 00:40:18 +01:00
|
|
|
{
|
|
|
|
inherit pkgconfig pidgin texLive imagemagick which;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
pidginlatexSF = pidginlatexSFFun null;
|
|
|
|
|
|
|
|
pidginotr = import ../applications/networking/instant-messengers/pidgin-plugins/otr {
|
|
|
|
inherit fetchurl stdenv libotr pidgin;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
pinfo = import ../applications/misc/pinfo {
|
2007-12-31 23:38:10 +00:00
|
|
|
inherit fetchurl stdenv ncurses readline;
|
2005-09-07 15:57:30 +01:00
|
|
|
};
|
|
|
|
|
2008-05-27 16:05:16 +01:00
|
|
|
pqiv = import ../applications/graphics/pqiv {
|
|
|
|
inherit fetchurl stdenv getopt which pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
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;
|
2008-03-17 13:45:50 +00:00
|
|
|
python = python25;
|
2007-08-09 20:58:39 +01:00
|
|
|
};
|
|
|
|
|
2008-06-05 16:43:06 +01:00
|
|
|
qemu = import ../applications/virtualization/qemu/0.9.1.nix {
|
|
|
|
inherit fetchurl SDL zlib which;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2007-12-31 08:49:41 +00:00
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
qemuImageFun = lib.sumArgs
|
2008-01-31 17:32:28 +00:00
|
|
|
(selectVersion ../applications/virtualization/qemu/linux-img "0.2") {
|
2007-12-31 08:49:41 +00:00
|
|
|
inherit builderDefs fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
qemuImage = qemuImageFun null;
|
2007-12-31 08:49:41 +00:00
|
|
|
|
2008-03-31 13:22:39 +01:00
|
|
|
quack = import ../applications/editors/emacs-modes/quack {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
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
|
2008-03-17 09:41:28 +00:00
|
|
|
libXtst xextproto;
|
2007-08-03 23:38:36 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-01-28 12:28:23 +00:00
|
|
|
rdesktop = import ../applications/networking/remote/rdesktop {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-04-18 15:27:42 +01:00
|
|
|
remember = import ../applications/editors/emacs-modes/remember {
|
|
|
|
inherit fetchurl stdenv texinfo emacs bbdb;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2007-10-31 12:17:14 +00:00
|
|
|
# = urxvt
|
|
|
|
rxvt_unicode = import ../applications/misc/rxvt_unicode {
|
2008-02-22 03:06:12 +00:00
|
|
|
inherit lib fetchurl stdenv perl;
|
2007-10-31 12:17:14 +00:00
|
|
|
inherit (xlibs) libXt libX11 libXft;
|
|
|
|
};
|
|
|
|
|
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;
|
2008-03-10 13:09:47 +00:00
|
|
|
inherit glibc alsaLib freetype fontconfig libsigcxx gcc;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit (xlibs) libSM libICE libXi libXrender libXrandr libXfixes libXcursor
|
2007-09-12 11:56:56 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2007-11-03 04:15:13 +00:00
|
|
|
sndFun = lib.sumArgs (import ../applications/audio/snd) {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps lib;
|
|
|
|
inherit pkgconfig gmp gettext;
|
2008-06-16 17:33:11 +01:00
|
|
|
inherit (xlibs) libXpm libX11;
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2007-11-03 04:15:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
snd = sndFun {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit guile mesa libtool;
|
2007-11-03 04:15:13 +00:00
|
|
|
} null;
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
sox = import ../applications/misc/audio/sox {
|
2007-12-04 22:06:13 +00:00
|
|
|
inherit fetchurl stdenv lib mkDerivationByConfiguration;
|
2008-06-18 23:48:34 +01:00
|
|
|
# optional features
|
2007-10-22 09:51:48 +01:00
|
|
|
inherit alsaLib; # libao
|
2007-10-22 01:51:40 +01:00
|
|
|
inherit libsndfile libogg flac libmad lame libsamplerate;
|
2008-03-17 09:41:28 +00:00
|
|
|
# Using the default nix ffmpeg I get this error when linking
|
|
|
|
# .libs/libsox_la-ffmpeg.o: In function `audio_decode_frame':
|
|
|
|
# /tmp/nix-7957-1/sox-14.0.0/src/ffmpeg.c:130: undefined reference to `avcodec_decode_audio2
|
|
|
|
# That's why I'v added ffmpeg_svn
|
2007-10-22 01:51:40 +01:00
|
|
|
ffmpeg = ffmpeg_svn;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
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
|
|
|
subversion14 = import ../applications/version-management/subversion-1.4.x {
|
2008-06-19 16:29:25 +01:00
|
|
|
inherit fetchurl stdenv apr aprutil expat swig zlib jdk;
|
|
|
|
neon = neon026;
|
2008-01-30 15:15:53 +00:00
|
|
|
bdbSupport = getConfig ["subversion" "bdbSupport"] true;
|
|
|
|
httpServer = getConfig ["subversion" "httpServer"] false;
|
|
|
|
sslSupport = getConfig ["subversion" "sslSupport"] true;
|
2008-03-17 09:41:28 +00:00
|
|
|
pythonBindings = getConfig ["subversion" "pythonBindings"] false;
|
2008-01-28 19:33:23 +00:00
|
|
|
perlBindings = getConfig ["subversion" "perlBindings"] false;
|
2008-03-17 09:41:28 +00:00
|
|
|
javahlBindings = getConfig ["subversion" "javahlBindings"] false;
|
2008-01-30 15:15:53 +00:00
|
|
|
compressionSupport = getConfig ["subversion" "compressionSupport"] true;
|
2006-09-15 16:28:53 +01:00
|
|
|
httpd = apacheHttpd;
|
2004-04-06 18:47:34 +01:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-03-12 10:36:15 +00:00
|
|
|
subversion14svnmerge = svnmergeFun subversion14;
|
2004-04-06 18:47:34 +01:00
|
|
|
|
2008-06-19 16:29:25 +01:00
|
|
|
subversion15 = import ../applications/version-management/subversion-1.5.x {
|
|
|
|
inherit fetchurl stdenv apr aprutil expat swig zlib jdk;
|
|
|
|
neon = neon028;
|
|
|
|
bdbSupport = getConfig ["subversion" "bdbSupport"] true;
|
|
|
|
httpServer = getConfig ["subversion" "httpServer"] false;
|
|
|
|
httpSupport = getConfig ["subversion" "httpSupport"] true;
|
|
|
|
sslSupport = getConfig ["subversion" "sslSupport"] true;
|
|
|
|
pythonBindings = getConfig ["subversion" "pythonBindings"] false;
|
|
|
|
perlBindings = getConfig ["subversion" "perlBindings"] false;
|
|
|
|
javahlBindings = getConfig ["subversion" "javahlBindings"] false;
|
|
|
|
compressionSupport = getConfig ["subversion" "compressionSupport"] true;
|
|
|
|
httpd = apacheHttpd;
|
|
|
|
};
|
|
|
|
|
2008-05-30 19:15:25 +01:00
|
|
|
svk = perlSVK;
|
|
|
|
|
2008-03-12 10:36:15 +00:00
|
|
|
svnmergeFun = subversion : (import ../applications/version-management/subversion-1.4.x/svnmerge.nix ) {
|
|
|
|
inherit subversion stdenv shebangfix python;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# linux only by now
|
2007-11-11 08:16:23 +00:00
|
|
|
synergy = import ../applications/misc/synergy {
|
2008-03-15 04:35:29 +00:00
|
|
|
inherit bleedingEdgeRepos stdenv x11;
|
2007-11-11 08:16:23 +00:00
|
|
|
inherit (xlibs) xextproto libXtst inputproto;
|
|
|
|
};
|
|
|
|
|
2008-07-04 07:54:11 +01:00
|
|
|
tailor = builderDefsPackage (selectVersion ../applications/version-management/tailor "0.9.35") {
|
2008-05-07 08:23:20 +01:00
|
|
|
python = python25;
|
2008-05-31 08:26:13 +01:00
|
|
|
inherit makeWrapper;
|
2008-05-07 08:23:20 +01:00
|
|
|
} null;
|
|
|
|
|
2007-12-14 01:50:19 +00:00
|
|
|
/* does'nt work yet i686-linux only (32bit version)
|
|
|
|
teamspeak_client = import ../applications/networking/instant-messengers/teamspeak/client.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit glibc x11;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
2008-05-29 20:12:53 +01:00
|
|
|
taskJuggler = import ../applications/misc/taskjuggler {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit zlib libpng perl expat;
|
|
|
|
qt = qt3;
|
|
|
|
|
|
|
|
inherit (xlibs) libX11 libXext libSM libICE;
|
|
|
|
|
|
|
|
# KDE support is not working yet.
|
|
|
|
inherit kdelibs kdebase;
|
|
|
|
withKde = pkgs.getConfig ["taskJuggler" "kde"] false;
|
|
|
|
};
|
|
|
|
|
2007-11-26 14:18:57 +00:00
|
|
|
thunderbird = import ../applications/networking/mailreaders/thunderbird-2.x {
|
2007-06-02 21:32:24 +01:00
|
|
|
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
|
|
|
|
2008-02-17 13:44:30 +00:00
|
|
|
tla = import ../applications/version-management/arch {
|
|
|
|
inherit fetchurl stdenv diffutils gnutar gnupatch which;
|
|
|
|
};
|
|
|
|
|
2007-08-10 09:21:31 +01:00
|
|
|
unison = import ../applications/networking/sync/unison {
|
|
|
|
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
|
|
|
|
inherit (xorg) xset fontschumachermisc;
|
|
|
|
};
|
|
|
|
|
2008-04-11 10:32:27 +01:00
|
|
|
uucpFun = builderDefsPackage (selectVersion ../tools/misc/uucp "1.07") {
|
|
|
|
};
|
|
|
|
uucp = uucpFun null;
|
|
|
|
|
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 {
|
2008-01-12 00:22:52 +00:00
|
|
|
inherit fetchurl stdenv lib ncurses pkgconfig
|
2008-03-17 09:41:28 +00:00
|
|
|
perl python tcl;
|
2007-08-10 20:53:30 +01:00
|
|
|
inherit (xlibs) libX11 libXext libSM libXpm
|
2008-03-17 09:41:28 +00:00
|
|
|
libXt libXaw libXau;
|
2007-08-10 20:53:30 +01:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2008-01-12 00:22:52 +00:00
|
|
|
|
|
|
|
# Looks like python and perl can conflict
|
|
|
|
flags = ["hugeFeatures" "gtkGUI" "x11Support"
|
2008-03-17 09:41:28 +00:00
|
|
|
/*"perlSupport"*/ "pythonSupport" "tclSupport"];
|
2007-08-10 20:53:30 +01:00
|
|
|
};
|
|
|
|
|
2007-12-13 22:30:31 +00:00
|
|
|
vim_configurable = import ../applications/editors/vim/configurable.nix {
|
2008-01-16 03:29:56 +00:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig mkDerivationByConfiguration lib;
|
2007-12-12 07:20:41 +00:00
|
|
|
inherit (xlibs) libX11 libXext libSM libXpm
|
|
|
|
libXt libXaw libXau libXmu;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
features = "huge"; # one of tiny, small, normal, big or huge
|
|
|
|
# optional features by passing
|
2008-06-18 23:48:34 +01:00
|
|
|
# python
|
2007-12-12 07:20:41 +00:00
|
|
|
# TODO mzschemeinterp perlinterp
|
|
|
|
inherit python /*x11*/;
|
|
|
|
|
|
|
|
# optional features by flags
|
|
|
|
flags = [ "X11" ]; # only flag "X11" by now
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
/*virtualboxFun = lib.sumArgs (selectVersion ../applications/virtualization/virtualbox "1.5.2") {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit stdenv fetchurl builderDefs bridge_utils umlutilities kernelHeaders
|
2007-12-31 08:49:41 +00:00
|
|
|
wine jre libxslt SDL qt3 openssl zlib;
|
|
|
|
inherit (xorg) libXcursor;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
};
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
virtualbox = virtualboxFun null;*/
|
2007-12-31 08:49:41 +00: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
|
2008-06-25 16:01:04 +01:00
|
|
|
zlib mpeg2dec a52dec libmad
|
2006-09-15 16:28:53 +01:00
|
|
|
libdvdread libdvdnav libdvdcss;
|
|
|
|
inherit (xlibs) libXv;
|
|
|
|
alsa = alsaLib;
|
2008-06-25 16:01:04 +01:00
|
|
|
ffmpeg = ffmpeg_svn;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2008-02-11 22:39:54 +00:00
|
|
|
vorbisTools = import ../applications/audio/vorbis-tools {
|
|
|
|
inherit fetchurl stdenv libogg libvorbis libao pkgconfig curl glibc
|
2008-03-17 09:41:28 +00:00
|
|
|
speex flac;
|
2008-02-11 22:39:54 +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
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# I'm keen on wmiimenu only >wmii-3.5 no longer has it...
|
2007-09-03 13:10:57 +01:00
|
|
|
wmiimenu = import ../applications/window-managers/wmii31 {
|
2008-06-08 22:41:07 +01:00
|
|
|
libixp = libixp_for_wmii;
|
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;
|
2008-06-08 22:41:07 +01:00
|
|
|
inherit (xlibs) libX11 xextproto libXt libXext;
|
|
|
|
includeUnpack = getConfig ["stdenv" "includeUnpack"] false;
|
2007-03-18 23:58:22 +00:00
|
|
|
};
|
|
|
|
|
2008-02-13 14:26:01 +00:00
|
|
|
wordnet = import ../applications/misc/wordnet {
|
|
|
|
inherit stdenv fetchurl tcl tk x11 makeWrapper;
|
|
|
|
};
|
|
|
|
|
2007-11-24 10:49:52 +00:00
|
|
|
wrapFirefox = firefox: nameSuffix: import ../applications/networking/browsers/firefox-wrapper {
|
2008-06-14 22:42:07 +01:00
|
|
|
inherit stdenv firefox nameSuffix makeWrapper;
|
2008-03-10 15:13:06 +00:00
|
|
|
plugins =
|
2008-06-16 12:20:47 +01:00
|
|
|
let enableAdobeFlash = getConfig [ "firefox" "enableAdobeFlash" ] true
|
2008-03-17 09:41:28 +00:00
|
|
|
&& system == "i686-linux";
|
2008-03-10 15:13:06 +00:00
|
|
|
in
|
|
|
|
([]
|
2008-03-17 09:41:28 +00:00
|
|
|
++ lib.optional (!enableAdobeFlash) gnash
|
|
|
|
++ lib.optional (enableAdobeFlash) flashplayer
|
|
|
|
# RealPlayer is disabled by default for legal reasons.
|
|
|
|
++ lib.optional (system != "i686-linux" && getConfig ["firefox" "enableRealPlayer"] false) RealPlayer
|
|
|
|
++ lib.optional (getConfig ["firefox" "enableMPlayer"] true) MPlayerPlugin
|
2008-06-16 12:20:47 +01:00
|
|
|
++ lib.optional (supportsJDK && getConfig ["firefox" "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin
|
2008-03-17 09:41:28 +00:00
|
|
|
);
|
2004-10-06 12:32:20 +01:00
|
|
|
};
|
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
x11vncFun = lib.sumArgs (selectVersion ../tools/X11/x11vnc "0.9.3") {
|
|
|
|
inherit builderDefs openssl zlib libjpeg ;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit (xlibs) libXfixes fixesproto libXdamage damageproto
|
2008-02-22 03:06:12 +00:00
|
|
|
libX11 xproto libXtst libXinerama xineramaproto libXrandr randrproto
|
|
|
|
libXext xextproto inputproto recordproto;
|
|
|
|
};
|
|
|
|
|
|
|
|
x11vnc = x11vncFun null;
|
|
|
|
|
2008-03-17 06:29:32 +00:00
|
|
|
x2vncFun = lib.sumArgs (selectVersion ../tools/X11/x2vnc "1.7.2") {
|
|
|
|
inherit builderDefs;
|
|
|
|
inherit (xlibs) libX11 xproto xextproto libXext libXrandr randrproto;
|
|
|
|
};
|
|
|
|
|
|
|
|
x2vnc = x2vncFun null;
|
|
|
|
|
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
|
2007-12-03 14:33:54 +00:00
|
|
|
pkgconfig libxml2 zip libpng libjpeg shebangfix perl freetype;
|
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 {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 xineLib libpng readline ncurses curl;
|
|
|
|
inherit (xorg) libXext libXv libXxf86vm libXtst inputproto;
|
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
|
|
|
};
|
|
|
|
|
2008-04-15 21:03:25 +01:00
|
|
|
xmobar = import ../applications/misc/xmobar {
|
|
|
|
inherit cabal X11;
|
|
|
|
};
|
|
|
|
|
2008-01-16 10:35:49 +00:00
|
|
|
xmonad = import ../applications/window-managers/xmonad {
|
2008-04-12 13:34:21 +01:00
|
|
|
inherit cabal X11;
|
2008-01-16 10:35:49 +00:00
|
|
|
inherit (xlibs) xmessage;
|
|
|
|
};
|
|
|
|
|
2008-04-14 21:57:28 +01:00
|
|
|
xmonadContrib = import ../applications/window-managers/xmonad/xmonad-contrib.nix {
|
|
|
|
inherit cabal xmonad X11;
|
|
|
|
};
|
|
|
|
|
2008-03-20 09:52:40 +00:00
|
|
|
xneur = import ../applications/misc/xneur {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig pcre libxml2 aspell;
|
2008-03-20 09:52:40 +00:00
|
|
|
GStreamer=gst_all.gstreamer;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
inherit (gtkLibs) glib;
|
2008-06-18 23:48:34 +01:00
|
|
|
};
|
2008-03-20 09:52:40 +00: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
|
|
|
};
|
|
|
|
|
2008-03-17 13:45:50 +00:00
|
|
|
xpra = import ../tools/X11/xpra {
|
|
|
|
inherit stdenv fetchurl pkgconfig python pygtk xlibs makeWrapper;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
pyrex = pyrex095;
|
|
|
|
};
|
|
|
|
|
2008-06-16 14:15:55 +01:00
|
|
|
xscreensaverFun = lib.sumArgs (selectVersion ../applications/graphics/xscreensaver "5.05") {
|
2007-11-22 20:26:00 +00:00
|
|
|
inherit stdenv fetchurl builderDefs lib pkgconfig bc perl intltool;
|
|
|
|
inherit (xlibs) libX11 libXmu;
|
|
|
|
};
|
|
|
|
|
|
|
|
xscreensaver = xscreensaverFun {
|
2007-11-26 13:24:56 +00:00
|
|
|
flags = ["GL" "gdkpixbuf" "DPMS" "gui" "jpeg"];
|
|
|
|
inherit mesa libxml2 libjpeg;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
2007-11-22 20:26:00 +00:00
|
|
|
} null;
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xterm = import ../applications/misc/xterm {
|
2008-02-22 03:06:12 +00:00
|
|
|
inherit fetchurl stdenv ncurses freetype pkgconfig;
|
|
|
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE libXext libXft luit;
|
2004-07-30 13:57:27 +01:00
|
|
|
};
|
2004-02-13 14:42:28 +00:00
|
|
|
|
2007-12-31 08:49:41 +00:00
|
|
|
xlaunch = import ../tools/X11/xlaunch {
|
|
|
|
inherit stdenv;
|
|
|
|
inherit (xorg) xorgserver;
|
|
|
|
};
|
|
|
|
|
2007-08-10 19:54:44 +01:00
|
|
|
xmacro = import ../tools/X11/xmacro {
|
|
|
|
inherit fetchurl stdenv;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit (xlibs) libX11 libXi
|
2008-03-17 09:41:28 +00:00
|
|
|
libXtst xextproto inputproto;
|
2007-08-10 19:54:44 +01:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
2007-12-31 08:49:41 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# doesn't compile yet - in case someone else want's to continue ..
|
2007-12-10 22:36:52 +00:00
|
|
|
/*
|
|
|
|
qgis_svn = import ../applications/misc/qgis_svn {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit mkDerivationByConfiguration fetchsvn stdenv flex lib
|
2007-12-10 22:36:52 +00:00
|
|
|
ncurses fetchurl perl cmake gdal geos proj x11
|
|
|
|
gsl libpng zlib
|
2008-01-16 03:29:56 +00:00
|
|
|
sqlite glibc fontconfig freetype / * use libc from stdenv ? - to lazy now - Marc * /;
|
2007-12-10 22:36:52 +00:00
|
|
|
inherit (xlibs) libSM libXcursor libXinerama libXrandr libXrender;
|
|
|
|
inherit (xorg) libICE;
|
|
|
|
qt = qt4;
|
|
|
|
bison = bison23;
|
|
|
|
|
|
|
|
# optional features
|
|
|
|
# grass = "not yet supported" # cmake -D WITH_GRASS=TRUE and GRASS_PREFX=..
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
zapping = import ../applications/video/zapping {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl python
|
2006-09-15 16:28:53 +01:00
|
|
|
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
|
|
|
|
|
2008-01-31 17:32:28 +00:00
|
|
|
construoFun = lib.sumArgs (selectVersion ../games/construo "0.2.2") {
|
2007-12-03 04:48:44 +00:00
|
|
|
inherit stdenv fetchurl builderDefs
|
|
|
|
zlib;
|
|
|
|
inherit (xlibs) libX11 xproto;
|
|
|
|
};
|
|
|
|
|
|
|
|
construo = construoFun {
|
|
|
|
inherit mesa freeglut;
|
|
|
|
} null;
|
2004-04-01 17:02:53 +01:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
exult = import ../games/exult {
|
2008-06-25 16:01:04 +01:00
|
|
|
inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip;
|
2006-08-09 00:39:03 +01:00
|
|
|
};
|
|
|
|
|
2007-10-27 18:55:13 +01:00
|
|
|
fsg = import ../games/fsg {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
wxGTK = wxGTK28deps {unicode = false;};
|
2007-10-27 18:55:13 +01:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-10-29 10:52:04 +00:00
|
|
|
fsgAltBuild = import ../games/fsg/alt-builder.nix {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit stdenv fetchurl;
|
|
|
|
wxGTK = wxGTK28deps {unicode = false;};
|
|
|
|
stringsWithDeps = import ../lib/strings-with-deps.nix {
|
|
|
|
inherit stdenv lib;
|
|
|
|
};
|
|
|
|
inherit builderDefs;
|
2007-10-29 10:52:04 +00:00
|
|
|
};
|
2007-10-27 18:55:13 +01:00
|
|
|
|
2007-05-14 22:47:11 +01:00
|
|
|
gemrb = import ../games/gemrb {
|
|
|
|
inherit fetchurl stdenv SDL openal freealut zlib libpng python;
|
|
|
|
};
|
|
|
|
|
2008-04-10 23:12:20 +01:00
|
|
|
openttd = import ../games/openttd {
|
|
|
|
inherit fetchurl stdenv SDL libpng;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
quake3demo = import ../games/quake3/wrapper {
|
2008-06-14 21:55:48 +01:00
|
|
|
name = "quake3-demo-${quake3game.name}";
|
2006-10-11 17:45:55 +01:00
|
|
|
description = "Demo of Quake 3 Arena, a classic first-person shooter";
|
2008-06-14 21:55:48 +01:00
|
|
|
inherit fetchurl stdenv mesa makeWrapper;
|
2006-09-15 16:28:53 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-01-22 17:56:53 +00:00
|
|
|
# You still can override by passing more arguments.
|
2008-01-31 17:32:28 +00:00
|
|
|
spaceOrbitFun = lib.sumArgs (selectVersion ../games/orbit "1.01") {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv builderDefs mesa freeglut;
|
2008-01-22 17:56:53 +00:00
|
|
|
inherit (gnome) esound;
|
|
|
|
inherit (xlibs) libXt libX11 libXmu libXi libXext;
|
|
|
|
};
|
|
|
|
|
|
|
|
spaceOrbit = spaceOrbitFun null;
|
|
|
|
|
2007-08-09 18:33:18 +01:00
|
|
|
/*tpm = import ../games/thePenguinMachine {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit stdenv fetchurl pil pygame SDL;
|
2007-08-09 18:33:18 +01:00
|
|
|
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 {
|
2008-05-20 15:25:09 +01:00
|
|
|
inherit
|
|
|
|
fetchurl stdenv pkgconfig
|
|
|
|
flex bison popt zlib libxml2 libxslt
|
|
|
|
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
|
|
|
|
iconnamingutils openssl hal samba fam libgcrypt libtasn1;
|
2007-02-28 16:18:58 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
kdelibs = import ../desktops/kde/kdelibs {
|
|
|
|
inherit
|
2008-06-19 23:20:49 +01:00
|
|
|
fetchurl stdenv xlibs zlib perl openssl pcre pkgconfig
|
2007-02-28 16:18:58 +00:00
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
2008-06-19 23:20:49 +01:00
|
|
|
expat freetype bzip2 cups attr acl;
|
2007-02-28 16:18:58 +00:00
|
|
|
qt = qt3;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-11-15 00:11:56 +00:00
|
|
|
kde4 = recurseIntoAttrs (import ../desktops/kde-4 {
|
|
|
|
inherit
|
|
|
|
fetchurl fetchsvn zlib perl openssl pcre pkgconfig libjpeg libpng libtiff
|
|
|
|
libxml2 libxslt libtool libusb expat freetype bzip2 cmake cluceneCore libgcrypt gnupg
|
2008-03-17 09:41:28 +00:00
|
|
|
cppunit cyrus_sasl openldap enchant exiv2 samba nss log4cxx aspell
|
2007-11-15 00:11:56 +00:00
|
|
|
shared_mime_info alsaLib libungif cups mesa boost gpgme gettext redland
|
2008-03-17 09:41:28 +00:00
|
|
|
xineLib libgphoto2 djvulibre libogg flac lame libvorbis poppler readline
|
|
|
|
saneBackends chmlib python libzip gmp sqlite libidn runCommand lib
|
|
|
|
openbabel ocaml facile stdenv jasper fam indilib libnova
|
|
|
|
libarchive dbus;
|
|
|
|
#flac = builtins.getAttr "1.1.2" flacAlts;
|
|
|
|
cdparanoia = cdparanoiaIII;
|
2007-11-15 00:11:56 +00: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 libXinerama;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
qt = qt4;
|
2008-03-17 09:41:28 +00:00
|
|
|
bison = bison23;
|
2007-12-01 16:20:23 +00:00
|
|
|
openexr = openexr_1_6_1 ;
|
2007-11-15 00:11:56 +00: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
|
2008-06-19 23:20:49 +01:00
|
|
|
kdelibs openssl bzip2 fontconfig pam hal dbus;
|
|
|
|
inherit (gtkLibs) glib;
|
2007-03-26 16:49:38 +01:00
|
|
|
qt = qt3;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-02-28 16:18:58 +00:00
|
|
|
|
2008-04-15 10:35:52 +01:00
|
|
|
### SCIENCE/BIOLOGY
|
|
|
|
|
|
|
|
clustalw2 = import ../applications/science/biology/clustalw2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-27 20:15:01 +01:00
|
|
|
drgeo = builderDefsPackage (import ../applications/science/geometry/drgeo) {
|
|
|
|
inherit (gnome) libglade gtk;
|
|
|
|
inherit libxml2 guile perl intltool libtool pkgconfig;
|
|
|
|
} null;
|
|
|
|
|
2008-06-05 18:15:27 +01:00
|
|
|
emboss = import ../applications/science/biology/emboss {
|
|
|
|
inherit fetchurl stdenv readline perl libpng zlib;
|
|
|
|
inherit (xorg) libX11 libXt;
|
|
|
|
};
|
|
|
|
|
|
|
|
mrbayes = import ../applications/science/biology/mrbayes {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2008-06-07 07:34:02 +01:00
|
|
|
ncbi_tools = import ../applications/science/biology/ncbi-tools {
|
2008-06-06 20:42:00 +01:00
|
|
|
inherit fetchurl stdenv cpio;
|
|
|
|
};
|
|
|
|
|
2008-06-06 09:23:49 +01:00
|
|
|
paml = import ../applications/science/biology/paml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-04 16:10:05 +01:00
|
|
|
### SCIENCE/LOGIC
|
|
|
|
|
|
|
|
coq = import ../applications/science/logic/coq {
|
|
|
|
inherit fetchurl stdenv ocaml ncurses;
|
|
|
|
};
|
2008-04-15 10:35:52 +01: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;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-09-20 12:31:31 +01:00
|
|
|
auctex = import ../misc/tex/auctex {
|
2008-03-25 11:33:20 +00:00
|
|
|
inherit stdenv fetchurl emacs texLive;
|
2007-09-20 12:31:31 +01:00
|
|
|
};
|
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
|
|
|
};
|
|
|
|
|
2007-11-01 14:37:23 +00:00
|
|
|
dblatex = import ../misc/tex/dblatex {
|
|
|
|
inherit fetchurl stdenv python libxslt tetex;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-03-12 20:46:47 +00:00
|
|
|
dpkg = import ../tools/package-management/dpkg {
|
|
|
|
inherit fetchurl stdenv perl zlib bzip2;
|
|
|
|
};
|
2008-06-08 04:56:32 +01:00
|
|
|
|
|
|
|
freestyle = import ../misc/freestyle {
|
|
|
|
inherit fetchurl freeglut qt4 libpng lib3ds libQGLViewer swig;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#stdenv = overrideGCC stdenv gcc41;
|
|
|
|
inherit stdenv;
|
|
|
|
python = python25;
|
|
|
|
};
|
|
|
|
|
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
|
2008-03-17 09:41:28 +00: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 {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit mkDerivationByConfiguration
|
2007-10-03 23:38:09 +01:00
|
|
|
ncurses lib stdenv fetchurl;
|
2008-03-17 09:41:28 +00:00
|
|
|
flags = [ "posix_shm" "timestamps"];
|
2007-10-06 19:17:47 +01:00
|
|
|
};
|
2007-10-09 10:56:39 +01:00
|
|
|
*/
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-08-04 16:12:14 +01:00
|
|
|
keynav = import ../tools/X11/keynav {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit stdenv fetchurl;
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit (xlibs) libX11 xextproto libXtst
|
2008-03-17 09:41:28 +00:00
|
|
|
imake libXi libXext;
|
2007-08-04 16:12:14 +01:00
|
|
|
};
|
|
|
|
|
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-12-19 00:17:40 +00:00
|
|
|
# don't have time for the source build right now
|
|
|
|
# maven2
|
|
|
|
mvn_bin = import ../misc/maven/maven-2.nix {
|
2008-01-15 00:55:21 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-19 00:17:40 +00:00
|
|
|
};
|
|
|
|
|
2007-03-29 10:24:14 +01:00
|
|
|
nix = import ../tools/package-management/nix {
|
2008-01-01 11:30:41 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
2006-11-14 15:55:57 +00:00
|
|
|
aterm = aterm242fixes;
|
2008-01-01 11:30:41 +00:00
|
|
|
db4 = db45;
|
2006-05-01 20:16:41 +01:00
|
|
|
};
|
|
|
|
|
2008-03-06 02:46:29 +00:00
|
|
|
nixRepositoryManager = import ../tools/package-management/nixRepositoryManager {
|
2008-03-09 00:08:45 +00:00
|
|
|
inherit fetchurl stdenv bleedingEdgeRepos lib writeText getConfig;
|
2008-03-06 02:46:29 +00:00
|
|
|
ghc = ghcsAndLibs.ghc68.ghc;
|
2008-04-14 20:59:26 +01:00
|
|
|
fetchdarcs = fetchdarcs2;
|
2008-03-06 02:46:29 +00:00
|
|
|
};
|
|
|
|
|
2008-05-22 13:01:24 +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;
|
|
|
|
};
|
2008-05-22 13:01:24 +01:00
|
|
|
*/
|
2006-08-05 12:02:17 +01:00
|
|
|
|
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;
|
2008-06-25 10:30:50 +01:00
|
|
|
supportOldDBs = true;
|
2006-11-17 12:49:46 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-06-24 10:39:19 +01:00
|
|
|
# !!! remove in a few weeks, obsolete
|
|
|
|
nixNoBDB = nixUnstable;
|
2008-05-26 14:28:11 +01:00
|
|
|
|
2008-05-06 08:03:41 +01:00
|
|
|
nixCustomFun = src: preConfigure: enableScripts: configureFlags:
|
2008-02-21 13:44:06 +00:00
|
|
|
import ../tools/package-management/nix/custom.nix {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake
|
2008-05-06 08:03:41 +01:00
|
|
|
autoconf libtool configureFlags enableScripts lib;
|
2008-02-21 13:44:06 +00:00
|
|
|
bison = bison23;
|
|
|
|
flex = flex2533;
|
|
|
|
aterm = aterm242fixes;
|
|
|
|
db4 = db45;
|
|
|
|
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m;
|
|
|
|
};
|
2007-11-13 15:52:16 +00:00
|
|
|
|
2008-07-06 16:44:46 +01:00
|
|
|
disnix = import ../tools/package-management/disnix {
|
|
|
|
inherit stdenv fetchsvn openssl dbus autoconf automake pkgconfig dbus_glib;
|
|
|
|
};
|
|
|
|
|
2008-07-06 22:38:12 +01:00
|
|
|
DisnixService = import ../tools/package-management/disnix/DisnixService {
|
|
|
|
inherit stdenv fetchsvn apacheAnt jdk axis2;
|
|
|
|
};
|
|
|
|
|
2007-09-01 19:15:19 +01:00
|
|
|
ntfs3g = import ../misc/ntfs-3g {
|
2008-03-19 13:08:11 +00:00
|
|
|
inherit fetchurl stdenv fuse pkgconfig utillinux;
|
2007-09-01 19:15:19 +01:00
|
|
|
};
|
|
|
|
|
2007-11-21 14:10:21 +00:00
|
|
|
ntfsprogs = import ../misc/ntfsprogs {
|
2007-11-20 22:29:24 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-29 01:24:54 +00:00
|
|
|
pgadmin = import ../applications/misc/pgadmin {
|
|
|
|
inherit fetchurl stdenv postgresql libxml2 libxslt openssl;
|
|
|
|
wxGTK = wxGTK28;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
psiFun = builderDefsPackage
|
|
|
|
(selectVersion ../applications/networking/instant-messengers/psi "0.11")
|
2008-03-20 15:40:26 +00:00
|
|
|
{
|
|
|
|
inherit builderDefs zlib aspell sox openssl;
|
|
|
|
inherit (xlibs) xproto libX11 libSM libICE;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
2008-03-20 09:52:40 +00:00
|
|
|
|
|
|
|
psi = psiFun null;
|
|
|
|
|
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 {
|
2008-06-14 21:55:48 +01:00
|
|
|
inherit fetchurl stdenv x11 mesa pkgconfig imagemagick libtiff bzip2;
|
2006-03-02 18:17:45 +00:00
|
|
|
};
|
|
|
|
|
2008-02-15 10:40:20 +00:00
|
|
|
xlockmore = import ../misc/screensavers/xlockmore {
|
|
|
|
inherit fetchurl stdenv pam x11 freetype;
|
|
|
|
};
|
|
|
|
|
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;
|
2008-03-17 09:41:28 +00:00
|
|
|
gt68xxFirmware = getConfig ["sane" "gt68xxFirmware"] null;
|
2007-08-08 21:33:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
saneFrontends = import ../misc/sane-front {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libusb saneBackends;
|
2007-08-08 21:33:36 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
2005-11-03 20:00:43 +00:00
|
|
|
};
|
|
|
|
|
2008-06-15 12:54:22 +01:00
|
|
|
sourceAndTags = import ../misc/source-and-tags {
|
|
|
|
inherit pkgs stdenv unzip lib ctags hasktags;
|
|
|
|
};
|
|
|
|
|
2007-06-20 11:30:03 +01:00
|
|
|
synaptics = import ../misc/synaptics {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2007-11-09 13:54:02 +00:00
|
|
|
inherit (xlibs) libX11 libXi libXext pixman xf86inputevdev;
|
2007-06-20 11:30:03 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
/*
|
|
|
|
tetexX11 = import ../misc/tex/tetex {
|
2008-02-03 08:53:47 +00:00
|
|
|
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
|
|
|
inherit (xlibs) libX11 libXext libXmu libXaw libXt libXpm;
|
|
|
|
inherit freetype t1lib;
|
|
|
|
builderX11 = true;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
|
|
|
*/
|
2008-02-03 08:53:47 +00:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
texFunctions = import ../misc/tex/nix {
|
2008-07-03 15:27:19 +01:00
|
|
|
inherit stdenv perl tetex graphviz ghostscript makeFontsConf;
|
2006-01-28 02:10:26 +00:00
|
|
|
};
|
|
|
|
|
2008-03-20 15:40:26 +00:00
|
|
|
texLiveFun = builderDefsPackage (import ../misc/tex/texlive) {
|
2008-03-20 09:52:40 +00:00
|
|
|
inherit builderDefs zlib bzip2 ncurses libpng ed
|
2008-04-28 11:10:44 +01:00
|
|
|
gd t1lib freetype icu perl ruby;
|
2008-03-20 09:52:40 +00:00
|
|
|
inherit (xlibs) libXaw libX11 xproto libXt libXpm
|
|
|
|
libXmu libXext xextproto libSM libICE;
|
|
|
|
flex = flex2535;
|
|
|
|
bison = bison23;
|
|
|
|
ghostscript = ghostscriptX;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
/* Look in configurations/misc/raskin.nix for usage example (around revisions
|
|
|
|
where TeXLive was added)
|
|
|
|
|
2008-03-22 13:04:04 +00:00
|
|
|
(texLiveAggregationFun {
|
2008-06-18 23:48:34 +01:00
|
|
|
paths = [texLive texLiveExtra texLiveCMSuper
|
2008-03-22 13:04:04 +00:00
|
|
|
texLiveBeamer
|
|
|
|
];
|
|
|
|
} null)
|
2008-05-16 05:52:47 +01:00
|
|
|
|
|
|
|
You need to use texLiveAggregationFun to regenerate, say, ls-R (TeX-related file list)
|
|
|
|
Just installing a few packages doesn't work.
|
2008-03-22 13:04:04 +00:00
|
|
|
*/
|
2008-03-20 09:52:40 +00:00
|
|
|
texLive = texLiveFun null;
|
2008-03-22 13:04:04 +00:00
|
|
|
texLiveAggregationFun = builderDefsPackage (import ../misc/tex/texlive/aggregate.nix);
|
|
|
|
|
2008-04-28 11:10:44 +01:00
|
|
|
texLiveContextFun = builderDefsPackage (import ../misc/tex/texlive/context.nix) {
|
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
texLiveContext = texLiveContextFun null;
|
|
|
|
|
2008-03-22 13:04:04 +00:00
|
|
|
texLiveExtraFun = builderDefsPackage (import ../misc/tex/texlive/extra.nix) {
|
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
texLiveExtra = texLiveExtraFun null;
|
|
|
|
|
|
|
|
texLiveCMSuperFun = builderDefsPackage (import ../misc/tex/texlive/cm-super.nix) {
|
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
texLiveCMSuper = texLiveCMSuperFun null;
|
|
|
|
|
|
|
|
texLiveLatexXColorFun = builderDefsPackage (import ../misc/tex/texlive/xcolor.nix) {
|
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
texLiveLatexXColor = texLiveLatexXColorFun null;
|
|
|
|
|
|
|
|
texLivePGFFun = builderDefsPackage (import ../misc/tex/texlive/pgf.nix) {
|
|
|
|
inherit texLiveLatexXColor texLive;
|
|
|
|
};
|
|
|
|
texLivePGF = texLivePGFFun null;
|
|
|
|
|
|
|
|
texLiveBeamerFun = builderDefsPackage (import ../misc/tex/texlive/beamer.nix) {
|
|
|
|
inherit texLiveLatexXColor texLivePGF texLive;
|
|
|
|
};
|
|
|
|
texLiveBeamer = texLiveBeamerFun null;
|
2008-03-20 09:52:40 +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 {
|
2008-06-19 16:46:43 +01:00
|
|
|
inherit stdenv fetchurl python clearsilver makeWrapper
|
|
|
|
sqlite subversion pysqlite;
|
2008-03-22 20:56:23 +00:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-03-22 20:56:23 +00:00
|
|
|
pysqlite = import ../development/libraries/pysqlite {
|
|
|
|
inherit stdenv fetchurl python sqlite;
|
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 {
|
2007-11-19 17:39:19 +00:00
|
|
|
inherit fetchurl stdenv flex bison mesa ncurses
|
2007-08-21 13:31:33 +01:00
|
|
|
libpng libjpeg alsaLib lcms xlibs freetype
|
2008-02-08 13:12:13 +00:00
|
|
|
fontconfig fontforge libxml2 libxslt openssl;
|
2007-08-19 00:58:30 +01:00
|
|
|
};
|
2007-06-25 22:46:18 +01:00
|
|
|
|
2008-03-29 00:49:26 +00:00
|
|
|
xosd = import ../misc/xosd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXext libXt xextproto xproto;
|
|
|
|
};
|
|
|
|
|
2007-08-08 21:33:36 +01:00
|
|
|
xsane = import ../misc/xsane {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb
|
2008-03-17 09:41:28 +00:00
|
|
|
saneBackends saneFrontends;
|
2007-08-08 21:33:36 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2008-06-15 12:54:22 +01:00
|
|
|
myEnvFun = import ../misc/my_env;
|
|
|
|
|
|
|
|
devEnvs = recurseIntoAttrs ( ( getConfig ["devEnvs"] (x : {}) ) pkgs );
|
2007-08-08 21:33:36 +01:00
|
|
|
|
2008-03-17 17:29:07 +00:00
|
|
|
}; in pkgs
|