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
|
2009-02-05 23:44:52 +00:00
|
|
|
platform.
|
|
|
|
|
|
|
|
You want to get to know where to add a new package ?
|
|
|
|
Have a look at nixpkgs/maintainers/docs/classification.txt */
|
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.
|
2009-04-14 14:59:45 +01:00
|
|
|
system ? builtins.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
|
|
|
|
2009-08-26 14:51:37 +01:00
|
|
|
, # Allow a configuration attribute set to be passed in as an
|
|
|
|
# argument. Otherwise, it's read from $NIXPKGS_CONFIG or
|
|
|
|
# ~/.nixpkgs/config.nix.
|
|
|
|
config ? null
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
, crossSystem ? null
|
2006-02-08 17:37:45 +00:00
|
|
|
}:
|
2003-11-03 10:22:00 +00:00
|
|
|
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2009-08-26 14:51:37 +01:00
|
|
|
let config_ = config; in # rename the function argument
|
|
|
|
|
2008-08-26 16:35:00 +01:00
|
|
|
let
|
|
|
|
|
2009-03-06 23:21:17 +00:00
|
|
|
lib = import ../lib; # see also libTests below
|
2008-08-26 16:35:00 +01:00
|
|
|
|
|
|
|
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
|
|
|
# $HOME/.nixpkgs/config.nix.
|
2009-09-21 16:55:18 +01:00
|
|
|
# for NIXOS (nixos-rebuild): use nixpkgs.config option
|
2008-08-26 16:35:00 +01:00
|
|
|
config =
|
2009-08-26 14:51:37 +01:00
|
|
|
let
|
2008-08-26 16:35:00 +01:00
|
|
|
toPath = builtins.toPath;
|
|
|
|
getEnv = x: if builtins ? getEnv then builtins.getEnv x else "";
|
|
|
|
pathExists = name:
|
|
|
|
builtins ? pathExists && builtins.pathExists (toPath name);
|
|
|
|
|
|
|
|
configFile = getEnv "NIXPKGS_CONFIG";
|
|
|
|
homeDir = getEnv "HOME";
|
|
|
|
configFile2 = homeDir + "/.nixpkgs/config.nix";
|
|
|
|
|
2009-03-25 13:29:47 +00:00
|
|
|
configExpr =
|
2009-08-26 14:51:37 +01:00
|
|
|
if config_ != null then config_
|
|
|
|
else if configFile != "" && pathExists configFile then import (toPath configFile)
|
|
|
|
else if homeDir != "" && pathExists configFile2 then import (toPath configFile2)
|
2008-08-26 16:35:00 +01:00
|
|
|
else {};
|
2009-03-25 13:29:47 +00:00
|
|
|
|
2009-08-26 14:51:37 +01:00
|
|
|
in
|
2009-03-25 13:29:47 +00:00
|
|
|
# allow both:
|
|
|
|
# { /* the config */ } and
|
|
|
|
# { pkgsOrig, pkgs, ... } : { /* the config */ }
|
2009-08-26 14:51:37 +01:00
|
|
|
if builtins.isFunction configExpr
|
2009-03-25 13:29:47 +00:00
|
|
|
then configExpr { inherit pkgs pkgsOrig; }
|
|
|
|
else configExpr;
|
2008-08-26 16:35:00 +01:00
|
|
|
|
|
|
|
# Return an attribute from the Nixpkgs configuration file, or
|
|
|
|
# a default value if the attribute doesn't exist.
|
2009-05-24 11:57:41 +01:00
|
|
|
getConfig = attrPath: default: lib.attrByPath attrPath default config;
|
2008-08-26 16:35:00 +01:00
|
|
|
|
|
|
|
|
2009-11-19 16:07:47 +00:00
|
|
|
# Helper functions that are exported through `pkgs'.
|
|
|
|
helperFunctions =
|
|
|
|
(import ../stdenv/adapters.nix { inherit (pkgs) dietlibc fetchurl runCommand; }) //
|
|
|
|
(import ../build-support/trivial-builders.nix { inherit (pkgs) stdenv; inherit (pkgs.xorg) lndir; });
|
|
|
|
|
|
|
|
|
2008-08-26 16:35:00 +01:00
|
|
|
# Allow packages to be overriden globally via the `packageOverrides'
|
|
|
|
# configuration option, which must be a function that takes `pkgs'
|
|
|
|
# as an argument and returns a set of new or overriden packages.
|
|
|
|
# `__overrides' is a magic attribute that causes the attributes in
|
2008-08-26 17:50:33 +01:00
|
|
|
# its value to be added to the surrounding `rec'. The
|
|
|
|
# `packageOverrides' function is called with the *original*
|
|
|
|
# (un-overriden) set of packages, allowing packageOverrides
|
|
|
|
# attributes to refer to the original attributes (e.g. "foo =
|
|
|
|
# ... pkgs.foo ...").
|
|
|
|
__overrides = (getConfig ["packageOverrides"] (pkgs: {})) pkgsOrig;
|
|
|
|
|
|
|
|
pkgsOrig = pkgsFun {}; # the un-overriden packages, passed to packageOverrides
|
|
|
|
pkgsOverriden = pkgsFun __overrides; # the overriden, final packages
|
2009-11-19 16:07:47 +00:00
|
|
|
pkgs = pkgsOverriden // helperFunctions;
|
2008-10-09 11:10:49 +01:00
|
|
|
|
2008-08-26 16:35:00 +01:00
|
|
|
|
|
|
|
# The package compositions. Yes, this isn't properly indented.
|
2009-11-19 16:07:47 +00:00
|
|
|
pkgsFun = __overrides: with helperFunctions; rec {
|
2008-08-26 16:35:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
inherit __overrides;
|
|
|
|
|
|
|
|
|
|
|
|
# For convenience, allow callers to get the path to Nixpkgs.
|
2009-06-08 23:43:27 +01:00
|
|
|
path = ../..;
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2008-10-09 11:10:49 +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
|
|
|
|
2008-08-26 16:35:00 +01:00
|
|
|
inherit lib config getConfig;
|
2008-10-09 11:10:49 +01:00
|
|
|
|
2009-11-19 17:30:21 +00:00
|
|
|
inherit (lib) lowPrio appendToName makeOverridable;
|
2006-10-18 13:50:04 +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;};
|
|
|
|
|
2009-11-20 22:56:58 +00:00
|
|
|
useFromStdenv = it : alternative : if ((bootStdenv != null ||
|
|
|
|
crossSystem == null) && builtins.hasAttr it stdenv) then
|
2008-02-03 13:19:16 +00:00
|
|
|
(builtins.getAttr it stdenv) else alternative;
|
2006-09-15 16:28:53 +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-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);
|
|
|
|
|
2009-04-20 13:37:10 +01:00
|
|
|
builderDefs = composedArgsAndFun (import ../build-support/builder-defs/builder-defs.nix) {
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit stringsWithDeps lib stdenv writeScript
|
2009-07-07 11:04:32 +01:00
|
|
|
fetchurl fetchmtn fetchgit;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
composedArgsAndFun = lib.composedArgsAndFun;
|
2008-05-07 08:23:20 +01:00
|
|
|
|
2008-08-19 06:54:09 +01:00
|
|
|
builderDefsPackage = builderDefs.builderDefsPackage builderDefs;
|
2008-03-20 15:40:26 +00:00
|
|
|
|
2009-05-25 19:22:19 +01:00
|
|
|
stringsWithDeps = lib.stringsWithDeps;
|
2007-10-29 10:52:04 +00:00
|
|
|
|
2009-09-22 21:16:38 +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;
|
2009-08-26 14:51:37 +01:00
|
|
|
allPackages = args: import ./all-packages.nix ({ inherit config; } // args);
|
2008-06-18 16:09:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
defaultStdenv = allStdenvs.stdenv;
|
2006-02-08 17:37:45 +00:00
|
|
|
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
stdenvCross = makeStdenvCross defaultStdenv crossSystem (binutilsCross crossSystem)
|
|
|
|
(gccCrossStageFinal crossSystem);
|
|
|
|
|
|
|
|
stdenv =
|
2007-08-20 15:26:32 +01:00
|
|
|
if bootStdenv != null then bootStdenv else
|
|
|
|
let changer = getConfig ["replaceStdenv"] null;
|
|
|
|
in if changer != null then
|
|
|
|
changer {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
stdenv = stdenvCross;
|
2007-08-20 15:26:32 +01:00
|
|
|
overrideSetup = overrideSetup;
|
|
|
|
}
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
else stdenvCross;
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
forceBuildDrv = drv : drv // { hostDrv = drv.buildDrv; };
|
|
|
|
|
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
|
2009-04-15 14:28:17 +01:00
|
|
|
overrideGCC stdenv gcc43_multi
|
2008-06-29 17:13:02 +01:00
|
|
|
else
|
|
|
|
stdenv;
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
### BUILD SUPPORT
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2009-08-23 23:10:08 +01:00
|
|
|
attrSetToDir = arg : import ../build-support/upstream-updater/attrset-to-dir.nix {
|
|
|
|
inherit writeTextFile stdenv lib;
|
|
|
|
theAttrSet = arg;
|
|
|
|
};
|
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 = {
|
2008-08-14 23:04:30 +01:00
|
|
|
debBuild = lib.sumTwoArgs(import ../build-support/deb-package) {
|
2008-03-02 18:41:32 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-09-26 09:57:51 +01:00
|
|
|
fetchbzr = import ../build-support/fetchbzr {
|
|
|
|
inherit stdenv bazaar;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-06-24 13:48:01 +01:00
|
|
|
fetchgit = import ../build-support/fetchgit {
|
|
|
|
inherit stdenv git;
|
|
|
|
};
|
|
|
|
|
2009-07-07 11:04:32 +01:00
|
|
|
fetchmtn = import ../build-support/fetchmtn {
|
|
|
|
inherit monotone stdenv;
|
|
|
|
cacheDB = getConfig ["fetchmtn" "cacheDB"] "";
|
|
|
|
defaultDBMirrors = getConfig ["fetchmtn" "defaultDBMirrors"] [];
|
|
|
|
};
|
|
|
|
|
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
|
|
|
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 {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
curl = curl;
|
|
|
|
stdenv = stdenv;
|
2006-09-15 16:28:53 +01:00
|
|
|
});
|
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-07-23 17:04:10 +01:00
|
|
|
resolveMirrorURLs = {url}: fetchurl {
|
|
|
|
showURLs = true;
|
|
|
|
inherit url;
|
|
|
|
};
|
|
|
|
|
2009-05-10 13:03:53 +01:00
|
|
|
makeDesktopItem = import ../build-support/make-desktopitem {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2009-05-18 14:53:01 +01:00
|
|
|
|
2008-03-17 10:40:47 +00:00
|
|
|
makeInitrd = {contents}: import ../build-support/kernel/make-initrd.nix {
|
2009-11-08 18:47:55 +00:00
|
|
|
inherit stdenv perl cpio contents platform;
|
2008-03-17 10:40:47 +00:00
|
|
|
};
|
|
|
|
|
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 {
|
2009-09-01 22:56:46 +01:00
|
|
|
inherit stdenv module_init_tools kernel nukeReferences
|
|
|
|
rootModules allowMissing;
|
2008-03-24 19:40:15 +00:00
|
|
|
};
|
2008-03-17 10:40:47 +00:00
|
|
|
|
2009-06-05 14:20:14 +01:00
|
|
|
pathsFromGraph = ../build-support/kernel/paths-from-graph.pl;
|
|
|
|
|
2008-10-01 16:57:22 +01:00
|
|
|
srcOnly = args: (import ../build-support/src-only) ({inherit stdenv; } // args);
|
|
|
|
|
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
|
|
|
|
2008-11-24 15:10:06 +00:00
|
|
|
releaseTools = import ../build-support/release/default.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
|
|
|
|
2008-12-20 01:20:35 +00:00
|
|
|
composableDerivation = (import ../lib/composable-derivation.nix) {
|
|
|
|
inherit pkgs lib;
|
|
|
|
};
|
2006-11-03 13:33:24 +00:00
|
|
|
|
2009-02-05 16:50:45 +00:00
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
platformPC = assert system == "i686-linux" || system == "x86_64-linux"; {
|
|
|
|
name = "pc";
|
|
|
|
uboot = null;
|
|
|
|
};
|
|
|
|
|
|
|
|
platformSheevaplug = assert system == "armv5tel-linux"; {
|
|
|
|
name = "sheevaplug";
|
|
|
|
inherit uboot;
|
|
|
|
};
|
|
|
|
|
|
|
|
platformVersatileARM = assert system == "armv5tel-linux"; {
|
|
|
|
name = "versatileARM";
|
|
|
|
uboot = null;
|
|
|
|
};
|
|
|
|
|
|
|
|
platform = platformPC;
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
### TOOLS
|
|
|
|
|
2009-10-20 13:13:49 +01:00
|
|
|
darwinArchUtility = import ../os-specific/darwin/arch {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2009-11-05 13:44:30 +00:00
|
|
|
darwinSwVersUtility = import ../os-specific/darwin/sw_vers {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-08 09:29:40 +01:00
|
|
|
acct = import ../tools/system/acct {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-04-08 00:38:01 +01:00
|
|
|
aefs = import ../tools/security/aefs {
|
|
|
|
inherit fetchurl stdenv fuse;
|
|
|
|
};
|
|
|
|
|
2009-02-02 21:57:18 +00:00
|
|
|
aircrackng = import ../tools/networking/aircrack-ng {
|
|
|
|
inherit fetchurl stdenv libpcap openssl zlib wirelesstools;
|
|
|
|
};
|
2009-02-01 21:21:12 +00:00
|
|
|
|
2009-10-27 12:51:09 +00:00
|
|
|
ec2apitools = import ../tools/virtualization/amazon-ec2-api-tools {
|
|
|
|
inherit stdenv fetchurl unzip ;
|
|
|
|
};
|
|
|
|
|
2007-10-06 16:59:35 +01:00
|
|
|
amule = import ../tools/networking/p2p/amule {
|
2008-10-07 22:50:24 +01:00
|
|
|
inherit fetchurl stdenv zlib perl cryptopp gettext libupnp makeWrapper;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2007-10-06 16:59:35 +01:00
|
|
|
};
|
|
|
|
|
2008-06-21 21:53:52 +01:00
|
|
|
aria = builderDefsPackage (import ../tools/networking/aria) {
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-21 21:53:52 +01:00
|
|
|
|
2008-04-01 10:08:17 +01:00
|
|
|
at = import ../tools/system/at {
|
|
|
|
inherit fetchurl stdenv bison flex pam ssmtp;
|
|
|
|
};
|
|
|
|
|
2009-09-29 10:01:40 +01:00
|
|
|
autogen = import ../development/tools/misc/autogen {
|
|
|
|
inherit fetchurl stdenv guile which;
|
|
|
|
};
|
|
|
|
|
2009-05-26 23:05:05 +01:00
|
|
|
autojump = import ../tools/misc/autojump {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
2008-03-06 16:42:34 +00:00
|
|
|
avahi =
|
|
|
|
let qt4Support = getConfig [ "avahi" "qt4Support" ] false;
|
|
|
|
in
|
2009-10-06 06:43:51 +01:00
|
|
|
makeOverridable (import ../development/libraries/avahi) {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig libdaemon dbus perl perlXMLParser
|
2008-12-12 23:02:11 +00:00
|
|
|
expat gettext intltool lib;
|
2008-03-17 09:41:28 +00:00
|
|
|
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 {
|
2009-04-08 08:29:42 +01:00
|
|
|
inherit fetchurl stdenv flex readline;
|
2005-10-10 01:55:07 +01:00
|
|
|
};
|
|
|
|
|
2008-07-11 21:27:53 +01:00
|
|
|
bfr = import ../tools/misc/bfr {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-10-29 23:15:10 +00:00
|
|
|
bootchart = import ../tools/system/bootchart {
|
|
|
|
inherit fetchurl stdenv gnutar gzip coreutils utillinux gnugrep gnused psmisc nettools;
|
|
|
|
};
|
|
|
|
|
2009-10-08 08:01:55 +01:00
|
|
|
eggdrop = import ../tools/networking/eggdrop {
|
|
|
|
inherit fetchurl stdenv tcl;
|
|
|
|
};
|
|
|
|
|
2009-06-05 15:36:35 +01:00
|
|
|
mcrl = import ../tools/misc/mcrl {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
};
|
|
|
|
|
|
|
|
mcrl2 = import ../tools/misc/mcrl2 {
|
|
|
|
inherit fetchurl stdenv mesa ;
|
|
|
|
inherit (xorg) libX11;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2009-06-05 15:36:35 +01:00
|
|
|
};
|
|
|
|
|
2009-02-05 16:50:45 +00:00
|
|
|
syslogng = import ../tools/misc/syslog-ng {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv eventlog pkgconfig glib;
|
2009-02-05 16:50:45 +00:00
|
|
|
};
|
|
|
|
|
2008-03-10 15:57:14 +00:00
|
|
|
asciidoc = import ../tools/typesetting/asciidoc {
|
2009-11-03 15:57:22 +00:00
|
|
|
inherit fetchurl stdenv python;
|
2008-03-10 15:57:14 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
bibtextools = import ../tools/typesetting/bibtex-tools {
|
2009-03-19 14:34:16 +00:00
|
|
|
inherit fetchurl stdenv aterm tetex hevea;
|
|
|
|
inherit (strategoPackages016) strategoxt sdf;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
bmrsa = builderDefsPackage (import ../tools/security/bmrsa/11.nix) {
|
2008-12-04 21:01:26 +00:00
|
|
|
inherit unzip;
|
2008-03-03 12:30:39 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-01-12 21:12:07 +00:00
|
|
|
ccrypt = import ../tools/security/ccrypt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-24 21:01:27 +00:00
|
|
|
cdecl = import ../development/tools/cdecl {
|
2009-04-08 11:09:14 +01:00
|
|
|
inherit fetchurl stdenv yacc flex readline ncurses;
|
2009-01-24 21:01:27 +00:00
|
|
|
};
|
|
|
|
|
2008-07-25 14:04:51 +01:00
|
|
|
cdrdao = import ../tools/cd-dvd/cdrdao {
|
2009-10-26 23:03:47 +00:00
|
|
|
inherit fetchurl stdenv lame libvorbis libmad pkgconfig libao;
|
2008-07-25 14:04:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
cdrkit = import ../tools/cd-dvd/cdrkit {
|
|
|
|
inherit fetchurl stdenv cmake libcap zlib bzip2;
|
|
|
|
};
|
|
|
|
|
2008-11-25 02:20:41 +00:00
|
|
|
checkinstall = import ../tools/package-management/checkinstall {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
cheetahTemplate = builderDefsPackage (import ../tools/text/cheetah-template/2.0.1.nix) {
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit makeWrapper python;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-12 11:07:54 +01:00
|
|
|
|
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-08-25 14:25:07 +01:00
|
|
|
convertlit = import ../tools/text/convertlit {
|
2008-10-07 18:33:20 +01:00
|
|
|
inherit fetchurl stdenv unzip libtommath;
|
2008-08-27 15:56:59 +01:00
|
|
|
};
|
2008-08-12 20:57:35 +01:00
|
|
|
|
2008-08-29 14:53:28 +01:00
|
|
|
unifdef = import ../development/tools/misc/unifdef {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-18 22:28:10 +01:00
|
|
|
cloogppl = import ../development/libraries/cloog-ppl {
|
|
|
|
inherit fetchurl stdenv ppl;
|
|
|
|
};
|
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
coreutils75_real = makeOverridable (import ../tools/misc/coreutils/7.5.nix) {
|
|
|
|
inherit fetchurl stdenv acl;
|
|
|
|
aclSupport = stdenv.isLinux;
|
|
|
|
};
|
|
|
|
|
|
|
|
coreutils_real = makeOverridable (if stdenv ? isDietLibC
|
2006-10-27 21:08:53 +01:00
|
|
|
then import ../tools/misc/coreutils-5
|
|
|
|
else import ../tools/misc/coreutils)
|
|
|
|
{
|
2009-11-20 20:26:36 +00:00
|
|
|
inherit fetchurl stdenv acl perl;
|
2008-05-19 16:12:03 +01:00
|
|
|
aclSupport = stdenv.isLinux;
|
2009-11-08 00:32:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
coreutils = useFromStdenv "coreutils"
|
|
|
|
(if system == "armv5tel-linux" then coreutils75_real
|
|
|
|
else coreutils_real);
|
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
|
|
|
|
2009-01-04 17:24:11 +00:00
|
|
|
cromfs = import ../tools/archivers/cromfs {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse perl;
|
|
|
|
};
|
|
|
|
|
2008-11-04 21:40:39 +00:00
|
|
|
cron = import ../tools/system/cron { # see also fcron
|
2008-10-07 18:33:20 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-01-10 15:44:58 +00:00
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
curl = makeOverridable (import ../tools/networking/curl) {
|
2008-05-27 08:49:55 +01:00
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv fuse curl pkgconfig zlib glib;
|
2007-10-25 15:07:50 +01:00
|
|
|
};
|
|
|
|
|
2009-07-07 11:04:32 +01:00
|
|
|
dadadodo = builderDefsPackage (import ../tools/text/dadadodo) {
|
|
|
|
};
|
|
|
|
|
2009-01-03 15:11:52 +00:00
|
|
|
dar = import ../tools/archivers/dar {
|
|
|
|
inherit fetchurl stdenv zlib bzip2 openssl;
|
|
|
|
};
|
|
|
|
|
2009-04-06 18:50:17 +01:00
|
|
|
dcraw = import ../tools/graphics/dcraw {
|
|
|
|
inherit fetchurl stdenv gettext libjpeg lcms;
|
|
|
|
};
|
|
|
|
|
2009-10-08 01:54:31 +01:00
|
|
|
debootstrap = import ../tools/misc/debootstrap {
|
|
|
|
inherit fetchurl stdenv lib dpkg gettext gawk wget perl;
|
|
|
|
};
|
|
|
|
|
2009-09-16 12:53:09 +01:00
|
|
|
ddclient = import ../tools/networking/ddclient {
|
|
|
|
inherit fetchurl buildPerlPackage perl;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
ddrescue = import ../tools/system/ddrescue {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
desktop_file_utils = import ../tools/misc/desktop-file-utils {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig glib;
|
2009-02-25 16:05:13 +00:00
|
|
|
};
|
2009-02-27 13:44:31 +00:00
|
|
|
|
2009-01-25 14:31:24 +00:00
|
|
|
dev86 = import ../development/compilers/dev86 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-07-24 00:57:11 +01:00
|
|
|
inherit fetchurl stdenv nettools iputils iproute makeWrapper;
|
2006-08-26 10:44:39 +01:00
|
|
|
};
|
|
|
|
|
2009-07-17 12:41:19 +01:00
|
|
|
dhcpcd = import ../tools/networking/dhcpcd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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
|
2008-03-11 09:34:17 +00:00
|
|
|
gnused groff libxml2 libxslt makeWrapper;
|
2009-04-20 13:49:35 +01:00
|
|
|
inherit (perlPackages) XMLSAX XMLParser XMLNamespaceSupport;
|
2009-10-19 10:17:21 +01:00
|
|
|
libiconv = if system == "i686-darwin" then libiconv else null;
|
2008-03-11 09:34:17 +00:00
|
|
|
};
|
|
|
|
|
2009-02-08 16:28:12 +00:00
|
|
|
dosfstools = composedArgsAndFun (import ../tools/misc/dosfstools) {
|
2008-02-04 04:41:55 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2008-07-25 14:04:51 +01:00
|
|
|
dvdplusrwtools = import ../tools/cd-dvd/dvd+rw-tools {
|
|
|
|
inherit fetchurl stdenv cdrkit m4;
|
|
|
|
};
|
|
|
|
|
2009-04-05 22:41:38 +01:00
|
|
|
enblendenfuse = import ../tools/graphics/enblend-enfuse {
|
|
|
|
inherit fetchurl stdenv libtiff libpng lcms libxmi boost;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
];
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
|
|
|
};
|
2007-10-07 14:37:08 +01:00
|
|
|
|
2009-09-22 09:37:41 +01:00
|
|
|
ethtool = import ../tools/misc/ethtool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-10-11 16:52:27 +01:00
|
|
|
exiftags = import ../tools/graphics/exiftags {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-02-27 15:48:53 +00:00
|
|
|
expect = import ../tools/misc/expect {
|
2009-05-10 12:31:17 +01:00
|
|
|
inherit fetchurl stdenv tcl tk autoconf;
|
|
|
|
inherit (xorg) xproto libX11;
|
2008-02-27 15:48:53 +00:00
|
|
|
};
|
|
|
|
|
2008-11-04 21:40:39 +00:00
|
|
|
fcron = import ../tools/system/fcron { # see also cron
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-08-09 23:15:40 +01:00
|
|
|
fdisk = import ../tools/system/fdisk {
|
2009-09-16 15:30:53 +01:00
|
|
|
inherit fetchurl stdenv parted libuuid gettext;
|
2009-08-09 23:15:40 +01:00
|
|
|
};
|
|
|
|
|
2009-04-26 12:06:48 +01:00
|
|
|
figlet = import ../tools/misc/figlet {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
});
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
gdmap = composedArgsAndFun (import ../tools/system/gdmap/0.8.1.nix) {
|
2008-06-16 14:15:55 +01:00
|
|
|
inherit stdenv fetchurl builderDefs pkgconfig libxml2 intltool
|
|
|
|
gettext;
|
2007-12-01 16:20:23 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
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-08-06 21:39:01 +01:00
|
|
|
gftp = import ../tools/networking/gftp {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit readline ncurses gettext openssl pkgconfig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
2008-06-22 03:07:53 +01:00
|
|
|
gifsicle = import ../tools/graphics/gifscile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) xproto libXt libX11;
|
|
|
|
};
|
|
|
|
|
2009-08-31 10:52:01 +01:00
|
|
|
glusterfs = builderDefsPackage ../tools/networking/glusterfs {
|
|
|
|
inherit fuse;
|
|
|
|
bison = bison24;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2009-04-20 23:06:12 +01:00
|
|
|
glxinfo = import ../tools/graphics/glxinfo {
|
2007-04-18 15:21:24 +01:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
|
|
|
};
|
|
|
|
|
2009-06-10 10:45:03 +01:00
|
|
|
gnokii = builderDefsPackage (import ../tools/misc/gnokii) {
|
2009-11-22 19:28:56 +00:00
|
|
|
inherit intltool perl gettext libusb;
|
2009-06-10 10:45:03 +01:00
|
|
|
};
|
|
|
|
|
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-10-27 10:26:07 +00:00
|
|
|
inherit fetchurl stdenv readline libgpgerror libgcrypt libassuan pth libksba zlib;
|
|
|
|
openldap = if getPkgConfig "gnupg" "ldap" true then openldap else null;
|
|
|
|
bzip2 = if getPkgConfig "gnupg" "bzip2" true then bzip2 else null;
|
|
|
|
libusb = if getPkgConfig "gnupg" "usb" true then libusb else null;
|
|
|
|
curl = if getPkgConfig "gnupg" "curl" true then curl else null;
|
2008-01-28 19:45:57 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
gnuplot = import ../tools/graphics/gnuplot {
|
2009-09-09 10:36:03 +01:00
|
|
|
inherit fetchurl stdenv zlib gd texinfo readline emacs;
|
2007-09-23 00:18:55 +01:00
|
|
|
inherit (xlibs) libX11 libXt libXaw libXpm;
|
2009-09-09 10:36:03 +01:00
|
|
|
x11Support = getPkgConfig "gnuplot" "x11" false;
|
2009-11-05 13:29:52 +00:00
|
|
|
wxGTK = if getPkgConfig "gnuplot" "wxGtk" false then wxGTK else null;
|
2009-09-09 10:36:03 +01:00
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
inherit cairo pkgconfig;
|
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
|
|
|
|
2009-04-30 20:36:26 +01:00
|
|
|
gnused_4_2 = import ../tools/text/gnused/4.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
|
|
|
|
2009-09-16 09:36:05 +01:00
|
|
|
gnuvd = import ../tools/misc/gnuvd {
|
|
|
|
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 {
|
2009-02-12 22:33:17 +00:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
ghostscript = null;
|
2005-08-21 14:59:04 +01:00
|
|
|
};
|
|
|
|
|
2008-06-29 17:13:02 +01:00
|
|
|
grub = import ../tools/misc/grub {
|
|
|
|
inherit fetchurl autoconf automake;
|
|
|
|
stdenv = stdenv_32bit;
|
2009-07-14 19:23:53 +01:00
|
|
|
buggyBiosCDSupport = (getConfig ["grub" "buggyBiosCDSupport"] true);
|
2008-06-29 17:13:02 +01:00
|
|
|
};
|
2004-06-03 18:16:16 +01:00
|
|
|
|
2009-10-04 22:39:34 +01:00
|
|
|
grub2 = import ../tools/misc/grub/1.9x.nix {
|
|
|
|
inherit stdenv fetchurl bison ncurses libusb freetype;
|
|
|
|
};
|
|
|
|
|
2008-06-18 20:40:56 +01:00
|
|
|
gssdp = import ../development/libraries/gssdp {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 glib;
|
2008-06-29 17:13:02 +01:00
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 gssdp e2fsprogs glib;
|
2008-06-29 17:13:02 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-09-01 21:12:01 +01:00
|
|
|
gvpe = builderDefsPackage ../tools/networking/gvpe {
|
2009-09-01 23:42:05 +01:00
|
|
|
inherit openssl gmp nettools iproute;
|
2009-09-01 21:12:01 +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;
|
|
|
|
});
|
|
|
|
|
2009-10-07 21:18:11 +01:00
|
|
|
pigz = import ../tools/compression/pigz {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-03-29 21:32:22 +01:00
|
|
|
halibut = import ../tools/typesetting/halibut {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
highlight = import ../tools/text/highlight {
|
|
|
|
inherit fetchurl stdenv getopt;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-12 16:59:59 +01:00
|
|
|
|
2008-11-27 13:54:49 +00:00
|
|
|
host = import ../tools/networking/host {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-25 21:03:07 +00:00
|
|
|
iasl = import ../development/compilers/iasl {
|
|
|
|
inherit fetchurl stdenv bison flex;
|
|
|
|
};
|
|
|
|
|
2008-03-27 11:09:40 +00:00
|
|
|
idutils = import ../tools/misc/idutils {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
2009-10-08 08:01:55 +01:00
|
|
|
iftop = import ../tools/networking/iftop {
|
|
|
|
inherit fetchurl stdenv ncurses libpcap;
|
|
|
|
};
|
|
|
|
|
2009-06-15 19:37:42 +01:00
|
|
|
imapsync = import ../tools/networking/imapsync {
|
|
|
|
inherit fetchurl stdenv perl openssl;
|
|
|
|
inherit (perlPackages) MailIMAPClient;
|
2008-03-27 11:09:40 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-03-16 18:39:04 +00:00
|
|
|
iperf = import ../tools/networking/iperf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-10-11 16:52:14 +01:00
|
|
|
jhead = import ../tools/graphics/jhead {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-12-03 14:22:55 +00:00
|
|
|
jnettop = import ../tools/networking/jnettop {
|
|
|
|
inherit fetchurl stdenv autoconf libpcap ncurses pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-02-01 21:21:27 +00:00
|
|
|
kismet = import ../applications/networking/sniffers/kismet {
|
|
|
|
inherit fetchurl stdenv libpcap ncurses expat;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-03-17 21:17:51 +00:00
|
|
|
lrzip = import ../tools/compression/lrzip {
|
|
|
|
inherit fetchurl stdenv zlib lzo bzip2 nasm;
|
|
|
|
};
|
|
|
|
|
2009-03-28 19:28:59 +00:00
|
|
|
lsh = import ../tools/networking/lsh {
|
2009-09-07 14:45:06 +01:00
|
|
|
inherit stdenv fetchurl gperf guile gmp zlib liboop gnum4 pam
|
|
|
|
readline nettools lsof procps;
|
2009-03-28 19:28:59 +00:00
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
lzma = makeOverridable (import ../tools/compression/lzma) {
|
2008-02-06 13:52:41 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-09-08 21:03:37 +01:00
|
|
|
xz = import ../tools/compression/xz {
|
|
|
|
inherit fetchurl stdenv lib;
|
|
|
|
};
|
2008-02-06 13:52:41 +00:00
|
|
|
|
2009-03-28 19:28:59 +00:00
|
|
|
lzop = import ../tools/compression/lzop {
|
|
|
|
inherit fetchurl stdenv lzo;
|
2008-02-12 10:51:44 +00:00
|
|
|
};
|
|
|
|
|
2009-09-11 10:38:25 +01:00
|
|
|
mailutils = import ../tools/networking/mailutils {
|
|
|
|
inherit fetchurl stdenv gettext gdbm libtool pam readline ncurses
|
|
|
|
gnutls mysql guile texinfo gnum4;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv lib pkgconfig ncurses shebangfix perl zip unzip slang
|
|
|
|
gettext e2fsprogs gpm glib;
|
2009-09-16 18:26:19 +01:00
|
|
|
inherit (xlibs) libX11 libXt;
|
2008-01-23 09:57:11 +00:00
|
|
|
};
|
|
|
|
|
2009-01-04 17:11:38 +00:00
|
|
|
mcabber = import ../applications/networking/instant-messengers/mcabber {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv openssl ncurses pkgconfig glib;
|
2009-01-04 17:11:38 +00:00
|
|
|
};
|
|
|
|
|
2009-04-03 19:46:26 +01:00
|
|
|
mcron = import ../tools/system/mcron {
|
|
|
|
inherit fetchurl stdenv guile which ed;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
mdbtools = import ../tools/misc/mdbtools {
|
|
|
|
inherit fetchurl stdenv readline pkgconfig bison glib;
|
2008-05-11 10:45:26 +01:00
|
|
|
flex = flex2535;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-11 10:45:26 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mjpegtools = import ../tools/video/mjpegtools {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv libjpeg;
|
|
|
|
inherit (xlibs) libX11;
|
2003-11-07 11:18:47 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mktemp = import ../tools/security/mktemp {
|
2005-03-21 14:48:48 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-04 17:35:11 +00:00
|
|
|
mldonkey = import ../applications/networking/p2p/mldonkey {
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit fetchurl stdenv ocaml zlib ncurses gd libpng;
|
2009-01-04 17:35:11 +00:00
|
|
|
};
|
|
|
|
|
2009-08-26 17:22:20 +01:00
|
|
|
monit = builderDefsPackage ../tools/system/monit {
|
|
|
|
flex = flex2535;
|
|
|
|
bison = bison24;
|
|
|
|
inherit openssl;
|
|
|
|
};
|
|
|
|
|
2008-04-11 14:22:35 +01:00
|
|
|
mpage = import ../tools/text/mpage {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
msf = builderDefsPackage (import ../tools/security/metasploit/3.1.nix) {
|
2008-04-11 10:32:27 +01:00
|
|
|
inherit ruby makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-01-30 17:08:38 +00:00
|
|
|
mssys = import ../tools/misc/mssys {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2009-03-17 21:49:39 +00:00
|
|
|
multitran = recurseIntoAttrs (let
|
|
|
|
inherit fetchurl stdenv help2man;
|
|
|
|
in rec {
|
|
|
|
multitrandata = import ../tools/text/multitran/data {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libbtree = import ../tools/text/multitran/libbtree {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libmtsupport = import ../tools/text/multitran/libmtsupport {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libfacet = import ../tools/text/multitran/libfacet {
|
|
|
|
inherit fetchurl stdenv libmtsupport;
|
|
|
|
};
|
|
|
|
|
|
|
|
libmtquery = import ../tools/text/multitran/libmtquery {
|
|
|
|
inherit fetchurl stdenv libmtsupport libfacet libbtree multitrandata;
|
|
|
|
};
|
|
|
|
|
|
|
|
mtutils = import ../tools/text/multitran/mtutils {
|
|
|
|
inherit fetchurl stdenv libmtsupport libfacet libbtree libmtquery help2man;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2008-05-31 23:49:00 +01:00
|
|
|
mysql2pgsql = import ../tools/misc/mysql2pgsql {
|
|
|
|
inherit fetchurl stdenv perl shebangfix;
|
|
|
|
};
|
|
|
|
|
2008-12-17 17:09:29 +00:00
|
|
|
namazu = import ../tools/text/namazu {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-09-25 03:09:43 +01:00
|
|
|
nbd = import ../tools/networking/nbd {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2009-09-25 03:09:43 +01:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
nc6 = composedArgsAndFun (import ../tools/networking/nc6/1.0.nix) {
|
2008-02-03 08:53:47 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2007-07-09 08:23:16 +01:00
|
|
|
ncat = import ../tools/networking/ncat {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2009-09-17 08:31:34 +01:00
|
|
|
ncftp = import ../tools/networking/ncftp {
|
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
netcat = import ../tools/networking/netcat {
|
2006-08-27 14:00:20 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-08-19 21:19:27 +01:00
|
|
|
netkittftp = import ../tools/networking/netkit/tftp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-25 22:44:08 +00:00
|
|
|
netpbm = import ../tools/graphics/netpbm {
|
|
|
|
inherit stdenv fetchsvn libjpeg libpng zlib flex perl libxml2;
|
|
|
|
};
|
|
|
|
|
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
|
2009-07-07 23:34:03 +01:00
|
|
|
python pygtk makeWrapper pygobject pycairo;
|
|
|
|
inherit (pythonPackages) 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;
|
|
|
|
};
|
|
|
|
|
2009-02-25 23:21:44 +00:00
|
|
|
nylon = import ../tools/networking/nylon {
|
|
|
|
inherit fetchurl stdenv libevent;
|
|
|
|
};
|
|
|
|
|
2009-09-29 13:54:08 +01:00
|
|
|
obexd = import ../tools/bluetooth/obexd {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus openobex bluez glib;
|
2009-09-29 13:54:08 +01:00
|
|
|
};
|
|
|
|
|
2009-08-06 00:24:27 +01:00
|
|
|
obexfs = import ../tools/bluetooth/obexfs {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse obexftp;
|
|
|
|
};
|
|
|
|
|
|
|
|
obexftp = import ../tools/bluetooth/obexftp {
|
|
|
|
inherit fetchurl stdenv pkgconfig openobex bluez;
|
|
|
|
};
|
|
|
|
|
2009-10-22 16:41:39 +01:00
|
|
|
openjade = import ../tools/text/sgml/openjade {
|
|
|
|
inherit fetchurl opensp perl;
|
|
|
|
stdenv = overrideGCC stdenv gcc33;
|
|
|
|
};
|
|
|
|
|
2009-08-06 00:24:27 +01:00
|
|
|
openobex = import ../tools/bluetooth/openobex {
|
|
|
|
inherit fetchurl stdenv pkgconfig bluez libusb;
|
|
|
|
};
|
|
|
|
|
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;
|
2008-07-08 00:11:13 +01:00
|
|
|
pamSupport = getPkgConfig "openssh" "pam" true;
|
2009-11-02 21:49:06 +00:00
|
|
|
hpnSupport = getConfig [ "openssh" "hpn" ] false;
|
2009-10-01 13:07:33 +01:00
|
|
|
etcDir = getConfig [ "openssh" "etcDir" ] "/etc/ssh";
|
2003-11-03 18:21:30 +00:00
|
|
|
};
|
|
|
|
|
2009-10-22 16:41:39 +01:00
|
|
|
opensp = import ../tools/text/sgml/opensp {
|
|
|
|
inherit fetchurl;
|
|
|
|
stdenv = overrideGCC stdenv gcc33;
|
|
|
|
};
|
|
|
|
|
2009-04-06 14:07:18 +01:00
|
|
|
openvpn = import ../tools/networking/openvpn {
|
2009-04-28 16:37:52 +01:00
|
|
|
inherit fetchurl stdenv iproute lzo openssl nettools;
|
2009-04-06 14:07:18 +01:00
|
|
|
};
|
|
|
|
|
2007-09-04 12:55:19 +01:00
|
|
|
p7zip = import ../tools/archivers/p7zip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-10 10:42:22 +01:00
|
|
|
panomatic = import ../tools/graphics/panomatic {
|
|
|
|
inherit fetchurl stdenv boost zlib;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-07-19 00:36:28 +01:00
|
|
|
patchutils = import ../tools/text/patchutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
parted = import ../tools/misc/parted {
|
2009-08-11 23:23:30 +01:00
|
|
|
inherit fetchurl stdenv devicemapper libuuid gettext 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;
|
|
|
|
};
|
|
|
|
|
2009-03-29 21:32:41 +01:00
|
|
|
pdf2djvu = import ../tools/typesetting/pdf2djvu {
|
|
|
|
inherit fetchurl stdenv pkgconfig djvulibre poppler fontconfig libjpeg;
|
|
|
|
};
|
|
|
|
|
2007-03-21 12:53:01 +00:00
|
|
|
pdfjam = import ../tools/typesetting/pdfjam {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-08 09:53:21 +01:00
|
|
|
pg_top = import ../tools/misc/pg_top {
|
|
|
|
inherit fetchurl stdenv ncurses postgresql;
|
|
|
|
};
|
|
|
|
|
2008-07-08 00:11:36 +01:00
|
|
|
pdsh = import ../tools/networking/pdsh {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
readline = if getPkgConfig "pdsh" "readline" true then readline else null;
|
2009-03-26 19:17:42 +00:00
|
|
|
rsh = getPkgConfig "pdsh" "rsh" true;
|
2008-07-08 00:11:36 +01:00
|
|
|
ssh = if getPkgConfig "pdsh" "ssh" true then openssh else null;
|
|
|
|
pam = if getPkgConfig "pdsh" "pam" true then pam else null;
|
|
|
|
};
|
|
|
|
|
2009-04-05 22:41:13 +01:00
|
|
|
pfstools = import ../tools/graphics/pfstools {
|
|
|
|
inherit fetchurl stdenv imagemagick libjpeg libtiff mesa freeglut bzip2 libpng expat;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
qt = qt3;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2008-04-26 00:43:14 +01:00
|
|
|
pinentry = import ../tools/misc/pinentry {
|
2008-12-08 21:22:20 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses;
|
2008-04-26 00:43:14 +01:00
|
|
|
inherit (gnome) glib gtk;
|
|
|
|
};
|
|
|
|
|
2009-03-23 21:31:30 +00:00
|
|
|
plan9port = import ../tools/system/plan9port {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 xproto libXt xextproto;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-10-18 05:43:50 +01:00
|
|
|
plotutils = import ../tools/graphics/plotutils {
|
2009-11-06 22:44:13 +00:00
|
|
|
inherit fetchurl stdenv libpng;
|
2009-10-18 05:43:50 +01:00
|
|
|
};
|
|
|
|
|
2009-05-14 09:49:46 +01:00
|
|
|
povray = import ../tools/graphics/povray {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-18 22:22:13 +01:00
|
|
|
ppl = import ../development/libraries/ppl {
|
|
|
|
inherit fetchurl stdenv gmpxx perl gnum4;
|
|
|
|
};
|
|
|
|
|
2009-02-01 13:54:20 +00:00
|
|
|
/* WARNING: this version is unsuitable for using with a setuid wrapper */
|
|
|
|
ppp = builderDefsPackage (import ../tools/networking/ppp) {
|
|
|
|
};
|
|
|
|
|
2009-01-12 21:12:07 +00:00
|
|
|
proxychains = import ../tools/networking/proxychains {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-09-06 13:33:25 +01:00
|
|
|
proxytunnel = import ../tools/misc/proxytunnel {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-12-11 11:47:23 +00:00
|
|
|
psmisc = import ../tools/misc/psmisc {
|
|
|
|
inherit stdenv fetchurl ncurses;
|
|
|
|
};
|
|
|
|
|
2009-10-18 05:43:53 +01:00
|
|
|
pstoedit = import ../tools/graphics/pstoedit {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig ghostscript gd zlib plotutils;
|
|
|
|
};
|
|
|
|
|
2009-03-22 12:34:30 +00:00
|
|
|
pv = import ../tools/misc/pv {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-28 10:53:12 +01:00
|
|
|
pwgen = import ../tools/security/pwgen {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-04-26 12:06:51 +01:00
|
|
|
pydb = import ../tools/pydb {
|
|
|
|
inherit fetchurl stdenv python emacs;
|
|
|
|
};
|
|
|
|
|
2009-03-09 10:46:42 +00:00
|
|
|
pystringtemplate = import ../development/python-modules/stringtemplate {
|
2009-03-10 12:01:22 +00:00
|
|
|
inherit stdenv fetchurl python antlr;
|
2008-11-05 20:03:00 +00:00
|
|
|
};
|
|
|
|
|
2009-04-12 20:34:20 +01:00
|
|
|
pythonDBus = builderDefsPackage (import ../development/python-modules/dbus) {
|
|
|
|
inherit python pkgconfig dbus_glib;
|
|
|
|
dbus = dbus.libs;
|
|
|
|
};
|
|
|
|
|
2009-04-13 00:27:55 +01:00
|
|
|
pythonIRClib = builderDefsPackage (import ../development/python-modules/irclib) {
|
|
|
|
inherit python;
|
|
|
|
};
|
|
|
|
|
2009-04-12 20:34:20 +01:00
|
|
|
pythonSexy = builderDefsPackage (import ../development/python-modules/libsexy) {
|
|
|
|
inherit python libsexy pkgconfig libxml2 pygtk;
|
2009-04-17 14:48:22 +01:00
|
|
|
inherit (gtkLibs) pango gtk glib;
|
2009-04-12 20:34:20 +01:00
|
|
|
};
|
|
|
|
|
2009-06-05 15:36:35 +01:00
|
|
|
openmpi = import ../development/libraries/openmpi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-08 21:06:03 +01:00
|
|
|
qhull = import ../development/libraries/qhull {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
relfs = composedArgsAndFun (import ../tools/misc/relfs/cvs.2008.03.05.nix) {
|
2007-12-06 00:32:21 +00:00
|
|
|
inherit fetchcvs stdenv ocaml postgresql fuse pcre
|
2009-08-14 07:32:18 +01:00
|
|
|
builderDefs pkgconfig libuuid;
|
2007-12-06 00:32:21 +00:00
|
|
|
inherit (gnome) gnomevfs GConf;
|
2007-12-04 22:06:13 +00:00
|
|
|
};
|
|
|
|
|
2009-02-25 22:44:08 +00:00
|
|
|
remind = import ../tools/misc/remind {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
rlwrap = composedArgsAndFun (import ../tools/misc/rlwrap/0.28.nix) {
|
2008-01-31 17:32:28 +00:00
|
|
|
inherit builderDefs readline;
|
2008-01-23 23:39:06 +00:00
|
|
|
};
|
|
|
|
|
2009-02-01 13:54:20 +00:00
|
|
|
rpPPPoE = builderDefsPackage (import ../tools/networking/rp-pppoe) {
|
|
|
|
inherit ppp;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-03-25 19:13:24 +00:00
|
|
|
rrdtool = import ../tools/misc/rrdtool {
|
|
|
|
inherit stdenv fetchurl gettext perl pkgconfig libxml2 cairo;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
};
|
|
|
|
|
2008-02-23 12:11:27 +00:00
|
|
|
rtorrent = import ../tools/networking/p2p/rtorrent {
|
|
|
|
inherit fetchurl stdenv libtorrent ncurses pkgconfig libsigcxx curl zlib openssl;
|
|
|
|
};
|
|
|
|
|
2009-03-16 10:42:51 +00:00
|
|
|
rubber = import ../tools/typesetting/rubber {
|
|
|
|
inherit fetchurl stdenv python texinfo;
|
|
|
|
};
|
|
|
|
|
2008-10-05 10:04:30 +01:00
|
|
|
rxp = import ../tools/text/xml/rxp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-03-17 21:17:51 +00:00
|
|
|
rzip = import ../tools/compression/rzip {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-09-02 23:56:33 +01:00
|
|
|
scrot = import ../tools/graphics/scrot {
|
|
|
|
inherit fetchurl stdenv giblib x11;
|
|
|
|
};
|
|
|
|
|
2009-05-18 12:24:16 +01:00
|
|
|
seccure = import ../tools/security/seccure/0.4.nix {
|
|
|
|
inherit fetchurl stdenv libgcrypt;
|
2008-03-03 12:30:39 +00:00
|
|
|
};
|
|
|
|
|
2009-06-09 05:22:46 +01:00
|
|
|
setserial = builderDefsPackage (import ../tools/system/setserial) {
|
|
|
|
inherit groff;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
sharutils = import ../tools/archivers/sharutils/4.6.3.nix {
|
2008-02-18 20:52:25 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-08-21 12:07:29 +01:00
|
|
|
slsnif = import ../tools/misc/slsnif {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-10-18 14:05:43 +01:00
|
|
|
smartmontools = import ../tools/system/smartmontools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
smbfsFuse = composedArgsAndFun (import ../tools/networking/smbfs-fuse/0.8.7.nix) {
|
2008-01-25 10:15:19 +00:00
|
|
|
inherit builderDefs samba fuse;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
socat = import ../tools/networking/socat {
|
|
|
|
inherit fetchurl stdenv openssl;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-02-03 11:03:54 +00:00
|
|
|
|
2009-11-23 12:21:34 +00:00
|
|
|
socat2pre = builderDefsPackage ../tools/networking/socat/2.0.0-b3.nix {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-06-20 00:55:02 +01:00
|
|
|
sudo = import ../tools/security/sudo {
|
2009-06-26 17:10:38 +01:00
|
|
|
inherit fetchurl stdenv coreutils pam groff;
|
2007-06-20 00:55:02 +01:00
|
|
|
};
|
|
|
|
|
2009-07-12 09:10:51 +01:00
|
|
|
suidChroot = builderDefsPackage (import ../tools/system/suid-chroot) {
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig fuse glib;
|
2007-01-06 17:36:03 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
ssss = composedArgsAndFun (import ../tools/security/ssss/0.5.nix) {
|
2008-03-03 12:30:39 +00:00
|
|
|
inherit builderDefs gmp;
|
|
|
|
};
|
|
|
|
|
2009-10-18 05:43:45 +01:00
|
|
|
stun = import ../tools/networking/stun {
|
|
|
|
inherit fetchurl stdenv lib;
|
|
|
|
};
|
|
|
|
|
2009-03-02 15:23:52 +00:00
|
|
|
stunnel = import ../tools/networking/stunnel {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-01-11 15:22:59 +00:00
|
|
|
su = import ../tools/misc/su {
|
|
|
|
inherit fetchurl stdenv pam;
|
|
|
|
};
|
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
system_config_printer = import ../tools/misc/system-config-printer {
|
2009-04-20 15:10:15 +01:00
|
|
|
inherit stdenv fetchurl perl perlXMLParser desktop_file_utils;
|
2009-02-25 16:05:13 +00:00
|
|
|
};
|
2009-02-27 13:44:31 +00:00
|
|
|
|
2009-10-05 11:37:30 +01:00
|
|
|
sitecopy = import ../tools/networking/sitecopy {
|
2009-10-05 13:21:50 +01:00
|
|
|
inherit fetchurl stdenv neon openssl;
|
2009-10-05 11:37:30 +01:00
|
|
|
};
|
|
|
|
|
2009-10-05 15:15:28 +01:00
|
|
|
privoxy = import ../tools/networking/privoxy {
|
2009-10-05 18:12:19 +01:00
|
|
|
inherit fetchurl stdenv autoconf automake ;
|
2009-10-05 15:15:28 +01:00
|
|
|
};
|
|
|
|
|
2007-01-16 14:35:08 +00:00
|
|
|
tcpdump = import ../tools/networking/tcpdump {
|
|
|
|
inherit fetchurl stdenv libpcap;
|
|
|
|
};
|
|
|
|
|
2009-03-17 14:18:45 +00:00
|
|
|
tcng = import ../tools/networking/tcng {
|
|
|
|
inherit fetchurl stdenv iproute bison flex db4 perl;
|
|
|
|
kernel = kernel_2_6_28;
|
|
|
|
};
|
|
|
|
|
2007-10-09 10:56:39 +01:00
|
|
|
telnet = import ../tools/networking/telnet {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-04-19 12:47:01 +01:00
|
|
|
ttf2pt1 = import ../tools/misc/ttf2pt1 {
|
|
|
|
inherit fetchurl stdenv perl freetype;
|
|
|
|
};
|
|
|
|
|
2009-03-22 13:03:37 +00:00
|
|
|
ucl = import ../development/libraries/ucl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-19 13:50:45 +01:00
|
|
|
ufraw = import ../applications/graphics/ufraw {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext bzip2 zlib
|
|
|
|
libjpeg libtiff cfitsio exiv2 lcms gtkimageview;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
};
|
|
|
|
|
2009-03-22 13:03:37 +00:00
|
|
|
upx = import ../tools/compression/upx {
|
|
|
|
inherit fetchurl stdenv ucl zlib;
|
|
|
|
};
|
|
|
|
|
2009-10-24 20:58:07 +01:00
|
|
|
vbetool = builderDefsPackage ../tools/system/vbetool {
|
|
|
|
inherit pciutils libx86 zlib;
|
|
|
|
};
|
|
|
|
|
2009-05-30 21:52:10 +01:00
|
|
|
viking = import ../applications/misc/viking {
|
2009-05-30 22:32:01 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig intltool gettext expat curl
|
2009-05-31 16:01:33 +01:00
|
|
|
gpsd bc file;
|
2009-05-30 21:52:10 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-08-07 13:00:00 +01:00
|
|
|
vncrec = builderDefsPackage ../tools/video/vncrec {
|
|
|
|
inherit (xlibs) imake libX11 xproto gccmakedep libXt
|
|
|
|
libXmu libXaw libXext xextproto libSM libICE libXpm
|
|
|
|
libXp;
|
|
|
|
};
|
|
|
|
|
2008-02-10 21:54:01 +00:00
|
|
|
vpnc = import ../tools/networking/vpnc {
|
2008-11-27 10:32:47 +00:00
|
|
|
inherit fetchurl stdenv libgcrypt perl gawk
|
|
|
|
nettools makeWrapper;
|
2008-02-10 21:54:01 +00:00
|
|
|
};
|
|
|
|
|
2009-05-20 18:51:41 +01:00
|
|
|
vtun = import ../tools/networking/vtun {
|
|
|
|
inherit fetchurl stdenv lzo openssl zlib yacc flex;
|
|
|
|
};
|
|
|
|
|
2007-09-12 16:49:28 +01:00
|
|
|
testdisk = import ../tools/misc/testdisk {
|
|
|
|
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl;
|
|
|
|
};
|
|
|
|
|
2009-07-05 15:07:39 +01:00
|
|
|
htmlTidy = import ../tools/text/html-tidy {
|
|
|
|
inherit fetchcvs stdenv autoconf automake libtool;
|
|
|
|
};
|
|
|
|
|
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;
|
2009-05-17 00:04:06 +01:00
|
|
|
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc
|
|
|
|
xorg.fontbhlucidatypewriter75dpi ];
|
2006-04-18 19:46:36 +01:00
|
|
|
};
|
|
|
|
|
2007-04-20 09:50:26 +01:00
|
|
|
time = import ../tools/misc/time {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-21 22:35:14 +01:00
|
|
|
tm = import ../tools/system/tm {
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-08-21 22:35:14 +01:00
|
|
|
ts = import ../tools/system/ts {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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-07-19 17:14:24 +01:00
|
|
|
truecrypt = import ../applications/misc/truecrypt {
|
2009-01-12 21:12:07 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig fuse devicemapper;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2009-10-02 09:00:30 +01:00
|
|
|
wxGUI = getConfig [ "truecrypt" "wxGUI" ] true;
|
2008-07-19 17:14:24 +01:00
|
|
|
};
|
|
|
|
|
2009-04-27 23:38:54 +01:00
|
|
|
/* don't have time to fix the builderDefs based expression
|
|
|
|
ttmkfdirX = import ../tools/misc/ttmkfdir {
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit debPackage freetype fontconfig libunwind libtool bison;
|
2009-04-27 23:38:54 +01:00
|
|
|
flex = flex2534;
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
ttmkfdir = import ../tools/misc/ttmkfdir/normal-builder.nix {
|
|
|
|
inherit stdenv fetchurl freetype fontconfig libunwind libtool bison;
|
2008-03-02 18:41:32 +00:00
|
|
|
flex = flex2534;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-10-07 12:18:54 +01:00
|
|
|
unzip = unzip552;
|
|
|
|
|
|
|
|
# TODO: remove in the next stdenv update.
|
|
|
|
unzip552 = import ../tools/archivers/unzip/5.52.nix {
|
2006-08-15 14:22:45 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2009-10-07 12:18:54 +01:00
|
|
|
unzip60 = import ../tools/archivers/unzip/6.0.nix {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
2009-09-16 08:31:16 +01:00
|
|
|
uptimed = import ../tools/system/uptimed {
|
|
|
|
inherit fetchurl stdenv automake autoconf libtool;
|
|
|
|
};
|
|
|
|
|
2008-07-08 00:24:48 +01:00
|
|
|
wdfs = import ../tools/networking/wdfs {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl neon fuse pkgconfig glib;
|
2008-07-08 00:24:48 +01:00
|
|
|
};
|
|
|
|
|
2009-08-26 12:13:36 +01:00
|
|
|
webdruid = builderDefsPackage ../tools/admin/webdruid {
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit zlib libpng freetype gd which
|
2009-08-26 12:13:36 +01:00
|
|
|
libxml2 geoip;
|
|
|
|
};
|
|
|
|
|
2009-02-02 12:33:40 +00:00
|
|
|
wget = import ../tools/networking/wget {
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit fetchurl stdenv gettext gnutls perl;
|
2006-07-17 21:35:02 +01:00
|
|
|
};
|
|
|
|
|
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
|
2009-10-29 11:43:02 +00:00
|
|
|
pkgconfig libgsf libxml2 bzip2 glib;
|
2007-08-18 09:32:12 +01:00
|
|
|
};
|
|
|
|
|
2009-05-28 20:22:32 +01:00
|
|
|
wv2 = import ../tools/misc/wv2 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig libgsf libxml2 glib;
|
2009-05-28 20:22:32 +01:00
|
|
|
};
|
|
|
|
|
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
|
2008-09-26 09:56:03 +01:00
|
|
|
docbook_xml_dtd_42 docbook_xsl w3m
|
2009-09-18 19:22:42 +01:00
|
|
|
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 {
|
2009-04-20 13:49:35 +01:00
|
|
|
inherit fetchurl perl perlPackages;
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
2009-04-13 00:27:55 +01:00
|
|
|
xmpppy = builderDefsPackage (import ../development/python-modules/xmpppy) {
|
|
|
|
inherit python setuptools;
|
|
|
|
};
|
|
|
|
|
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;
|
2009-04-23 13:33:09 +01:00
|
|
|
libxml2 = libxml2Python;
|
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
|
|
|
};
|
|
|
|
|
2009-02-25 20:24:18 +00:00
|
|
|
zile = import ../applications/editors/zile {
|
|
|
|
inherit fetchurl stdenv ncurses help2man;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-04-13 19:38:45 +01:00
|
|
|
bash = lowPrio (useFromStdenv "bash" bashReal);
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2009-04-13 19:38:45 +01:00
|
|
|
bashReal = makeOverridable (import ../shells/bash) {
|
|
|
|
inherit fetchurl stdenv bison;
|
|
|
|
};
|
|
|
|
|
|
|
|
bashInteractive = appendToName "interactive" (bashReal.override {
|
2009-05-29 14:00:56 +01:00
|
|
|
inherit readline texinfo;
|
2007-03-06 22:46:03 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
zsh = import ../shells/zsh {
|
2007-06-20 11:02:10 +01:00
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
### DEVELOPMENT / COMPILERS
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
abc =
|
|
|
|
abcPatchable [];
|
2006-08-05 12:02:17 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-04-06 14:07:21 +01:00
|
|
|
adobeFlexSDK33 = import ../development/compilers/adobe-flex-sdk {
|
|
|
|
inherit fetchurl stdenv unzip jre;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-02-01 21:44:56 +00:00
|
|
|
gcc = gcc43;
|
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.
|
|
|
|
|
2009-04-09 16:24:33 +01:00
|
|
|
gcc40 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.0) {
|
2006-07-10 16:42:19 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo = texinfo49;
|
2006-07-10 16:42:19 +01:00
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2009-04-09 16:24:33 +01:00
|
|
|
gcc41 = wrapGCC (makeOverridable (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
|
|
|
|
2009-04-09 16:24:33 +01:00
|
|
|
gcc42 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.2) {
|
2007-05-19 20:44:15 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-06-26 11:20:33 +01:00
|
|
|
profiledCompiler = false;
|
2008-10-07 18:34:35 +01:00
|
|
|
});
|
2008-06-27 19:26:19 +01:00
|
|
|
|
2009-04-09 16:24:33 +01:00
|
|
|
gcc43 = useFromStdenv "gcc" gcc43_real;
|
|
|
|
|
2009-06-16 14:06:02 +01:00
|
|
|
gcc43_real = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.3) {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs;
|
2009-02-01 21:44:56 +00:00
|
|
|
profiledCompiler = true;
|
2009-06-16 14:06:02 +01:00
|
|
|
}));
|
2009-02-01 21:44:56 +00:00
|
|
|
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
gcc43_realCross = cross : makeOverridable (import ../development/compilers/gcc-4.3) {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs cross;
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
binutilsCross = binutilsCross cross;
|
2009-11-15 16:48:36 +00:00
|
|
|
glibcCross = glibcCross cross;
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = true;
|
2009-11-15 05:39:22 +00:00
|
|
|
crossStageStatic = false;
|
2009-11-15 05:28:35 +00:00
|
|
|
};
|
|
|
|
|
2009-11-21 02:42:52 +00:00
|
|
|
gccCrossStageStatic = cross: wrapGCCCross {
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
gcc = forceBuildDrv ((gcc43_realCross cross).override {
|
2009-11-21 02:42:52 +00:00
|
|
|
crossStageStatic = true;
|
|
|
|
langCC = false;
|
|
|
|
glibcCross = null;
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
});
|
2009-11-21 02:42:52 +00:00
|
|
|
libc = null;
|
|
|
|
binutils = binutilsCross cross;
|
|
|
|
inherit cross;
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
};
|
|
|
|
|
2009-11-15 05:28:35 +00:00
|
|
|
gccCrossStageFinal = cross: wrapGCCCross {
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
gcc = forceBuildDrv (gcc43_realCross cross);
|
2009-11-15 05:28:35 +00:00
|
|
|
libc = glibcCross cross;
|
|
|
|
binutils = binutilsCross cross;
|
|
|
|
inherit cross;
|
|
|
|
};
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
|
2009-04-15 14:28:17 +01:00
|
|
|
gcc43_multi = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc43_real.gcc.override {
|
2009-04-02 20:55:57 +01:00
|
|
|
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc);
|
2008-06-27 19:26:19 +01:00
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = true;
|
2008-06-26 11:20:33 +01:00
|
|
|
}));
|
|
|
|
|
2009-09-23 19:33:40 +01:00
|
|
|
gcc44 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.4) {
|
2009-07-18 22:37:23 +01:00
|
|
|
inherit fetchurl stdenv texinfo gmp mpfr ppl cloogppl
|
2009-07-27 16:40:01 +01:00
|
|
|
gettext which noSysDirs;
|
2009-07-03 19:54:28 +01:00
|
|
|
profiledCompiler = true;
|
2009-09-23 19:33:40 +01:00
|
|
|
}));
|
2009-07-03 19:54:28 +01:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
gccApple = wrapGCC (import ../development/compilers/gcc-apple {
|
2009-09-23 19:33:40 +01:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
2006-09-15 16:28:53 +01:00
|
|
|
|
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;
|
|
|
|
});
|
|
|
|
|
2009-04-09 16:24:33 +01:00
|
|
|
gfortran = gfortran43;
|
|
|
|
|
|
|
|
gfortran40 = wrapGCC (gcc40.gcc.override {
|
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
inherit gmp mpfr;
|
|
|
|
});
|
|
|
|
|
|
|
|
gfortran41 = wrapGCC (gcc41.gcc.override {
|
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
inherit gmp mpfr;
|
|
|
|
});
|
|
|
|
|
|
|
|
gfortran42 = wrapGCC (gcc42.gcc.override {
|
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
inherit gmp mpfr;
|
|
|
|
});
|
|
|
|
|
|
|
|
gfortran43 = wrapGCC (gcc43_real.gcc.override {
|
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
});
|
|
|
|
|
2009-07-26 12:14:17 +01:00
|
|
|
gfortran44 = wrapGCC (gcc44.gcc.override {
|
2009-07-24 23:19:07 +01:00
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
});
|
|
|
|
|
2009-07-28 09:13:11 +01:00
|
|
|
gcj = gcj44;
|
2009-05-10 10:11:41 +01:00
|
|
|
|
2009-07-03 19:54:28 +01:00
|
|
|
gcj44 = wrapGCC (gcc44.gcc.override {
|
|
|
|
name = "gcj";
|
|
|
|
langJava = true;
|
|
|
|
langFortran = false;
|
|
|
|
langCC = true;
|
2009-07-27 16:40:01 +01:00
|
|
|
langC = false;
|
2009-07-03 19:54:28 +01:00
|
|
|
profiledCompiler = false;
|
2009-07-28 09:11:10 +01:00
|
|
|
inherit zip unzip zlib boehmgc gettext pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2009-07-28 10:23:40 +01:00
|
|
|
inherit (gnome) libart_lgpl;
|
2009-11-05 21:43:00 +00:00
|
|
|
inherit (xlibs) libX11 libXt libSM libICE libXtst libXi libXrender
|
2009-07-30 09:32:43 +01:00
|
|
|
libXrandr xproto renderproto xextproto inputproto randrproto;
|
2009-07-03 19:54:28 +01:00
|
|
|
});
|
|
|
|
|
2009-11-06 09:44:03 +00:00
|
|
|
/*
|
|
|
|
Broken; fails because of unability to find its own symbols during linking
|
|
|
|
|
2009-11-05 21:08:53 +00:00
|
|
|
gcl = builderDefsPackage ../development/compilers/gcl {
|
2009-11-06 07:39:59 +00:00
|
|
|
inherit mpfr m4 binutils fetchcvs emacs;
|
|
|
|
inherit (xlibs) libX11 xproto inputproto libXi
|
|
|
|
libXext xextproto libXt libXaw libXmu;
|
2009-11-06 09:44:03 +00:00
|
|
|
stdenv = (overrideGCC stdenv gcc34) // {gcc = gcc33;};
|
2009-11-05 21:08:53 +00:00
|
|
|
};
|
2009-11-06 09:44:03 +00:00
|
|
|
*/
|
2009-11-05 21:08:53 +00:00
|
|
|
|
2009-09-17 12:45:20 +01:00
|
|
|
# GHC
|
|
|
|
|
|
|
|
# GHC binaries are around for bootstrapping purposes
|
|
|
|
|
2009-04-19 11:27:22 +01:00
|
|
|
#ghc = haskellPackages.ghc;
|
2007-01-24 14:26:16 +00:00
|
|
|
|
2009-04-16 23:06:33 +01:00
|
|
|
ghc642Binary = lowPrio (import ../development/compilers/ghc/6.4.2-binary.nix {
|
|
|
|
inherit fetchurl stdenv ncurses gmp;
|
|
|
|
readline = if stdenv.system == "i686-linux" then readline4 else readline;
|
|
|
|
perl = perl58;
|
|
|
|
});
|
2007-10-19 14:24:29 +01:00
|
|
|
|
2009-04-17 20:43:05 +01:00
|
|
|
ghc6101Binary = lowPrio (import ../development/compilers/ghc/6.10.1-binary.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
});
|
2008-06-04 10:42:25 +01:00
|
|
|
|
2009-04-16 23:00:41 +01:00
|
|
|
ghc6102Binary = lowPrio (import ../development/compilers/ghc/6.10.2-binary.nix {
|
2009-04-16 20:59:41 +01:00
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
2008-07-25 15:21:54 +01:00
|
|
|
});
|
2008-07-21 15:43:33 +01:00
|
|
|
|
2009-09-17 12:45:20 +01:00
|
|
|
# For several compiler versions, we export a large set of Haskell-related
|
|
|
|
# packages.
|
|
|
|
|
2009-07-20 14:02:56 +01:00
|
|
|
haskellPackages = haskellPackages_ghc6104;
|
2009-04-18 13:47:11 +01:00
|
|
|
|
2009-04-19 11:27:22 +01:00
|
|
|
haskellPackages_ghc642 = import ./haskell-packages.nix {
|
2009-04-18 13:47:11 +01:00
|
|
|
inherit pkgs;
|
2009-04-19 11:27:22 +01:00
|
|
|
ghc = import ../development/compilers/ghc/6.4.2.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses readline m4 gmp;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2007-05-06 16:39:39 +01:00
|
|
|
};
|
|
|
|
|
2009-04-19 11:27:22 +01:00
|
|
|
haskellPackages_ghc661 = import ./haskell-packages.nix {
|
2009-04-18 13:47:11 +01:00
|
|
|
inherit pkgs;
|
2009-04-19 11:27:22 +01:00
|
|
|
ghc = import ../development/compilers/ghc/6.6.1.nix {
|
|
|
|
inherit fetchurl stdenv readline perl58 gmp ncurses m4;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2006-12-15 13:32:55 +00:00
|
|
|
};
|
|
|
|
|
2009-04-19 11:27:22 +01:00
|
|
|
haskellPackages_ghc682 = import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.8.2.nix {
|
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses m4;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
2009-05-18 14:53:01 +01:00
|
|
|
|
2009-04-19 11:27:22 +01:00
|
|
|
haskellPackages_ghc683 = recurseIntoAttrs (import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.8.3.nix {
|
|
|
|
inherit fetchurl stdenv readline perl gmp ncurses m4;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
haddock = import ../development/tools/documentation/haddock/boot.nix {
|
|
|
|
inherit gmp;
|
|
|
|
cabal = import ../development/libraries/haskell/cabal/cabal.nix {
|
2009-04-23 19:44:52 +01:00
|
|
|
inherit stdenv fetchurl lib;
|
2009-04-19 11:27:22 +01:00
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2009-07-20 14:02:56 +01:00
|
|
|
haskellPackages_ghc6101 = import ./haskell-packages.nix {
|
2009-04-19 12:43:38 +01:00
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.10.1.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
2009-07-20 14:02:56 +01:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2009-07-20 14:02:56 +01:00
|
|
|
haskellPackages_ghc6102 = import ./haskell-packages.nix {
|
2009-04-19 11:27:22 +01:00
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.10.2.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
2005-08-17 15:29:04 +01:00
|
|
|
};
|
2009-07-20 14:02:56 +01:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-05-10 22:04:58 +01:00
|
|
|
haskellPackages_ghc6103 = recurseIntoAttrs (import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.10.3.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-07-20 14:02:56 +01:00
|
|
|
haskellPackages_ghc6104 = recurseIntoAttrs (import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.10.4.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-10-15 13:49:37 +01:00
|
|
|
haskellPackages_ghc6121 = import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.12.1.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-09-17 12:45:20 +01:00
|
|
|
haskellPackages_ghcHEAD = import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.11.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
inherit (haskellPackages) happy alex; # hope these aren't required for the final version
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-07-09 23:30:19 +01:00
|
|
|
falcon = builderDefsPackage (import ../development/interpreters/falcon) {
|
|
|
|
inherit cmake;
|
|
|
|
};
|
|
|
|
|
2009-11-14 20:14:28 +00:00
|
|
|
go = import ../development/compilers/go {
|
2009-11-16 18:42:43 +00:00
|
|
|
inherit stdenv fetchhg glibc bison ed which bash makeWrapper;
|
2009-11-14 20:14:28 +00:00
|
|
|
};
|
|
|
|
|
2009-02-19 13:32:07 +00:00
|
|
|
gprolog = import ../development/compilers/gprolog {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-13 08:43:38 +00:00
|
|
|
gwt = import ../development/compilers/gwt {
|
2009-10-19 14:14:23 +01:00
|
|
|
inherit stdenv fetchurl jdk;
|
2008-02-13 08:43:38 +00:00
|
|
|
inherit (gtkLibs) glib gtk pango atk;
|
|
|
|
inherit (xlibs) libX11 libXt;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
ikarus = import ../development/compilers/ikarus {
|
|
|
|
inherit stdenv fetchurl gmp;
|
2008-05-06 08:03:41 +01:00
|
|
|
};
|
|
|
|
|
2007-08-20 11:34:49 +01:00
|
|
|
#TODO add packages http://cvs.haskell.org/Hugs/downloads/2006-09/packages/ and test
|
|
|
|
# commented out because it's using the new configuration style proposal which is unstable
|
2008-12-20 01:20:35 +00:00
|
|
|
hugs = import ../development/compilers/hugs {
|
|
|
|
inherit lib fetchurl stdenv composableDerivation;
|
|
|
|
};
|
2007-08-20 11:34:49 +01:00
|
|
|
|
2009-10-02 13:12:23 +01:00
|
|
|
openjdkDarwin = import ../development/compilers/openjdk-darwin {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
j2sdk14x = (
|
2007-04-16 11:07:06 +01:00
|
|
|
assert system == "i686-linux";
|
|
|
|
import ../development/compilers/jdk/default-1.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
2009-08-25 07:36:05 +01:00
|
|
|
});
|
2007-03-05 17:13:53 +00:00
|
|
|
|
2009-08-28 07:29:21 +01: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;
|
2009-08-25 07:36:05 +01:00
|
|
|
});
|
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:
|
2009-08-28 07:29:21 +01:00
|
|
|
(assert supportsJDK;
|
2007-05-16 15:49:28 +01:00
|
|
|
(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;
|
2009-08-25 07:40:26 +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-08-14 23:04:30 +01:00
|
|
|
lazarus = builderDefsPackage (import ../development/compilers/fpc/lazarus.nix) {
|
2008-04-08 16:11:34 +01:00
|
|
|
inherit fpc makeWrapper;
|
2009-07-14 21:31:11 +01:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2008-04-08 16:11:34 +01:00
|
|
|
inherit (xlibs) libXi inputproto libX11 xproto libXext xextproto;
|
|
|
|
};
|
|
|
|
|
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-08-14 23:04:30 +01:00
|
|
|
llvmGCC = builderDefsPackage (import ../development/compilers/llvm/llvm-gcc.nix) {
|
2008-04-02 20:55:40 +01:00
|
|
|
flex=flex2535;
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit llvm perl libtool bison;
|
2008-04-02 20:55:40 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
mono = import ../development/compilers/mono {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv bison pkgconfig gettext perl glib;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
monoDLLFixer = import ../build-support/mono-dll-fixer {
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-01-25 11:56:36 +00:00
|
|
|
monotone = import ../applications/version-management/monotone {
|
2009-03-25 16:06:00 +00:00
|
|
|
inherit stdenv fetchurl boost zlib botan libidn pcre
|
2009-10-15 12:27:25 +01:00
|
|
|
sqlite lib perl;
|
2009-03-25 16:06:00 +00:00
|
|
|
lua = lua5;
|
2008-01-25 11:56:36 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
monotoneViz = builderDefsPackage (import ../applications/version-management/monotone-viz/mtn-head.nix) {
|
2009-07-07 11:04:32 +01:00
|
|
|
inherit ocaml lablgtk graphviz pkgconfig autoconf automake libtool;
|
2008-06-11 07:12:18 +01:00
|
|
|
inherit (gnome) gtk libgnomecanvas glib;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-11 07:12:18 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
viewMtn = builderDefsPackage (import ../applications/version-management/viewmtn/0.10.nix)
|
2008-06-12 16:59:59 +01:00
|
|
|
{
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit monotone flup cheetahTemplate highlight ctags
|
2008-09-24 09:50:32 +01:00
|
|
|
makeWrapper graphviz which python;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-12 16:59:59 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
nasm = import ../development/compilers/nasm {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-14 16:21:45 +01:00
|
|
|
ocaml = ocaml_3_11_1;
|
2004-07-16 23:58:15 +01:00
|
|
|
|
2009-10-14 16:21:45 +01:00
|
|
|
ocaml_3_08_0 = import ../development/compilers/ocaml/3.08.0.nix {
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit fetchurl stdenv fetchcvs x11 ncurses;
|
2009-10-14 16:21:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
ocaml_3_09_1 = import ../development/compilers/ocaml/3.09.1.nix {
|
|
|
|
inherit fetchurl stdenv x11 ncurses;
|
|
|
|
};
|
|
|
|
|
|
|
|
ocaml_3_10_0 = import ../development/compilers/ocaml/3.10.0.nix {
|
|
|
|
inherit fetchurl stdenv x11 ncurses;
|
|
|
|
};
|
|
|
|
|
|
|
|
ocaml_3_11_1 = import ../development/compilers/ocaml/3.11.1.nix {
|
2007-11-17 14:34:34 +00:00
|
|
|
inherit fetchurl stdenv x11 ncurses;
|
2006-03-01 09:18:22 +00: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;
|
2009-10-14 16:21:45 +01:00
|
|
|
ocaml = ocaml_3_08_0;
|
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 {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit fetchurl stdenv flex bison bigloo lib curl composableDerivation;
|
2008-02-08 01:57:31 +00:00
|
|
|
# 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
|
|
|
};
|
|
|
|
|
2009-05-31 07:07:25 +01:00
|
|
|
sbcl = builderDefsPackage (import ../development/compilers/sbcl) {
|
|
|
|
inherit makeWrapper;
|
2009-11-06 10:13:00 +00:00
|
|
|
clisp = clisp_2_44_1;
|
2009-05-31 07:07:25 +01: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;
|
|
|
|
};
|
|
|
|
|
2009-03-19 14:34:16 +00:00
|
|
|
strategoPackages = strategoPackages017;
|
2005-03-03 17:19:58 +00:00
|
|
|
|
2009-03-19 14:34:16 +00:00
|
|
|
strategoPackages016 = import ../development/compilers/strategoxt/0.16.nix {
|
|
|
|
inherit fetchurl pkgconfig aterm getopt;
|
2006-06-23 21:11:36 +01:00
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
2005-10-31 14:28:11 +00:00
|
|
|
};
|
|
|
|
|
2009-03-19 14:34:16 +00:00
|
|
|
strategoPackages017 = import ../development/compilers/strategoxt/0.17.nix {
|
2009-03-19 14:46:38 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig aterm getopt jdk;
|
2005-06-30 17:54:25 +01:00
|
|
|
};
|
|
|
|
|
2009-09-15 12:36:41 +01:00
|
|
|
strategoPackages018 = import ../development/compilers/strategoxt/0.18.nix {
|
2009-11-09 14:43:01 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig aterm getopt jdk makeStaticBinaries;
|
2009-09-15 12:36:41 +01:00
|
|
|
};
|
|
|
|
|
2009-04-03 10:22:20 +01:00
|
|
|
metaBuildEnv = import ../development/compilers/meta-environment/meta-build-env {
|
2009-11-18 09:39:59 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-04-17 14:48:22 +01:00
|
|
|
};
|
2009-04-03 10:22:20 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
swiProlog = import ../development/compilers/swi-prolog {
|
2008-03-06 21:53:54 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-31 16:52:44 +00:00
|
|
|
tinycc = import ../development/compilers/tinycc {
|
|
|
|
inherit fetchurl stdenv perl texinfo;
|
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
visualcpp = (import ../development/compilers/visual-c++ {
|
2006-06-05 20:26:11 +01:00
|
|
|
inherit fetchurl stdenv cabextract;
|
2009-08-25 06:46:48 +01:00
|
|
|
});
|
2006-06-02 10:56:10 +01:00
|
|
|
|
2008-01-29 11:46:34 +00:00
|
|
|
webdsl = import ../development/compilers/webdsl {
|
2009-03-19 16:04:32 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig strategoPackages;
|
2008-01-29 11:46:34 +00:00
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
win32hello = import ../development/compilers/visual-c++/test {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv visualcpp windowssdk;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2006-09-15 16:28:53 +01:00
|
|
|
|
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;
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit stdenv binutils coreutils;
|
2008-03-04 16:20:11 +00:00
|
|
|
};
|
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
wrapGCC = wrapGCCWith (import ../build-support/gcc-wrapper) glibc;
|
2008-06-26 12:07:46 +01:00
|
|
|
|
2009-11-15 05:28:35 +00:00
|
|
|
wrapGCCCross =
|
|
|
|
{gcc, libc, binutils, cross, shell ? "", name ? "gcc-cross-wrapper"}:
|
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
forceBuildDrv (import ../build-support/gcc-cross-wrapper {
|
2009-11-15 05:28:35 +00:00
|
|
|
nativeTools = false;
|
|
|
|
nativeLibc = false;
|
2009-11-21 02:42:52 +00:00
|
|
|
noLibc = (libc == null);
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv gcc binutils libc shell name cross;
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
});
|
2009-11-15 05:28:35 +00: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
|
|
|
|
|
2009-08-13 15:32:52 +01:00
|
|
|
acl2 = builderDefsPackage ../development/interpreters/acl2 {
|
|
|
|
inherit sbcl;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
|
|
|
clisp = import ../development/interpreters/clisp {
|
2008-06-18 23:48:34 +01:00
|
|
|
inherit fetchurl stdenv libsigsegv gettext
|
2009-05-31 07:07:25 +01:00
|
|
|
readline ncurses coreutils pcre zlib libffi libffcall;
|
|
|
|
inherit (xlibs) libX11 libXau libXt xproto
|
|
|
|
libXpm libXext xextproto;
|
|
|
|
};
|
|
|
|
|
|
|
|
# compatibility issues in 2.47 - at list 2.44.1 is known good
|
|
|
|
# for sbcl bootstrap
|
|
|
|
clisp_2_44_1 = import ../development/interpreters/clisp/2.44.1.nix {
|
2009-08-10 06:20:14 +01:00
|
|
|
inherit fetchurl stdenv gettext
|
2009-05-31 07:07:25 +01:00
|
|
|
readline ncurses coreutils pcre zlib libffi libffcall;
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit (xlibs) libX11 libXau libXt xproto
|
2008-08-08 23:37:37 +01:00
|
|
|
libXpm libXext xextproto;
|
2009-08-10 06:20:14 +01:00
|
|
|
libsigsegv = libsigsegv_25;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2009-05-05 16:46:24 +01:00
|
|
|
erlang = import ../development/interpreters/erlang {
|
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
|
|
|
};
|
|
|
|
|
2009-09-16 13:46:17 +01:00
|
|
|
guile_1_9 = import ../development/interpreters/guile/1.9.nix {
|
|
|
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper
|
|
|
|
libunistring pkgconfig boehmgc;
|
|
|
|
};
|
|
|
|
|
2009-10-28 16:16:23 +00:00
|
|
|
guile_1_9_coverage = import ../development/interpreters/guile/1.9.nix {
|
|
|
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper
|
|
|
|
libunistring pkgconfig boehmgc;
|
|
|
|
inherit (releaseTools) coverageAnalysis;
|
|
|
|
};
|
|
|
|
|
2008-11-11 08:53:47 +00:00
|
|
|
io = builderDefsPackage (import ../development/interpreters/io) {
|
|
|
|
inherit sqlite zlib gmp libffi cairo ncurses freetype mesa
|
|
|
|
libpng libtiff libjpeg readline libsndfile libxml2
|
2009-04-16 20:25:22 +01:00
|
|
|
freeglut e2fsprogs libsamplerate pcre libevent libedit;
|
2008-11-11 08:53:47 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-07-15 10:58:30 +01:00
|
|
|
maude = import ../development/interpreters/maude {
|
2009-07-03 12:31:33 +01:00
|
|
|
inherit fetchurl stdenv flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper;
|
2008-07-15 10:58:30 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 15:04:55 +01:00
|
|
|
octave = import ../development/interpreters/octave {
|
2009-04-09 13:19:57 +01:00
|
|
|
inherit stdenv fetchurl gfortran readline ncurses perl flex qhull texinfo;
|
2006-10-18 15:04:55 +01:00
|
|
|
};
|
|
|
|
|
2008-12-02 22:55:45 +00:00
|
|
|
# mercurial (hg) bleeding edge version
|
|
|
|
octaveHG = import ../development/interpreters/octave/hg.nix {
|
2009-04-09 16:24:33 +01:00
|
|
|
inherit fetchurl readline ncurses perl flex atlas getConfig glibc qhull gfortran;
|
2008-12-02 22:55:45 +00:00
|
|
|
inherit automake autoconf bison gperf lib python gnuplot texinfo texLive; # for dev Version
|
2009-04-08 21:06:03 +01:00
|
|
|
inherit stdenv;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
#stdenv = overrideGCC stdenv gcc40;
|
2008-12-02 22:55:45 +00:00
|
|
|
inherit (bleedingEdgeRepos) sourceByName;
|
|
|
|
};
|
|
|
|
|
2009-10-19 10:17:10 +01:00
|
|
|
perl58 = import ../development/interpreters/perl-5.8 {
|
2008-10-09 16:39:09 +01:00
|
|
|
inherit fetchurl stdenv;
|
2009-10-19 10:17:10 +01:00
|
|
|
impureLibcPath = if stdenv.isLinux then null else "/usr";
|
2008-10-09 16:39:09 +01:00
|
|
|
};
|
2008-02-22 14:43:00 +00:00
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
perl510 = makeOverridable (import ../development/interpreters/perl-5.10) {
|
2009-10-02 20:05:39 +01:00
|
|
|
inherit stdenv;
|
2009-10-19 10:17:10 +01:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
impureLibcPath = if stdenv.isLinux then null else "/usr";
|
2009-10-02 20:05:39 +01:00
|
|
|
};
|
|
|
|
|
2009-11-05 09:11:25 +00:00
|
|
|
perl = if system != "i686-cygwin" then perl510 else sysPerl;
|
|
|
|
|
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
|
2008-12-20 01:20:35 +00:00
|
|
|
stdenv fetchurl lib composableDerivation autoconf automake
|
2008-06-06 14:03:55 +01:00
|
|
|
flex bison apacheHttpd mysql libxml2 # gettext
|
2009-09-25 20:39:05 +01:00
|
|
|
zlib curl gd postgresql openssl pkgconfig sqlite getConfig;
|
2008-01-03 10:46:18 +00:00
|
|
|
};
|
2007-11-05 21:13:16 +00:00
|
|
|
|
2008-07-17 10:57:47 +01:00
|
|
|
pltScheme = builderDefsPackage (import ../development/interpreters/plt-scheme) {
|
2008-07-18 21:11:02 +01:00
|
|
|
inherit cairo fontconfig freetype libjpeg libpng openssl
|
2008-07-17 10:57:47 +01:00
|
|
|
perl mesa zlib which;
|
2008-07-18 21:11:02 +01:00
|
|
|
inherit (xorg) libX11 libXaw libXft libXrender libICE xproto
|
|
|
|
renderproto pixman libSM libxcb libXext xextproto libXmu
|
2008-07-17 10:57:47 +01:00
|
|
|
libXt;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-07-17 10:57:47 +01:00
|
|
|
|
2008-10-15 21:01:39 +01:00
|
|
|
python = if getConfig ["python" "full"] false then pythonFull else pythonBase;
|
|
|
|
python25 = if getConfig ["python" "full"] false then python25Full else python25Base;
|
|
|
|
pythonBase = python25Base;
|
|
|
|
pythonFull = python25Full;
|
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-10-15 21:01:39 +01:00
|
|
|
python25Base = composedArgsAndFun (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-11-04 21:24:10 +00:00
|
|
|
python25Full = python25Base.passthru.function {
|
2009-06-01 01:03:08 +01:00
|
|
|
# FIXME: We lack ncurses support, needed, e.g., for `gpsd'.
|
2008-10-22 23:08:56 +01:00
|
|
|
db4 = if getConfig ["python" "db4Support"] true then db4 else null;
|
|
|
|
sqlite = if getConfig ["python" "sqliteSupport"] true then sqlite else null;
|
|
|
|
readline = if getConfig ["python" "readlineSupport"] true then readline else null;
|
|
|
|
openssl = if getConfig ["python" "opensslSupport"] true then openssl else null;
|
2008-12-01 00:02:25 +00:00
|
|
|
tk = if getConfig ["python" "tkSupport"] true then tk else null;
|
|
|
|
tcl = if getConfig ["python" "tkSupport"] true then tcl else null;
|
|
|
|
libX11 = if getConfig ["python" "tkSupport"] true then xlibs.libX11 else null;
|
|
|
|
xproto = if getConfig ["python" "tkSupport"] true then xlibs.xproto else null;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-03-17 13:45:50 +00:00
|
|
|
|
2009-10-20 00:10:09 +01:00
|
|
|
python26Base = composedArgsAndFun (import ../development/interpreters/python/2.6) {
|
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
2009-10-20 13:13:49 +01:00
|
|
|
arch = if stdenv.isDarwin then darwinArchUtility else null;
|
2009-11-05 13:44:30 +00:00
|
|
|
sw_vers = if stdenv.isDarwin then darwinSwVersUtility else null;
|
2009-10-20 00:10:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
python26Full = python26Base.passthru.function {
|
|
|
|
# FIXME: We lack ncurses support, needed, e.g., for `gpsd'.
|
|
|
|
db4 = if getConfig ["python" "db4Support"] true then db4 else null;
|
|
|
|
sqlite = if getConfig ["python" "sqliteSupport"] true then sqlite else null;
|
|
|
|
readline = if getConfig ["python" "readlineSupport"] true then readline else null;
|
|
|
|
openssl = if getConfig ["python" "opensslSupport"] true then openssl else null;
|
|
|
|
tk = if getConfig ["python" "tkSupport"] true then tk else null;
|
|
|
|
tcl = if getConfig ["python" "tkSupport"] true then tcl else null;
|
|
|
|
libX11 = if getConfig ["python" "tkSupport"] true then xlibs.libX11 else null;
|
|
|
|
xproto = if getConfig ["python" "tkSupport"] true then xlibs.xproto else null;
|
|
|
|
};
|
|
|
|
|
2008-12-02 12:27:05 +00:00
|
|
|
# new python and lib proposal
|
2009-02-05 16:50:45 +00:00
|
|
|
# - adding a python lib to buildinputs should be enough
|
|
|
|
# (handles .pth files by patching site.py
|
2008-12-02 12:27:05 +00:00
|
|
|
# while introducing NIX_PYTHON_SITES describing list of modules)
|
|
|
|
# - adding pyCheck = "import foo" test scripts to ensure libraries can be imported
|
|
|
|
# - providing pythonWrapper so that you can run python and import the selected libraries
|
|
|
|
# feel free to comment on this (experimental)
|
|
|
|
python25New = recurseIntoAttrs ((import ../development/interpreters/python-new/2.5) pkgs);
|
|
|
|
pythonNew = python25New; # the default python
|
|
|
|
|
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
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
Qi = composedArgsAndFun (import ../development/compilers/qi/9.1.nix) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit clisp stdenv fetchurl builderDefs unzip;
|
|
|
|
};
|
2007-11-08 14:34:54 +00:00
|
|
|
|
2009-06-30 15:29:17 +01:00
|
|
|
ruby18 = import ../development/interpreters/ruby {
|
2009-11-20 12:51:14 +00:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib openssl gdbm;
|
2008-04-11 10:32:27 +01:00
|
|
|
};
|
2009-11-20 12:51:14 +00:00
|
|
|
#ruby19 = import ../development/interpreters/ruby/ruby-19.nix { inherit ruby18 fetchurl; };
|
2009-06-30 15:29:17 +01:00
|
|
|
ruby = ruby18;
|
2008-04-11 10:32:27 +01:00
|
|
|
|
2009-06-30 15:29:20 +01:00
|
|
|
rubyLibs = recurseIntoAttrs (import ../development/interpreters/ruby/libs.nix {
|
|
|
|
inherit pkgs stdenv;
|
|
|
|
});
|
2008-04-11 10:32:27 +01:00
|
|
|
|
2008-10-05 10:04:30 +01:00
|
|
|
rake = import ../development/ruby-modules/rake {
|
|
|
|
inherit fetchurl stdenv ruby ;
|
|
|
|
};
|
|
|
|
|
|
|
|
rubySqlite3 = import ../development/ruby-modules/sqlite3 {
|
|
|
|
inherit fetchurl stdenv ruby sqlite;
|
|
|
|
};
|
|
|
|
|
2008-05-07 12:24:28 +01:00
|
|
|
rLang = import ../development/interpreters/r-lang {
|
2008-08-07 09:33:03 +01:00
|
|
|
inherit fetchurl stdenv readline perl gfortran libpng zlib;
|
2008-07-23 14:40:03 +01:00
|
|
|
inherit (xorg) libX11 libXt;
|
2008-08-29 14:53:28 +01:00
|
|
|
withBioconductor = getConfig ["rLang" "withBioconductor"] false;
|
2008-05-07 12:24:28 +01:00
|
|
|
};
|
|
|
|
|
2009-06-30 17:14:37 +01:00
|
|
|
rubygemsFun = ruby: builderDefsPackage (import ../development/interpreters/ruby/gems.nix) {
|
2008-04-11 10:32:27 +01:00
|
|
|
inherit ruby makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2009-06-30 17:14:37 +01:00
|
|
|
rubygems = rubygemsFun ruby;
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2008-08-29 14:53:28 +01:00
|
|
|
rq = import ../applications/networking/cluster/rq {
|
2008-10-05 10:04:30 +01:00
|
|
|
inherit fetchurl stdenv sqlite ruby ;
|
2008-08-29 14:53:28 +01:00
|
|
|
};
|
|
|
|
|
2009-11-09 13:20:27 +00:00
|
|
|
scsh = import ../development/interpreters/scsh {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-11-07 11:17:53 +00: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
|
|
|
xulrunnerWrapper = {application, launcher}:
|
|
|
|
import ../development/interpreters/xulrunner/wrapper {
|
2008-09-04 10:29:09 +01:00
|
|
|
inherit stdenv application launcher;
|
2009-07-08 14:19:44 +01:00
|
|
|
xulrunner = xulrunner35;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-02-17 12:56:35 +00:00
|
|
|
avrgcclibc = import ../development/misc/avr-gcc-with-avr-libc {
|
|
|
|
inherit fetchurl stdenv writeTextFile gnumake coreutils gnutar bzip2
|
|
|
|
gnugrep gnused gawk;
|
2009-09-10 17:57:06 +01:00
|
|
|
gcc = gcc40;
|
2009-02-17 12:56:35 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2009-02-18 11:50:39 +00:00
|
|
|
avr8burnomat = import ../development/misc/avr8-burn-omat {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
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 {
|
2009-04-18 16:42:59 +01:00
|
|
|
inherit getConfig fetchurl lib;
|
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 {
|
2009-09-22 15:40:54 +01:00
|
|
|
inherit fetchurl stdenv unzip ant gcj;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-06-26 17:52:58 +01:00
|
|
|
jruby116 = import ../development/interpreters/jruby {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-05 23:21:24 +01:00
|
|
|
guileCairo = import ../development/guile-modules/guile-cairo {
|
|
|
|
inherit fetchurl stdenv guile pkgconfig cairo guileLib;
|
|
|
|
};
|
|
|
|
|
2009-10-05 23:21:50 +01:00
|
|
|
guileGnome = import ../development/guile-modules/guile-gnome {
|
|
|
|
inherit fetchurl stdenv guile guileLib gwrap pkgconfig guileCairo;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
inherit (gnome) glib gnomevfs gtk libglade libgnome libgnomecanvas
|
|
|
|
libgnomeui pango;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
windowssdk = (
|
2009-08-25 07:36:05 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
2009-03-17 15:42:54 +00:00
|
|
|
antlr = import ../development/tools/parsing/antlr/2.7.7.nix {
|
2009-03-10 12:01:22 +00:00
|
|
|
inherit fetchurl stdenv jdk python;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-10-02 13:27:24 +01:00
|
|
|
antDarwin = apacheAnt.override rec { jdk = openjdkDarwin ; name = "ant-" + jdk.name ; } ;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ant = apacheAnt;
|
2009-07-27 17:05:34 +01:00
|
|
|
apacheAnt = makeOverridable (import ../development/tools/build-managers/apache-ant) {
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
|
2009-09-24 15:49:15 +01:00
|
|
|
apacheAntGcj = import ../development/tools/build-managers/apache-ant/from-source.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit junit; # must be either pre-built or built with GCJ *alone*
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
};
|
|
|
|
|
2008-07-28 22:29:17 +01:00
|
|
|
autobuild = import ../development/tools/misc/autobuild {
|
|
|
|
inherit fetchurl stdenv makeWrapper perl openssh rsync;
|
|
|
|
};
|
|
|
|
|
2008-07-01 09:31:48 +01:00
|
|
|
autoconf = import ../development/tools/misc/autoconf {
|
2009-07-28 20:43:40 +01:00
|
|
|
inherit fetchurl stdenv perl m4;
|
2008-06-16 14:15:55 +01:00
|
|
|
};
|
|
|
|
|
2009-01-03 13:44:04 +00:00
|
|
|
autoconf213 = import ../development/tools/misc/autoconf/2.13.nix {
|
|
|
|
inherit fetchurl stdenv perl m4 lzma;
|
|
|
|
};
|
|
|
|
|
2009-04-05 19:13:59 +01:00
|
|
|
automake = automake110x;
|
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 {
|
2009-04-05 19:13:59 +01:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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 {
|
2009-04-05 19:13:59 +01:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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 {
|
2009-04-05 19:13:59 +01:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2008-02-12 14:00:26 +00:00
|
|
|
};
|
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
automake111x = import ../development/tools/misc/automake/automake-1.11.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-12-20 01:20:35 +00:00
|
|
|
avrdude = import ../development/tools/misc/avrdude {
|
|
|
|
inherit lib fetchurl stdenv flex yacc composableDerivation texLive;
|
|
|
|
};
|
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
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
binutilsCross = cross : forceBuildDrv (import ../development/tools/misc/binutils {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv fetchurl cross;
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
noSysDirs = true;
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
});
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
|
2008-08-25 14:25:07 +01:00
|
|
|
bison = bison23;
|
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-11-03 18:25:17 +00:00
|
|
|
bison24 = import ../development/tools/parsing/bison/bison-2.4.nix {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
|
|
|
|
2008-09-01 16:11:09 +01:00
|
|
|
buildbot = import ../development/tools/build-managers/buildbot {
|
|
|
|
inherit fetchurl stdenv python twisted makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-08-06 21:39:01 +01:00
|
|
|
byacc = import ../development/tools/parsing/byacc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-02 11:44:27 +00:00
|
|
|
camlp5_strict = import ../development/tools/ocaml/camlp5 {
|
|
|
|
inherit stdenv fetchurl ocaml;
|
|
|
|
};
|
|
|
|
|
|
|
|
camlp5_transitional = import ../development/tools/ocaml/camlp5 {
|
|
|
|
inherit stdenv fetchurl ocaml;
|
|
|
|
transitional = true;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-05-07 19:28:19 +01:00
|
|
|
inherit fetchurl stdenv bleedingEdgeRepos automake autoconf;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2009-05-06 17:06:45 +01:00
|
|
|
ctagsWrapped = import ../development/tools/misc/ctags/wrapped.nix {
|
2009-11-20 12:51:14 +00:00
|
|
|
inherit pkgs ctags writeScriptBin;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cmake = import ../development/tools/build-managers/cmake {
|
2009-01-12 21:12:07 +00:00
|
|
|
inherit fetchurl stdenv replace ncurses;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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-10-28 08:43:44 +00:00
|
|
|
cflow = import ../development/tools/misc/cflow {
|
|
|
|
inherit fetchurl stdenv gettext emacs;
|
|
|
|
};
|
|
|
|
|
2008-08-25 16:34:14 +01:00
|
|
|
cscope = import ../development/tools/misc/cscope {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig emacs;
|
|
|
|
};
|
|
|
|
|
2008-04-14 12:47:26 +01:00
|
|
|
dejagnu = import ../development/tools/misc/dejagnu {
|
|
|
|
inherit fetchurl stdenv expect makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-07-10 17:56:51 +01:00
|
|
|
ddd = import ../development/tools/misc/ddd {
|
|
|
|
inherit fetchurl stdenv lesstif ncurses;
|
2008-07-23 14:40:03 +01:00
|
|
|
inherit (xlibs) libX11 libXt;
|
2008-07-10 17:56:51 +01:00
|
|
|
};
|
|
|
|
|
2009-10-20 12:54:49 +01:00
|
|
|
distcc = import ../development/tools/misc/distcc {
|
2009-10-29 11:58:07 +00:00
|
|
|
inherit fetchurl stdenv popt python;
|
|
|
|
avahi = if getPkgConfig "distcc" "avahi" false then avahi else null;
|
|
|
|
pkgconfig = if getPkgConfig "distcc" "gtk" false then pkgconfig else null;
|
|
|
|
gtk = if getPkgConfig "distcc" "gtk" false then gtkLibs.gtk else null;
|
2009-10-20 12:54:49 +01:00
|
|
|
};
|
|
|
|
|
2009-04-12 20:34:20 +01:00
|
|
|
docutils = builderDefsPackage (import ../development/tools/documentation/docutils) {
|
|
|
|
inherit python pil makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-10-23 15:23:12 +01:00
|
|
|
doxygen = import ../development/tools/documentation/doxygen {
|
|
|
|
inherit fetchurl stdenv graphviz perl flex bison gnumake;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
2009-03-05 15:17:53 +00:00
|
|
|
qt = if getPkgConfig "doxygen" "qt4" true then qt4 else null;
|
2008-10-23 15:23:12 +01:00
|
|
|
};
|
|
|
|
|
2009-08-13 08:55:11 +01:00
|
|
|
eggdbus = import ../development/tools/misc/eggdbus {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus dbus_glib glib;
|
2009-08-13 08:55:11 +01:00
|
|
|
};
|
|
|
|
|
2009-02-17 16:42:51 +00:00
|
|
|
elfutils = import ../development/tools/misc/elfutils {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2007-03-21 19:25:58 +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;
|
|
|
|
};
|
|
|
|
|
2009-06-18 13:51:51 +01:00
|
|
|
pmd = import ../development/tools/analysis/pmd {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
jdepend = import ../development/tools/analysis/jdepend {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
checkstyle = import ../development/tools/analysis/checkstyle {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-11-25 23:13:28 +00:00
|
|
|
# Note: 2.5.4a is much older than 2.5.35 but happens first when sorting
|
|
|
|
# alphabetically, hence the low priority.
|
|
|
|
flex254a = lowPrio (import ../development/tools/parsing/flex/flex-2.5.4a.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv yacc;
|
2009-11-25 23:13:28 +00:00
|
|
|
});
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
m4 = gnum4;
|
2006-12-13 22:29:40 +00:00
|
|
|
|
2009-07-13 10:05:56 +01:00
|
|
|
global = import ../development/tools/misc/global {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
gnum4 = makeOverridable (import ../development/tools/misc/gnum4) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2009-01-19 18:49:58 +00:00
|
|
|
gnumake = useFromStdenv "gnumake"
|
|
|
|
(import ../development/tools/build-managers/gnumake {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2008-10-13 10:04:56 +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
|
|
|
|
2009-04-21 20:47:30 +01:00
|
|
|
gtkdialog = import ../development/tools/misc/gtkdialog {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-01-19 17:05:54 +00:00
|
|
|
};
|
|
|
|
|
2009-04-18 13:47:11 +01: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 ];
|
|
|
|
};
|
2009-04-18 13:47:11 +01:00
|
|
|
*/
|
2008-03-21 01:24:43 +00:00
|
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv guile libffi pkgconfig guileLib glib;
|
2008-04-09 08:56:52 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
help2man = import ../development/tools/misc/help2man {
|
2009-04-20 13:08:09 +01:00
|
|
|
inherit fetchurl stdenv perl gettext;
|
2009-04-20 13:49:35 +01:00
|
|
|
inherit (perlPackages) LocaleGettext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
iconnamingutils = import ../development/tools/misc/icon-naming-utils {
|
2009-04-20 13:08:09 +01:00
|
|
|
inherit fetchurl stdenv perl;
|
2009-04-20 13:49:35 +01:00
|
|
|
inherit (perlPackages) XMLSimple;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-03-05 18:52:31 +00:00
|
|
|
|
2009-10-28 13:11:09 +00:00
|
|
|
indent = import ../development/tools/misc/indent {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-03-30 16:31:47 +01:00
|
|
|
libtool = libtool_2;
|
|
|
|
|
2009-03-21 19:52:11 +00:00
|
|
|
libtool_1_5 = import ../development/tools/misc/libtool {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv perl m4;
|
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2009-03-30 16:31:47 +01:00
|
|
|
libtool_2 = import ../development/tools/misc/libtool/libtool2.nix {
|
2008-11-03 10:15:37 +00:00
|
|
|
inherit fetchurl stdenv lzma perl m4;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
ltrace = composedArgsAndFun (import ../development/tools/misc/ltrace/0.5-3deb.nix) {
|
2009-02-17 16:42:51 +00:00
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps lib elfutils;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-03 08:19:00 +00:00
|
|
|
|
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
|
|
|
|
2009-11-10 14:59:39 +00:00
|
|
|
openafsClient = import ../servers/openafs-client {
|
|
|
|
inherit stdenv fetchurl autoconf automake flex yacc;
|
|
|
|
inherit kernel_2_6_28 glibc ncurses perl krb5;
|
|
|
|
};
|
|
|
|
|
2009-09-20 17:43:16 +01:00
|
|
|
openocd = import ../development/tools/misc/openocd {
|
2009-09-24 22:28:27 +01:00
|
|
|
inherit fetchurl stdenv libftdi;
|
2009-09-20 17:43:16 +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
|
|
|
|
2009-06-13 17:10:24 +01:00
|
|
|
patchelf05 = import ../development/tools/misc/patchelf/0.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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.
|
|
|
|
*/
|
2009-11-21 10:44:22 +00:00
|
|
|
pkgconfigReal = 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
|
|
|
|
2009-11-21 10:44:22 +00:00
|
|
|
/* Make pkgconfig always return a buildDrv, never a proper hostDrv,
|
|
|
|
because most usage of pkgconfig as buildInput (inheritance of
|
2009-11-21 15:39:20 +00:00
|
|
|
pre-cross nixpkgs) means using it using as buildNativeInput
|
|
|
|
cross_renaming: we should make all programs use pkgconfig as
|
|
|
|
buildNativeInput after the renaming.
|
|
|
|
*/
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
pkgconfig = forceBuildDrv pkgconfigReal;
|
2009-11-21 10:44:22 +00:00
|
|
|
|
2009-04-21 20:47:51 +01:00
|
|
|
radare = import ../development/tools/analysis/radare {
|
|
|
|
inherit stdenv fetchurl pkgconfig libusb readline gtkdialog python
|
2009-04-21 22:31:08 +01:00
|
|
|
ruby libewf perl;
|
2009-04-21 20:47:51 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) vte;
|
|
|
|
lua = lua5;
|
2009-09-20 10:33:37 +01:00
|
|
|
useX11 = getConfig ["radare" "useX11"] false;
|
|
|
|
pythonBindings = getConfig ["radare" "pythonBindings"] false;
|
|
|
|
rubyBindings = getConfig ["radare" "rubyBindings"] false;
|
|
|
|
luaBindings = getConfig ["radare" "luaBindings"] false;
|
2009-04-21 20:47:51 +01:00
|
|
|
};
|
|
|
|
|
2009-01-27 14:00:54 +00:00
|
|
|
ragel = import ../development/tools/parsing/ragel {
|
|
|
|
inherit composableDerivation fetchurl transfig texLive;
|
|
|
|
};
|
|
|
|
|
2009-10-11 16:03:13 +01:00
|
|
|
remake = import ../development/tools/build-managers/remake {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
# couldn't find the source yet
|
2009-03-27 09:39:19 +00:00
|
|
|
seleniumRCBin = import ../development/tools/selenium/remote-control {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
2009-03-27 09:39:19 +00:00
|
|
|
jre = jdk;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-03 14:33:54 +00:00
|
|
|
|
2008-09-01 16:11:09 +01:00
|
|
|
scons = import ../development/tools/build-managers/scons {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +01:00
|
|
|
|
2009-02-17 10:11:33 +00:00
|
|
|
sloccount = import ../development/tools/misc/sloccount {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-08-22 19:33:52 +01:00
|
|
|
sparse = import ../development/tools/analysis/sparse {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-05-03 15:35:43 +01:00
|
|
|
spin = import ../development/tools/analysis/spin {
|
|
|
|
inherit fetchurl stdenv flex yacc tk;
|
|
|
|
};
|
|
|
|
|
2008-07-11 10:13:34 +01:00
|
|
|
splint = import ../development/tools/analysis/splint {
|
|
|
|
inherit fetchurl stdenv flex;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-10-02 12:49:21 +01:00
|
|
|
inherit fetchurl stdenv boost;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-09-22 12:59:41 +01:00
|
|
|
swigWithJava = swig;
|
|
|
|
|
2008-10-16 12:01:10 +01:00
|
|
|
swftools = import ../tools/video/swftools {
|
|
|
|
inherit fetchurl stdenv x264 zlib libjpeg freetype giflib;
|
|
|
|
};
|
|
|
|
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo49 = import ../development/tools/misc/texinfo/4.9.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
texinfo = makeOverridable (import ../development/tools/misc/texinfo) {
|
2008-09-22 22:21:39 +01:00
|
|
|
inherit fetchurl stdenv ncurses lzma;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
texi2html = import ../development/tools/misc/texi2html {
|
|
|
|
inherit fetchurl stdenv perl;
|
2009-09-10 17:57:42 +01: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
|
|
|
gdb = import ../development/tools/misc/gdb {
|
2009-10-28 22:25:50 +00:00
|
|
|
inherit fetchurl stdenv ncurses gmp mpfr expat texinfo;
|
2009-03-25 16:21:25 +00:00
|
|
|
readline = readline5;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
xxdiff = builderDefsPackage (import ../development/tools/misc/xxdiff/3.2.nix) {
|
2008-05-25 21:43:56 +01:00
|
|
|
flex = flex2535;
|
|
|
|
qt = qt3;
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit pkgconfig makeWrapper bison python;
|
2008-05-25 21:43:56 +01:00
|
|
|
inherit (xlibs) libXext libX11;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-25 21:43:56 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
yacc = bison;
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2008-12-22 18:36:02 +00:00
|
|
|
yodl = import ../development/tools/misc/yodl {
|
|
|
|
inherit stdenv fetchurl perl;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-03-30 16:55:10 +01:00
|
|
|
inherit stdenv fetchurl gettext attr libtool;
|
2008-05-19 16:12:03 +01:00
|
|
|
});
|
2007-12-23 15:09:12 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
adns = import ../development/libraries/adns/1.4.nix {
|
2008-06-18 23:48:34 +01:00
|
|
|
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
|
2009-04-28 13:37:09 +01:00
|
|
|
freetype SDL;
|
|
|
|
inherit (xlibs) libX11;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-22 12:05:36 +00:00
|
|
|
|
2009-10-04 22:31:34 +01:00
|
|
|
amrnb = import ../development/libraries/amrnb {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
amrwb = import ../development/libraries/amrwb {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-08-28 17:45:56 +01:00
|
|
|
apr = makeOverridable (import ../development/libraries/apr) {
|
2009-08-31 16:03:31 +01:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-28 17:45:56 +01:00
|
|
|
aprutil = makeOverridable (import ../development/libraries/apr-util) {
|
2009-08-31 16:03:31 +01:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apr expat db4;
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
|
2009-03-19 14:34:16 +00:00
|
|
|
aterm = aterm25;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-03-20 16:49:02 +00:00
|
|
|
aterm242fixes = lowPrio (import ../development/libraries/aterm/2.4.2-fixes.nix {
|
2008-06-29 18:07:23 +01:00
|
|
|
inherit fetchurl stdenv;
|
2009-03-20 16:49:02 +00:00
|
|
|
});
|
2005-11-22 12:05:36 +00:00
|
|
|
|
2009-08-28 17:45:56 +01:00
|
|
|
aterm25 = makeOverridable (import ../development/libraries/aterm/2.5.nix) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-06-02 10:56:10 +01:00
|
|
|
|
2009-02-02 15:02:42 +00:00
|
|
|
aterm28 = lowPrio (import ../development/libraries/aterm/2.8.nix {
|
2008-01-29 09:32:56 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-02-02 15:02:42 +00:00
|
|
|
});
|
2008-01-29 09:32:56 +00:00
|
|
|
|
2008-05-20 10:23:18 +01:00
|
|
|
attr = useFromStdenv "attr"
|
2008-05-19 16:12:03 +01:00
|
|
|
(import ../development/libraries/attr {
|
2009-03-30 16:55:10 +01:00
|
|
|
inherit stdenv fetchurl gettext libtool;
|
2008-05-19 16:12:03 +01:00
|
|
|
});
|
2004-01-24 22:50:47 +00:00
|
|
|
|
2009-09-21 10:58:38 +01:00
|
|
|
aubio = import ../development/libraries/aubio {
|
2009-10-14 16:32:37 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig fftw libsndfile libsamplerate python
|
2009-09-21 10:58:38 +01:00
|
|
|
alsaLib jackaudio;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-09-10 17:57:50 +01:00
|
|
|
boolstuff = import ../development/libraries/boolstuff {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-04-04 00:54:20 +01:00
|
|
|
boost_1_36_0 = import ../development/libraries/boost/1.36.0.nix {
|
|
|
|
inherit fetchurl stdenv icu expat zlib bzip2 python;
|
|
|
|
};
|
2009-04-17 14:48:22 +01:00
|
|
|
|
2009-11-20 08:35:28 +00:00
|
|
|
boost = makeOverridable (import ../development/libraries/boost/1.41.0.nix) {
|
2008-08-25 11:00:46 +01:00
|
|
|
inherit fetchurl stdenv icu expat zlib bzip2 python;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-11-14 15:55:57 +00:00
|
|
|
|
2009-04-09 09:43:46 +01:00
|
|
|
# A Boost build with all library variants enabled. Very large (about 250 MB).
|
|
|
|
boostFull = appendToName "full" (boost.override {
|
|
|
|
enableDebug = true;
|
|
|
|
enableSingleThreaded = true;
|
|
|
|
enableStatic = true;
|
|
|
|
});
|
2006-11-14 15:55:57 +00:00
|
|
|
|
2009-03-25 16:06:00 +00:00
|
|
|
botan = builderDefsPackage (import ../development/libraries/botan) {
|
|
|
|
inherit perl;
|
|
|
|
};
|
|
|
|
|
2008-07-15 10:58:30 +01:00
|
|
|
buddy = import ../development/libraries/buddy {
|
2009-07-02 18:06:01 +01:00
|
|
|
inherit fetchurl stdenv bison;
|
2008-07-15 10:58:30 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cairo = import ../development/libraries/cairo {
|
|
|
|
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng;
|
2008-10-14 15:46:56 +01:00
|
|
|
inherit (xlibs) pixman libxcb xcbutil;
|
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 {
|
2009-01-24 21:55:16 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig cairo x11 fontconfig freetype libsigcxx;
|
2008-02-03 13:18:15 +00:00
|
|
|
};
|
|
|
|
|
2009-09-20 18:01:19 +01:00
|
|
|
ccrtp = import ../development/libraries/ccrtp {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig openssl libgcrypt commoncpp2;
|
|
|
|
};
|
|
|
|
|
2008-11-30 15:05:43 +00:00
|
|
|
chipmunk = builderDefsPackage (import ../development/libraries/chipmunk) {
|
|
|
|
inherit cmake freeglut mesa;
|
|
|
|
inherit (xlibs) libX11 xproto inputproto libXi libXmu;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-07-31 10:59:45 +01:00
|
|
|
classpath = import ../development/libraries/java/classpath {
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
inherit fetchurl stdenv pkgconfig antlr;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2008-08-19 06:54:09 +01:00
|
|
|
clppcre = builderDefsPackage (import ../development/libraries/cl-ppcre) {
|
|
|
|
};
|
2008-08-25 14:25:07 +01: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
|
|
|
|
2009-09-20 18:01:19 +01:00
|
|
|
commoncpp2 = import ../development/libraries/commoncpp2 {
|
|
|
|
inherit stdenv fetchurl lib;
|
|
|
|
};
|
|
|
|
|
2009-10-29 11:43:02 +00:00
|
|
|
consolekit = makeOverridable (import ../development/libraries/consolekit) {
|
|
|
|
inherit stdenv fetchurl pkgconfig dbus_glib zlib pam policykit expat glib;
|
2009-03-11 16:30:38 +00:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2009-03-17 14:03:03 +00: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
|
|
|
|
2008-07-29 15:26:03 +01:00
|
|
|
cryptopp = import ../development/libraries/crypto++ {
|
2009-09-16 15:35:38 +01:00
|
|
|
inherit fetchurl stdenv unzip libtool;
|
2008-07-29 15:26:03 +01: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
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-10-29 11:43:02 +00:00
|
|
|
dbus_glib = makeOverridable (import ../development/libraries/dbus-glib) {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext dbus expat 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
|
|
|
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 {
|
2009-10-24 16:39:54 +01:00
|
|
|
inherit fetchurl stdenv perl zlib libjpeg freetype
|
2009-11-05 21:08:53 +00:00
|
|
|
SDL libpng giflib;
|
|
|
|
inherit (xlibs) libX11 libXext xproto xextproto renderproto
|
|
|
|
libXrender;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
enchant = makeOverridable (import ../development/libraries/enchant) {
|
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
|
|
|
|
2009-02-21 18:59:15 +00:00
|
|
|
extremetuxracer = builderDefsPackage (import ../games/extremetuxracer) {
|
2009-02-27 13:44:31 +00:00
|
|
|
inherit mesa tcl freeglut SDL SDL_mixer pkgconfig
|
2009-02-21 18:59:15 +00:00
|
|
|
libpng gettext intltool;
|
|
|
|
inherit (xlibs) libX11 xproto libXi inputproto
|
|
|
|
libXmu libXext xextproto libXt libSM libICE;
|
|
|
|
};
|
|
|
|
|
2009-02-05 16:50:45 +00:00
|
|
|
eventlog = import ../development/libraries/eventlog {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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
|
2009-10-14 16:21:45 +01:00
|
|
|
ocaml = ocaml_3_10_0;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2008-10-14 15:01:38 +01:00
|
|
|
faac = import ../development/libraries/faac {
|
|
|
|
inherit fetchurl stdenv autoconf automake libtool;
|
|
|
|
};
|
|
|
|
|
|
|
|
faad2 = import ../development/libraries/faad2 {
|
2009-03-10 22:45:27 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-10-14 15:01:38 +01: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 {
|
2009-03-10 22:45:27 +00:00
|
|
|
inherit fetchurl stdenv faad2;
|
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;
|
2008-10-14 14:59:56 +01:00
|
|
|
singlePrecision = false;
|
|
|
|
};
|
2009-03-10 12:01:22 +00:00
|
|
|
|
2008-10-14 14:59:56 +01:00
|
|
|
fftwSinglePrec = import ../development/libraries/fftw {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
|
|
|
singlePrecision = true;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-10-01 16:11:38 +01:00
|
|
|
|
2009-04-02 16:20:19 +01:00
|
|
|
fltk11 = (import ../development/libraries/fltk/fltk11.nix) {
|
|
|
|
inherit composableDerivation x11 lib pkgconfig freeglut;
|
|
|
|
inherit fetchurl stdenv mesa mesaHeaders libpng libjpeg zlib ;
|
|
|
|
inherit (xlibs) inputproto libXi libXinerama libXft;
|
|
|
|
flags = [ "useNixLibs" "threads" "shared" "gl" ];
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fltk20 = (import ../development/libraries/fltk) {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit composableDerivation x11 lib pkgconfig freeglut;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv mesa mesaHeaders libpng libjpeg zlib ;
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit (xlibs) inputproto libXi libXinerama libXft;
|
2007-12-30 22:02:04 +00:00
|
|
|
flags = [ "useNixLibs" "threads" "shared" "gl" ];
|
|
|
|
};
|
2006-10-13 13:58:13 +01:00
|
|
|
|
2009-02-22 22:06:20 +00:00
|
|
|
fmod = import ../development/libraries/fmod {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-01-12 21:12:07 +00:00
|
|
|
freeimage = import ../development/libraries/freeimage {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-10-01 15:48:57 +01:00
|
|
|
freetts = import ../development/libraries/freetts {
|
|
|
|
inherit stdenv fetchurl apacheAnt unzip sharutils lib;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-04-20 23:06:12 +01:00
|
|
|
freeglut = import ../development/libraries/freeglut {
|
2007-12-30 22:02:04 +00:00
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv python pkgconfig glib;
|
2008-01-28 19:41:55 +00:00
|
|
|
};
|
|
|
|
|
2009-02-09 22:44:36 +00:00
|
|
|
gav = import ../games/gav {
|
2009-05-06 17:06:36 +01:00
|
|
|
inherit fetchurl SDL SDL_image SDL_mixer SDL_net;
|
|
|
|
stdenv = overrideGCC stdenv gcc41;
|
2009-02-09 22:44:36 +00:00
|
|
|
};
|
|
|
|
|
2008-04-07 00:18:25 +01:00
|
|
|
gdbm = import ../development/libraries/gdbm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-28 15:06:18 +00:00
|
|
|
gdk_pixbuf = import ../development/libraries/gdk-pixbuf {
|
|
|
|
inherit fetchurl stdenv libtiff libjpeg libpng;
|
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2008-04-04 21:57:09 +01:00
|
|
|
gegl = import ../development/libraries/gegl {
|
|
|
|
inherit fetchurl stdenv libpng pkgconfig babl;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
# avocodec avformat librsvg
|
|
|
|
inherit cairo libjpeg librsvg;
|
2008-10-10 00:21:39 +01:00
|
|
|
inherit (gtkLibs) pango glib gtk;
|
2008-04-04 21:57:09 +01:00
|
|
|
};
|
|
|
|
|
2009-08-26 12:13:36 +01:00
|
|
|
geoip = builderDefsPackage ../development/libraries/geoip {
|
|
|
|
inherit zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
geos = import ../development/libraries/geos {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit fetchurl fetchsvn stdenv autoconf
|
|
|
|
automake libtool swig which lib composableDerivation python ruby;
|
2007-12-30 22:02:04 +00:00
|
|
|
use_svn = stdenv.system == "x86_64-linux";
|
|
|
|
};
|
2006-11-14 22:23:33 +00:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
gettext = import ../development/libraries/gettext {
|
2009-09-19 23:03:24 +01:00
|
|
|
inherit fetchurl stdenv libiconv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
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 {
|
2009-05-11 07:00:23 +01:00
|
|
|
name = "gdal-1.6.1-rc1";
|
2007-12-30 22:02:04 +00:00
|
|
|
src = fetchurl {
|
2009-05-11 07:00:23 +01:00
|
|
|
url = ftp://ftp.remotesensing.org/gdal/gdal-1.6.1-RC1.tar.gz;
|
|
|
|
sha256 = "0f7da588yvb1d3l3gk5m0hrqlhg8m4gw93aip3dwkmnawz9r0qcw";
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
};
|
2007-10-12 21:27:15 +01:00
|
|
|
|
2009-09-02 23:56:33 +01:00
|
|
|
giblib = import ../development/libraries/giblib {
|
|
|
|
inherit fetchurl stdenv x11 imlib2;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-10-02 13:45:08 +01:00
|
|
|
glibc =
|
|
|
|
let haveRedHatKernel = system == "i686-linux" || system == "x86_64-linux";
|
|
|
|
haveBrokenRedHatKernel = haveRedHatKernel && getConfig ["brokenRedHatKernel"] false;
|
|
|
|
in
|
2009-11-23 23:35:59 +00:00
|
|
|
useFromStdenv "glibc" (if haveBrokenRedHatKernel then glibc25 else glibc211);
|
2009-06-24 21:10:51 +01:00
|
|
|
|
|
|
|
glibc25 = import ../development/libraries/glibc-2.5 {
|
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-10-07 17:55:20 +01:00
|
|
|
glibc27 = import ../development/libraries/glibc-2.7 {
|
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
|
|
|
#installLocales = false;
|
|
|
|
};
|
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
glibc29 = makeOverridable (import ../development/libraries/glibc-2.9) {
|
2008-10-07 17:55:20 +01:00
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
2009-04-19 17:07:00 +01:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
2008-10-07 17:55:20 +01:00
|
|
|
};
|
2008-07-08 00:11:53 +01:00
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
glibc29Cross = cross: forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.9) {
|
|
|
|
inherit stdenv fetchurl;
|
2009-11-15 05:28:35 +00:00
|
|
|
gccCross = gccCrossStageStatic cross;
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
kernelHeaders = kernelHeadersCross cross;
|
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
glibcCross = cross: glibc29Cross cross;
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
|
2009-11-19 23:28:45 +00:00
|
|
|
glibc211 = makeOverridable (import ../development/libraries/glibc-2.11) {
|
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
glibc211CrossReal = cross : forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.11) {
|
2009-11-20 08:27:59 +00:00
|
|
|
inherit stdenv fetchurl cross;
|
|
|
|
gccCross = gccCrossStageStatic cross;
|
|
|
|
kernelHeaders = kernelHeadersCross cross;
|
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
});
|
2009-11-20 08:27:59 +00:00
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
glibc211Cross = cross : forceBuildDrv (glibc211CrossReal cross);
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
eglibc = import ../development/libraries/eglibc {
|
|
|
|
inherit fetchsvn stdenv kernelHeaders;
|
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
|
|
|
|
2009-11-22 16:04:01 +00:00
|
|
|
glibcLocales = makeOverridable (import ../development/libraries/glibc-2.11/locales.nix) {
|
2009-04-19 16:28:37 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-22 16:04:01 +00:00
|
|
|
glibcInfo = import ../development/libraries/glibc-2.11/info.nix {
|
2009-10-18 16:15:39 +01:00
|
|
|
inherit fetchurl stdenv texinfo perl;
|
|
|
|
};
|
|
|
|
|
2008-06-27 19:26:19 +01:00
|
|
|
glibc_multi =
|
2009-08-25 06:46:48 +01:00
|
|
|
runCommand "${glibc.name}-multi"
|
|
|
|
{ glibc64 = glibc;
|
|
|
|
glibc32 = (import ./all-packages.nix {system = "i686-linux";}).glibc;
|
|
|
|
}
|
|
|
|
''
|
|
|
|
ensureDir $out
|
|
|
|
ln -s $glibc64/* $out/
|
|
|
|
|
|
|
|
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
|
|
|
|
'' # */
|
2009-08-28 07:29:21 +01:00
|
|
|
;
|
2008-06-27 19:26:19 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gmime = import ../development/libraries/gmime {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig zlib glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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 {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv fetchurl m4;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
# `gmpxx' used to mean "GMP with C++ bindings". Now `gmp' has C++ bindings
|
|
|
|
# by default, so that distinction is obsolete.
|
|
|
|
gmpxx = gmp;
|
2009-07-03 12:31:28 +01:00
|
|
|
|
2009-09-30 14:11:13 +01:00
|
|
|
goffice = import ../development/libraries/goffice {
|
|
|
|
inherit fetchurl stdenv pkgconfig libgsf libxml2 cairo
|
|
|
|
intltool gettext bzip2;
|
|
|
|
inherit (gnome) glib gtk libglade libgnomeui pango;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
libart = gnome.libart_lgpl;
|
|
|
|
};
|
|
|
|
|
2008-12-02 15:13:31 +00:00
|
|
|
goocanvas = import ../development/libraries/goocanvas {
|
2008-12-02 12:28:13 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig cairo;
|
|
|
|
inherit (gnome) gtk glib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
#GMP ex-satellite, so better keep it near gmp
|
|
|
|
mpfr = import ../development/libraries/mpfr {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv fetchurl gmp;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-11-19 21:46:01 +00:00
|
|
|
gst_all = recurseIntoAttrs (import ../development/libraries/gstreamer {
|
2009-11-18 09:39:59 +00:00
|
|
|
inherit lib stdenv fetchurl perl bison pkgconfig libxml2
|
2008-02-22 03:06:12 +00:00
|
|
|
python alsaLib cdparanoia libogg libvorbis libtheora freetype liboil
|
|
|
|
libjpeg zlib speex libpng libdv aalib cairo libcaca flac hal libiec61883
|
2009-10-06 06:43:51 +01:00
|
|
|
dbus libavc1394 ladspaH taglib pulseaudio gdbm bzip2 which makeOverridable;
|
2008-11-19 21:46:01 +00:00
|
|
|
flex = flex2535;
|
2008-02-22 03:06:12 +00:00
|
|
|
inherit (xorg) libX11 libXv libXext;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
2008-11-19 21:46:01 +00:00
|
|
|
inherit (gnome) gnomevfs /* <- only passed for the no longer used older versions
|
2009-11-04 00:39:27 +00:00
|
|
|
it is deprecated and didn't build on amd64 due to samba dependency */ gtkdoc
|
|
|
|
libsoup;
|
2008-11-19 21:46:01 +00:00
|
|
|
});
|
2008-02-22 03:06:12 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnet = import ../development/libraries/gnet {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig 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
|
|
|
gnutls = import ../development/libraries/gnutls {
|
2009-11-06 22:44:23 +00:00
|
|
|
inherit fetchurl stdenv libgcrypt zlib lzo libtasn1 guile;
|
2009-04-30 19:43:48 +01:00
|
|
|
guileBindings = getConfig ["gnutls" "guile"] true;
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv libgpgerror pkgconfig pth gnupg gnupg2 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
|
|
|
gsl = import ../development/libraries/gsl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-10-19 13:50:41 +01:00
|
|
|
gtkimageview = import ../development/libraries/gtkimageview {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
};
|
|
|
|
|
2009-10-29 14:19:13 +00:00
|
|
|
gtkLibs = recurseIntoAttrs gtkLibs218;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-10-29 11:43:02 +00:00
|
|
|
glib = gtkLibs.glib;
|
|
|
|
|
2009-10-28 15:06:18 +00:00
|
|
|
gtkLibs1x = rec {
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-10-28 15:06:18 +00:00
|
|
|
glib = import ../development/libraries/glib/1.2.x.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-10-28 15:06:18 +00:00
|
|
|
gtk = import ../development/libraries/gtk+/1.2.x.nix {
|
|
|
|
inherit fetchurl stdenv x11 glib;
|
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-01-22 22:32:02 +00:00
|
|
|
};
|
|
|
|
|
2009-10-28 15:31:52 +00:00
|
|
|
gtkLibs216 = rec {
|
|
|
|
|
|
|
|
glib = import ../development/libraries/glib/2.20.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
glibmm = import ../development/libraries/glibmm/2.18.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig glib libsigcxx;
|
|
|
|
};
|
|
|
|
|
|
|
|
atk = import ../development/libraries/atk/1.24.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl glib;
|
|
|
|
};
|
|
|
|
|
|
|
|
pango = import ../development/libraries/pango/1.24.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext x11 glib cairo libpng;
|
|
|
|
};
|
|
|
|
|
|
|
|
pangomm = import ../development/libraries/pangomm/2.14.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig pango glibmm cairomm libpng;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk = import ../development/libraries/gtk+/2.16.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl jasper x11 glib atk pango
|
|
|
|
libtiff libjpeg libpng cairo xlibs;
|
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-10-28 15:31:52 +00:00
|
|
|
gtkmm = import ../development/libraries/gtkmm/2.14.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gtk atk glibmm cairomm pangomm;
|
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-04-16 11:19:15 +01:00
|
|
|
};
|
|
|
|
|
2009-10-29 10:53:54 +00:00
|
|
|
gtkLibs218 = rec {
|
|
|
|
|
|
|
|
glib = import ../development/libraries/glib/2.22.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
glibmm = import ../development/libraries/glibmm/2.22.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig glib libsigcxx;
|
|
|
|
};
|
|
|
|
|
|
|
|
atk = import ../development/libraries/atk/1.28.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl glib;
|
|
|
|
};
|
|
|
|
|
|
|
|
pango = import ../development/libraries/pango/1.26.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext x11 glib cairo libpng;
|
|
|
|
};
|
|
|
|
|
|
|
|
pangomm = import ../development/libraries/pangomm/2.26.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig pango glibmm cairomm libpng;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk = import ../development/libraries/gtk+/2.18.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl jasper glib atk pango
|
2009-10-30 09:46:51 +00:00
|
|
|
libtiff libjpeg libpng cairo xlibs cups;
|
2009-10-29 10:53:54 +00:00
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-10-29 10:53:54 +00:00
|
|
|
gtkmm = import ../development/libraries/gtkmm/2.18.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gtk atk glibmm cairomm pangomm;
|
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-09-29 14:49:41 +01: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
|
|
|
|
2009-11-05 18:46:46 +00:00
|
|
|
hwloc = import ../development/libraries/hwloc {
|
|
|
|
inherit fetchurl stdenv pkgconfig cairo expat;
|
|
|
|
};
|
|
|
|
|
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-10-09 13:12:58 +01:00
|
|
|
intltool = gnome.intltool;
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2009-04-17 15:58:26 +01:00
|
|
|
isocodes = import ../development/libraries/iso-codes {
|
|
|
|
inherit stdenv fetchurl gettext python;
|
|
|
|
};
|
2009-05-18 14:53:01 +01:00
|
|
|
|
2009-11-19 12:10:23 +00:00
|
|
|
jamp = builderDefsPackage ../games/jamp {
|
|
|
|
inherit mesa SDL SDL_image SDL_mixer;
|
|
|
|
};
|
|
|
|
|
2008-01-28 19:41:03 +00:00
|
|
|
jasper = import ../development/libraries/jasper {
|
2009-03-20 16:27:32 +00:00
|
|
|
inherit fetchurl stdenv unzip xlibs libjpeg;
|
2008-01-28 19:41:03 +00:00
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-10-20 11:18:36 +01:00
|
|
|
jetty_gwt = import ../development/libraries/java/jetty-gwt {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-11-02 16:19:37 +00:00
|
|
|
jetty_util = import ../development/libraries/java/jetty-util {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2008-01-28 19:41:03 +00:00
|
|
|
|
2009-11-06 12:57:29 +00:00
|
|
|
krb5 = import ../development/libraries/kerberos/krb5.nix {
|
|
|
|
inherit stdenv fetchurl perl ncurses yacc;
|
|
|
|
};
|
|
|
|
|
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-10-06 16:11:36 +01:00
|
|
|
lesstif93 = import ../development/libraries/lesstif-0.93 {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXp libXau;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-04-01 22:59:12 +01:00
|
|
|
inherit stdenv fetchurl pkgconfig pulseaudio;
|
2008-02-11 21:02:38 +00:00
|
|
|
};
|
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
libarchive = import ../development/libraries/libarchive {
|
2008-02-18 20:52:40 +00:00
|
|
|
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
|
|
|
|
2009-01-20 09:50:15 +00:00
|
|
|
libcanberra = import ../development/libraries/libcanberra {
|
|
|
|
inherit fetchurl stdenv pkgconfig libtool alsaLib pulseaudio libvorbis;
|
2009-04-16 15:23:38 +01:00
|
|
|
inherit (gtkLibs) gtk gthread;
|
2009-01-20 09:50:15 +00:00
|
|
|
gstreamer = gst_all.gstreamer;
|
|
|
|
};
|
|
|
|
|
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 {
|
2008-08-29 12:31:16 +01:00
|
|
|
inherit fetchurl stdenv libcddb pkgconfig ncurses help2man;
|
2008-03-05 09:10:23 +00:00
|
|
|
};
|
|
|
|
|
2009-04-20 23:06:12 +01:00
|
|
|
libcm = import ../development/libraries/libcm {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig xlibs mesa glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2008-11-15 17:54:09 +00:00
|
|
|
libcv = builderDefsPackage (import ../development/libraries/libcv) {
|
|
|
|
inherit libtiff libjpeg libpng pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libdaemon = import ../development/libraries/libdaemon {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-09-01 19:26:13 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
libdbi = composedArgsAndFun (import ../development/libraries/libdbi/0.8.2.nix) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit stdenv fetchurl builderDefs;
|
|
|
|
};
|
2006-06-21 22:05:39 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
libdbiDriversBase = composedArgsAndFun (import ../development/libraries/libdbi-drivers/0.8.2-1.nix) {
|
|
|
|
inherit stdenv fetchurl builderDefs libdbi;
|
|
|
|
};
|
2007-09-04 10:38:52 +01:00
|
|
|
|
2008-11-04 21:24:10 +00:00
|
|
|
libdbiDrivers = libdbiDriversBase.passthru.function {
|
2008-02-25 03:16:07 +00:00
|
|
|
inherit sqlite mysql;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2003-11-02 22:25:26 +00:00
|
|
|
|
2008-01-10 13:37:32 +00:00
|
|
|
libdv = import ../development/libraries/libdv {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
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 {
|
2009-10-29 17:56:10 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xorg) libpthreadstubs;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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 {
|
2009-03-10 21:03:51 +00:00
|
|
|
inherit fetchurl stdenv libdvdread;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-04-16 20:25:22 +01:00
|
|
|
libedit = import ../development/libraries/libedit {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-09-21 10:58:27 +01:00
|
|
|
liblo = import ../development/libraries/liblo {
|
2009-10-28 14:06:56 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-09-21 10:58:27 +01:00
|
|
|
};
|
|
|
|
|
2009-08-27 08:17:57 +01:00
|
|
|
libev = builderDefsPackage ../development/libraries/libev {
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libevent = import ../development/libraries/libevent {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-22 19:09:49 +00:00
|
|
|
|
2009-04-21 20:47:41 +01:00
|
|
|
libewf = import ../development/libraries/libewf {
|
|
|
|
inherit fetchurl stdenv zlib openssl libuuid;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
libextractor = composedArgsAndFun (import ../development/libraries/libextractor/0.5.18.nix) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv builderDefs zlib;
|
|
|
|
};
|
2006-03-14 18:20:21 +00:00
|
|
|
|
2009-05-31 07:07:25 +01:00
|
|
|
libffcall = builderDefsPackage (import ../development/libraries/libffcall) {
|
|
|
|
inherit fetchcvs;
|
|
|
|
};
|
|
|
|
|
2008-04-09 08:40:48 +01:00
|
|
|
libffi = import ../development/libraries/libffi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-24 22:28:27 +01:00
|
|
|
libftdi = import ../development/libraries/libftdi {
|
|
|
|
inherit fetchurl stdenv libusb;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-04-13 16:41:00 +01:00
|
|
|
libgpod = import ../development/libraries/libgpod {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv gettext perl perlXMLParser pkgconfig libxml2 glib;
|
2009-04-13 16:41:00 +01:00
|
|
|
};
|
|
|
|
|
2009-09-13 09:54:44 +01:00
|
|
|
libharu = import ../development/libraries/libharu {
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit fetchurl stdenv lib zlib libpng;
|
2009-09-13 09:54:44 +01:00
|
|
|
};
|
|
|
|
|
2009-02-18 20:57:36 +00:00
|
|
|
libical = import ../development/libraries/libical {
|
|
|
|
inherit stdenv fetchurl perl;
|
|
|
|
};
|
2009-02-27 13:44:31 +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 {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig lib;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2008-07-17 20:43:11 +01:00
|
|
|
libspectre = import ../development/libraries/libspectre {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
ghostscript = ghostscriptX;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libgsf = import ../development/libraries/libgsf {
|
2009-09-30 14:11:09 +01:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2
|
|
|
|
intltool gettext bzip2 python;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gnome) glib gnomevfs libbonobo;
|
|
|
|
};
|
2005-01-19 21:48:45 +00:00
|
|
|
|
2009-09-19 23:03:24 +01:00
|
|
|
libiconv = import ../development/libraries/libiconv {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
libjingle = import ../development/libraries/libjingle/0.3.11.nix {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv mediastreamer;
|
|
|
|
};
|
|
|
|
|
2009-04-23 14:26:14 +01:00
|
|
|
libjpeg = makeOverridable (import ../development/libraries/libjpeg) {
|
2009-03-21 21:04:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
libtool = libtool_1_5;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-22 22:32:18 +00:00
|
|
|
|
2009-04-23 14:26:14 +01:00
|
|
|
libjpegStatic = lowPrio (appendToName "static" (libjpeg.override {
|
2007-12-30 22:02:04 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-09-13 09:54:41 +01:00
|
|
|
libmng = import ../development/libraries/libmng {
|
|
|
|
inherit fetchurl stdenv lib zlib libpng libjpeg lcms automake autoconf libtool;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libmpcdec = import ../development/libraries/libmpcdec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-10-26 22:10:31 +01:00
|
|
|
|
2009-02-23 15:30:07 +00:00
|
|
|
libmsn = import ../development/libraries/libmsn {
|
|
|
|
inherit stdenv fetchurl cmake openssl;
|
|
|
|
};
|
2009-02-27 13:44:31 +00: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
|
|
|
|
2009-10-29 11:43:02 +00:00
|
|
|
liboil = makeOverridable (import ../development/libraries/liboil) {
|
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2008-02-22 03:06:12 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-06-03 13:28:25 +01:00
|
|
|
libproxy = import ../development/libraries/libproxy {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-06-25 14:37:59 +01:00
|
|
|
|
2009-04-22 22:33:24 +01:00
|
|
|
libpseudo = import ../development/libraries/libpseudo {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses glib;
|
2009-04-22 22:33:24 +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
|
|
|
|
2009-08-09 23:24:05 +01:00
|
|
|
libsigsegv = import ../development/libraries/libsigsegv {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-03-05 13:44:27 +00:00
|
|
|
|
2009-08-10 06:20:14 +01:00
|
|
|
# To bootstrap SBCL, I need CLisp 2.44.1; it needs libsigsegv 2.5
|
2009-08-10 06:50:42 +01:00
|
|
|
libsigsegv_25 = import ../development/libraries/libsigsegv/2.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
2009-08-10 06:20:14 +01: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
|
|
|
|
2008-08-12 20:57:35 +01:00
|
|
|
libtommath = import ../development/libraries/libtommath {
|
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
};
|
|
|
|
|
2009-06-27 22:44:47 +01:00
|
|
|
libunistring = import ../development/libraries/libunistring {
|
2009-09-19 23:17:11 +01:00
|
|
|
inherit fetchurl stdenv libiconv;
|
2009-06-27 22:44:47 +01:00
|
|
|
};
|
|
|
|
|
2008-10-08 21:03:35 +01:00
|
|
|
libupnp = import ../development/libraries/pupnp {
|
2008-10-07 22:18:01 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-10-04 16:24:08 +01:00
|
|
|
libvncserver = builderDefsPackage (import ../development/libraries/libvncserver) {
|
|
|
|
inherit libtool libjpeg openssl zlib;
|
2008-10-09 11:10:49 +01:00
|
|
|
inherit (xlibs) xproto libX11 damageproto libXdamage
|
2008-10-04 16:24:08 +01:00
|
|
|
libXext xextproto fixesproto libXfixes xineramaproto
|
|
|
|
libXinerama libXrandr randrproto libXtst;
|
|
|
|
};
|
|
|
|
|
2009-04-22 22:33:24 +01:00
|
|
|
libviper = import ../development/libraries/libviper {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses gpm glib;
|
2009-04-22 22:33:24 +01:00
|
|
|
};
|
|
|
|
|
2009-11-04 22:38:26 +00:00
|
|
|
libvterm = import ../development/libraries/libvterm {
|
|
|
|
inherit fetchurl stdenv pkgconfig ncurses glib;
|
|
|
|
};
|
|
|
|
|
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
|
2009-10-29 11:43:02 +00:00
|
|
|
zlib libpng freetype libjpeg libxml2 glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-10-24 20:58:07 +01:00
|
|
|
libx86 = builderDefsPackage ../development/libraries/libx86 {};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libxcrypt = import ../development/libraries/libxcrypt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-08-06 19:45:53 +01:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
libxklavier = import ../development/libraries/libxklavier {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv xkeyboard_config pkgconfig libxml2 isocodes glib;
|
2009-06-04 12:38:56 +01:00
|
|
|
inherit (xorg) libX11 libICE libXi libxkbfile;
|
2008-02-18 20:53:36 +00:00
|
|
|
};
|
|
|
|
|
2009-04-05 22:41:38 +01:00
|
|
|
libxmi = import ../development/libraries/libxmi {
|
2009-04-06 18:11:15 +01:00
|
|
|
inherit fetchurl stdenv libtool;
|
2009-04-05 22:41:38 +01:00
|
|
|
};
|
|
|
|
|
2009-04-23 13:33:09 +01:00
|
|
|
libxml2 = makeOverridable (import ../development/libraries/libxml2) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = false;
|
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2009-04-23 13:33:09 +01:00
|
|
|
libxml2Python = libxml2.override {
|
2007-12-30 22:02:04 +00:00
|
|
|
pythonSupport = true;
|
2009-04-23 13:33:09 +01:00
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2009-10-24 18:29:37 +01:00
|
|
|
libxslt = makeOverridable (import ../development/libraries/libxslt) {
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
|
2009-09-20 18:01:19 +01:00
|
|
|
libzrtpcpp = import ../development/libraries/libzrtpcpp {
|
|
|
|
inherit fetchurl stdenv lib commoncpp2 openssl pkgconfig ccrtp;
|
|
|
|
};
|
|
|
|
|
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;
|
2009-02-12 14:52:23 +00:00
|
|
|
inherit apr aprutil db45 expat;
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv libidn openssl pkgconfig zlib 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
|
2009-11-18 09:39:59 +00:00
|
|
|
mediastreamer = composedArgsAndFun (import ../development/libraries/mediastreamer/2.2.0-cvs20080207.nix) {
|
2008-02-10 17:34:49 +00:00
|
|
|
inherit fetchurl stdenv automake libtool autoconf alsaLib pkgconfig speex
|
2009-03-10 21:03:51 +00:00
|
|
|
ortp ffmpeg;
|
2008-02-07 09:43:10 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mesaSupported =
|
|
|
|
system == "i686-linux" ||
|
2009-09-16 16:12:24 +01:00
|
|
|
system == "x86_64-linux" ||
|
|
|
|
system == "i686-darwin";
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-04-20 23:06:12 +01:00
|
|
|
mesa = import ../development/libraries/mesa {
|
2008-10-08 18:02:48 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig expat x11 xlibs libdrm;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2008-09-02 14:43:53 +01:00
|
|
|
ming = import ../development/libraries/ming {
|
|
|
|
inherit fetchurl stdenv flex bison freetype zlib libpng perl;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mpeg2dec = import ../development/libraries/mpeg2dec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-08-13 10:46:54 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
msilbc = import ../development/libraries/msilbc {
|
2008-02-10 17:35:03 +00:00
|
|
|
inherit fetchurl stdenv ilbc mediastreamer pkgconfig;
|
|
|
|
};
|
|
|
|
|
2008-02-21 16:17:43 +00:00
|
|
|
mpich2 = import ../development/libraries/mpich2 {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
2009-05-13 11:21:29 +01:00
|
|
|
muparser = import ../development/libraries/muparser {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
ncurses = makeOverridable (composedArgsAndFun (import ../development/libraries/ncurses)) {
|
2009-11-20 08:27:59 +00:00
|
|
|
inherit fetchurl stdenv;
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
# The "! (stdenv ? cross)" is for the cross-built arm ncurses, which
|
|
|
|
# don't build for me in unicode.
|
|
|
|
unicode = (system != "i686-cygwin" && ! (stdenv ? cross));
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-05-12 05:28:30 +01:00
|
|
|
nethack = builderDefsPackage (import ../games/nethack) {
|
|
|
|
inherit ncurses flex bison;
|
|
|
|
};
|
|
|
|
|
2009-07-01 16:42:01 +01:00
|
|
|
nettle = import ../development/libraries/nettle {
|
2009-09-16 15:26:00 +01:00
|
|
|
inherit fetchurl stdenv gmp gnum4;
|
2009-07-01 16:42:01 +01:00
|
|
|
};
|
|
|
|
|
2009-07-04 13:25:35 +01:00
|
|
|
nspr = import ../development/libraries/nspr {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
nss = import ../development/libraries/nss {
|
2009-07-06 10:12:44 +01:00
|
|
|
inherit fetchurl stdenv nspr perl zlib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-11-30 16:50:05 +00:00
|
|
|
ode = builderDefsPackage (import ../development/libraries/ode) {
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openal = import ../development/libraries/openal {
|
2008-10-12 15:17:44 +01:00
|
|
|
inherit fetchurl stdenv cmake alsaLib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-01-27 08:14:27 +00:00
|
|
|
opencascade = import ../development/libraries/opencascade {
|
|
|
|
inherit fetchurl stdenv mesa qt4 tcl tk;
|
|
|
|
};
|
|
|
|
|
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;
|
2009-02-12 19:51:51 +00:00
|
|
|
version = "1.6.1";
|
|
|
|
# optional features:
|
|
|
|
inherit ctl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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;
|
2009-02-12 19:51:51 +00:00
|
|
|
version = "1.4.0";
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
openldap = import ../development/libraries/openldap {
|
2009-02-12 19:51:51 +00:00
|
|
|
inherit fetchurl stdenv openssl cyrus_sasl db4 groff;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-08 19:18:33 +01:00
|
|
|
openlierox = builderDefsPackage ../games/openlierox {
|
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit gd SDL SDL_image SDL_mixer zlib libxml2
|
2009-08-08 19:18:33 +01:00
|
|
|
pkgconfig;
|
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
openssl = makeOverridable (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
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
ortp = import ../development/libraries/ortp {
|
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
|
|
|
|
2009-07-09 04:50:44 +01:00
|
|
|
pcre = makeOverridable (import ../development/libraries/pcre) {
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
|
2009-11-06 19:25:45 +00:00
|
|
|
physfs = import ../development/libraries/physfs {
|
|
|
|
inherit fetchurl stdenv cmake;
|
|
|
|
};
|
|
|
|
|
2008-10-12 15:27:51 +01:00
|
|
|
plib = import ../development/libraries/plib {
|
|
|
|
inherit fetchurl stdenv mesa freeglut SDL;
|
|
|
|
inherit (xlibs) libXi libSM libXmu libXext libX11;
|
|
|
|
};
|
|
|
|
|
2009-09-25 21:06:36 +01:00
|
|
|
polkit = import ../development/libraries/polkit {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig eggdbus expat pam intltool gettext glib;
|
2009-08-13 08:55:11 +01:00
|
|
|
};
|
|
|
|
|
2009-10-06 06:43:51 +01:00
|
|
|
policykit = makeOverridable (import ../development/libraries/policykit) {
|
2009-09-26 11:43:41 +01:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus dbus_glib expat pam
|
2009-10-29 11:43:02 +00:00
|
|
|
intltool gettext libxslt docbook_xsl glib;
|
2009-08-17 19:31:42 +01:00
|
|
|
};
|
|
|
|
|
2009-09-13 12:04:54 +01:00
|
|
|
poppler = makeOverridable (import ../development/libraries/poppler) {
|
|
|
|
inherit fetchurl stdenv cairo freetype fontconfig zlib libjpeg pkgconfig;
|
2007-11-21 19:28:54 +00:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2009-09-13 12:04:54 +01:00
|
|
|
qt4Support = false;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-08-16 22:45:10 +01:00
|
|
|
|
2009-09-13 12:04:54 +01:00
|
|
|
popplerQt44 = poppler.override {
|
2009-02-18 15:25:40 +00:00
|
|
|
qt4Support = true;
|
2009-09-13 12:04:54 +01:00
|
|
|
qt4 = qt44;
|
2009-02-18 15:25:40 +00:00
|
|
|
};
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-09-13 12:04:54 +01:00
|
|
|
popplerQt45 = poppler.override {
|
|
|
|
qt4Support = true;
|
|
|
|
qt4 = qt45;
|
|
|
|
};
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
popt = import ../development/libraries/popt {
|
2009-04-22 08:16:45 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-08-13 10:46:54 +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
|
|
|
};
|
|
|
|
|
2009-04-20 19:07:09 +01:00
|
|
|
qt3 = makeOverridable (import ../development/libraries/qt-3) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa;
|
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2009-11-03 21:55:53 +00:00
|
|
|
libXmu libXinerama libXcursor;
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
|
2009-04-20 19:07:09 +01:00
|
|
|
qt3mysql = qt3.override {
|
2008-06-23 10:01:04 +01:00
|
|
|
mysqlSupport = true;
|
|
|
|
};
|
|
|
|
|
2009-09-13 12:04:54 +01:00
|
|
|
qt4 = qt44;
|
|
|
|
|
|
|
|
qt44 = import ../development/libraries/qt-4.4 {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv fetchsvn zlib libjpeg libpng which mysql mesa openssl cups dbus
|
2009-09-13 12:04:54 +01:00
|
|
|
fontconfig freetype pkgconfig libtiff;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2009-09-13 12:04:54 +01: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
|
|
|
|
2009-08-15 15:02:49 +01:00
|
|
|
qt45 = import ../development/libraries/qt-4.5 {
|
2009-09-08 22:25:08 +01:00
|
|
|
inherit fetchurl stdenv lib zlib libjpeg libpng which mysql mesa openssl cups dbus
|
2009-09-13 12:04:54 +01:00
|
|
|
fontconfig freetype pkgconfig libtiff;
|
2009-08-15 15:02:49 +01:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2009-09-13 12:04:54 +01:00
|
|
|
libXmu libXinerama xineramaproto libXcursor libXext
|
|
|
|
inputproto fixesproto libXfixes;
|
2009-08-15 15:02:49 +01:00
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-09-11 13:05:23 +01:00
|
|
|
qtscriptgenerator = import ../development/libraries/qtscriptgenerator {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
qt4 = qt45;
|
|
|
|
};
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-02-23 21:18:55 +00:00
|
|
|
readline = readline6;
|
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
|
|
|
|
2009-02-23 18:10:41 +00:00
|
|
|
readline6 = import ../development/libraries/readline/readline6.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-09-21 10:58:21 +01:00
|
|
|
librdf_raptor = import ../development/libraries/librdf/raptor.nix {
|
|
|
|
inherit fetchurl stdenv lib libxml2 curl;
|
|
|
|
};
|
|
|
|
librdf_rasqal = import ../development/libraries/librdf/rasqal.nix {
|
|
|
|
inherit fetchurl stdenv lib pcre libxml2 gmp librdf_raptor;
|
|
|
|
};
|
|
|
|
librdf = import ../development/libraries/librdf {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig librdf_raptor ladspaH openssl zlib;
|
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
# Also known as librdf, includes raptor and rasqal
|
2009-11-18 09:39:59 +00:00
|
|
|
redland = composedArgsAndFun (import ../development/libraries/redland/1.0.9.nix) {
|
2008-02-10 17:42:11 +00:00
|
|
|
inherit fetchurl stdenv openssl libxml2 pkgconfig perl postgresql sqlite
|
2009-09-23 00:07:35 +01:00
|
|
|
mysql libxslt curl pcre librdf_rasqal librdf_raptor;
|
2008-02-10 17:42:11 +00:00
|
|
|
bdb = db4;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2009-11-18 11:38:20 +00:00
|
|
|
|
|
|
|
redland_1_0_8 = composedArgsAndFun (import ../development/libraries/redland/1.0.8.nix) {
|
2008-02-10 17:42:11 +00:00
|
|
|
inherit fetchurl stdenv openssl libxml2 pkgconfig perl postgresql sqlite
|
2009-09-23 00:07:35 +01:00
|
|
|
mysql libxslt curl pcre librdf_rasqal librdf_raptor;
|
2008-02-10 17:42:11 +00:00
|
|
|
bdb = db4;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-11 16:36:11 +00:00
|
|
|
|
2009-10-19 15:47:04 +01:00
|
|
|
rhino = import ../development/libraries/java/rhino {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
ant = apacheAntGcj;
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
rte = import ../development/libraries/rte {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-08-24 16:02:30 +01:00
|
|
|
|
2009-09-21 10:58:30 +01:00
|
|
|
rubberband = import ../development/libraries/rubberband {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig libsamplerate libsndfile ladspaH;
|
|
|
|
fftw = fftwSinglePrec;
|
|
|
|
inherit (vamp) vampSDK;
|
|
|
|
};
|
|
|
|
|
2008-03-10 20:13:44 +00:00
|
|
|
schroedinger = import ../development/libraries/schroedinger {
|
|
|
|
inherit fetchurl stdenv liboil pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-08-11 23:23:30 +01:00
|
|
|
SDL = makeOverridable (import ../development/libraries/SDL) {
|
2009-05-11 20:57:42 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 mesa alsaLib pulseaudio;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXrandr;
|
|
|
|
openglSupport = mesaSupported;
|
|
|
|
alsaSupport = true;
|
2009-08-11 23:23:30 +01:00
|
|
|
pulseaudioSupport = false; # better go through ALSA
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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 {
|
2009-09-16 18:08:33 +01:00
|
|
|
inherit fetchurl stdenv ncurses pcre libpng zlib readline;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-03-11 10:55:21 +00:00
|
|
|
|
2009-09-30 14:10:58 +01:00
|
|
|
slibGuile = import ../development/libraries/slib {
|
|
|
|
inherit fetchurl stdenv unzip texinfo;
|
|
|
|
scheme = guile;
|
|
|
|
};
|
|
|
|
|
2008-09-24 01:42:06 +01:00
|
|
|
snack = import ../development/libraries/snack {
|
|
|
|
inherit fetchurl stdenv tcl tk pkgconfig x11;
|
|
|
|
# optional
|
|
|
|
inherit alsaLib vorbisTools python;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-11-04 13:07:21 +00:00
|
|
|
inherit fetchurl stdenv readline tcl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-04-22 19:08:37 +01:00
|
|
|
|
2008-09-05 18:17:00 +01:00
|
|
|
stlport = import ../development/libraries/stlport {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-09-11 13:05:23 +01:00
|
|
|
taglib_extras = import ../development/libraries/taglib-extras {
|
|
|
|
inherit stdenv fetchurl cmake taglib;
|
|
|
|
};
|
|
|
|
|
2008-01-28 19:49:44 +00:00
|
|
|
tapioca_qt = import ../development/libraries/tapioca-qt {
|
2009-02-20 16:18:56 +00:00
|
|
|
inherit stdenv fetchurl cmake qt4 telepathy_qt;
|
2008-01-28 19:49:44 +00:00
|
|
|
};
|
|
|
|
|
2008-07-15 10:58:30 +01:00
|
|
|
tecla = import ../development/libraries/tecla {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv dbus_glib pkgconfig libxslt python glib;
|
2008-01-28 19:49:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
telepathy_qt = import ../development/libraries/telepathy-qt {
|
2009-02-20 16:18:56 +00:00
|
|
|
inherit stdenv fetchurl cmake qt4;
|
2008-01-28 19:49:44 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
tk = import ../development/libraries/tk/8.5.7.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv tcl x11;
|
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
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
|
|
|
});
|
|
|
|
|
2009-09-21 10:58:30 +01:00
|
|
|
vamp = import ../development/libraries/audio/vamp {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig libsndfile;
|
|
|
|
};
|
|
|
|
|
2009-02-08 23:29:27 +00:00
|
|
|
vtk = import ../development/libraries/vtk {
|
2009-02-08 16:27:57 +00:00
|
|
|
inherit stdenv fetchurl cmake mesa;
|
|
|
|
inherit (xlibs) libX11 xproto libXt;
|
|
|
|
};
|
|
|
|
|
2009-01-12 21:12:07 +00:00
|
|
|
vxl = import ../development/libraries/vxl {
|
|
|
|
inherit fetchurl stdenv cmake unzip libtiff expat zlib libpng libjpeg;
|
|
|
|
};
|
|
|
|
|
2009-10-29 14:19:13 +00:00
|
|
|
webkit = builderDefsPackage (import ../development/libraries/webkit) {
|
2009-09-30 06:37:09 +01:00
|
|
|
inherit (gnome28) gtkdoc libsoup;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
2008-07-08 00:11:13 +01:00
|
|
|
inherit freetype fontconfig gettext gperf curl
|
|
|
|
libjpeg libtiff libpng libxml2 libxslt sqlite
|
|
|
|
icu cairo perl intltool automake libtool
|
2009-06-04 12:20:26 +01:00
|
|
|
pkgconfig autoconf bison libproxy enchant;
|
2009-10-06 06:43:51 +01:00
|
|
|
inherit (gst_all) gstreamer gstPluginsBase gstFfmpeg
|
2009-08-03 06:11:30 +01:00
|
|
|
gstPluginsGood;
|
2008-06-29 08:02:11 +01:00
|
|
|
flex = flex2535;
|
2009-06-04 12:20:26 +01:00
|
|
|
inherit (xlibs) libXt;
|
2009-10-29 14:19:13 +00:00
|
|
|
};
|
2008-06-29 08:02:11 +01:00
|
|
|
|
2009-11-05 13:29:52 +00:00
|
|
|
wxGTK = wxGTK28;
|
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;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit (gtkLibs216) gtk;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-11-17 15:26:22 +00:00
|
|
|
wxGTK28 = makeOverridable (import ../development/libraries/wxGTK-2.8) {
|
2009-01-24 21:00:53 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig mesa;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit (gtkLibs216) gtk;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
wtk = import ../development/libraries/wtk {
|
2009-08-25 07:36:05 +01:00
|
|
|
inherit fetchurl stdenv unzip xlibs;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2009-03-23 20:36:48 +00:00
|
|
|
|
2008-05-22 01:18:45 +01:00
|
|
|
x264 = import ../development/libraries/x264 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
xapian = makeOverridable (import ../development/libraries/xapian) {
|
2009-08-20 21:18:58 +01:00
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
xapianBindings = (import ../development/libraries/xapian/bindings/1.0.14.nix) {
|
2009-08-20 21:18:58 +01:00
|
|
|
inherit fetchurl stdenv xapian composableDerivation pkgconfig;
|
|
|
|
inherit ruby perl php tcl python; # TODO perl php Java, tcl, C#, python
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-08-11 21:47:33 +01:00
|
|
|
inherit fetchurl stdenv zlib libdvdcss alsaLib pkgconfig mesa aalib
|
|
|
|
libvorbis libtheora speex xlibs perl ffmpeg;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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;
|
|
|
|
};
|
|
|
|
|
2009-10-01 10:06:59 +01:00
|
|
|
xercesJava = import ../development/libraries/java/xerces {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
ant = apacheAntGcj; # for bootstrap purposes
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-05-12 05:28:30 +01:00
|
|
|
zangband = builderDefsPackage (import ../games/zangband) {
|
2009-05-12 10:45:24 +01:00
|
|
|
inherit ncurses flex bison autoconf automake m4 coreutils;
|
2009-05-12 05:28:30 +01:00
|
|
|
};
|
|
|
|
|
I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.
I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.
Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.
So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:
import /etc/nixos/nixpkgs/default.nix
{
crossSystem = {
config = "armv5tel-unknown-linux-gnueabi";
bigEndian = false;
arch = "arm";
float = "soft";
};
}
svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
|
|
|
zlib = makeOverridable (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
|
|
|
|
2009-07-27 11:43:20 +01:00
|
|
|
fastjar = import ../development/tools/java/fastjar {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-10-01 10:07:17 +01:00
|
|
|
xalanj = xalanJava;
|
|
|
|
xalanJava = import ../development/libraries/java/xalanj {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
ant = apacheAntGcj; # for bootstrap purposes
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
xerces = xercesJava;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-07-31 11:24:02 +01:00
|
|
|
zziplib = import ../development/libraries/zziplib {
|
|
|
|
inherit fetchurl stdenv perl python zip xmlto zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / PERL MODULES
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-11-24 10:24:51 +00:00
|
|
|
buildPerlPackage = import ../development/perl-modules/generic perl;
|
2008-08-29 10:05:49 +01:00
|
|
|
|
2009-04-20 13:24:13 +01:00
|
|
|
perlPackages = recurseIntoAttrs (import ./perl-packages.nix {
|
2009-04-20 13:08:09 +01:00
|
|
|
inherit pkgs;
|
2009-04-20 13:24:13 +01:00
|
|
|
});
|
2008-08-29 10:05:49 +01:00
|
|
|
|
2009-04-20 13:49:35 +01:00
|
|
|
perlXMLParser = perlPackages.XMLParser;
|
2008-01-22 16:26:57 +00:00
|
|
|
|
2008-07-21 15:43:33 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / PYTHON MODULES
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-05-24 22:02:59 +01:00
|
|
|
buildPythonPackage =
|
|
|
|
import ../development/python-modules/generic {
|
|
|
|
inherit python setuptools makeWrapper lib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-05-24 22:08:39 +01:00
|
|
|
pythonPackages = recurseIntoAttrs (import ./python-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
});
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-08-29 14:53:28 +01:00
|
|
|
foursuite = import ../development/python-modules/4suite {
|
|
|
|
inherit fetchurl stdenv python;
|
2008-01-17 16:54:48 +00:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bsddb3 = import ../development/python-modules/bsddb3 {
|
|
|
|
inherit fetchurl stdenv python db4;
|
2008-07-22 14:01:30 +01:00
|
|
|
};
|
|
|
|
|
2009-11-23 12:21:34 +00:00
|
|
|
flup = builderDefsPackage ../development/python-modules/flup {
|
2009-11-18 09:39:59 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
python = python25;
|
|
|
|
setuptools = setuptools.passthru.function {python = python25;};
|
|
|
|
};
|
2008-01-17 16:54:48 +00:00
|
|
|
|
2008-10-06 19:56:47 +01:00
|
|
|
numeric = import ../development/python-modules/numeric {
|
|
|
|
inherit fetchurl stdenv python;
|
2008-08-26 13:50:03 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pil = import ../development/python-modules/pil {
|
2008-08-12 16:43:36 +01:00
|
|
|
inherit fetchurl stdenv python zlib libjpeg freetype;
|
2008-08-26 13:50:03 +01:00
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
psyco = import ../development/python-modules/psyco {
|
2009-08-25 07:36:05 +01:00
|
|
|
inherit fetchurl stdenv python;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2008-08-26 13:50:03 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pycairo = import ../development/python-modules/pycairo {
|
|
|
|
inherit fetchurl stdenv python pkgconfig cairo x11;
|
2008-07-31 13:36:47 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pycrypto = import ../development/python-modules/pycrypto {
|
|
|
|
inherit fetchurl stdenv python gmp;
|
2008-01-25 12:42:07 +00:00
|
|
|
};
|
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
pycups = import ../development/python-modules/pycups {
|
|
|
|
inherit stdenv fetchurl python cups;
|
2008-01-25 12:42:07 +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-10-06 23:47:20 +01:00
|
|
|
SDL_mixer SDL_ttf numeric;
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv python pkgconfig glib;
|
2008-08-26 13:50:03 +01: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;
|
2008-10-23 15:22:36 +01:00
|
|
|
};
|
|
|
|
|
2009-04-12 20:34:20 +01:00
|
|
|
pyGtkGlade = import ../development/python-modules/pygtk {
|
|
|
|
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit (gnome) libglade;
|
2008-01-22 19:02:55 +00:00
|
|
|
};
|
|
|
|
|
2008-08-12 16:40:01 +01:00
|
|
|
pyopengl = import ../development/python-modules/pyopengl {
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit fetchurl stdenv setuptools mesa freeglut pil python;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-04-12 20:34:20 +01:00
|
|
|
pyopenssl = builderDefsPackage (import ../development/python-modules/pyopenssl) {
|
|
|
|
inherit python openssl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
pythonSip = builderDefsPackage (import ../development/python-modules/python-sip/4.7.4.nix) {
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit python;
|
2008-01-19 16:42:42 +00:00
|
|
|
};
|
|
|
|
|
2009-03-09 13:29:37 +00:00
|
|
|
rhpl = import ../development/python-modules/rhpl {
|
|
|
|
inherit stdenv fetchurl rpm cpio python wirelesstools gettext;
|
2008-01-17 15:57:26 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
sip = import ../development/python-modules/python-sip {
|
2009-09-10 18:00:30 +01:00
|
|
|
inherit stdenv fetchurl lib python;
|
2008-05-30 19:15:25 +01:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
pyqt = builderDefsPackage (import ../development/python-modules/pyqt/4.3.3.nix) {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit pkgconfig python pythonSip glib;
|
2008-05-25 21:43:56 +01:00
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
qt = qt4;
|
2008-05-30 19:15:25 +01:00
|
|
|
};
|
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
pyqt4 = import ../development/python-modules/pyqt {
|
2009-09-10 18:00:30 +01:00
|
|
|
inherit stdenv fetchurl lib python sip;
|
|
|
|
qt4 = qt45;
|
2008-05-30 19:15:25 +01:00
|
|
|
};
|
|
|
|
|
2008-06-01 17:06:18 +01:00
|
|
|
pyx = import ../development/python-modules/pyx {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-02-22 13:53:45 +00:00
|
|
|
pyxml = import ../development/python-modules/pyxml {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-05-24 13:20:08 +01:00
|
|
|
setuptools = builderDefsPackage (import ../development/python-modules/setuptools) {
|
|
|
|
inherit python makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython = wxPython26;
|
2008-05-30 19:15:25 +01: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;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2008-05-30 19:15:25 +01:00
|
|
|
};
|
|
|
|
|
2009-05-24 22:27:30 +01:00
|
|
|
twisted = pythonPackages.twisted;
|
2009-02-12 15:59:22 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ZopeInterface = import ../development/python-modules/ZopeInterface {
|
|
|
|
inherit fetchurl stdenv python;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2008-08-29 14:53:28 +01:00
|
|
|
zope = import ../development/python-modules/zope {
|
2008-09-19 15:39:57 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
python = python24;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### SERVERS
|
2008-05-30 19:15:25 +01:00
|
|
|
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-28 17:45:56 +01:00
|
|
|
apacheHttpd = makeOverridable (import ../servers/http/apache-httpd) {
|
2009-08-31 16:03:31 +01:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv perl openssl zlib apr aprutil pcre;
|
2007-12-30 22:02:04 +00:00
|
|
|
sslSupport = true;
|
2009-02-20 10:56:47 +00:00
|
|
|
};
|
|
|
|
|
2009-11-08 19:55:37 +00:00
|
|
|
sabnzbd = import ../servers/sabnzbd {
|
2009-11-08 23:39:06 +00:00
|
|
|
inherit fetchurl stdenv python cheetahTemplate makeWrapper par2cmdline unzip unrar;
|
2009-11-08 19:55:37 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
bind = builderDefsPackage (import ../servers/dns/bind/9.5.0.nix) {
|
2008-06-12 19:10:08 +01:00
|
|
|
inherit openssl libtool;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2009-04-01 18:31:44 +01:00
|
|
|
dico = import ../servers/dico {
|
|
|
|
inherit fetchurl stdenv libtool gettext zlib readline guile python;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
dict = composedArgsAndFun (import ../servers/dict/1.9.15.nix) {
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit builderDefs which bison;
|
2008-06-18 23:48:34 +01:00
|
|
|
flex=flex2534;
|
2008-03-06 04:39:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
2009-11-17 16:54:04 +00:00
|
|
|
inherit fetchurl stdenv expat erlang zlib openssl pam lib;
|
2008-01-23 10:06:07 +00:00
|
|
|
};
|
|
|
|
|
2009-11-05 14:41:05 +00:00
|
|
|
couchdb = import ../servers/http/couchdb {
|
2009-11-06 12:38:54 +00:00
|
|
|
inherit fetchurl stdenv erlang spidermonkey icu getopt;
|
2009-11-05 14:41:05 +00:00
|
|
|
};
|
|
|
|
|
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 {
|
2009-11-11 15:52:26 +00:00
|
|
|
inherit fetchurl stdenv unzip jdk lib;
|
2008-01-23 12:25:08 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2008-09-24 01:42:50 +01:00
|
|
|
lighttpd = import ../servers/http/lighttpd {
|
|
|
|
inherit fetchurl stdenv pcre libxml2 zlib attr bzip2;
|
|
|
|
};
|
|
|
|
|
2009-08-31 16:03:31 +01:00
|
|
|
mod_python = makeOverridable (import ../servers/http/apache-modules/mod_python) {
|
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apacheHttpd python;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-11 16:19:00 +00:00
|
|
|
|
2009-08-21 11:20:40 +01:00
|
|
|
myserver = import ../servers/http/myserver {
|
|
|
|
inherit fetchurl stdenv libgcrypt libevent libidn gnutls libxml2
|
|
|
|
zlib texinfo cppunit;
|
|
|
|
};
|
|
|
|
|
2008-11-30 09:06:53 +00:00
|
|
|
nginx = builderDefsPackage (import ../servers/http/nginx) {
|
|
|
|
inherit openssl pcre zlib libxml2 libxslt;
|
|
|
|
};
|
|
|
|
|
2008-06-13 05:31:31 +01:00
|
|
|
postfix = import ../servers/mail/postfix {
|
2009-02-03 10:39:48 +00:00
|
|
|
inherit fetchurl stdenv db4 openssl cyrus_sasl glibc;
|
2008-06-13 05:31:31 +01:00
|
|
|
};
|
|
|
|
|
2009-10-06 06:43:51 +01:00
|
|
|
pulseaudio = makeOverridable (import ../servers/pulseaudio) {
|
2009-04-02 13:22:18 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig gnum4 gdbm
|
2008-12-19 14:56:37 +00:00
|
|
|
dbus hal avahi liboil libsamplerate libsndfile speex
|
2009-10-29 11:43:02 +00:00
|
|
|
intltool gettext glib;
|
2009-01-17 21:17:57 +00:00
|
|
|
inherit (xlibs) libX11 libICE libSM;
|
2009-04-21 10:56:02 +01:00
|
|
|
inherit alsaLib; # Needs ALSA >= 1.0.17.
|
2008-12-19 14:56:37 +00:00
|
|
|
gconf = gnome.GConf;
|
2009-04-02 13:22:18 +01:00
|
|
|
|
|
|
|
# Work around Libtool 1.5 interaction with Ltdl 2.x
|
|
|
|
# ("undefined reference to lt__PROGRAM__LTX_preloaded_symbols").
|
|
|
|
libtool = libtool_1_5;
|
2008-12-19 14:56:37 +00:00
|
|
|
};
|
|
|
|
|
2008-01-23 14:40:03 +00:00
|
|
|
tomcat_connectors = import ../servers/http/apache-modules/tomcat-connectors {
|
|
|
|
inherit fetchurl stdenv apacheHttpd jdk;
|
|
|
|
};
|
|
|
|
|
2009-03-20 16:17:08 +00:00
|
|
|
portmap = makeOverridable (import ../servers/portmap) {
|
|
|
|
inherit fetchurl stdenv lib tcpWrapper;
|
|
|
|
};
|
2008-03-15 22:51:46 +00:00
|
|
|
|
2009-07-09 04:50:44 +01:00
|
|
|
monetdb = import ../servers/sql/monetdb {
|
2009-07-27 17:05:39 +01:00
|
|
|
inherit composableDerivation getConfig;
|
|
|
|
inherit fetchurl stdenv pcre openssl readline libxml2 geos apacheAnt jdk5;
|
2009-07-09 04:50:44 +01: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
|
|
|
|
2009-04-12 21:15:37 +01:00
|
|
|
openfire = composedArgsAndFun (import ../servers/xmpp/openfire) {
|
2008-02-21 16:24:44 +00:00
|
|
|
inherit builderDefs jre;
|
|
|
|
};
|
|
|
|
|
2009-10-14 15:38:16 +01:00
|
|
|
postgresql = postgresql83;
|
|
|
|
|
|
|
|
postgresql83 = import ../servers/sql/postgresql/8.3.x.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
2009-09-04 13:55:03 +01:00
|
|
|
};
|
|
|
|
|
2009-10-14 15:38:16 +01:00
|
|
|
postgresql84 = import ../servers/sql/postgresql/8.4.x.nix {
|
2009-09-04 13:55:03 +01:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-04-13 00:27:55 +01:00
|
|
|
pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) {
|
|
|
|
inherit xmpppy pythonIRClib python makeWrapper;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyMAILt = builderDefsPackage (import ../servers/xmpp/pyMAILt) {
|
|
|
|
inherit xmpppy python makeWrapper fetchcvs;
|
|
|
|
};
|
|
|
|
|
2009-04-26 12:06:41 +01:00
|
|
|
samba = makeOverridable (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
|
|
|
|
2008-12-21 16:36:47 +00:00
|
|
|
squids = recurseIntoAttrs( import ../servers/squid/squids.nix {
|
|
|
|
inherit fetchurl stdenv perl lib composableDerivation;
|
|
|
|
});
|
|
|
|
squid = squids.squid3Beta; # has ipv6 support
|
2008-05-15 18:51:41 +01:00
|
|
|
|
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-08-04 13:04:24 +01:00
|
|
|
tomcat_mysql_jdbc = import ../servers/http/tomcat/jdbc/mysql {
|
|
|
|
inherit stdenv tomcat6 mysql_jdbc;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-08-19 21:19:17 +01:00
|
|
|
xinetd = import ../servers/xinetd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-08 18:02:48 +01:00
|
|
|
xorg = recurseIntoAttrs (import ../servers/x11/xorg/default.nix {
|
2009-07-11 11:32:27 +01:00
|
|
|
inherit fetchurl fetchsvn stdenv pkgconfig freetype fontconfig
|
2007-12-30 22:02:04 +00:00
|
|
|
libxslt expat libdrm libpng zlib perl mesa mesaHeaders
|
2009-07-11 11:32:27 +01:00
|
|
|
xkeyboard_config dbus hal libuuid openssl gperf m4
|
|
|
|
automake autoconf libtool;
|
2009-04-30 09:29:29 +01:00
|
|
|
|
|
|
|
# !!! pythonBase is use instead of python because this cause an infinite
|
|
|
|
# !!! recursion when the flag python.full is set to true. Packages
|
|
|
|
# !!! contained in the loop are python, tk, xlibs-wrapper, libX11,
|
|
|
|
# !!! libxcd (and xcb-proto).
|
|
|
|
python = pythonBase;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2007-12-01 05:56:58 +00:00
|
|
|
|
2008-10-25 08:19:07 +01:00
|
|
|
xorgReplacements = composedArgsAndFun (import ../servers/x11/xorg/replacements.nix) {
|
|
|
|
inherit fetchurl stdenv automake autoconf libtool xorg composedArgsAndFun;
|
|
|
|
};
|
|
|
|
|
2009-11-05 21:34:31 +00:00
|
|
|
xorgVideoUnichrome = import ../servers/x11/xorg/unichrome/default.nix {
|
|
|
|
inherit stdenv fetchgit pkgconfig libdrm mesa automake autoconf libtool;
|
|
|
|
inherit (xorg) fontsproto libpciaccess randrproto renderproto videoproto
|
|
|
|
libX11 xextproto xf86driproto xorgserver xproto libXvMC glproto
|
|
|
|
libXext utilmacros;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-04-30 03:37:00 +01:00
|
|
|
autofs5 = import ../os-specific/linux/autofs/autofs-v5.nix {
|
2009-05-01 06:42:32 +01:00
|
|
|
inherit bleedingEdgeRepos fetchurl stdenv flex bison kernelHeaders;
|
2009-04-30 03:37:00 +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 {
|
2009-08-11 21:57:29 +01:00
|
|
|
inherit fetchurl stdenv tcpWrapper libuuid;
|
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;
|
|
|
|
};
|
|
|
|
|
2009-02-10 23:12:18 +00:00
|
|
|
acpid = import ../os-specific/linux/acpid {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-21 19:57:40 +00:00
|
|
|
acpitool = import ../os-specific/linux/acpitool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-21 10:56:02 +01:00
|
|
|
alsaLib = import ../os-specific/linux/alsa-lib {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-05-18 14:53:01 +01:00
|
|
|
|
2009-09-20 22:54:23 +01:00
|
|
|
alsaPlugins = import ../os-specific/linux/alsa-plugins {
|
2009-09-21 16:55:26 +01:00
|
|
|
inherit fetchurl stdenv lib pkgconfig alsaLib pulseaudio jackaudio;
|
|
|
|
};
|
|
|
|
alsaPluginWrapper = import ../os-specific/linux/alsa-plugins/wrapper.nix {
|
|
|
|
inherit stdenv alsaPlugins writeScriptBin;
|
2009-09-20 22:54:23 +01:00
|
|
|
};
|
|
|
|
|
2009-04-21 10:56:02 +01:00
|
|
|
alsaUtils = import ../os-specific/linux/alsa-utils {
|
|
|
|
inherit stdenv fetchurl alsaLib gettext ncurses;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2008-02-22 03:06:12 +00:00
|
|
|
|
2009-08-05 21:29:36 +01:00
|
|
|
bluez = import ../os-specific/linux/bluez {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus libusb alsaLib glib;
|
2009-08-05 21:29:36 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-04-01 06:42:07 +01:00
|
|
|
btrfsProgs = builderDefsPackage (import ../os-specific/linux/btrfsprogs) {
|
2009-08-11 23:29:03 +01:00
|
|
|
inherit libuuid zlib acl;
|
2009-04-01 06:42:07 +01:00
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
cpufrequtils = (
|
2009-08-25 07:36:05 +01:00
|
|
|
import ../os-specific/linux/cpufrequtils {
|
2009-01-12 21:12:07 +00:00
|
|
|
inherit fetchurl stdenv libtool gettext;
|
|
|
|
glibc = stdenv.gcc.libc;
|
|
|
|
kernelHeaders = stdenv.gcc.libc.kernelHeaders;
|
2009-08-25 07:36:05 +01:00
|
|
|
});
|
2009-01-12 21:12:07 +00:00
|
|
|
|
2008-11-14 12:34:18 +00:00
|
|
|
cryopid = import ../os-specific/linux/cryopid {
|
|
|
|
inherit fetchurl stdenv zlibStatic;
|
|
|
|
};
|
|
|
|
|
2009-03-01 11:11:21 +00:00
|
|
|
cryptsetup = import ../os-specific/linux/cryptsetup {
|
2009-09-20 10:22:02 +01:00
|
|
|
inherit stdenv fetchurl libuuid popt devicemapper udev;
|
2009-03-01 11:11:21 +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
|
|
|
|
2009-09-22 09:12:11 +01:00
|
|
|
davfs2 = import ../os-specific/linux/davfs2 {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
neon = neon028;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-08-11 21:43:39 +01:00
|
|
|
dmidecode = import ../os-specific/linux/dmidecode {
|
|
|
|
inherit fetchurl stdenv;
|
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
|
|
|
|
2009-11-05 21:08:53 +00:00
|
|
|
directvnc = builderDefsPackage ../os-specific/linux/directvnc {
|
|
|
|
inherit libjpeg pkgconfig zlib directfb;
|
|
|
|
inherit (xlibs) xproto;
|
|
|
|
};
|
|
|
|
|
2009-09-20 09:38:30 +01:00
|
|
|
dmraid = builderDefsPackage ../os-specific/linux/dmraid {
|
|
|
|
inherit devicemapper;
|
|
|
|
};
|
|
|
|
|
2009-10-02 13:45:18 +01:00
|
|
|
libuuid = if stdenv.system != "i686-darwin" then utillinuxng else null;
|
2009-06-15 17:45:48 +01:00
|
|
|
|
2009-11-18 15:05:09 +00:00
|
|
|
e2fsprogs = import ../os-specific/linux/e2fsprogs {
|
2009-08-11 21:57:29 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libuuid;
|
2009-06-15 17:45:48 +01:00
|
|
|
};
|
2009-03-25 10:55:28 +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
|
|
|
|
2008-12-08 12:44:42 +00:00
|
|
|
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
2009-10-27 23:49:59 +00:00
|
|
|
inherit fontconfig gpm freetype pkgconfig ncurses;
|
2008-12-08 12:44:42 +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
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
gpm = import ../servers/gpm {
|
2009-11-18 12:47:58 +00:00
|
|
|
inherit fetchurl stdenv ncurses bison;
|
2008-05-21 14:27:41 +01:00
|
|
|
flex = flex2535;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-21 14:27:41 +01:00
|
|
|
|
2009-10-06 06:43:51 +01:00
|
|
|
hal = makeOverridable (import ../os-specific/linux/hal) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig python pciutils usbutils expat
|
2009-08-11 23:23:30 +01:00
|
|
|
libusb dbus dbus_glib libuuid perl perlXMLParser
|
2009-09-26 00:05:53 +01:00
|
|
|
gettext zlib eject libsmbios udev gperf dmidecode utillinuxng
|
2009-10-29 11:43:02 +00:00
|
|
|
consolekit policykit pmutils glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2009-09-10 17:57:53 +01:00
|
|
|
halevt = import ../os-specific/linux/hal/hal-evt.nix {
|
|
|
|
inherit fetchurl stdenv lib libxml2 pkgconfig boolstuff hal dbus_glib;
|
|
|
|
};
|
|
|
|
|
2009-04-28 22:59:09 +01:00
|
|
|
hal_info = import ../os-specific/linux/hal/info.nix {
|
2009-08-11 22:03:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2009-04-28 22:59:09 +01:00
|
|
|
};
|
|
|
|
|
2009-11-08 22:12:55 +00:00
|
|
|
hal_info_synaptics = import ../os-specific/linux/hal/synaptics.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
iproute = import ../os-specific/linux/iproute {
|
|
|
|
inherit fetchurl stdenv flex bison db4;
|
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
iputils = (
|
2009-08-25 07:36:05 +01:00
|
|
|
import ../os-specific/linux/iputils {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
glibc = stdenv.gcc.libc;
|
|
|
|
kernelHeaders = stdenv.gcc.libc.kernelHeaders;
|
2009-08-25 07:36:05 +01:00
|
|
|
});
|
2007-10-01 16:14:50 +01:00
|
|
|
|
2008-08-15 10:49:43 +01:00
|
|
|
iptables = import ../os-specific/linux/iptables {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2003-12-03 21:58:16 +00:00
|
|
|
|
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-11-26 13:15:38 +00:00
|
|
|
iwlwifi4965ucodeV1 = import ../os-specific/linux/firmware/iwlwifi-4965-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
iwlwifi4965ucodeV2 = import ../os-specific/linux/firmware/iwlwifi-4965-ucode/version-2.nix {
|
2008-02-18 16:15:51 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-29 15:50:59 +01:00
|
|
|
iwlwifi5000ucode = import ../os-specific/linux/firmware/iwlwifi-5000-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
jfsrec = import ../os-specific/linux/jfsrec {
|
|
|
|
inherit fetchurl stdenv boost;
|
2008-03-28 11:16:43 +00:00
|
|
|
};
|
|
|
|
|
2009-10-08 14:07:56 +01:00
|
|
|
jfsutils = import ../os-specific/linux/jfsutils/default.nix {
|
|
|
|
inherit fetchurl stdenv libuuid;
|
2008-03-27 19:12:14 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-02-01 21:44:56 +00:00
|
|
|
kernelHeaders = kernelHeaders_2_6_28;
|
2006-06-29 13:41:25 +01:00
|
|
|
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
kernelHeadersCross = cross : forceBuildDrv (import ../os-specific/linux/kernel-headers/2.6.28.nix {
|
- Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
keep this branch properly updated from trunk. We agreed with Nicolas Pierron
doing a massive renaming, so all current buildInputs become hostInputs (input
as build for the host machine, in autotools terminology) , and
then buildInputs would mean "input as for the build machine".
By now, the specific "input as for the build machine" is specified through
buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
we start changing nixpkgs expressions so they distinguish the current
buildInputs into buildInputs and buildNativeInputs, we could break even more
nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
to be run in the build machine. This allows, without any special rewriting,
"fetchurl" derivations to be always results for the build machine to use
them.
- The change above implies that, for anyone wanting to cross-compile, has to
build the hostDrv of the wanted derivation. For example, after this commit,
the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
the contents of this arm.nix in r18398.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
|
|
|
inherit stdenv fetchurl cross perl;
|
Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
Maybe we should have a single stdenv and forget about the stdenvCross
adapter - this could end in a stdenv a bit complex, but simpler than the
generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
now works for both the cross and the native compilers, but I think this
should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
its manual, so the derivation still fails. Guile requires patching to
cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
derivation variables mixed with those of the stdenvCross.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
|
|
|
});
|
My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter,
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:
bashRealArm = makeOverridable (import ../shells/bash) {
inherit fetchurl bison;
stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};
Meanwhile it does not work - I still cannot get the cross-gcc to build.
I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.
I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...
I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.
This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.
I cared not to break anything of the usual stdenv in all this work.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
|
|
|
|
2008-10-06 14:18:02 +01:00
|
|
|
kernelHeaders_2_6_18 = import ../os-specific/linux/kernel-headers/2.6.18.5.nix {
|
|
|
|
inherit fetchurl stdenv unifdef;
|
|
|
|
};
|
|
|
|
|
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-12-10 11:06:23 +00:00
|
|
|
kernelHeaders_2_6_26 = import ../os-specific/linux/kernel-headers/2.6.26.2.nix {
|
2008-06-05 11:59:41 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-12-10 11:06:23 +00:00
|
|
|
kernelHeaders_2_6_27 = import ../os-specific/linux/kernel-headers/2.6.27.8.nix {
|
2008-06-05 11:59:41 +01:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-13 12:40:58 +00:00
|
|
|
kernelHeaders_2_6_28 = import ../os-specific/linux/kernel-headers/2.6.28.nix {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-11-01 17:17:40 +00:00
|
|
|
kernelHeadersArm = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "arm-linux";
|
|
|
|
};
|
2004-06-21 21:41:32 +01:00
|
|
|
|
2009-11-01 17:17:40 +00:00
|
|
|
kernelHeadersMips = import ../os-specific/linux/kernel-headers-cross {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "mips-linux";
|
|
|
|
};
|
2004-03-05 10:13:23 +00:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
kernelHeadersSparc = import ../os-specific/linux/kernel-headers-cross {
|
2009-11-01 17:17:40 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
cross = "sparc-linux";
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-11-01 17:17:40 +00:00
|
|
|
kernel_2_6_25 = import ../os-specific/linux/kernel/linux-2.6.25.nix {
|
2009-01-15 15:54:24 +00:00
|
|
|
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";
|
|
|
|
features = { fbConDecor = true; };
|
|
|
|
}
|
|
|
|
{ name = "sec_perm-2.6.24";
|
|
|
|
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
|
|
|
|
features = { secPermPatch = true; };
|
|
|
|
}
|
|
|
|
];
|
|
|
|
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"] "")];
|
2009-11-01 17:17:40 +00:00
|
|
|
};
|
2009-01-15 15:54:24 +00:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
kernel_2_6_26 = import ../os-specific/linux/kernel/linux-2.6.26.nix {
|
2008-08-07 15:57:10 +01:00
|
|
|
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";
|
|
|
|
features = { fbConDecor = true; };
|
|
|
|
}
|
|
|
|
{ name = "sec_perm-2.6.24";
|
|
|
|
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
|
|
|
|
features = { secPermPatch = true; };
|
|
|
|
}
|
|
|
|
];
|
|
|
|
extraConfig =
|
|
|
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
|
|
|
[(getConfig ["kernel" "addConfig"] "")];
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2008-08-07 15:57:10 +01:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
kernel_2_6_27 = import ../os-specific/linux/kernel/linux-2.6.27.nix {
|
2008-10-29 12:34:54 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ name = "fbcondecor-0.9.4-2.6.27";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.27.patch;
|
|
|
|
sha256 = "170l9l5fvbgjrr4klqcwbgjg4kwvrrhjpmgbfpqj0scq0s4q4vk6";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_CON_DECOR=y";
|
|
|
|
features = { fbConDecor = true; };
|
|
|
|
}
|
|
|
|
{ name = "sec_perm-2.6.24";
|
|
|
|
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
|
|
|
|
features = { secPermPatch = true; };
|
|
|
|
}
|
|
|
|
];
|
|
|
|
extraConfig =
|
|
|
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
|
|
|
[(getConfig ["kernel" "addConfig"] "")];
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2008-10-29 12:34:54 +00:00
|
|
|
|
2009-09-01 22:56:46 +01:00
|
|
|
kernel_2_6_28 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.28.nix) {
|
2009-01-12 13:11:18 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ name = "fbcondecor-0.9.5-2.6.28";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.5-2.6.28.patch;
|
|
|
|
sha256 = "105q2dwrwi863r7nhlrvljim37aqv67mjc3lgg529jzqgny3fjds";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_CON_DECOR=y";
|
|
|
|
features = { fbConDecor = true; };
|
|
|
|
}
|
|
|
|
{ name = "sec_perm-2.6.24";
|
|
|
|
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
|
|
|
|
features = { secPermPatch = true; };
|
|
|
|
}
|
2009-04-29 13:09:37 +01:00
|
|
|
{ # http://patchwork.kernel.org/patch/19495/
|
|
|
|
name = "ext4-softlockups-fix";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://patchwork.kernel.org/patch/19495/raw;
|
|
|
|
sha256 = "0vqcj9qs7jajlvmwm97z8cljr4vb277aqhsjqrakbxfdiwlhrzzf";
|
|
|
|
};
|
|
|
|
}
|
2009-01-12 13:11:18 +00:00
|
|
|
];
|
|
|
|
extraConfig =
|
|
|
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
|
|
|
[(getConfig ["kernel" "addConfig"] "")];
|
2009-09-01 22:56:46 +01:00
|
|
|
};
|
2009-01-12 13:11:18 +00:00
|
|
|
|
2009-11-01 17:17:40 +00:00
|
|
|
kernel_2_6_29 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.29.nix) {
|
2009-06-07 00:09:38 +01:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
kernelPatches = [
|
|
|
|
{ name = "fbcondecor-0.9.5-2.6.28";
|
|
|
|
patch = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.6-2.6.29.2.patch;
|
|
|
|
sha256 = "1yppvji13sgnql62h4wmskzl9l198pp1pbixpbymji7mr4a0ylx1";
|
|
|
|
};
|
|
|
|
extraConfig = "CONFIG_FB_CON_DECOR=y";
|
|
|
|
features = { fbConDecor = true; };
|
|
|
|
}
|
|
|
|
{ name = "sec_perm-2.6.24";
|
|
|
|
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
|
|
|
|
features = { secPermPatch = true; };
|
|
|
|
}
|
|
|
|
];
|
2009-11-01 17:17:40 +00:00
|
|
|
};
|
2009-06-07 00:09:38 +01:00
|
|
|
|
2009-09-12 08:13:20 +01:00
|
|
|
kernel_2_6_31 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31.nix) {
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools platform;
|
2009-09-12 08:13:20 +01:00
|
|
|
kernelPatches = [];
|
|
|
|
};
|
|
|
|
|
2009-11-05 23:32:48 +00:00
|
|
|
kernel_2_6_31_zen5 = makeOverridable (import ../os-specific/linux/zen-kernel/2.6.31-zen5.nix) {
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools
|
2009-09-11 14:16:18 +01:00
|
|
|
lib builderDefs;
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit platform;
|
2009-09-11 14:16:18 +01:00
|
|
|
};
|
|
|
|
|
2009-10-23 06:21:54 +01:00
|
|
|
kernel_2_6_31_zen5_bfs = kernel_2_6_31_zen5.override {
|
2009-09-14 22:56:31 +01:00
|
|
|
ckSched = true;
|
|
|
|
};
|
|
|
|
|
2009-11-05 23:32:48 +00:00
|
|
|
kernel_2_6_31_zen7 = makeOverridable (import ../os-specific/linux/zen-kernel/zen-stable.nix) {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools
|
|
|
|
lib builderDefs;
|
|
|
|
};
|
|
|
|
|
|
|
|
kernel_2_6_31_zen7_bfs = kernel_2_6_31_zen7.override {
|
|
|
|
ckSched = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
kernel_2_6_31_zen = kernel_2_6_31_zen7;
|
|
|
|
kernel_2_6_31_zen_bfs = kernel_2_6_31_zen7_bfs;
|
2009-09-17 10:03:42 +01: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
|
|
|
|
2009-09-01 22:56:46 +01:00
|
|
|
kernelPackagesFor = kernel: rec {
|
2008-05-22 13:01:24 +01:00
|
|
|
|
|
|
|
inherit kernel;
|
|
|
|
|
|
|
|
aufs = import ../os-specific/linux/aufs {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
2009-09-14 15:23:22 +01:00
|
|
|
# Currently it is broken
|
|
|
|
# Build requires exporting some symbols from kernel
|
2009-09-22 21:16:38 +01:00
|
|
|
# Go to package homepage to learn about the needed
|
2009-09-14 15:23:22 +01:00
|
|
|
# patch. Feel free to take over the package.
|
2009-09-08 10:35:21 +01:00
|
|
|
aufs2 = import ../os-specific/linux/aufs2 {
|
2009-09-13 11:25:58 +01:00
|
|
|
inherit fetchgit stdenv kernel perl;
|
2009-09-08 10:35:21 +01:00
|
|
|
};
|
|
|
|
|
2009-09-16 14:54:11 +01:00
|
|
|
aufs2Utils = if lib.attrByPath ["features" "aufs"] false kernel then
|
2009-09-15 11:28:40 +01:00
|
|
|
builderDefsPackage ../os-specific/linux/aufs2-utils {
|
|
|
|
inherit kernel;
|
2009-09-22 21:16:38 +01:00
|
|
|
}
|
2009-09-15 11:28:40 +01:00
|
|
|
else null;
|
2009-09-15 08:58:44 +01:00
|
|
|
|
2008-09-12 21:00:00 +01:00
|
|
|
exmap = import ../os-specific/linux/exmap {
|
|
|
|
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
|
|
|
inherit (gtkLibs) gtkmm;
|
|
|
|
};
|
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
iwlwifi = import ../os-specific/linux/iwlwifi {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
2008-11-26 13:15:38 +00:00
|
|
|
iwlwifi4965ucode =
|
|
|
|
(if (builtins.compareVersions kernel.version "2.6.27" == 0)
|
|
|
|
|| (builtins.compareVersions kernel.version "2.6.27" == 1)
|
|
|
|
then iwlwifi4965ucodeV2
|
|
|
|
else iwlwifi4965ucodeV1);
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
atheros = composedArgsAndFun (import ../os-specific/linux/atheros/0.9.4.nix) {
|
2008-06-03 08:41:52 +01:00
|
|
|
inherit fetchurl stdenv builderDefs kernel lib;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-22 20:29:23 +01:00
|
|
|
|
2009-03-30 15:54:06 +01:00
|
|
|
nvidia_x11 = import ../os-specific/linux/nvidia-x11 {
|
2008-06-13 12:58:46 +01:00
|
|
|
inherit stdenv fetchurl kernel xlibs gtkLibs zlib;
|
2008-05-22 13:01:24 +01:00
|
|
|
};
|
|
|
|
|
2009-09-19 23:09:08 +01:00
|
|
|
nvidia_x11_legacy = import ../os-specific/linux/nvidia-x11/legacy.nix {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-23 12:21:34 +00:00
|
|
|
kqemu = builderDefsPackage ../os-specific/linux/kqemu/1.4.0pre1.nix {
|
|
|
|
inherit kernel perl;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-22 20:29:23 +01:00
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
splashutils =
|
2009-04-23 12:17:17 +01:00
|
|
|
# Splashutils 1.3 is broken, so disable splash on older kernels.
|
|
|
|
if kernel.features ? fbSplash then /* splashutils_13 */ null else
|
2009-04-29 15:24:32 +01:00
|
|
|
if kernel.features ? fbConDecor then splashutils_15 else
|
2008-06-10 17:09:53 +01:00
|
|
|
null;
|
|
|
|
|
2008-05-22 13:01:24 +01:00
|
|
|
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 {
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl bison;
|
2008-05-22 13:01:24 +01:00
|
|
|
inherit libtool automake autoconf docbook5 docbook5_xsl libxslt docbook_xml_dtd_43 w3m;
|
|
|
|
|
|
|
|
aterm = aterm242fixes;
|
|
|
|
db4 = db45;
|
|
|
|
|
|
|
|
flex = flex2533;
|
|
|
|
|
|
|
|
inherit ext3cowtools e3cfsprogs rsync;
|
|
|
|
ext3cow_kernel = kernel;
|
|
|
|
};
|
|
|
|
|
2008-09-05 08:26:37 +01:00
|
|
|
sysprof = import ../development/tools/profiling/sysprof {
|
|
|
|
inherit fetchurl stdenv binutils pkgconfig kernel;
|
|
|
|
inherit (gnome) gtk glib pango libglade;
|
|
|
|
};
|
2009-01-25 20:09:17 +00:00
|
|
|
|
2009-04-15 15:34:02 +01:00
|
|
|
virtualbox = import ../applications/virtualization/virtualbox {
|
2009-04-15 13:37:57 +01:00
|
|
|
stdenv = stdenv_32bit;
|
2009-10-08 13:57:05 +01:00
|
|
|
inherit fetchurl lib iasl dev86 libxslt libxml2 SDL hal
|
2009-10-29 11:43:02 +00:00
|
|
|
libcap libpng zlib kernel python which alsaLib curl glib;
|
2009-09-11 13:24:32 +01:00
|
|
|
qt4 = qt45;
|
2009-01-25 20:09:17 +00:00
|
|
|
inherit (xlibs) xproto libX11 libXext libXcursor;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
};
|
2009-11-03 15:57:22 +00:00
|
|
|
|
2009-10-13 14:32:00 +01:00
|
|
|
virtualboxGuestAdditions = import ../applications/virtualization/virtualbox/guest-additions {
|
|
|
|
inherit stdenv fetchurl lib patchelf cdrkit kernel;
|
2009-10-13 22:19:07 +01:00
|
|
|
inherit (xlibs) libX11 libXt libXext libXmu libXcomposite libXfixes;
|
2009-10-13 14:32:00 +01:00
|
|
|
};
|
2008-05-22 13:01:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Build the kernel modules for the some of the kernels.
|
|
|
|
kernelPackages_2_6_25 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_25);
|
2008-08-07 17:47:08 +01:00
|
|
|
kernelPackages_2_6_26 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_26);
|
2008-10-29 12:34:54 +00:00
|
|
|
kernelPackages_2_6_27 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_27);
|
2009-01-12 13:11:18 +00:00
|
|
|
kernelPackages_2_6_28 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_28);
|
2009-06-08 23:04:03 +01:00
|
|
|
kernelPackages_2_6_29 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_29);
|
2009-11-01 17:17:40 +00:00
|
|
|
kernelPackages_2_6_31_zen5 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_zen5);
|
|
|
|
kernelPackages_2_6_31_zen = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_zen);
|
2009-11-06 11:24:49 +00:00
|
|
|
kernelPackages_2_6_31_zen_bfs = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_zen_bfs);
|
2009-11-01 17:17:40 +00:00
|
|
|
kernelPackages_2_6_31 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31);
|
2008-05-22 13:01:24 +01:00
|
|
|
|
|
|
|
# The current default kernel / kernel modules.
|
2009-04-23 12:17:17 +01:00
|
|
|
kernelPackages = kernelPackages_2_6_28;
|
2008-05-22 13:01:24 +01:00
|
|
|
|
2009-01-15 15:54:24 +00:00
|
|
|
customKernel = composedArgsAndFun (lib.sumTwoArgs (import ../os-specific/linux/kernel/generic.nix) {
|
2009-01-17 13:40:12 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2008-08-14 23:04:30 +01:00
|
|
|
});
|
2008-03-24 19:40:15 +00:00
|
|
|
|
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 {
|
2009-09-28 16:33:42 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 perl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-09-14 20:05:59 +01:00
|
|
|
lm_sensors = import ../os-specific/linux/lm_sensors {
|
|
|
|
inherit fetchurl stdenv bison flex perl;
|
|
|
|
};
|
|
|
|
|
2009-06-22 15:14:58 +01:00
|
|
|
klibc = makeOverridable (import ../os-specific/linux/klibc) {
|
2009-01-29 15:44:37 +00:00
|
|
|
inherit fetchurl stdenv perl bison mktemp;
|
|
|
|
kernelHeaders = glibc.kernelHeaders;
|
|
|
|
};
|
|
|
|
|
2009-06-25 09:22:51 +01:00
|
|
|
# Old version; needed in vmtools for insmod. Should use
|
|
|
|
# module_init_tools instead.
|
|
|
|
klibc_15 = makeOverridable (import ../os-specific/linux/klibc/1.5.nix) {
|
2009-01-29 15:44:37 +00:00
|
|
|
inherit fetchurl stdenv perl bison mktemp;
|
|
|
|
kernelHeaders = glibc.kernelHeaders;
|
|
|
|
};
|
|
|
|
|
2009-06-22 15:14:58 +01:00
|
|
|
klibcShrunk = makeOverridable (import ../os-specific/linux/klibc/shrunk.nix) {
|
2009-01-29 15:44:37 +00:00
|
|
|
inherit stdenv klibc;
|
|
|
|
};
|
|
|
|
|
2009-09-23 15:24:37 +01:00
|
|
|
kvm = kvm76;
|
|
|
|
|
|
|
|
kvm76 = import ../os-specific/linux/kvm/76.nix {
|
|
|
|
inherit fetchurl stdenv zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
|
|
|
inherit (glibc) kernelHeaders;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-06-02 16:59:42 +01:00
|
|
|
kvm86 = import ../os-specific/linux/kvm/86.nix {
|
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils;
|
2009-04-29 17:00:05 +01:00
|
|
|
inherit (glibc) kernelHeaders;
|
2009-01-13 12:40:58 +00:00
|
|
|
};
|
|
|
|
|
2009-11-09 11:55:31 +00:00
|
|
|
kvm88 = import ../os-specific/linux/kvm/88.nix {
|
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils;
|
|
|
|
inherit (glibc) kernelHeaders;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
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
|
|
|
module_init_tools = import ../os-specific/linux/module-init-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-11 09:45:01 +01:00
|
|
|
|
2008-08-06 16:43:03 +01:00
|
|
|
mount_cifs = import ../os-specific/linux/mount-cifs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-04-20 20:13:40 +01:00
|
|
|
inherit stdenv module_init_tools modules buildEnv;
|
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
|
|
|
|
2009-03-04 17:28:25 +00:00
|
|
|
neverball = import ../games/neverball {
|
|
|
|
inherit stdenv fetchurl SDL mesa libpng libjpeg SDL_ttf libvorbis
|
2009-11-06 19:25:45 +00:00
|
|
|
gettext physfs;
|
2009-03-04 17:28:25 +00:00
|
|
|
};
|
|
|
|
|
2008-04-18 15:38:27 +01:00
|
|
|
numactl = import ../os-specific/linux/numactl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-03-28 15:22:52 +00:00
|
|
|
gw6c = builderDefsPackage (import ../os-specific/linux/gw6c) {
|
2008-04-13 09:23:58 +01:00
|
|
|
inherit fetchurl stdenv nettools openssl procps iproute;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pam autoconf automake pkgconfig bison glib;
|
2009-03-30 16:31:47 +01:00
|
|
|
libtool = libtool_1_5;
|
2007-12-30 22:02:04 +00:00
|
|
|
flex = if stdenv.system == "i686-linux" then flex else flex2533;
|
|
|
|
};
|
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 {
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit stdenv fetchurl pam;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-08-27 14:59:33 +01:00
|
|
|
pcmciaUtils = composedArgsAndFun (import ../os-specific/linux/pcmciautils) {
|
2008-07-25 16:54:19 +01:00
|
|
|
inherit stdenv fetchurl udev yacc flex;
|
|
|
|
inherit sysfsutils module_init_tools;
|
|
|
|
|
2008-08-27 14:59:33 +01:00
|
|
|
firmware = getConfig ["pcmciaUtils" "firmware"] [];
|
2008-07-25 16:54:19 +01:00
|
|
|
config = getConfig ["pcmciaUtils" "config"] null;
|
2008-08-27 14:59:33 +01:00
|
|
|
inherit lib;
|
2008-07-25 16:54:19 +01:00
|
|
|
};
|
|
|
|
|
2009-09-25 22:43:25 +01:00
|
|
|
pmutils = import ../os-specific/linux/pm-utils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
powertop = import ../os-specific/linux/powertop {
|
2009-03-09 13:53:48 +00:00
|
|
|
inherit fetchurl stdenv ncurses gettext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-08-04 17:02:27 +01:00
|
|
|
qemu_kvm = import ../os-specific/linux/qemu-kvm {
|
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-09-18 21:45:10 +01:00
|
|
|
rt73fw = import ../os-specific/linux/firmware/rt73 {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-04-16 13:23:53 +01:00
|
|
|
sdparm = import ../os-specific/linux/sdparm {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-09-11 16:38:59 +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
|
|
|
|
2009-01-29 15:56:01 +00:00
|
|
|
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 {
|
|
|
|
inherit fetchurl stdenv klibc;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
libjpeg = libjpegStatic;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-07-09 22:34:29 +01:00
|
|
|
statifier = builderDefsPackage (import ../os-specific/linux/statifier) {
|
|
|
|
};
|
|
|
|
|
2008-07-25 16:53:23 +01:00
|
|
|
sysfsutils = import ../os-specific/linux/sysfsutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Provided with sysfsutils.
|
|
|
|
libsysfs = sysfsutils;
|
|
|
|
systool = sysfsutils;
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-05-17 00:14:37 +01:00
|
|
|
trackballs = import ../games/trackballs {
|
|
|
|
inherit stdenv fetchurl SDL mesa SDL_ttf gettext zlib SDL_mixer SDL_image guile;
|
|
|
|
debug = false;
|
|
|
|
};
|
|
|
|
|
2009-03-01 21:34:39 +00:00
|
|
|
tunctl = import ../os-specific/linux/tunctl {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-02-21 18:59:15 +00:00
|
|
|
/*tuxracer = builderDefsPackage (import ../games/tuxracer) {
|
|
|
|
inherit mesa tcl freeglut;
|
|
|
|
inherit (xlibs) libX11 xproto;
|
|
|
|
};*/
|
|
|
|
|
2009-11-15 22:56:06 +00:00
|
|
|
uboot = makeOverridable (import ../misc/uboot) {
|
2009-11-08 00:32:12 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
uclibc = import ../os-specific/linux/uclibc {
|
|
|
|
inherit fetchurl stdenv kernelHeaders;
|
|
|
|
};
|
|
|
|
|
2009-10-06 06:43:51 +01:00
|
|
|
udev = makeOverridable (import ../os-specific/linux/udev) {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv gperf pkgconfig acl libusb usbutils pciutils glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
2008-07-26 02:02:27 +01:00
|
|
|
inherit fetchurl kernelHeaders stdenv readline lib;
|
|
|
|
tunctl = true; mconsole = true;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
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
|
|
|
|
2009-10-30 18:12:28 +00:00
|
|
|
upstart06 = import ../os-specific/linux/upstart/0.6.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig dbus expat;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-08-11 21:48:56 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libusb;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-11-11 16:52:29 +00:00
|
|
|
|
2009-03-31 10:26:47 +01:00
|
|
|
utillinux = utillinuxng;
|
2007-12-11 22:58:44 +00:00
|
|
|
|
2009-03-31 10:26:47 +01:00
|
|
|
utillinuxCurses = utillinuxngCurses;
|
2007-03-17 13:29:15 +00:00
|
|
|
|
2009-03-31 10:26:47 +01:00
|
|
|
utillinuxng = makeOverridable (import ../os-specific/linux/util-linux-ng) {
|
2009-08-11 21:57:29 +01:00
|
|
|
inherit fetchurl stdenv;
|
2009-01-06 09:28:45 +00:00
|
|
|
};
|
|
|
|
|
2009-03-31 10:26:47 +01:00
|
|
|
utillinuxngCurses = utillinuxng.override {
|
|
|
|
inherit ncurses;
|
2009-01-06 23:22:29 +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
|
|
|
|
2009-05-12 19:52:48 +01:00
|
|
|
wpa_supplicant_gui_qt4 = import ../os-specific/linux/wpa_supplicant/gui-qt4.nix {
|
2009-05-13 11:56:53 +01:00
|
|
|
inherit fetchurl stdenv qt4 imagemagick inkscape;
|
2009-05-12 19:52:48 +01:00
|
|
|
};
|
|
|
|
|
2009-10-08 14:07:56 +01:00
|
|
|
xfsprogs = import ../os-specific/linux/xfsprogs/default.nix {
|
|
|
|
inherit fetchurl stdenv libtool gettext libuuid;
|
2008-03-27 19:12:14 +00:00
|
|
|
};
|
|
|
|
|
2008-11-30 16:50:05 +00:00
|
|
|
xmoto = builderDefsPackage (import ../games/xmoto) {
|
|
|
|
inherit chipmunk sqlite curl zlib bzip2 libjpeg libpng
|
|
|
|
freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf
|
|
|
|
lua5 ode;
|
|
|
|
};
|
|
|
|
|
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) {
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
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
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
clearlyU = composedArgsAndFun (import ../data/fonts/clearlyU/1.9.nix) {
|
2008-03-02 18:41:32 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
};
|
|
|
|
|
|
|
|
dejavu_fonts = import ../data/fonts/dejavu-fonts {
|
2009-04-20 13:08:09 +01:00
|
|
|
inherit fetchurl stdenv fontforge perl fontconfig;
|
2009-04-20 13:49:35 +01:00
|
|
|
inherit (perlPackages) FontTTF;
|
2008-03-02 18:41:32 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-11-03 15:57:27 +00:00
|
|
|
docbook_xml_dtd_45 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
|
2009-07-14 16:02:56 +01:00
|
|
|
docbook_xsl = import ../data/sgml+xml/stylesheets/xslt/docbook-xsl {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-14 16:02:56 +01:00
|
|
|
docbook5_xsl = docbook_xsl_ns;
|
|
|
|
|
|
|
|
docbook_xsl_ns = import ../data/sgml+xml/stylesheets/xslt/docbook-xsl-ns {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
junicode = composedArgsAndFun (import ../data/fonts/junicode/0.6.15.nix) {
|
2008-03-02 22:02:28 +00:00
|
|
|
inherit builderDefs fontforge unzip;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
libertine = builderDefsPackage (import ../data/fonts/libertine/2.7.nix) {
|
2008-04-28 11:10:44 +01:00
|
|
|
inherit fontforge;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2009-11-18 09:39:59 +00:00
|
|
|
libertineBin = builderDefsPackage (import ../data/fonts/libertine/2.7.bin.nix) {
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-04-28 11:10:44 +01:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
lmodern = import ../data/fonts/lmodern {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-26 16:23:46 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
manpages = import ../data/documentation/man-pages {
|
2009-01-12 13:11:18 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-10-26 23:03:36 +00:00
|
|
|
miscfiles = import ../data/misc/miscfiles {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
mph_2b_damase = import ../data/fonts/mph-2b-damase {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-04-02 15:30:34 +01:00
|
|
|
pthreadmanpages = lowPrio (import ../data/documentation/pthread-man-pages {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
});
|
|
|
|
|
2009-02-16 14:57:35 +00:00
|
|
|
shared_mime_info = import ../data/misc/shared-mime-info {
|
2009-03-23 20:31:12 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext
|
2009-10-29 11:43:02 +00:00
|
|
|
intltool perl perlXMLParser libxml2 glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-03-30 09:14:19 +01:00
|
|
|
stdmanpages = import ../data/documentation/std-man-pages {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
iana_etc = import ../data/misc/iana-etc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-07-18 08:45:48 +01:00
|
|
|
popplerData = 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;
|
|
|
|
};
|
|
|
|
|
2009-01-08 22:21:32 +00:00
|
|
|
themes = name: import (../data/misc/themes + ("/" + name + ".nix")) {
|
|
|
|
inherit fetchurl;
|
|
|
|
};
|
|
|
|
|
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-08-14 23:04:30 +01:00
|
|
|
unifont = import ../data/fonts/unifont {
|
2008-03-02 18:41:32 +00:00
|
|
|
inherit debPackage perl;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale bdftopcf fontutil;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
vistafonts = import ../data/fonts/vista-fonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
wqy_zenhei = composedArgsAndFun (import ../data/fonts/wqy_zenhei/0.4.23-1.nix) {
|
2008-03-02 18:41:32 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2009-09-16 13:25:22 +01:00
|
|
|
xhtml1 = import ../data/sgml+xml/schemas/xml-dtd/xhtml1 {
|
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
|
|
|
|
2008-10-09 13:12:58 +01:00
|
|
|
xkeyboard_config = import ../data/misc/xkeyboard-config {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser gettext intltool;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) xkbcomp;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
### 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;
|
|
|
|
};
|
|
|
|
|
2009-03-24 09:00:34 +00:00
|
|
|
aangifte2008 = import ../applications/taxes/aangifte-2008 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
2008-03-15 21:45:57 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-10-14 14:08:04 +01:00
|
|
|
adobeReader = import ../applications/misc/adobe-reader {
|
|
|
|
inherit fetchurl stdenv zlib libxml2 cups;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
|
|
|
|
amsn = import ../applications/networking/instant-messengers/amsn {
|
|
|
|
inherit fetchurl stdenv which tcl tk x11;
|
|
|
|
libstdcpp = gcc33.gcc;
|
|
|
|
};
|
|
|
|
|
2009-09-21 10:58:41 +01:00
|
|
|
ardour = import ../applications/audio/ardour {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig scons boost redland librdf_raptor
|
|
|
|
librdf_rasqal jackaudio flac libsamplerate alsaLib libxml2 libxslt
|
|
|
|
libsndfile libsigcxx libusb cairomm librdf liblo fftw fftwSinglePrec
|
|
|
|
aubio libmad;
|
|
|
|
inherit (gtkLibs) glib pango gtk glibmm gtkmm;
|
2009-10-14 16:32:37 +01:00
|
|
|
inherit (gnome) libgnomecanvas;
|
2009-09-21 10:58:41 +01:00
|
|
|
};
|
|
|
|
|
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
|
2009-09-02 17:54:08 +01:00
|
|
|
libcdio libcddb libxml2;
|
2008-03-03 10:55:20 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
audacity = import ../applications/audio/audacity {
|
2009-05-18 14:53:01 +01:00
|
|
|
inherit fetchurl stdenv gettext pkgconfig zlib perl intltool libogg
|
2009-05-12 05:28:30 +01:00
|
|
|
libvorbis libmad;
|
2008-01-29 13:24:40 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
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;
|
|
|
|
};
|
|
|
|
|
2009-04-07 20:15:53 +01:00
|
|
|
autopanosiftc = import ../applications/graphics/autopanosiftc {
|
|
|
|
inherit fetchurl stdenv cmake libpng libtiff libjpeg panotools libxml2;
|
|
|
|
};
|
|
|
|
|
2009-11-24 08:27:18 +00:00
|
|
|
avidemux = import ../applications/video/avidemux {
|
2009-11-24 14:01:48 +00:00
|
|
|
inherit fetchurl stdenv cmake pkgconfig libxml2 qt4 gettext SDL libxslt x264
|
|
|
|
alsaLib lame faac faad2 libvorbis;
|
2009-11-24 08:27:18 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXv pixman libpthreadstubs libXau libXdmcp;
|
|
|
|
};
|
|
|
|
|
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-10-15 21:01:39 +01:00
|
|
|
inherit fetchurl stdenv makeWrapper;
|
|
|
|
python = pythonFull;
|
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;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-26 12:39:08 +01:00
|
|
|
|
2008-08-18 11:50:16 +01:00
|
|
|
beast = import ../applications/audio/beast {
|
|
|
|
# stdenv = overrideGCC stdenv gcc34;
|
|
|
|
inherit stdenv fetchurl zlib guile pkgconfig intltool libogg libvorbis python libxml2 bash perl gettext;
|
|
|
|
inherit (bleedingEdgeRepos) sourceByName;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libgnomecanvas libart_lgpl;
|
|
|
|
inherit automake autoconf;
|
|
|
|
};
|
|
|
|
|
2008-02-17 15:33:04 +00:00
|
|
|
bitlbee = import ../applications/networking/instant-messengers/bitlbee {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv gnutls pkgconfig glib;
|
2008-02-17 15:33:04 +00:00
|
|
|
};
|
|
|
|
|
2008-09-26 10:03:22 +01:00
|
|
|
bitlbeeOtr = import ../applications/networking/instant-messengers/bitlbee-otr {
|
2008-09-26 13:32:06 +01:00
|
|
|
inherit fetchbzr stdenv gnutls pkgconfig libotr libgcrypt
|
2009-10-29 11:43:02 +00:00
|
|
|
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl glib;
|
2008-09-26 10:03:22 +01:00
|
|
|
};
|
|
|
|
|
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 {
|
2009-05-07 15:51:29 +01:00
|
|
|
inherit cmake mesa gettext freetype SDL libtiff fetchurl glibc scons x11 lib
|
2008-09-24 10:56:27 +01:00
|
|
|
libjpeg libpng zlib /* smpeg sdl */ python;
|
|
|
|
inherit (xlibs) inputproto libXi;
|
2007-12-30 22:02:04 +00:00
|
|
|
freealut = freealut_soft;
|
|
|
|
openal = openalSoft;
|
|
|
|
openexr = openexr_1_4_0;
|
2009-05-07 15:51:29 +01:00
|
|
|
# using gcc43 makes blender segfault when pressing p then esc.
|
|
|
|
# is this related to the PHP bug? I'm to lazy to try recompilng it without optimizations
|
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
carrier = builderDefsPackage (import ../applications/networking/instant-messengers/carrier/2.5.0.nix) {
|
2008-06-16 14:15:55 +01:00
|
|
|
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;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-16 14:15:55 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-10-30 08:45:58 +00:00
|
|
|
chrome = import ../applications/networking/browsers/chromium {
|
2009-11-05 10:50:57 +00:00
|
|
|
inherit stdenv fetchurl ffmpeg cairo nspr nss fontconfig freetype alsaLib makeWrapper unzip expat zlib;
|
2009-10-30 12:28:44 +00:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt ;
|
2009-10-30 08:45:58 +00:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
|
|
|
inherit (gnome) GConf;
|
|
|
|
};
|
|
|
|
|
2009-10-30 12:28:44 +00:00
|
|
|
chromeWrapper = wrapFirefox chrome "chrome" "";
|
|
|
|
|
|
|
|
|
2008-10-14 15:01:50 +01:00
|
|
|
cinelerra = import ../applications/video/cinelerra {
|
|
|
|
inherit fetchurl stdenv
|
|
|
|
automake autoconf libtool
|
|
|
|
a52dec alsaLib lame libavc1394 libiec61883 libraw1394 libsndfile
|
|
|
|
libvorbis libogg libjpeg libtiff freetype mjpegtools x264
|
2009-04-18 13:47:11 +01:00
|
|
|
gettext faad2 faac libtheora libpng libdv perl nasm e2fsprogs
|
2008-10-14 15:01:50 +01:00
|
|
|
pkgconfig;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
fftw = fftwSinglePrec;
|
|
|
|
inherit (xorg) libXxf86vm libXv;
|
|
|
|
inherit (bleedingEdgeRepos) sourceByName;
|
|
|
|
inherit (gnome) esound;
|
|
|
|
};
|
|
|
|
|
2009-08-26 18:04:15 +01:00
|
|
|
compizBase = (builderDefsPackage (import ../applications/window-managers/compiz/0.8.0.nix)) {
|
2009-08-25 06:46:48 +01:00
|
|
|
inherit lib stringsWithDeps builderDefs;
|
2009-02-27 13:44:31 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt gettext
|
2009-08-22 10:33:38 +01:00
|
|
|
intltool binutils;
|
2007-12-30 22:02:04 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-08-22 15:50:18 +01:00
|
|
|
compiz = compizBase.passthru.function (x : x // {
|
2007-12-30 22:02:04 +00:00
|
|
|
extraConfigureFlags = getConfig ["compiz" "extraConfigureFlags"] [];
|
2009-08-22 15:50:18 +01:00
|
|
|
});
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-04-20 23:06:12 +01:00
|
|
|
compizFusion = import ../applications/window-managers/compiz-fusion {
|
2008-10-26 11:58:42 +00:00
|
|
|
version = getConfig ["compizFusion" "version"] "0.7.8";
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit compiz;
|
|
|
|
inherit stringsWithDeps lib builderDefs;
|
2008-10-26 11:58:42 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt libxml2;
|
2007-12-30 22:02:04 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-04-02 16:20:19 +01:00
|
|
|
cinepaint = import ../applications/graphics/cinepaint {
|
2009-05-28 22:57:05 +01:00
|
|
|
inherit stdenv fetchcvs cmake pkgconfig freetype fontconfig lcms flex libtiff
|
2009-04-02 16:20:19 +01:00
|
|
|
libjpeg libpng libexif zlib perl mesa perlXMLParser python pygtk gettext
|
2009-05-28 22:57:05 +01:00
|
|
|
intltool babl gegl automake autoconf libtool;
|
2009-04-02 16:20:19 +01:00
|
|
|
inherit (xlibs) makedepend libX11 xf86vidmodeproto xineramaproto libXmu
|
|
|
|
libXext libXpm libXxf86vm;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
fltk = fltk11;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
codeville = builderDefsPackage (import ../applications/version-management/codeville/0.8.0.nix) {
|
2008-10-15 21:01:39 +01:00
|
|
|
inherit makeWrapper;
|
|
|
|
python = pythonFull;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-26 08:47:07 +01:00
|
|
|
|
2009-02-09 20:44:26 +00:00
|
|
|
comical = import ../applications/graphics/comical {
|
|
|
|
inherit stdenv fetchurl utillinux zlib;
|
2009-11-05 13:29:52 +00:00
|
|
|
wxGTK = wxGTK26;
|
2009-02-09 20:44:26 +00:00
|
|
|
};
|
|
|
|
|
2009-02-09 20:37:11 +00:00
|
|
|
cuneiform = builderDefsPackage (import ../tools/graphics/cuneiform) {
|
|
|
|
inherit cmake patchelf;
|
|
|
|
imagemagick=imagemagick;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
|
2009-04-18 16:42:59 +01:00
|
|
|
darcs = haskellPackages.darcs;
|
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-08-06 21:39:01 +01:00
|
|
|
dmenu = import ../applications/misc/dmenu {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXinerama;
|
|
|
|
};
|
|
|
|
|
2008-11-13 13:31:10 +00:00
|
|
|
dmtx = builderDefsPackage (import ../tools/graphics/dmtx) {
|
2009-03-24 10:31:39 +00:00
|
|
|
inherit libpng libtiff libjpeg imagemagick librsvg
|
2009-05-10 12:51:54 +01:00
|
|
|
pkgconfig bzip2 zlib libtool;
|
2009-03-19 13:59:00 +00:00
|
|
|
inherit (xlibs) libX11;
|
2008-11-13 13:31:10 +00:00
|
|
|
};
|
|
|
|
|
2009-01-14 16:23:06 +00:00
|
|
|
dvdauthor = import ../applications/video/dvdauthor {
|
|
|
|
inherit fetchurl stdenv freetype libpng fribidi libxml2 libdvdread imagemagick;
|
|
|
|
};
|
|
|
|
|
2008-08-21 21:44:08 +01:00
|
|
|
dwm = import ../applications/window-managers/dwm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXinerama;
|
2008-10-09 11:10:49 +01:00
|
|
|
};
|
2008-08-21 21:44:08 +01:00
|
|
|
|
2009-04-29 17:42:41 +01:00
|
|
|
eaglemode = import ../applications/misc/eaglemode {
|
|
|
|
inherit fetchurl stdenv perl xineLib libjpeg libpng libtiff;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2008-10-26 17:45:14 +00:00
|
|
|
|
2009-11-20 15:33:06 +00:00
|
|
|
eclipse = import ../applications/editors/eclipse {
|
2009-11-20 15:19:00 +00:00
|
|
|
inherit stdenv fetchurl patchelf makeDesktopItem makeWrapper freetype fontconfig jre zlib;
|
|
|
|
# GTK 2.18 gives glitches such as mouse clicks on buttons not
|
|
|
|
# working correctly.
|
|
|
|
inherit (gtkLibs216) glib gtk;
|
2009-11-03 11:00:18 +00:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXtst;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-04-16 20:28:42 +01:00
|
|
|
elvis = import ../applications/editors/elvis {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-11-19 17:36:43 +00:00
|
|
|
emacs = emacs23;
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-11-22 16:29:15 +00:00
|
|
|
emacs22 = import ../applications/editors/emacs-22 {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d;
|
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
xaw3dSupport = getPkgConfig "emacs" "xaw3dSupport" false;
|
|
|
|
gtkGUI = getPkgConfig "emacs" "gtkSupport" true;
|
|
|
|
};
|
|
|
|
|
2009-07-31 23:25:05 +01:00
|
|
|
emacs23 = import ../applications/editors/emacs-23 {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d
|
|
|
|
libpng libjpeg libungif libtiff texinfo dbus;
|
|
|
|
inherit (xlibs) libXaw libXpm libXft;
|
|
|
|
inherit (gtkLibs) gtk;
|
2009-10-02 14:57:26 +01:00
|
|
|
xawSupport = system == "i686-darwin" || getPkgConfig "emacs" "xawSupport" false;
|
2009-07-31 23:25:05 +01:00
|
|
|
xaw3dSupport = getPkgConfig "emacs" "xaw3dSupport" false;
|
|
|
|
gtkGUI = getPkgConfig "emacs" "gtkSupport" true;
|
|
|
|
xftSupport = getPkgConfig "emacs" "xftSupport" true;
|
|
|
|
dbusSupport = getPkgConfig "emacs" "dbusSupport" true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacsSnapshot = lowPrio (import ../applications/editors/emacs-snapshot {
|
2009-02-17 21:05:52 +00:00
|
|
|
inherit fetchcvs stdenv ncurses pkgconfig x11 Xaw3d
|
2009-02-23 16:06:59 +00:00
|
|
|
libpng libjpeg libungif libtiff texinfo dbus
|
2009-02-17 21:05:52 +00:00
|
|
|
autoconf automake;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libXaw libXpm libXft;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-09-25 22:38:16 +01:00
|
|
|
xawSupport = getPkgConfig "emacs" "xawSupport" false;
|
|
|
|
xaw3dSupport = getPkgConfig "emacs" "xaw3dSupport" false;
|
|
|
|
gtkGUI = getPkgConfig "emacs" "gtkSupport" true;
|
|
|
|
xftSupport = getPkgConfig "emacs" "xftSupport" true;
|
2009-02-23 16:06:59 +00:00
|
|
|
dbusSupport = getPkgConfig "emacs" "dbusSupport" true;
|
2008-09-25 22:38:16 +01:00
|
|
|
});
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-07-13 12:53:06 +01:00
|
|
|
emacsPackages = emacs: recurseIntoAttrs (rec {
|
2009-07-10 17:17:06 +01:00
|
|
|
bbdb = import ../applications/editors/emacs-modes/bbdb {
|
|
|
|
inherit fetchurl stdenv emacs texinfo ctags;
|
|
|
|
};
|
2009-06-28 00:09:21 +01:00
|
|
|
|
2009-07-10 17:17:06 +01:00
|
|
|
cedet = import ../applications/editors/emacs-modes/cedet {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
|
|
|
cua = import ../applications/editors/emacs-modes/cua {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
ecb = import ../applications/editors/emacs-modes/ecb {
|
|
|
|
inherit fetchurl stdenv emacs cedet jdee texinfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacsSessionManagement = import ../applications/editors/emacs-modes/session-management-for-emacs {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacsw3m = import ../applications/editors/emacs-modes/emacs-w3m {
|
|
|
|
inherit fetchcvs stdenv emacs w3m imagemagick texinfo autoconf;
|
|
|
|
};
|
|
|
|
|
|
|
|
emms = import ../applications/editors/emacs-modes/emms {
|
|
|
|
inherit fetchurl stdenv emacs texinfo mpg321 vorbisTools taglib
|
|
|
|
alsaUtils;
|
|
|
|
};
|
2009-07-09 16:56:40 +01:00
|
|
|
|
2009-07-10 17:17:06 +01:00
|
|
|
jdee = import ../applications/editors/emacs-modes/jdee {
|
|
|
|
# Requires Emacs 23, for `avl-tree'.
|
|
|
|
inherit fetchsvn stdenv cedet ant emacs;
|
|
|
|
};
|
|
|
|
|
2009-09-01 15:27:24 +01:00
|
|
|
stratego = import ../applications/editors/emacs-modes/stratego {
|
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-10 17:17:06 +01:00
|
|
|
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
|
|
|
magit = import ../applications/editors/emacs-modes/magit {
|
|
|
|
inherit fetchurl stdenv emacs texinfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
maudeMode = import ../applications/editors/emacs-modes/maude {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
|
|
|
nxml = import ../applications/editors/emacs-modes/nxml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
quack = import ../applications/editors/emacs-modes/quack {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
|
|
|
remember = import ../applications/editors/emacs-modes/remember {
|
|
|
|
inherit fetchurl stdenv texinfo emacs bbdb;
|
|
|
|
};
|
2009-10-20 16:12:29 +01:00
|
|
|
|
|
|
|
scalaMode = import ../applications/editors/emacs-modes/scala-mode {
|
|
|
|
inherit fetchsvn stdenv emacs;
|
|
|
|
};
|
2009-07-13 12:53:06 +01:00
|
|
|
});
|
2008-08-21 09:58:51 +01:00
|
|
|
|
2009-11-22 16:29:15 +00:00
|
|
|
emacs22Packages = emacsPackages emacs22;
|
2009-07-10 17:17:06 +01:00
|
|
|
emacs23Packages = emacsPackages emacs23;
|
|
|
|
|
2009-09-20 22:54:11 +01:00
|
|
|
evince = makeOverridable (import ../applications/misc/evince) {
|
2009-02-22 22:59:47 +00:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser gettext intltool
|
2008-07-27 11:24:08 +01:00
|
|
|
pkgconfig poppler libspectre djvulibre libxslt
|
2009-03-26 12:55:50 +00:00
|
|
|
dbus dbus_glib shared_mime_info which makeWrapper;
|
2008-07-27 11:24:08 +01:00
|
|
|
inherit (gnome) gnomedocutils gnomeicontheme libgnome
|
2009-11-04 21:44:01 +00:00
|
|
|
libgnomeui libglade glib gtk scrollkeeper gnome_keyring;
|
2008-07-27 11:24:08 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
exrdisplay = import ../applications/graphics/exrdisplay {
|
|
|
|
inherit fetchurl stdenv pkgconfig mesa which openexr_ctl;
|
|
|
|
fltk = fltk20;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
fbpanel = composedArgsAndFun (import ../applications/window-managers/fbpanel/4.12.nix) {
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-09-20 18:01:31 +01:00
|
|
|
grip = import ../applications/misc/grip {
|
2009-09-20 18:33:12 +01:00
|
|
|
inherit fetchurl stdenv lib grip pkgconfig curl cdparanoia libid3tag;
|
2009-09-20 18:01:31 +01:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libgnome libgnomeui vte;
|
|
|
|
};
|
|
|
|
|
2009-03-29 21:32:53 +01:00
|
|
|
gwenview = import ../applications/graphics/gwenview {
|
|
|
|
inherit stdenv fetchurl exiv2 zlib libjpeg perl libpng expat qt3;
|
|
|
|
inherit (kde3) kdelibs;
|
|
|
|
inherit (xlibs) libXt libXext;
|
|
|
|
};
|
|
|
|
|
2008-09-24 01:42:06 +01:00
|
|
|
wavesurfer = import ../applications/misc/audio/wavesurfer {
|
|
|
|
inherit fetchurl stdenv tcl tk snack makeWrapper;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-08-04 08:14:43 +01:00
|
|
|
fbida = builderDefsPackage ../applications/graphics/fbida {
|
|
|
|
inherit libjpeg libexif giflib libtiff libpng
|
|
|
|
imagemagick ghostscript which curl pkgconfig
|
|
|
|
freetype fontconfig;
|
|
|
|
};
|
|
|
|
|
2008-10-28 11:56:43 +00:00
|
|
|
fdupes = import ../tools/misc/fdupes {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
feh = import ../applications/graphics/feh {
|
2009-09-02 23:56:33 +01:00
|
|
|
inherit fetchurl stdenv x11 imlib2 libjpeg libpng giblib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-08-04 09:11:33 +01:00
|
|
|
firefox = firefox35;
|
2008-07-18 11:41:27 +01:00
|
|
|
|
2009-08-04 09:11:33 +01:00
|
|
|
firefoxWrapper = firefox35Wrapper;
|
2008-07-18 11:41:27 +01:00
|
|
|
|
2009-07-02 15:26:24 +01:00
|
|
|
firefox2 = lowPrio (import ../applications/networking/browsers/firefox/2.0.nix {
|
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
|
|
|
});
|
2006-10-04 14:59:41 +01:00
|
|
|
|
2008-10-30 16:31:33 +00:00
|
|
|
firefox2Wrapper = wrapFirefox firefox2 "firefox" "";
|
2006-02-15 02:53:01 +00:00
|
|
|
|
2009-07-03 16:23:03 +01:00
|
|
|
firefox3Pkgs = lowPrio (import ../applications/networking/browsers/firefox/3.0.nix {
|
2009-01-03 13:44:04 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs file;
|
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
});
|
|
|
|
|
2009-07-03 16:23:03 +01:00
|
|
|
firefox3 = firefox3Pkgs.firefox;
|
|
|
|
xulrunner3 = firefox3Pkgs.xulrunner;
|
2009-07-04 00:53:49 +01:00
|
|
|
firefox3Wrapper = wrapFirefox firefox3 "firefox" "";
|
2009-07-03 16:23:03 +01:00
|
|
|
|
2009-07-04 00:53:49 +01:00
|
|
|
firefox35Pkgs = lowPrio (import ../applications/networking/browsers/firefox/3.5.nix {
|
2009-05-05 16:46:24 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2009-07-04 13:25:35 +01:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs file alsaLib
|
2009-07-06 12:42:21 +01:00
|
|
|
nspr nss;
|
2009-05-05 16:46:24 +01:00
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
});
|
|
|
|
|
2009-07-06 12:42:21 +01:00
|
|
|
firefox35 = firefox35Pkgs.firefox;
|
|
|
|
xulrunner35 = firefox35Pkgs.xulrunner;
|
|
|
|
firefox35Wrapper = wrapFirefox firefox35 "firefox" "";
|
|
|
|
|
2009-02-09 16:51:03 +00:00
|
|
|
flac = import ../applications/audio/flac {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
|
|
|
|
2008-10-30 13:00:50 +00:00
|
|
|
flashplayer = flashplayer10;
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
flashplayer9 = (
|
2009-08-25 07:11:22 +01:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
2009-10-30 12:28:44 +00:00
|
|
|
inherit fetchurl stdenv zlib alsaLib nss nspr fontconfig freetype expat;
|
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt ;
|
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2009-08-25 07:11:22 +01:00
|
|
|
});
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
flashplayer10 = (
|
2009-08-25 07:11:22 +01:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
2009-10-30 12:28:44 +00:00
|
|
|
inherit fetchurl stdenv zlib alsaLib curl nss nspr fontconfig freetype expat;
|
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt ;
|
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2009-08-25 07:11:22 +01:00
|
|
|
});
|
2008-10-16 14:36:27 +01:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
flite = import ../applications/misc/flite {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
freemind = import ../applications/misc/freemind {
|
2008-09-07 22:17:49 +01:00
|
|
|
inherit fetchurl stdenv ant coreutils gnugrep;
|
2007-12-30 22:02:04 +00:00
|
|
|
jdk = jdk;
|
|
|
|
jre = jdk;
|
|
|
|
};
|
|
|
|
|
2009-04-08 21:05:59 +01:00
|
|
|
freepv = import ../applications/graphics/freepv {
|
|
|
|
inherit fetchurl stdenv mesa freeglut libjpeg zlib cmake libxml2 libpng;
|
|
|
|
inherit (xlibs) libX11 libXxf86vm;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
2008-10-10 00:21:39 +01:00
|
|
|
python pygtk gettext xlibs intltool babl gegl;
|
2009-11-04 21:28:11 +00:00
|
|
|
inherit (gnome) gtk libart_lgpl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2009-11-04 21:28:11 +00:00
|
|
|
|
2009-06-30 17:14:34 +01:00
|
|
|
gimpPlugins = import ../applications/graphics/gimp/plugins { inherit pkgs gimp; };
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-01-20 22:15:42 +00:00
|
|
|
gitAndTools = recurseIntoAttrs (import ../applications/version-management/git-and-tools {
|
|
|
|
inherit pkgs;
|
|
|
|
});
|
|
|
|
git = gitAndTools.git;
|
2008-07-07 12:48:24 +01:00
|
|
|
|
2009-09-30 14:11:17 +01:00
|
|
|
gnucash = import ../applications/office/gnucash {
|
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 goffice enchant
|
|
|
|
gettext intltool perl guile slibGuile swig isocodes bzip2 makeWrapper;
|
|
|
|
inherit (gnome) gtk glib libglade libgnomeui libgtkhtml gtkhtml
|
|
|
|
libgnomeprint;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
2009-03-28 02:25:03 +00:00
|
|
|
qcad = import ../applications/misc/qcad {
|
|
|
|
inherit fetchurl stdenv qt3 libpng;
|
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
};
|
|
|
|
|
2008-08-18 17:03:21 +01:00
|
|
|
qjackctl = import ../applications/audio/qjackctl {
|
|
|
|
inherit fetchurl stdenv alsaLib jackaudio;
|
|
|
|
qt4 = qt4;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-04-20 23:06:12 +01:00
|
|
|
gnash = import ../applications/video/gnash {
|
2008-03-10 09:48:17 +00:00
|
|
|
inherit fetchurl stdenv SDL SDL_mixer libogg libxml2 libjpeg mesa libpng
|
2008-10-14 09:26:00 +01:00
|
|
|
boost freetype agg dbus curl pkgconfig x11 libtool lib libungif
|
2008-11-12 08:37:39 +00:00
|
|
|
gettext makeWrapper ming dejagnu python;
|
2008-03-10 09:48:17 +00:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2008-11-12 08:37:39 +00:00
|
|
|
inherit (gst_all) gstreamer gstPluginsBase gstFfmpeg;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-07-15 21:34:08 +01:00
|
|
|
gnome_mplayer = import ../applications/video/gnome-mplayer {
|
|
|
|
inherit fetchurl stdenv pkgconfig dbus dbus_glib;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit (gnome) GConf;
|
|
|
|
};
|
|
|
|
|
2008-08-24 19:48:09 +01:00
|
|
|
gnunet = import ../applications/networking/p2p/gnunet {
|
|
|
|
inherit fetchurl stdenv libextractor libmicrohttpd libgcrypt
|
|
|
|
gmp curl libtool guile adns sqlite gettext zlib pkgconfig
|
2008-09-04 21:24:03 +01:00
|
|
|
libxml2 ncurses findutils makeWrapper;
|
2008-08-24 19:48:09 +01:00
|
|
|
inherit (gnome) gtk libglade;
|
|
|
|
gtkSupport = getConfig [ "gnunet" "gtkSupport" ] true;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
gocr = composedArgsAndFun (import ../applications/graphics/gocr/0.44.nix) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit builderDefs fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gphoto2 = import ../applications/misc/gphoto2 {
|
2008-09-22 18:06:31 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt gettext
|
|
|
|
libjpeg readline libtool;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-08-24 22:35:45 +01:00
|
|
|
gphoto2fs = builderDefsPackage ../applications/misc/gphoto2/gphotofs.nix {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit libgphoto2 fuse pkgconfig glib;
|
2009-08-24 22:35:45 +01:00
|
|
|
};
|
|
|
|
|
2009-04-13 16:41:10 +01:00
|
|
|
gtkpod = import ../applications/audio/gtkpod {
|
2009-10-19 23:05:34 +01:00
|
|
|
inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag libvorbis;
|
2009-04-13 16:41:10 +01:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
};
|
|
|
|
|
2008-11-15 17:54:09 +00:00
|
|
|
qrdecode = builderDefsPackage (import ../tools/graphics/qrdecode) {
|
|
|
|
inherit libpng libcv;
|
|
|
|
};
|
|
|
|
|
|
|
|
qrencode = builderDefsPackage (import ../tools/graphics/qrencode) {
|
|
|
|
inherit libpng pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-07-15 21:34:08 +01:00
|
|
|
gecko_mediaplayer = import ../applications/networking/browsers/mozilla-plugins/gecko-mediaplayer {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus dbus_glib x11 gnome_mplayer MPlayer glib;
|
2009-07-15 21:34:08 +01:00
|
|
|
inherit (gnome) GConf;
|
|
|
|
browser = firefox35;
|
|
|
|
};
|
|
|
|
|
2009-11-25 08:58:42 +00:00
|
|
|
geeqie = import ../applications/graphics/geeqie {
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng lcms exiv2
|
|
|
|
intltool gettext;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gqview = import ../applications/graphics/gqview {
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
googleearth = import ../applications/misc/googleearth {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl glibc mesa freetype zlib glib;
|
2009-08-25 07:45:31 +01:00
|
|
|
inherit (xlibs) libSM libICE libXi libXv libXrender libXrandr libXfixes
|
|
|
|
libXcursor libXinerama libXext libX11;
|
2009-10-06 18:37:39 +01:00
|
|
|
inherit patchelf05;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2009-04-13 16:40:51 +01:00
|
|
|
|
2009-06-01 23:43:36 +01:00
|
|
|
gpsbabel = import ../applications/misc/gpsbabel {
|
|
|
|
inherit fetchurl stdenv zlib expat;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpscorrelate = import ../applications/misc/gpscorrelate {
|
|
|
|
inherit fetchurl stdenv pkgconfig exiv2 libxml2
|
|
|
|
libxslt docbook_xsl docbook_xml_dtd_42;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-05-31 12:29:42 +01:00
|
|
|
gpsd = import ../servers/gpsd {
|
2009-06-01 01:03:08 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus dbus_glib
|
|
|
|
ncurses makeWrapper libxslt xmlto;
|
|
|
|
inherit (xlibs) libX11 libXt libXpm libXaw libXext;
|
|
|
|
|
|
|
|
# We need a Python with NCurses bindings.
|
|
|
|
python = pythonFull;
|
2009-05-31 12:29:42 +01:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gv = import ../applications/misc/gv {
|
|
|
|
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-08-28 17:45:56 +01:00
|
|
|
hello = makeOverridable (import ../applications/misc/hello/ex-2) {
|
2008-06-17 15:19:59 +01:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-04-05 22:41:38 +01:00
|
|
|
hugin = import ../applications/graphics/hugin {
|
2009-05-24 11:57:41 +01:00
|
|
|
inherit stdenv fetchurl cmake panotools libtiff libpng boost pkgconfig
|
|
|
|
exiv2 gettext ilmbase enblendenfuse autopanosiftc;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2009-04-05 22:41:38 +01:00
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2008-07-28 16:55:11 +01:00
|
|
|
icecat3 = lowPrio (import ../applications/networking/browsers/icecat-3 {
|
2009-02-10 14:35:11 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2009-07-14 13:59:04 +01:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib;
|
2008-07-28 21:41:14 +01:00
|
|
|
inherit (gnome) libIDL libgnomeui gnomevfs gtk pango;
|
2009-07-19 13:34:14 +01:00
|
|
|
inherit (pythonPackages) ply;
|
2008-07-28 16:55:11 +01:00
|
|
|
});
|
|
|
|
|
2008-09-29 22:58:25 +01:00
|
|
|
icecatXulrunner3 = lowPrio (import ../applications/networking/browsers/icecat-3 {
|
|
|
|
application = "xulrunner";
|
2009-02-10 14:35:11 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2009-07-14 13:59:04 +01:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib;
|
2008-09-29 22:58:25 +01:00
|
|
|
inherit (gnome) libIDL libgnomeui gnomevfs gtk pango;
|
2009-07-20 15:14:28 +01:00
|
|
|
inherit (pythonPackages) ply;
|
2008-09-29 22:58:25 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
icecat3Xul =
|
2009-07-14 16:22:31 +01:00
|
|
|
(symlinkJoin "icecat-with-xulrunner-${icecat3.version}"
|
|
|
|
[ icecat3 icecatXulrunner3 ])
|
2008-12-12 09:38:31 +00:00
|
|
|
// { inherit (icecat3) gtk isFirefox3Like meta; };
|
2008-09-29 22:58:25 +01:00
|
|
|
|
|
|
|
icecatWrapper = wrapFirefox icecat3Xul "icecat" "";
|
2008-07-28 16:55:11 +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;
|
|
|
|
};
|
|
|
|
|
2009-10-16 07:39:29 +01:00
|
|
|
ikiwiki = makeOverridable (import ../applications/misc/ikiwiki) {
|
|
|
|
inherit fetchurl stdenv perl gettext makeWrapper lib;
|
2009-11-03 15:57:22 +00:00
|
|
|
inherit (perlPackages) TextMarkdown URI HTMLParser HTMLScrubber
|
2009-10-16 07:39:29 +01:00
|
|
|
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder;
|
2009-10-15 23:08:35 +01:00
|
|
|
inherit git; # The RCS should be optional
|
2009-10-16 07:39:29 +01:00
|
|
|
monotone = null;
|
2009-10-16 09:38:25 +01:00
|
|
|
extraUtils = [];
|
2009-10-14 22:00:54 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-03-19 16:40:28 +00:00
|
|
|
# Impressive, formerly known as "KeyJNote".
|
|
|
|
impressive = import ../applications/office/impressive {
|
|
|
|
inherit fetchurl stdenv xpdf pil pyopengl pygame makeWrapper lib python;
|
|
|
|
|
|
|
|
# XXX These are the PyOpenGL dependencies, which we need here.
|
|
|
|
inherit setuptools mesa freeglut;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
inkscape = import ../applications/graphics/inkscape {
|
2009-11-26 12:39:22 +00:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib popt
|
|
|
|
libxml2 libxslt libpng boehmgc libsigcxx lcms boost gettext
|
|
|
|
cairomm python pyxml makeWrapper intltool gsl;
|
2009-10-18 05:43:40 +01:00
|
|
|
inherit (pythonPackages) lxml;
|
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
|
|
|
};
|
|
|
|
|
2009-10-12 11:52:47 +01:00
|
|
|
iptraf = import ../applications/networking/iptraf {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
irssi = import ../applications/networking/irc/irssi {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig ncurses openssl glib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-09-21 10:58:33 +01:00
|
|
|
jackmeter = import ../applications/audio/jackmeter {
|
|
|
|
inherit fetchurl stdenv lib jackaudio pkgconfig;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-09-10 17:57:31 +01:00
|
|
|
jigdo = import ../applications/misc/jigdo {
|
|
|
|
inherit fetchurl stdenv db45 libwpd bzip2;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-10-01 20:33:20 +01:00
|
|
|
kbasket = import ../applications/misc/kbasket {
|
|
|
|
inherit stdenv fetchurl kdelibs x11 zlib libpng libjpeg
|
|
|
|
perl qt3 gpgme libgpgerror;
|
|
|
|
};
|
|
|
|
|
2009-09-14 19:50:17 +01:00
|
|
|
kermit = import ../tools/misc/kermit {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
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;
|
2008-07-30 14:37:44 +01:00
|
|
|
inherit (xlibs) libX11 libXt libXext libXrender libXft;
|
2008-04-21 14:12:44 +01:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2008-04-21 13:11:34 +01:00
|
|
|
konversation = import ../applications/networking/irc/konversation {
|
|
|
|
inherit fetchurl stdenv perl arts kdelibs zlib libpng libjpeg expat;
|
2009-04-12 17:54:10 +01:00
|
|
|
inherit (xlibs) libX11 libXt libXext libXrender libXft;
|
2008-04-21 13:11:34 +01:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2009-09-18 22:16:32 +01:00
|
|
|
kphone = import ../applications/networking/kphone {
|
|
|
|
inherit fetchurl lib autoconf automake libtool pkgconfig openssl libpng alsaLib;
|
|
|
|
qt = qt3;
|
|
|
|
inherit (xlibs) libX11 libXext libXt libICE libSM;
|
|
|
|
stdenv = overrideGCC stdenv gcc42; # I'm to lazy to clean up header files
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-05-11 12:22:26 +01:00
|
|
|
ldcpp = composedArgsAndFun (import ../applications/networking/p2p/ldcpp/1.0.3.nix) {
|
2008-03-15 06:11:45 +00:00
|
|
|
inherit builderDefs scons pkgconfig bzip2 openssl;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
links = import ../applications/networking/browsers/links {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-10 11:02:45 +00:00
|
|
|
ledger = import ../applications/office/ledger {
|
|
|
|
inherit stdenv fetchurl emacs gmp pcre;
|
|
|
|
};
|
|
|
|
|
2009-10-24 16:39:54 +01:00
|
|
|
links2 = (builderDefsPackage ../applications/networking/browsers/links2) {
|
2009-11-05 21:08:53 +00:00
|
|
|
inherit fetchurl stdenv bzip2 zlib libjpeg libpng libtiff
|
2009-10-24 16:39:54 +01:00
|
|
|
gpm openssl SDL SDL_image SDL_net pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXau xproto libXt;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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
|
|
|
mercurial = import ../applications/version-management/mercurial {
|
2009-11-14 20:14:09 +00:00
|
|
|
inherit fetchurl stdenv makeWrapper getConfig tk;
|
2008-10-18 13:01:24 +01:00
|
|
|
guiSupport = getConfig ["mercurial" "guiSupport"] false; # for hgk (gitk gui for hg)
|
2009-11-14 20:14:09 +00:00
|
|
|
python = # allow cloning sources from https servers.
|
|
|
|
if getConfig ["mercurial" "httpsSupport"] true
|
|
|
|
then pythonFull
|
|
|
|
else pythonBase;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-05-13 11:21:29 +01:00
|
|
|
meshlab = import ../applications/graphics/meshlab {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-09-07 13:58:56 +01:00
|
|
|
midori = builderDefsPackage (import ../applications/networking/browsers/midori) {
|
2008-10-09 11:10:49 +01:00
|
|
|
inherit imagemagick intltool python pkgconfig webkit libxml2
|
2009-06-04 12:20:26 +01:00
|
|
|
which gettext makeWrapper file libidn sqlite docutils libnotify;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 06:37:09 +01:00
|
|
|
inherit (gnome28) gtksourceview libsoup;
|
2008-09-07 13:58:56 +01:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
minicom = import ../tools/misc/minicom {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
2008-04-11 10:32:27 +01:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-02-08 17:23:22 +00:00
|
|
|
mozplugger = builderDefsPackage (import ../applications/networking/browsers/mozilla-plugins/mozplugger) {
|
2009-02-11 10:02:10 +00:00
|
|
|
inherit firefox;
|
2009-02-08 17:23:22 +00:00
|
|
|
inherit (xlibs) libX11 xproto;
|
|
|
|
};
|
|
|
|
|
2008-02-11 21:02:38 +00:00
|
|
|
mpg321 = import ../applications/audio/mpg321 {
|
|
|
|
inherit stdenv fetchurl libao libmad libid3tag zlib;
|
|
|
|
};
|
|
|
|
|
2009-03-10 21:03:51 +00:00
|
|
|
MPlayer = import ../applications/video/MPlayer {
|
2008-03-06 09:34:36 +00:00
|
|
|
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav
|
2009-10-04 22:31:34 +01:00
|
|
|
cdparanoia mesa pkgconfig unzip amrnb amrwb;
|
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;
|
2009-10-04 22:31:34 +01:00
|
|
|
amrSupport = getConfig [ "MPlayer" "amr" ] false;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-10-30 13:00:50 +00:00
|
|
|
MPlayerPlugin = browser:
|
2008-07-28 16:55:11 +01:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
|
2008-10-30 13:00:50 +00:00
|
|
|
inherit browser;
|
2008-07-28 16:55:11 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
# !!! should depend on MPlayer
|
|
|
|
};
|
2003-11-13 13:11:38 +00:00
|
|
|
|
2009-09-10 17:58:02 +01:00
|
|
|
MPlayerTrunk = import ../applications/video/MPlayer/trunk.nix {
|
|
|
|
inherit (bleedingEdgeRepos) sourceByName;
|
|
|
|
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav
|
2009-09-21 11:09:24 +01:00
|
|
|
cdparanoia mesa pkgconfig jackaudio;
|
2009-09-10 17:58:02 +01:00
|
|
|
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
|
|
|
alsaSupport = true;
|
|
|
|
alsa = alsaLib;
|
|
|
|
theoraSupport = true;
|
|
|
|
cacaSupport = true;
|
|
|
|
xineramaSupport = true;
|
|
|
|
randrSupport = true;
|
|
|
|
cddaSupport = true;
|
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
mrxvt = import ../applications/misc/mrxvt {
|
2009-04-12 09:42:04 +01:00
|
|
|
inherit lib fetchurl stdenv freetype pkgconfig which;
|
|
|
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE libXft
|
|
|
|
libXi inputproto;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
2007-09-04 21:06:18 +01:00
|
|
|
|
2008-12-02 12:25:56 +00:00
|
|
|
multisync = import ../applications/misc/multisync {
|
|
|
|
inherit fetchurl stdenv autoconf automake libtool pkgconfig;
|
|
|
|
inherit (gnome) gtk glib ORBit2 libbonobo libgnomeui GConf;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
nedit = import ../applications/editors/nedit {
|
2009-08-25 07:36:05 +01:00
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
motif = lesstif;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2009-09-13 09:54:47 +01:00
|
|
|
netsurfBrowser = netsurf.browser;
|
2009-09-21 11:09:20 +01:00
|
|
|
netsurf = recurseIntoAttrs (import ../applications/networking/browsers/netsurf { inherit pkgs; });
|
2009-09-13 09:54:47 +01:00
|
|
|
|
2009-04-16 20:28:57 +01:00
|
|
|
nvi = import ../applications/editors/nvi {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
openoffice = import ../applications/office/openoffice {
|
2009-04-20 13:08:09 +01:00
|
|
|
inherit fetchurl stdenv pam python tcsh libxslt perl zlib libjpeg
|
|
|
|
expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron
|
|
|
|
curl libsndfile flex zip unzip libmspack getopt file neon cairo
|
2009-04-20 14:50:07 +01:00
|
|
|
which icu jdk ant cups openssl bison boost gperf cppunit;
|
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;
|
2009-04-20 13:49:35 +01:00
|
|
|
inherit (perlPackages) ArchiveZip CompressZlib;
|
2009-11-04 00:39:27 +00:00
|
|
|
inherit (gnome) GConf ORBit2;
|
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 {
|
2009-05-13 15:47:10 +01:00
|
|
|
inherit fetchurl zlib glibc stdenv makeDesktopItem;
|
2006-09-29 10:06:56 +01:00
|
|
|
inherit (xlibs) libX11 libSM libICE libXt libXext;
|
2009-09-02 14:24:08 +01:00
|
|
|
qt = qt3;
|
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
|
|
|
};
|
|
|
|
|
2009-04-05 22:41:24 +01:00
|
|
|
panotools = import ../applications/graphics/panotools {
|
|
|
|
inherit stdenv fetchsvn libpng libjpeg libtiff automake libtool autoconf;
|
|
|
|
};
|
2009-05-18 14:53:01 +01:00
|
|
|
|
2009-04-03 16:58:18 +01:00
|
|
|
pavucontrol = import ../applications/audio/pavucontrol {
|
|
|
|
inherit fetchurl stdenv pkgconfig pulseaudio libsigcxx
|
2009-04-03 22:04:13 +01:00
|
|
|
libcanberra intltool gettext;
|
2009-04-03 16:58:18 +01:00
|
|
|
inherit (gtkLibs) gtkmm;
|
|
|
|
inherit (gnome) libglademm;
|
|
|
|
};
|
|
|
|
|
2009-03-30 21:06:31 +01:00
|
|
|
paraview = import ../applications/graphics/paraview {
|
|
|
|
inherit fetchurl stdenv cmake qt4;
|
|
|
|
};
|
|
|
|
|
2009-09-10 17:57:34 +01:00
|
|
|
partitionManager = import ../tools/misc/partition-manager {
|
|
|
|
inherit fetchurl stdenv lib cmake pkgconfig gettext parted libuuid perl;
|
|
|
|
kde = kde43;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-04-26 00:40:18 +01:00
|
|
|
pidgin = import ../applications/networking/instant-messengers/pidgin {
|
2009-07-09 10:50:51 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 nss nspr
|
2009-01-28 17:16:27 +00:00
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib lib intltool;
|
2008-09-06 11:30:55 +01:00
|
|
|
openssl = if (getConfig ["pidgin" "openssl"] true) then openssl else null;
|
|
|
|
gnutls = if (getConfig ["pidgin" "gnutls"] false) then gnutls else null;
|
2008-04-26 00:40:18 +01:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) startupnotification;
|
|
|
|
inherit (xlibs) libXScrnSaver;
|
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
pidginlatex = composedArgsAndFun (import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex) {
|
2008-04-26 00:40:18 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig ghostscript pidgin texLive;
|
|
|
|
imagemagick = imagemagickBig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2009-03-10 12:01:22 +00:00
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
pidginlatexSF = builderDefsPackage
|
2008-06-18 23:48:34 +01:00
|
|
|
(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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick boost python;
|
2007-08-09 20:58:39 +01:00
|
|
|
};
|
|
|
|
|
2009-11-09 09:15:58 +00:00
|
|
|
qemu = import ../applications/virtualization/qemu/0.11.0.nix {
|
|
|
|
inherit stdenv fetchurl SDL zlib which;
|
2007-12-31 08:49:41 +00:00
|
|
|
};
|
|
|
|
|
2009-02-24 12:22:15 +00:00
|
|
|
qemuSVN = import ../applications/virtualization/qemu/svn-6642.nix {
|
|
|
|
inherit fetchsvn SDL zlib which stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
qemuImage = composedArgsAndFun (import ../applications/virtualization/qemu/linux-img/0.2.nix) {
|
2007-12-31 08:49:41 +00:00
|
|
|
inherit builderDefs fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-05 22:41:13 +01:00
|
|
|
qtpfsgui = import ../applications/graphics/qtpfsgui {
|
|
|
|
inherit fetchurl stdenv exiv2 libtiff fftw qt4 ilmbase;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
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
|
2009-11-05 21:53:37 +00:00
|
|
|
libXtst xextproto libXi;
|
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;
|
|
|
|
};
|
|
|
|
|
2009-09-22 21:16:38 +01:00
|
|
|
RealPlayer =
|
2009-08-25 07:04:13 +01:00
|
|
|
(import ../applications/video/RealPlayer {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
});
|
2005-09-11 23:39:06 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
rsync = import ../applications/networking/sync/rsync {
|
2009-02-03 22:13:35 +00:00
|
|
|
inherit fetchurl stdenv acl;
|
2009-10-01 18:33:19 +01:00
|
|
|
enableACLs = system != "i686-darwin";
|
2005-08-30 20:41:10 +01:00
|
|
|
};
|
|
|
|
|
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
|
2009-09-10 17:57:47 +01:00
|
|
|
rxvt_unicode = makeOverridable (import ../applications/misc/rxvt_unicode) {
|
2009-06-30 22:45:15 +01:00
|
|
|
inherit lib fetchurl stdenv perl ncurses;
|
2007-10-31 12:17:14 +00:00
|
|
|
inherit (xlibs) libXt libX11 libXft;
|
2009-09-10 17:57:47 +01:00
|
|
|
perlSupport = false;
|
2007-10-31 12:17:14 +00:00
|
|
|
};
|
|
|
|
|
2007-09-12 11:56:56 +01:00
|
|
|
sbagen = import ../applications/misc/sbagen {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-18 05:44:01 +01:00
|
|
|
scribus = import ../applications/office/scribus {
|
|
|
|
inherit fetchurl stdenv lib cmake pkgconfig freetype lcms libtiff libxml2
|
|
|
|
cairo python cups fontconfig zlib libjpeg libpng;
|
|
|
|
inherit (gnome) libart_lgpl;
|
|
|
|
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2007-09-12 11:56:56 +01:00
|
|
|
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
|
2009-01-12 21:12:07 +00:00
|
|
|
libXinerama libXext libX11 libXv libXScrnSaver;
|
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;
|
|
|
|
};
|
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
sndBase = builderDefsPackage (import ../applications/audio/snd) {
|
2008-08-19 06:54:09 +01:00
|
|
|
inherit fetchurl stdenv stringsWithDeps lib fftw;
|
2008-03-17 09:41:28 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2008-11-04 21:24:10 +00:00
|
|
|
snd = sndBase.passthru.function {
|
2008-08-18 17:03:38 +01:00
|
|
|
inherit guile mesa libtool jackaudio alsaLib;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2007-11-03 04:15:13 +00:00
|
|
|
|
2009-09-21 10:58:36 +01:00
|
|
|
sonicVisualizer = import ../applications/audio/sonic-visualizer {
|
|
|
|
inherit fetchurl stdenv lib libsndfile libsamplerate bzip2 librdf
|
2009-09-22 21:16:38 +01:00
|
|
|
rubberband jackaudio pulseaudio libmad
|
2009-09-21 10:58:36 +01:00
|
|
|
libogg liblo alsaLib librdf_raptor librdf_rasqal redland fftw;
|
|
|
|
inherit (vamp) vampSDK;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
sox = import ../applications/misc/audio/sox {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
2008-06-18 23:48:34 +01:00
|
|
|
# optional features
|
2009-03-10 21:03:51 +00:00
|
|
|
inherit alsaLib libao ffmpeg;
|
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
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2008-08-09 21:21:33 +01:00
|
|
|
stumpwm = builderDefsPackage (import ../applications/window-managers/stumpwm) {
|
2009-05-31 07:07:25 +01:00
|
|
|
inherit texinfo;
|
|
|
|
clisp = clisp_2_44_1;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-08-09 21:21:33 +01:00
|
|
|
|
2009-10-02 13:36:04 +01:00
|
|
|
subversion = makeOverridable (import ../applications/version-management/subversion/default.nix) {
|
2009-10-02 12:49:21 +01:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apr aprutil expat swig zlib jdk python perl sqlite;
|
2008-06-19 16:29:25 +01:00
|
|
|
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;
|
2009-10-02 13:44:54 +01:00
|
|
|
javahlBindings = supportsJDK && getConfig ["subversion" "javahlBindings"] false;
|
2008-06-19 16:29:25 +01:00
|
|
|
compressionSupport = getConfig ["subversion" "compressionSupport"] true;
|
2009-08-31 16:03:31 +01:00
|
|
|
httpd = pkgsOverriden.apacheHttpd;
|
2008-06-19 16:29:25 +01:00
|
|
|
};
|
|
|
|
|
2009-04-20 13:49:35 +01:00
|
|
|
svk = perlPackages.SVK;
|
2008-05-30 19:15:25 +01:00
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
sylpheed = import ../applications/networking/mailreaders/sylpheed {
|
2006-09-15 16:28:53 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig openssl gpgme;
|
2007-05-14 01:29:30 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
2006-09-15 16:28:53 +01:00
|
|
|
sslSupport = true;
|
|
|
|
gpgSupport = true;
|
2006-01-26 20:45:11 +00:00
|
|
|
};
|
|
|
|
|
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 {
|
2009-04-29 14:04:01 +01:00
|
|
|
inherit fetchurl bleedingEdgeRepos stdenv x11;
|
2009-11-12 16:11:44 +00:00
|
|
|
inherit (xlibs) xextproto libXtst inputproto libXi;
|
2007-11-11 08:16:23 +00:00
|
|
|
};
|
|
|
|
|
2009-10-31 22:34:24 +00:00
|
|
|
tahoelafs = import ../tools/networking/p2p/tahoe-lafs {
|
2009-08-11 09:11:13 +01:00
|
|
|
inherit fetchurl lib unzip nettools buildPythonPackage;
|
2009-06-28 22:03:00 +01:00
|
|
|
inherit (pythonPackages) twisted foolscap simplejson nevow zfec
|
2009-07-07 23:44:29 +01:00
|
|
|
pycryptopp pysqlite;
|
2009-06-28 22:03:00 +01:00
|
|
|
};
|
|
|
|
|
2009-04-25 12:19:42 +01:00
|
|
|
tailor = builderDefsPackage (import ../applications/version-management/tailor) {
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit makeWrapper python;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-05-07 08:23:20 +01:00
|
|
|
|
2009-06-03 14:52:38 +01:00
|
|
|
tangogps = import ../applications/misc/tangogps {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext curl libexif sqlite;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-02-06 03:14:30 +00:00
|
|
|
thinkingRock = import ../applications/misc/thinking-rock {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-11-26 14:18:57 +00:00
|
|
|
thunderbird = import ../applications/networking/mailreaders/thunderbird-2.x {
|
2009-09-12 06:53:25 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
2007-06-02 21:32:24 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#enableOfficialBranding = true;
|
|
|
|
};
|
|
|
|
|
2009-03-08 12:29:34 +00:00
|
|
|
/*
|
|
|
|
Despaired. Looks like ThunderBird-on-Firefox's-Xulrunner is non-trivial
|
|
|
|
|
|
|
|
thunderbird3 = lowPrio (import ../applications/networking/mailreaders/thunderbird-3.x {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg zlib cairo
|
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 libpng alsaLib sqlite
|
|
|
|
patchelf;
|
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
#enableOfficialBranding = true;
|
|
|
|
xulrunner = xulrunner3;
|
|
|
|
autoconf = autoconf213;
|
|
|
|
});*/
|
|
|
|
|
2007-09-23 17:28:56 +01:00
|
|
|
timidity = import ../tools/misc/timidity {
|
2009-09-10 17:57:58 +01:00
|
|
|
inherit fetchurl stdenv lib alsaLib composableDerivation jackaudio ncurses;
|
2007-09-23 17:28:56 +01:00
|
|
|
};
|
2007-09-23 15:47:11 +01:00
|
|
|
|
2009-06-19 10:02:48 +01:00
|
|
|
tkcvs = import ../applications/version-management/tkcvs {
|
|
|
|
inherit stdenv fetchurl tcl tk;
|
|
|
|
};
|
|
|
|
|
2008-02-17 13:44:30 +00:00
|
|
|
tla = import ../applications/version-management/arch {
|
|
|
|
inherit fetchurl stdenv diffutils gnutar gnupatch which;
|
|
|
|
};
|
|
|
|
|
2009-09-20 18:01:19 +01:00
|
|
|
twinkle = import ../applications/networking/twinkle {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig commoncpp2 ccrtp openssl speex libjpeg perl
|
|
|
|
libzrtpcpp libsndfile libxml2 file readline alsaLib;
|
|
|
|
qt = qt3;
|
|
|
|
boost = boostFull;
|
|
|
|
inherit (xlibs) libX11 libXaw libICE libXext;
|
|
|
|
};
|
|
|
|
|
2007-08-10 09:21:31 +01:00
|
|
|
unison = import ../applications/networking/sync/unison {
|
|
|
|
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
|
|
|
|
inherit (xorg) xset fontschumachermisc;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
uucp = import ../tools/misc/uucp {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-11 10:32:27 +01:00
|
|
|
};
|
|
|
|
|
2009-06-19 09:05:21 +01:00
|
|
|
uzbl = builderDefsPackage (import ../applications/networking/browsers/uzbl) {
|
2009-08-03 07:27:20 +01:00
|
|
|
inherit pkgconfig webkit makeWrapper;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 06:37:09 +01:00
|
|
|
libsoup = gnome28.libsoup;
|
2009-06-19 09:05:21 +01:00
|
|
|
};
|
|
|
|
|
2009-09-22 21:16:38 +01:00
|
|
|
uzblExperimental = builderDefsPackage
|
2009-09-22 04:51:04 +01:00
|
|
|
(import ../applications/networking/browsers/uzbl/experimental.nix) {
|
|
|
|
inherit pkgconfig webkit makeWrapper;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 06:37:09 +01:00
|
|
|
libsoup = gnome28.libsoup;
|
2009-09-22 04:51:04 +01:00
|
|
|
};
|
|
|
|
|
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-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-12-20 01:20:35 +00:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig composableDerivation 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
|
2009-02-12 20:27:54 +00:00
|
|
|
inherit python perl tcl ruby /*x11*/;
|
2007-12-12 07:20:41 +00:00
|
|
|
|
|
|
|
# optional features by flags
|
|
|
|
flags = [ "X11" ]; # only flag "X11" by now
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
vlc = import ../applications/video/vlc {
|
2009-03-10 23:28:06 +00:00
|
|
|
inherit fetchurl stdenv perl xlibs zlib a52dec libmad faad2
|
2009-03-10 22:45:27 +00:00
|
|
|
ffmpeg libdvdnav pkgconfig hal fribidi qt4 freefont_ttf;
|
2009-03-10 21:03:51 +00:00
|
|
|
dbus = dbus.libs;
|
2006-09-15 16:28:53 +01:00
|
|
|
alsa = alsaLib;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2009-10-12 12:08:52 +01:00
|
|
|
vnstat = import ../applications/networking/vnstat {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-04-22 22:33:24 +01:00
|
|
|
vwm = import ../applications/window-managers/vwm {
|
2009-11-04 22:38:26 +00:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig libviper libpseudo gpm glib libvterm;
|
2009-04-22 22:33:24 +01:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
w3m = import ../applications/networking/browsers/w3m {
|
2009-10-28 15:06:18 +00:00
|
|
|
inherit fetchurl stdenv ncurses openssl boehmgc gettext zlib imlib2 x11;
|
2006-09-15 16:28:53 +01:00
|
|
|
graphicsSupport = false;
|
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;
|
|
|
|
};
|
|
|
|
|
2009-07-02 15:26:24 +01:00
|
|
|
wrapFirefox = browser: browserName: nameSuffix: import ../applications/networking/browsers/firefox/wrapper.nix {
|
2009-05-10 13:03:53 +01:00
|
|
|
inherit stdenv nameSuffix makeWrapper makeDesktopItem browser browserName;
|
2008-03-10 15:13:06 +00:00
|
|
|
plugins =
|
2009-03-04 11:04:16 +00:00
|
|
|
let enableAdobeFlash = getConfig [ browserName "enableAdobeFlash" ] true;
|
2008-03-10 15:13:06 +00:00
|
|
|
in
|
|
|
|
([]
|
2008-03-17 09:41:28 +00:00
|
|
|
++ lib.optional (!enableAdobeFlash) gnash
|
2009-07-15 21:34:08 +01:00
|
|
|
++ lib.optional enableAdobeFlash flashplayer
|
2008-03-17 09:41:28 +00:00
|
|
|
# RealPlayer is disabled by default for legal reasons.
|
2008-09-19 10:46:21 +01:00
|
|
|
++ lib.optional (system != "i686-linux" && getConfig [browserName "enableRealPlayer"] false) RealPlayer
|
2009-07-10 13:10:58 +01:00
|
|
|
++ lib.optional (getConfig [browserName "enableMPlayer"] false) (MPlayerPlugin browser)
|
2009-07-15 21:34:08 +01:00
|
|
|
++ lib.optional (getConfig [browserName "enableGeckoMediaPlayer"] false) gecko_mediaplayer
|
2008-09-19 10:46:21 +01:00
|
|
|
++ lib.optional (supportsJDK && getConfig [browserName "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin
|
2008-03-17 09:41:28 +00:00
|
|
|
);
|
2004-10-06 12:32:20 +01:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
x11vnc = composedArgsAndFun (import ../tools/X11/x11vnc/0.9.3.nix) {
|
2008-02-22 03:06:12 +00:00
|
|
|
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
|
2009-11-05 22:27:46 +00:00
|
|
|
libXext xextproto inputproto recordproto libXi renderproto
|
|
|
|
libXrender;
|
2008-02-22 03:06:12 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
x2vnc = composedArgsAndFun (import ../tools/X11/x2vnc/1.7.2.nix) {
|
2008-03-17 06:29:32 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
inherit (xlibs) libX11 xproto xextproto libXext libXrandr randrproto;
|
|
|
|
};
|
|
|
|
|
2009-02-08 14:17:05 +00:00
|
|
|
xaos = builderDefsPackage (import ../applications/graphics/xaos) {
|
|
|
|
inherit (xlibs) libXt libX11 libXext xextproto xproto;
|
|
|
|
inherit gsl aalib zlib libpng intltool gettext perl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
xara = import ../applications/graphics/xara {
|
2009-11-05 21:34:44 +00:00
|
|
|
inherit fetchurl stdenv autoconf automake libtool gettext cvs
|
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;
|
2009-11-05 21:34:44 +00:00
|
|
|
wxGTK = wxGTK26;
|
2005-12-13 00:13:01 +00:00
|
|
|
};
|
|
|
|
|
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 {
|
2009-11-09 11:55:31 +00:00
|
|
|
inherit fetchurl stdenv chmlib wxGTK;
|
2004-10-06 13:06:23 +01:00
|
|
|
};
|
|
|
|
|
2008-10-04 16:24:08 +01:00
|
|
|
/* Doesn't work yet
|
2008-10-09 11:10:49 +01:00
|
|
|
|
2008-10-04 16:24:08 +01:00
|
|
|
xen = builderDefsPackage (import ../applications/virtualization/xen) {
|
|
|
|
inherit python e2fsprogs gnutls pkgconfig libjpeg
|
|
|
|
ncurses SDL libvncserver zlib;
|
|
|
|
texLive = if (getConfig ["xen" "texLive"] false) then texLive else null;
|
|
|
|
graphviz = if (getConfig ["xen" "graphviz"] false) then graphviz else null;
|
|
|
|
ghostscript = if (getConfig ["xen" "ghostscript"] false) then ghostscript else null;
|
|
|
|
}; */
|
|
|
|
|
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 {
|
2009-04-09 16:27:48 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig xlibs xineLib libpng readline ncurses curl;
|
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-03-20 09:52:40 +00:00
|
|
|
xneur = import ../applications/misc/xneur {
|
2009-08-05 11:25:17 +01:00
|
|
|
inherit fetchurl stdenv pkgconfig pcre libxml2 aspell imlib2
|
|
|
|
xosd libnotify cairo;
|
2008-03-20 09:52:40 +00:00
|
|
|
GStreamer=gst_all.gstreamer;
|
2009-08-05 11:25:17 +01:00
|
|
|
inherit (xlibs) libX11 libXpm libXt libXext libXi;
|
|
|
|
inherit (gtkLibs) glib gtk pango atk;
|
2008-06-18 23:48:34 +01:00
|
|
|
};
|
2008-03-20 09:52:40 +00:00
|
|
|
|
2009-01-12 06:14:13 +00:00
|
|
|
xneur_0_8 = import ../applications/misc/xneur/0.8.nix {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig pcre libxml2 aspell imlib2 xosd glib;
|
|
|
|
GStreamer = gst_all.gstreamer;
|
2009-01-12 06:14:13 +00:00
|
|
|
inherit (xlibs) libX11 libXpm libXt libXext;
|
2008-06-18 23:48:34 +01:00
|
|
|
};
|
2008-03-20 09:52:40 +00:00
|
|
|
|
2009-08-02 22:47:10 +01:00
|
|
|
xournal = builderDefsPackage (import ../applications/graphics/xournal) {
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit ghostscript fontconfig freetype zlib
|
2009-08-02 22:47:10 +01:00
|
|
|
poppler popplerData autoconf automake
|
|
|
|
libtool pkgconfig;
|
|
|
|
inherit (xlibs) xproto libX11;
|
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit (gnome) libgnomeprint libgnomeprintui
|
2009-08-02 22:47:10 +01:00
|
|
|
libgnomecanvas;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-03-03 13:27:40 +00:00
|
|
|
xscreensaverBase = composedArgsAndFun (import ../applications/graphics/xscreensaver) {
|
2007-11-22 20:26:00 +00:00
|
|
|
inherit stdenv fetchurl builderDefs lib pkgconfig bc perl intltool;
|
|
|
|
inherit (xlibs) libX11 libXmu;
|
|
|
|
};
|
|
|
|
|
2008-11-04 21:24:10 +00:00
|
|
|
xscreensaver = xscreensaverBase.passthru.function {
|
2007-11-26 13:24:56 +00:00
|
|
|
flags = ["GL" "gdkpixbuf" "DPMS" "gui" "jpeg"];
|
|
|
|
inherit mesa libxml2 libjpeg;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2007-11-22 20:26:00 +00:00
|
|
|
|
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;
|
2009-10-28 13:07:44 +00:00
|
|
|
inherit (xlibs) libX11 libXi 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
|
|
|
|
2008-08-14 10:25:26 +01:00
|
|
|
xnee = builderDefsPackage (import ../tools/X11/xnee) {
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit (xlibs) libX11 libXtst xextproto libXext
|
2008-08-14 10:25:26 +01:00
|
|
|
inputproto libXi xproto recordproto;
|
|
|
|
inherit pkgconfig;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-08-14 10:25:26 +01:00
|
|
|
|
2006-12-01 16:44:26 +00:00
|
|
|
xvidcap = import ../applications/video/xvidcap {
|
2009-05-03 14:24:31 +01:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig gettext lame;
|
2006-12-01 16:44:26 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) scrollkeeper libglade;
|
2009-05-03 14:24:31 +01:00
|
|
|
inherit (xlibs) libXmu libXext libXfixes libXdamage libX11;
|
2006-12-01 16:44:26 +00:00
|
|
|
};
|
|
|
|
|
2009-10-18 05:43:48 +01:00
|
|
|
yate = import ../applications/misc/yate {
|
|
|
|
inherit sox speex openssl automake autoconf pkgconfig;
|
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:48:34 +01:00
|
|
|
# doesn't compile yet - in case someone else want's to continue ..
|
2009-11-18 09:39:59 +00:00
|
|
|
qgis = (import ../applications/misc/qgis/1.0.1-2.nix) {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit composableDerivation fetchsvn stdenv flex lib
|
2007-12-10 22:36:52 +00:00
|
|
|
ncurses fetchurl perl cmake gdal geos proj x11
|
2008-08-25 14:25:07 +01:00
|
|
|
gsl libpng zlib bison
|
2008-12-20 01:20:35 +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;
|
|
|
|
|
|
|
|
# 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-10-04 11:08:59 +01:00
|
|
|
ballAndPaddle = import ../games/ball-and-paddle {
|
|
|
|
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_ttf guile gettext;
|
|
|
|
};
|
|
|
|
|
2009-10-26 23:03:36 +00:00
|
|
|
bsdgames = import ../games/bsdgames {
|
|
|
|
inherit fetchurl stdenv ncurses openssl flex bison miscfiles;
|
|
|
|
};
|
|
|
|
|
2008-10-06 23:49:37 +01:00
|
|
|
castleCombat = import ../games/castle-combat {
|
|
|
|
inherit fetchurl stdenv python pygame twisted lib numeric makeWrapper;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
construoBase = composedArgsAndFun (import ../games/construo/0.2.2.nix) {
|
2007-12-03 04:48:44 +00:00
|
|
|
inherit stdenv fetchurl builderDefs
|
|
|
|
zlib;
|
|
|
|
inherit (xlibs) libX11 xproto;
|
|
|
|
};
|
|
|
|
|
2008-11-04 21:24:10 +00:00
|
|
|
construo = construoBase.passthru.function {
|
2007-12-03 04:48:44 +00:00
|
|
|
inherit mesa freeglut;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2004-04-01 17:02:53 +01:00
|
|
|
|
2009-05-14 14:48:45 +01:00
|
|
|
eduke32 = import ../games/eduke32 {
|
2009-05-14 15:42:20 +01:00
|
|
|
inherit stdenv fetchurl SDL SDL_mixer unzip libvorbis mesa pkgconfig nasm makeDesktopItem;
|
2009-05-14 14:48:45 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-09-15 16:28:53 +01:00
|
|
|
exult = import ../games/exult {
|
2009-10-02 14:01:31 +01:00
|
|
|
inherit fetchurl SDL SDL_mixer zlib libpng unzip;
|
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2006-08-09 00:39:03 +01:00
|
|
|
};
|
|
|
|
|
2009-07-10 13:44:34 +01:00
|
|
|
/*
|
2008-07-12 18:00:57 +01:00
|
|
|
exultSnapshot = lowPrio (import ../games/exult/snapshot.nix {
|
|
|
|
inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip
|
2008-08-25 14:25:07 +01:00
|
|
|
autoconf automake libtool flex bison;
|
2008-07-12 18:00:57 +01:00
|
|
|
});
|
2009-07-10 13:44:34 +01:00
|
|
|
*/
|
2008-07-12 18:00:57 +01:00
|
|
|
|
2007-10-27 18:55:13 +01:00
|
|
|
fsg = import ../games/fsg {
|
2009-01-30 06:26:40 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig mesa;
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2009-01-30 06:26:40 +00:00
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-11-17 15:26:22 +00:00
|
|
|
wxGTK = wxGTK28.override {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 {
|
2009-01-30 06:26:40 +00:00
|
|
|
inherit stdenv fetchurl mesa;
|
2009-11-17 15:26:22 +00:00
|
|
|
wxGTK = wxGTK28.override {unicode = false;};
|
2009-01-30 06:26:40 +00:00
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-05-25 19:22:19 +01:00
|
|
|
inherit stringsWithDeps 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;
|
|
|
|
};
|
|
|
|
|
2009-01-31 20:09:54 +00:00
|
|
|
gnuchess = builderDefsPackage (import ../games/gnuchess) {
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2009-09-10 17:57:21 +01:00
|
|
|
gparted = import ../tools/misc/gparted {
|
|
|
|
inherit fetchurl stdenv parted intltool gettext libuuid pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) gtk glib gtkmm;
|
|
|
|
inherit (gnome) gnomedocutils;
|
|
|
|
};
|
|
|
|
|
2009-04-14 23:25:14 +01:00
|
|
|
hexen = import ../games/hexen {
|
|
|
|
inherit stdenv fetchurl SDL;
|
|
|
|
};
|
|
|
|
|
2009-04-14 23:25:03 +01:00
|
|
|
kobodeluxe = import ../games/kobodeluxe {
|
|
|
|
inherit stdenv fetchurl SDL SDL_image;
|
|
|
|
};
|
|
|
|
|
2008-08-08 08:16:34 +01:00
|
|
|
lincity = builderDefsPackage (import ../games/lincity) {
|
2008-08-25 14:25:07 +01:00
|
|
|
inherit (xlibs) libX11 libXext xextproto
|
2008-08-08 08:16:34 +01:00
|
|
|
libICE libSM xproto;
|
|
|
|
inherit libpng zlib;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-08-08 08:16:34 +01:00
|
|
|
|
2008-08-06 21:39:01 +01:00
|
|
|
micropolis = import ../games/micropolis {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXpm libXext xextproto;
|
|
|
|
inherit byacc bash;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-04-16 23:50:36 +01:00
|
|
|
scorched3d = import ../games/scorched3d {
|
|
|
|
inherit stdenv fetchurl mesa openal autoconf automake libtool freealut freetype fftw SDL SDL_net zlib libpng libjpeg;
|
2009-11-05 21:34:44 +00:00
|
|
|
wxGTK = wxGTK26;
|
2009-04-16 23:50:36 +01:00
|
|
|
};
|
|
|
|
|
2009-01-03 13:44:04 +00:00
|
|
|
sgtpuzzles = builderDefsPackage (import ../games/sgt-puzzles) {
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit pkgconfig;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2008-01-22 17:56:53 +00:00
|
|
|
# You still can override by passing more arguments.
|
2009-11-18 09:39:59 +00:00
|
|
|
spaceOrbit = composedArgsAndFun (import ../games/orbit/1.01.nix) {
|
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;
|
|
|
|
};
|
|
|
|
|
2008-10-12 15:28:51 +01:00
|
|
|
superTuxKart = import ../games/super-tux-kart {
|
|
|
|
inherit fetchurl stdenv plib SDL openal freealut mesa
|
|
|
|
libvorbis libogg gettext;
|
|
|
|
};
|
|
|
|
|
2009-01-13 19:44:11 +00:00
|
|
|
teeworlds = import ../games/teeworlds {
|
2009-01-14 00:23:11 +00:00
|
|
|
inherit fetchurl stdenv python alsaLib mesa SDL;
|
2009-01-13 19:44:11 +00:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};*/
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
ut2004demo = import ../games/ut2004demo {
|
2004-06-09 19:06:29 +01:00
|
|
|
inherit fetchurl stdenv xlibs mesa;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2004-06-09 18:59:46 +01:00
|
|
|
|
2009-01-31 20:09:54 +00:00
|
|
|
xboard = builderDefsPackage (import ../games/xboard) {
|
2009-02-05 16:50:45 +00:00
|
|
|
inherit (xlibs) libX11 xproto libXt libXaw libSM
|
2009-01-31 20:09:54 +00:00
|
|
|
libICE libXmu libXext;
|
|
|
|
inherit gnuchess;
|
|
|
|
};
|
|
|
|
|
2009-01-11 22:05:19 +00:00
|
|
|
xsokoban = builderDefsPackage (import ../games/xsokoban) {
|
|
|
|
inherit (xlibs) libX11 xproto libXpm libXt;
|
|
|
|
};
|
|
|
|
|
2009-02-22 22:06:34 +00:00
|
|
|
zdoom = import ../games/zdoom {
|
|
|
|
inherit cmake stdenv fetchsvn SDL nasm p7zip zlib flac fmod libjpeg;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2009-01-22 22:46:39 +00:00
|
|
|
enlightenment = import ../desktops/enlightenment {
|
|
|
|
inherit stdenv fetchurl pkgconfig x11 xlibs dbus imlib2 freetype;
|
|
|
|
};
|
|
|
|
|
2009-10-29 14:19:13 +00:00
|
|
|
gnome28 = import ../desktops/gnome-2.28 pkgs;
|
2007-02-28 16:18:58 +00:00
|
|
|
|
2009-10-31 12:59:33 +00:00
|
|
|
gnome = gnome28;
|
2009-09-30 06:29:08 +01:00
|
|
|
|
2009-03-10 07:58:12 +00:00
|
|
|
kde3 = {
|
|
|
|
|
|
|
|
kdelibs = import ../desktops/kde-3/kdelibs {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv xlibs zlib perl openssl pcre pkgconfig
|
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
|
|
|
expat freetype bzip2 cups attr acl;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
kdebase = import ../desktops/kde-3/kdebase {
|
|
|
|
inherit
|
|
|
|
fetchurl stdenv pkgconfig x11 xlibs zlib libpng libjpeg perl
|
2009-10-29 11:43:02 +00:00
|
|
|
kdelibs openssl bzip2 fontconfig pam hal dbus glib;
|
2009-03-10 07:58:12 +00:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2007-02-28 16:18:58 +00:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-09-13 17:40:36 +01:00
|
|
|
kde4 = kde43;
|
2007-11-15 00:11:56 +00:00
|
|
|
|
2009-08-15 15:02:49 +01:00
|
|
|
kde43 = import ../desktops/kde-4.3 (pkgs // {
|
|
|
|
openexr = openexr_1_6_1;
|
2009-09-08 10:23:45 +01:00
|
|
|
qt4 = qt45;
|
2009-09-13 12:04:54 +01:00
|
|
|
popplerQt4 = popplerQt45;
|
2009-08-15 15:02:49 +01:00
|
|
|
});
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-03-10 07:58:12 +00:00
|
|
|
kdelibs = kde3.kdelibs;
|
|
|
|
kdebase = kde3.kdebase;
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-09-11 15:06:51 +01:00
|
|
|
### SCIENCE
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-09-11 15:06:51 +01:00
|
|
|
xplanet = import ../applications/science/xplanet {
|
|
|
|
inherit stdenv fetchurl lib pkgconfig freetype libpng libjpeg giflib libtiff;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
};
|
2009-03-17 14:03:03 +00:00
|
|
|
|
2008-10-05 10:04:30 +01:00
|
|
|
### SCIENCE/GEOMETRY
|
2008-04-15 10:35:52 +01:00
|
|
|
|
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;
|
2008-08-14 23:04:30 +01:00
|
|
|
};
|
2008-06-27 20:15:01 +01:00
|
|
|
|
2009-04-17 14:48:22 +01:00
|
|
|
|
2008-10-05 10:04:30 +01:00
|
|
|
### SCIENCE/BIOLOGY
|
|
|
|
|
2009-02-08 16:28:31 +00:00
|
|
|
alliance = import ../applications/science/electronics/alliance {
|
|
|
|
inherit fetchurl stdenv bison flex;
|
|
|
|
inherit (xlibs) xproto libX11 libXt libXpm;
|
|
|
|
motif = lesstif;
|
|
|
|
};
|
|
|
|
|
2008-10-05 10:04:30 +01:00
|
|
|
arb = import ../applications/science/biology/arb {
|
2009-11-10 17:16:06 +00:00
|
|
|
inherit fetchurl readline libpng zlib x11 lesstif93 freeglut perl;
|
2008-10-06 14:18:02 +01:00
|
|
|
inherit (xlibs) libXpm libXaw libX11 libXext libXt;
|
2008-10-07 15:35:11 +01:00
|
|
|
inherit mesa glew libtiff lynx rxp sablotron jdk transfig gv gnuplot;
|
2008-10-06 16:11:36 +01:00
|
|
|
lesstif = lesstif93;
|
2009-11-10 17:16:06 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2008-10-05 10:04:30 +01:00
|
|
|
};
|
2008-08-07 16:01:21 +01:00
|
|
|
|
|
|
|
biolib = import ../development/libraries/science/biology/biolib {
|
|
|
|
inherit fetchurl stdenv readline perl cmake rLang zlib;
|
|
|
|
};
|
|
|
|
|
2008-06-05 18:15:27 +01:00
|
|
|
emboss = import ../applications/science/biology/emboss {
|
|
|
|
inherit fetchurl stdenv readline perl libpng zlib;
|
2008-07-23 14:40:03 +01:00
|
|
|
inherit (xorg) libX11 libXt;
|
2008-06-05 18:15:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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-10-05 13:55:00 +01:00
|
|
|
/* slr = import ../applications/science/biology/slr {
|
2008-10-05 10:04:30 +01:00
|
|
|
inherit fetchurl stdenv liblapack;
|
2008-10-05 13:55:00 +01:00
|
|
|
}; */
|
2008-10-05 10:04:30 +01:00
|
|
|
|
2008-09-19 14:39:17 +01:00
|
|
|
pal2nal = import ../applications/science/biology/pal2nal {
|
|
|
|
inherit fetchurl stdenv perl paml;
|
|
|
|
};
|
|
|
|
|
2009-04-17 14:48:22 +01:00
|
|
|
|
2008-10-05 10:04:30 +01:00
|
|
|
### SCIENCE/MATH
|
|
|
|
|
|
|
|
atlas = import ../development/libraries/science/math/atlas {
|
|
|
|
inherit fetchurl stdenv gfortran;
|
|
|
|
};
|
|
|
|
|
2008-10-05 13:55:00 +01:00
|
|
|
/* liblapack = import ../development/libraries/science/math/liblapack {
|
2008-10-05 10:04:30 +01:00
|
|
|
inherit fetchurl stdenv gfortran;
|
2008-10-05 13:55:00 +01:00
|
|
|
}; */
|
2008-10-05 10:04:30 +01:00
|
|
|
|
2009-04-17 14:48:22 +01:00
|
|
|
|
2008-06-04 16:10:05 +01:00
|
|
|
### SCIENCE/LOGIC
|
|
|
|
|
|
|
|
coq = import ../applications/science/logic/coq {
|
2009-11-02 11:44:27 +00:00
|
|
|
inherit stdenv fetchurl ocaml lablgtk ncurses;
|
|
|
|
camlp5 = camlp5_transitional;
|
2008-06-04 16:10:05 +01:00
|
|
|
};
|
2008-04-15 10:35:52 +01:00
|
|
|
|
2009-11-05 15:08:12 +00:00
|
|
|
ssreflect = import ../applications/science/logic/ssreflect {
|
|
|
|
inherit stdenv fetchurl ocaml coq;
|
|
|
|
camlp5 = camlp5_transitional;
|
|
|
|
};
|
|
|
|
|
2008-08-21 21:43:53 +01:00
|
|
|
### SCIENCE / ELECTRONICS
|
|
|
|
|
|
|
|
ngspice = import ../applications/science/electronics/ngspice {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2009-04-17 14:48:22 +01:00
|
|
|
|
2008-09-05 18:12:04 +01:00
|
|
|
### SCIENCE / MATH
|
|
|
|
|
2008-09-05 18:21:45 +01:00
|
|
|
maxima = import ../applications/science/math/maxima {
|
|
|
|
inherit fetchurl stdenv clisp;
|
|
|
|
};
|
|
|
|
|
2009-10-29 11:57:58 +00:00
|
|
|
wxmaxima = import ../applications/science/math/wxmaxima {
|
|
|
|
inherit fetchurl stdenv maxima;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2009-10-29 11:57:58 +00:00
|
|
|
};
|
|
|
|
|
2008-09-05 18:12:04 +01:00
|
|
|
scilab = (import ../applications/science/math/scilab) {
|
2009-04-09 16:24:33 +01:00
|
|
|
inherit stdenv fetchurl lib gfortran;
|
2008-09-05 18:12:04 +01:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit ncurses Xaw3d tcl tk ocaml x11;
|
|
|
|
|
|
|
|
withXaw3d = false;
|
|
|
|
withTk = true;
|
|
|
|
withGtk = false;
|
|
|
|
withOCaml = true;
|
|
|
|
withX = true;
|
|
|
|
};
|
|
|
|
|
2009-04-17 14:48:22 +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 {
|
2009-10-30 12:33:34 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig zlib libjpeg libpng libtiff pam openssl dbus;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
2009-08-28 00:32:13 +01:00
|
|
|
gutenprint = import ../misc/drivers/gutenprint {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig composableDerivation cups libtiff libpng
|
|
|
|
openssl git gimp;
|
|
|
|
};
|
|
|
|
|
2009-09-22 21:16:38 +01:00
|
|
|
gutenprintBin = import ../misc/drivers/gutenprint/bin.nix {
|
2009-08-28 00:32:13 +01:00
|
|
|
inherit fetchurl stdenv rpm cpio zlib;
|
|
|
|
};
|
|
|
|
|
2009-08-28 00:32:10 +01:00
|
|
|
cupsBjnp = import ../misc/cups/drivers/cups-bnjp {
|
|
|
|
inherit fetchurl stdenv cups;
|
|
|
|
};
|
|
|
|
|
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 {
|
2009-05-14 12:17:41 +01:00
|
|
|
inherit fetchurl stdenv SDL makeDesktopItem;
|
2006-09-15 16:28:53 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2009-04-30 18:41:19 +01:00
|
|
|
electricsheep = import ../misc/screensavers/electricsheep {
|
|
|
|
inherit fetchurl stdenv pkgconfig expat zlib libpng libjpeg xlibs;
|
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
foldingathome = import ../misc/foldingathome {
|
2009-08-25 07:18:29 +01:00
|
|
|
inherit fetchurl stdenv;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2009-04-17 21:36:54 +01:00
|
|
|
|
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;
|
2008-09-24 09:50:32 +01:00
|
|
|
inherit stdenv python;
|
2008-06-08 04:56:32 +01:00
|
|
|
};
|
|
|
|
|
2009-04-12 20:34:20 +01:00
|
|
|
gajim = builderDefsPackage (import ../applications/networking/instant-messengers/gajim) {
|
|
|
|
inherit perl intltool pyGtkGlade gettext pkgconfig makeWrapper pygobject
|
2009-04-17 14:48:22 +01:00
|
|
|
pyopenssl gtkspell libsexy pycrypto aspell pythonDBus pythonSexy
|
2009-04-12 20:34:20 +01:00
|
|
|
docutils;
|
|
|
|
dbus = dbus.libs;
|
|
|
|
inherit (gnome) gtk libglade;
|
2009-04-17 14:48:22 +01:00
|
|
|
inherit (xlibs) libXScrnSaver libXt xproto libXext xextproto libX11
|
2009-04-12 20:34:20 +01:00
|
|
|
scrnsaverproto;
|
|
|
|
python = pythonFull;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-03-10 21:03:51 +00:00
|
|
|
ghostscript = makeOverridable (import ../misc/ghostscript) {
|
2009-01-17 13:08:51 +00:00
|
|
|
inherit fetchurl stdenv libjpeg libpng libtiff zlib x11 pkgconfig
|
|
|
|
fontconfig cups openssl;
|
2006-09-15 16:28:53 +01:00
|
|
|
x11Support = false;
|
2009-02-27 13:44:31 +00:00
|
|
|
cupsSupport = getPkgConfig "ghostscript" "cups" true;
|
2005-12-03 02:32:02 +00:00
|
|
|
};
|
|
|
|
|
2009-03-10 21:03:51 +00:00
|
|
|
ghostscriptX = lowPrio (appendToName "with-X" (ghostscript.override {
|
2007-08-14 15:09:58 +01:00
|
|
|
x11Support = true;
|
|
|
|
}));
|
2007-09-03 13:10:57 +01:00
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
gxemul = (import ../misc/gxemul) {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit lib stdenv fetchurl composableDerivation;
|
2008-03-17 09:41:28 +00:00
|
|
|
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-03 23:38:09 +01:00
|
|
|
jackaudio = import ../misc/jackaudio {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit composableDerivation
|
2008-08-18 17:03:04 +01:00
|
|
|
ncurses lib stdenv fetchurl alsaLib pkgconfig;
|
|
|
|
flags = [ "posix_shm" "timestamps" "alsa"];
|
2007-10-06 19:17:47 +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;
|
2009-10-28 14:06:56 +00:00
|
|
|
inherit (xlibs) libX11 xextproto libXtst 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;
|
|
|
|
};
|
|
|
|
|
2009-09-10 17:57:56 +01:00
|
|
|
lilypond = import ../misc/lilypond {
|
|
|
|
inherit (bleedingEdgeRepos) sourceByName;
|
|
|
|
inherit fetchurl stdenv lib automake autoconf
|
|
|
|
ghostscript texinfo imagemagick texi2html guile python gettext
|
|
|
|
perl bison pkgconfig texLive fontconfig freetype fontforge help2man;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
linuxwacom = import ../misc/linuxwacom {
|
2009-08-03 15:15:22 +01:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig;
|
2009-09-10 13:21:25 +01:00
|
|
|
inherit (xorg) libX11 libXi xproto inputproto xorgserver;
|
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
|
|
|
};
|
|
|
|
|
2009-11-25 07:51:06 +00:00
|
|
|
maven2 = import ../misc/maven {
|
|
|
|
inherit stdenv fetchurl jdk makeWrapper;
|
2007-12-19 00:17:40 +00:00
|
|
|
};
|
|
|
|
|
2009-11-17 12:30:17 +00:00
|
|
|
nix = makeOverridable (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;
|
2009-11-06 13:30:06 +00:00
|
|
|
supportOldDBs = getPkgConfig "nix" "OldDBSupport" true;
|
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2006-05-01 20:16:41 +01:00
|
|
|
};
|
|
|
|
|
2006-11-17 12:49:46 +00:00
|
|
|
# The bleeding edge.
|
2009-03-09 15:49:58 +00:00
|
|
|
nixUnstable = makeOverridable (import ../tools/package-management/nix/unstable.nix) {
|
2009-09-24 22:39:32 +01:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
2006-11-17 12:49:46 +00:00
|
|
|
aterm = aterm242fixes;
|
2008-09-24 09:50:05 +01:00
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
2008-09-24 18:38:40 +01:00
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2006-11-17 12:49:46 +00:00
|
|
|
};
|
2006-10-18 15:04:55 +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
|
2009-10-30 12:42:48 +00:00
|
|
|
autoconf libtool configureFlags enableScripts lib bison libxml2;
|
2008-02-21 13:44:06 +00:00
|
|
|
flex = flex2533;
|
|
|
|
aterm = aterm242fixes;
|
|
|
|
db4 = db45;
|
2009-09-19 13:35:52 +01:00
|
|
|
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m;
|
2008-02-21 13:44:06 +00:00
|
|
|
};
|
2007-11-13 15:52:16 +00:00
|
|
|
|
2008-07-06 16:44:46 +01:00
|
|
|
disnix = import ../tools/package-management/disnix {
|
2009-09-02 10:47:47 +01:00
|
|
|
inherit stdenv fetchsvn openssl autoconf automake libtool pkgconfig dbus_glib libxml2;
|
2008-07-06 16:44:46 +01:00
|
|
|
};
|
2009-09-22 21:16:38 +01:00
|
|
|
|
2009-09-02 11:03:45 +01:00
|
|
|
disnix_activation_scripts = import ../tools/package-management/disnix/activation-scripts {
|
|
|
|
inherit stdenv fetchsvn autoconf automake;
|
|
|
|
};
|
2008-07-08 00:11:13 +01:00
|
|
|
|
2008-07-06 22:38:12 +01:00
|
|
|
DisnixService = import ../tools/package-management/disnix/DisnixService {
|
2008-07-30 14:37:44 +01:00
|
|
|
inherit stdenv fetchsvn apacheAnt jdk axis2 shebangfix;
|
2008-07-06 22:38:12 +01:00
|
|
|
};
|
2008-07-08 00:11:13 +01:00
|
|
|
|
2007-09-01 19:15:19 +01:00
|
|
|
ntfs3g = import ../misc/ntfs-3g {
|
2008-07-24 14:11:02 +01:00
|
|
|
inherit fetchurl stdenv utillinux;
|
2007-09-01 19:15:19 +01:00
|
|
|
};
|
|
|
|
|
2007-11-21 14:10:21 +00:00
|
|
|
ntfsprogs = import ../misc/ntfsprogs {
|
2009-03-25 10:55:28 +00:00
|
|
|
inherit fetchurl stdenv libuuid;
|
2007-11-20 22:29:24 +00:00
|
|
|
};
|
|
|
|
|
2008-01-29 01:24:54 +00:00
|
|
|
pgadmin = import ../applications/misc/pgadmin {
|
|
|
|
inherit fetchurl stdenv postgresql libxml2 libxslt openssl;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2008-01-29 01:24:54 +00:00
|
|
|
};
|
|
|
|
|
2008-10-08 15:03:44 +01:00
|
|
|
pgf = pgf2;
|
|
|
|
|
|
|
|
# Keep the old PGF since some documents don't render properly with
|
|
|
|
# the new one.
|
|
|
|
pgf1 = import ../misc/tex/pgf/1.x.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
pgf2 = import ../misc/tex/pgf/2.x.nix {
|
2007-03-10 23:51:59 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
psi = (import ../applications/networking/instant-messengers/psi) {
|
|
|
|
inherit stdenv fetchurl zlib aspell sox qt4;
|
|
|
|
inherit (xlibs) xproto libX11 libSM libICE;
|
|
|
|
qca2 = kde4.qca2;
|
|
|
|
};
|
2008-03-20 09:52:40 +00:00
|
|
|
|
2007-05-28 15:10:46 +01:00
|
|
|
putty = import ../applications/networking/remote/putty {
|
|
|
|
inherit stdenv fetchurl ncurses;
|
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
rssglx = import ../misc/screensavers/rss-glx {
|
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 {
|
2009-09-22 21:16:38 +01:00
|
|
|
inherit fetchurl stdenv x11 freetype;
|
|
|
|
pam = if getPkgConfig "xlockmore" "pam" true then pam else null;
|
2008-02-15 10:40:20 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
saneBackends = import ../misc/sane-backends {
|
2007-08-08 21:33:36 +01:00
|
|
|
inherit fetchurl stdenv libusb;
|
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 {
|
2008-08-21 12:07:44 +01:00
|
|
|
inherit pkgs stdenv unzip lib ctags;
|
2009-07-09 23:23:51 +01:00
|
|
|
hasktags = haskellPackages.myhasktags;
|
2008-06-15 12:54:22 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2006-10-18 11:32:45 +01:00
|
|
|
texFunctions = import ../misc/tex/nix {
|
2009-07-17 16:10:01 +01:00
|
|
|
inherit stdenv perl tetex graphviz ghostscript makeFontsConf imagemagick runCommand lib;
|
2009-07-23 15:13:09 +01:00
|
|
|
inherit (haskellPackages) lhs2tex;
|
2006-01-28 02:10:26 +00:00
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLive = builderDefsPackage (import ../misc/tex/texlive) {
|
2008-03-20 09:52:40 +00:00
|
|
|
inherit builderDefs zlib bzip2 ncurses libpng ed
|
2008-07-08 19:23:15 +01:00
|
|
|
gd t1lib freetype icu perl ruby expat curl
|
2008-08-25 15:52:53 +01:00
|
|
|
libjpeg bison;
|
2008-03-20 09:52:40 +00:00
|
|
|
inherit (xlibs) libXaw libX11 xproto libXt libXpm
|
2008-08-25 15:52:53 +01:00
|
|
|
libXmu libXext xextproto libSM libICE;
|
2008-03-20 09:52:40 +00:00
|
|
|
flex = flex2535;
|
|
|
|
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
|
|
|
|
];
|
2008-08-14 23:04:30 +01:00
|
|
|
})
|
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-08-25 14:25:07 +01:00
|
|
|
texLiveAggregationFun =
|
2008-08-14 23:04:30 +01:00
|
|
|
(builderDefsPackage (import ../misc/tex/texlive/aggregate.nix));
|
2008-03-22 13:04:04 +00:00
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLiveContext = builderDefsPackage (import ../misc/tex/texlive/context.nix) {
|
2008-04-28 11:10:44 +01:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLiveExtra = builderDefsPackage (import ../misc/tex/texlive/extra.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLiveCMSuper = builderDefsPackage (import ../misc/tex/texlive/cm-super.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLiveLatexXColor = builderDefsPackage (import ../misc/tex/texlive/xcolor.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLivePGF = builderDefsPackage (import ../misc/tex/texlive/pgf.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLiveLatexXColor texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 23:04:30 +01:00
|
|
|
texLiveBeamer = builderDefsPackage (import ../misc/tex/texlive/beamer.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLiveLatexXColor texLivePGF texLive;
|
|
|
|
};
|
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;
|
|
|
|
};
|
|
|
|
|
2009-08-28 07:29:21 +01:00
|
|
|
trac = import ../misc/trac {
|
2008-06-19 16:46:43 +01:00
|
|
|
inherit stdenv fetchurl python clearsilver makeWrapper
|
2009-07-07 23:34:03 +01:00
|
|
|
sqlite subversion;
|
|
|
|
inherit (pythonPackages) pysqlite;
|
2009-08-28 07:29:21 +01:00
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-06-09 11:08:55 +01:00
|
|
|
vice = import ../misc/emulators/vice {
|
2009-09-11 14:16:00 +01:00
|
|
|
inherit stdenv fetchurl lib perl gettext libpng giflib libjpeg alsaLib readline mesa;
|
2009-06-09 11:08:55 +01:00
|
|
|
inherit pkgconfig SDL makeDesktopItem autoconf automake;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
2008-06-18 23:48:34 +01:00
|
|
|
|
2009-03-19 11:03:32 +00:00
|
|
|
wine =
|
|
|
|
if system == "x86_64-linux" then
|
|
|
|
# Can't build this in 64-bit; use a 32-bit build instead.
|
|
|
|
(import ./all-packages.nix {system = "i686-linux";}).wine
|
|
|
|
# some hackery to make nix-env show this package on x86_64...
|
|
|
|
// {system = "x86_64-linux";}
|
|
|
|
else
|
|
|
|
import ../misc/emulators/wine {
|
|
|
|
inherit fetchurl stdenv flex bison mesa ncurses
|
|
|
|
libpng libjpeg alsaLib lcms xlibs freetype
|
|
|
|
fontconfig fontforge libxml2 libxslt openssl;
|
|
|
|
};
|
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;
|
|
|
|
};
|
|
|
|
|
2009-01-25 14:31:51 +00:00
|
|
|
yafc = import ../applications/networking/yafc {
|
|
|
|
inherit fetchurl stdenv readline openssh;
|
|
|
|
};
|
|
|
|
|
2008-10-09 23:57:20 +01:00
|
|
|
myEnvFun = import ../misc/my-env {
|
|
|
|
inherit substituteAll pkgs;
|
|
|
|
inherit (stdenv) mkDerivation;
|
|
|
|
};
|
2008-06-15 12:54:22 +01:00
|
|
|
|
2009-07-07 21:53:16 +01:00
|
|
|
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
|
2009-04-17 14:48:22 +01:00
|
|
|
|
2008-03-17 17:29:07 +00:00
|
|
|
}; in pkgs
|