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 22:48:34 +00:00
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
|
2006-08-23 15:58:54 +00:00
|
|
|
{ # The system (e.g., `i686-linux') for which to build the packages.
|
2009-04-14 13:59:45 +00:00
|
|
|
system ? builtins.currentSystem
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-08-23 15:58:54 +00: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 17:23:18 +00:00
|
|
|
, gccWithCC ? true
|
|
|
|
, gccWithProfiling ? true
|
2004-03-11 17:26:14 +00:00
|
|
|
|
2009-08-26 13:51:37 +00: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
|
2010-01-26 18:10: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
|
|
|
, crossSystem ? null
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
, platform ? (import ./platforms.nix).pc
|
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 13:51:37 +00:00
|
|
|
let config_ = config; in # rename the function argument
|
|
|
|
|
2008-08-26 15:35:00 +00:00
|
|
|
let
|
|
|
|
|
2010-03-25 19:40:19 +00:00
|
|
|
lib = import ../lib;
|
2008-08-26 15:35:00 +00:00
|
|
|
|
|
|
|
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
|
|
|
# $HOME/.nixpkgs/config.nix.
|
2009-09-21 15:55:18 +00:00
|
|
|
# for NIXOS (nixos-rebuild): use nixpkgs.config option
|
2008-08-26 15:35:00 +00:00
|
|
|
config =
|
2009-08-26 13:51:37 +00:00
|
|
|
let
|
2008-08-26 15:35:00 +00: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 13:51:37 +00: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 15:35:00 +00:00
|
|
|
else {};
|
2009-03-25 13:29:47 +00:00
|
|
|
|
2009-08-26 13:51:37 +00:00
|
|
|
in
|
2009-03-25 13:29:47 +00:00
|
|
|
# allow both:
|
|
|
|
# { /* the config */ } and
|
|
|
|
# { pkgsOrig, pkgs, ... } : { /* the config */ }
|
2009-08-26 13:51:37 +00:00
|
|
|
if builtins.isFunction configExpr
|
2009-03-25 13:29:47 +00:00
|
|
|
then configExpr { inherit pkgs pkgsOrig; }
|
|
|
|
else configExpr;
|
2008-08-26 15:35:00 +00:00
|
|
|
|
|
|
|
# Return an attribute from the Nixpkgs configuration file, or
|
|
|
|
# a default value if the attribute doesn't exist.
|
2009-05-24 10:57:41 +00:00
|
|
|
getConfig = attrPath: default: lib.attrByPath attrPath default config;
|
2008-08-26 15:35:00 +00:00
|
|
|
|
|
|
|
|
2009-11-19 16:07:47 +00:00
|
|
|
# Helper functions that are exported through `pkgs'.
|
2009-11-27 17:40:56 +00:00
|
|
|
helperFunctions =
|
2010-01-03 17:56:55 +00:00
|
|
|
stdenvAdapters //
|
2009-11-19 16:07:47 +00:00
|
|
|
(import ../build-support/trivial-builders.nix { inherit (pkgs) stdenv; inherit (pkgs.xorg) lndir; });
|
|
|
|
|
2010-01-03 17:56:55 +00:00
|
|
|
stdenvAdapters =
|
|
|
|
import ../stdenv/adapters.nix { inherit (pkgs) dietlibc fetchurl runCommand; };
|
|
|
|
|
2009-11-19 16:07:47 +00:00
|
|
|
|
2008-08-26 15:35:00 +00: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 16:50:33 +00: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 10:10:49 +00:00
|
|
|
|
2008-08-26 15:35:00 +00: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 15:35:00 +00:00
|
|
|
|
2010-03-25 19:40:19 +00:00
|
|
|
# Override system. This is useful to build i686 packages on x86_64-linux.
|
2010-01-04 07:44:30 +00:00
|
|
|
forceSystem = system: (import ./all-packages.nix) {
|
|
|
|
inherit system;
|
|
|
|
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
|
|
|
|
};
|
|
|
|
|
2010-03-25 19:40:19 +00:00
|
|
|
# Used by wine, firefox with debugging version of Flash, ...
|
2010-01-04 07:44:30 +00:00
|
|
|
pkgsi686Linux = forceSystem "i686-linux";
|
2008-08-26 15:35:00 +00:00
|
|
|
|
|
|
|
inherit __overrides;
|
|
|
|
|
|
|
|
|
|
|
|
# For convenience, allow callers to get the path to Nixpkgs.
|
2009-06-08 22:43:27 +00:00
|
|
|
path = ../..;
|
2003-11-25 18:02:05 +00:00
|
|
|
|
2008-10-09 10:10:49 +00:00
|
|
|
|
2004-03-27 21:59:31 +00:00
|
|
|
### Symbolic names.
|
|
|
|
|
2006-09-15 15:28:53 +00: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 12:46:39 +00: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
|
|
|
|
2010-01-03 17:56:55 +00:00
|
|
|
inherit lib config getConfig stdenvAdapters;
|
2008-10-09 10:10:49 +00:00
|
|
|
|
2009-11-19 17:30:21 +00:00
|
|
|
inherit (lib) lowPrio appendToName makeOverridable;
|
2006-10-18 12:50:04 +00:00
|
|
|
|
2006-09-15 15:28:53 +00: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 15:28:53 +00:00
|
|
|
|
2008-06-18 22:48:34 +00: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 19:03:07 +00:00
|
|
|
# Check absence of non-used options
|
2008-06-18 22:48:34 +00: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 12:37:10 +00:00
|
|
|
builderDefs = composedArgsAndFun (import ../build-support/builder-defs/builder-defs.nix) {
|
2009-09-22 20:16:38 +00:00
|
|
|
inherit stringsWithDeps lib stdenv writeScript
|
2009-07-07 10:04:32 +00:00
|
|
|
fetchurl fetchmtn fetchgit;
|
2008-03-17 09:41:28 +00:00
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
composedArgsAndFun = lib.composedArgsAndFun;
|
2008-05-07 07:23:20 +00:00
|
|
|
|
2008-08-19 05:54:09 +00:00
|
|
|
builderDefsPackage = builderDefs.builderDefsPackage builderDefs;
|
2008-03-20 15:40:26 +00:00
|
|
|
|
2009-05-25 18:22:19 +00:00
|
|
|
stringsWithDeps = lib.stringsWithDeps;
|
2007-10-29 10:52:04 +00:00
|
|
|
|
2009-09-22 20:16:38 +00:00
|
|
|
|
2006-02-08 17:37:45 +00:00
|
|
|
### STANDARD ENVIRONMENT
|
|
|
|
|
|
|
|
|
2008-06-18 15:09:13 +00:00
|
|
|
allStdenvs = import ../stdenv {
|
|
|
|
inherit system stdenvType;
|
2009-08-26 13:51:37 +00:00
|
|
|
allPackages = args: import ./all-packages.nix ({ inherit config; } // args);
|
2008-06-18 15:09:13 +00:00
|
|
|
};
|
|
|
|
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
defaultStdenv = allStdenvs.stdenv // { inherit platform; };
|
2006-02-08 17:37:45 +00:00
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
stdenvCross = makeStdenvCross defaultStdenv crossSystem binutilsCross
|
|
|
|
gccCrossStageFinal;
|
- 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
|
|
|
|
2010-01-21 15:39:11 +00:00
|
|
|
stdenv =
|
2007-08-20 14:26:32 +00: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 14:26:32 +00:00
|
|
|
overrideSetup = overrideSetup;
|
|
|
|
}
|
2010-02-08 15:28:05 +00:00
|
|
|
else if crossSystem != null then
|
|
|
|
stdenvCross
|
|
|
|
else
|
|
|
|
defaultStdenv;
|
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
|
|
|
|
2010-02-09 07:43:36 +00:00
|
|
|
forceBuildDrv = drv : if (crossSystem == null) then drv else
|
|
|
|
(drv // { hostDrv = drv.buildDrv; });
|
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
|
|
|
|
2008-06-29 16:13:02 +00: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 13:28:17 +00:00
|
|
|
overrideGCC stdenv gcc43_multi
|
2008-06-29 16:13:02 +00:00
|
|
|
else
|
|
|
|
stdenv;
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
### BUILD SUPPORT
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2009-08-23 22:10:08 +00: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 22:48:34 +00:00
|
|
|
|
2008-03-02 18:41:32 +00:00
|
|
|
debPackage = {
|
2008-08-14 22:04:30 +00: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 08:57:51 +00:00
|
|
|
fetchbzr = import ../build-support/fetchbzr {
|
|
|
|
inherit stdenv bazaar;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
fetchcvs = import ../build-support/fetchcvs {
|
2008-02-28 22:36:37 +00:00
|
|
|
inherit stdenv cvs;
|
2006-05-11 12:36:16 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
fetchdarcs = import ../build-support/fetchdarcs {
|
2006-01-30 11:18:38 +00:00
|
|
|
inherit stdenv darcs nix;
|
|
|
|
};
|
|
|
|
|
2009-06-24 12:48:01 +00:00
|
|
|
fetchgit = import ../build-support/fetchgit {
|
|
|
|
inherit stdenv git;
|
|
|
|
};
|
|
|
|
|
2009-07-07 10:04:32 +00:00
|
|
|
fetchmtn = import ../build-support/fetchmtn {
|
|
|
|
inherit monotone stdenv;
|
|
|
|
cacheDB = getConfig ["fetchmtn" "cacheDB"] "";
|
|
|
|
defaultDBMirrors = getConfig ["fetchmtn" "defaultDBMirrors"] [];
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
fetchsvn = import ../build-support/fetchsvn {
|
2008-02-29 10:30:29 +00:00
|
|
|
inherit stdenv subversion openssh;
|
2006-09-15 15:28:53 +00:00
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2008-04-02 13:28:55 +00:00
|
|
|
fetchsvnssh = import ../build-support/fetchsvnssh {
|
|
|
|
inherit stdenv subversion openssh expect;
|
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2007-09-03 12:10:57 +00:00
|
|
|
fetchhg = import ../build-support/fetchhg {
|
|
|
|
inherit stdenv mercurial nix;
|
|
|
|
};
|
|
|
|
|
2008-05-27 07:49:55 +00: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 15:28:53 +00: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 15:28:53 +00:00
|
|
|
});
|
2005-04-22 12:14:55 +00:00
|
|
|
|
2008-05-27 07:49:55 +00: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 16:04:10 +00:00
|
|
|
resolveMirrorURLs = {url}: fetchurl {
|
|
|
|
showURLs = true;
|
|
|
|
inherit url;
|
|
|
|
};
|
|
|
|
|
2009-05-10 12:03:53 +00:00
|
|
|
makeDesktopItem = import ../build-support/make-desktopitem {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2009-05-18 13:53:01 +00:00
|
|
|
|
2008-03-17 10:40:47 +00:00
|
|
|
makeInitrd = {contents}: import ../build-support/kernel/make-initrd.nix {
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
inherit stdenv perl cpio contents ubootChooser;
|
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 22:48:34 +00:00
|
|
|
makeModulesClosure = {kernel, rootModules, allowMissing ? false}:
|
2008-03-24 19:40:15 +00:00
|
|
|
import ../build-support/kernel/modules-closure.nix {
|
2009-09-01 21:56:46 +00: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 13:20:14 +00:00
|
|
|
pathsFromGraph = ../build-support/kernel/paths-from-graph.pl;
|
|
|
|
|
2008-10-01 15:57:22 +00: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 22:48:34 +00: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
|
|
|
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
platforms = import ./platforms.nix;
|
2009-11-08 00:32:12 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
### TOOLS
|
|
|
|
|
2009-09-08 08:29:40 +00:00
|
|
|
acct = import ../tools/system/acct {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
aefs = import ../tools/filesystems/aefs {
|
2007-04-07 23:38:01 +00:00
|
|
|
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
|
|
|
|
2010-02-21 17:36:41 +00:00
|
|
|
asymptote = builderDefsPackage ../tools/graphics/asymptote {
|
|
|
|
inherit freeglut ghostscriptX imagemagick fftw boehmgc
|
|
|
|
mesa ncurses readline gsl libsigsegv python zlib perl
|
|
|
|
texinfo lzma;
|
|
|
|
texLive = texLiveAggregationFun {
|
|
|
|
paths = [
|
|
|
|
texLive texLiveExtra
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-10-27 12:51:09 +00:00
|
|
|
ec2apitools = import ../tools/virtualization/amazon-ec2-api-tools {
|
2010-01-13 12:54:26 +00:00
|
|
|
inherit stdenv fetchurl unzip makeWrapper jre;
|
2009-10-27 12:51:09 +00:00
|
|
|
};
|
|
|
|
|
2010-01-13 14:25:45 +00:00
|
|
|
ec2amitools = import ../tools/virtualization/amazon-ec2-ami-tools {
|
2010-01-14 14:26:35 +00:00
|
|
|
inherit stdenv fetchurl unzip makeWrapper ruby openssl;
|
2009-10-27 12:51:09 +00:00
|
|
|
};
|
|
|
|
|
2007-10-06 15:59:35 +00:00
|
|
|
amule = import ../tools/networking/p2p/amule {
|
2010-03-30 08:20:29 +00:00
|
|
|
inherit fetchurl stdenv zlib perl cryptopp gettext libupnp makeWrapper
|
|
|
|
wxGTK pkgconfig;
|
2007-10-06 15:59:35 +00:00
|
|
|
};
|
|
|
|
|
2008-06-21 20:53:52 +00:00
|
|
|
aria = builderDefsPackage (import ../tools/networking/aria) {
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-06-21 20:53:52 +00:00
|
|
|
|
2008-04-01 09:08:17 +00:00
|
|
|
at = import ../tools/system/at {
|
|
|
|
inherit fetchurl stdenv bison flex pam ssmtp;
|
|
|
|
};
|
|
|
|
|
2009-09-29 09:01:40 +00:00
|
|
|
autogen = import ../development/tools/misc/autogen {
|
|
|
|
inherit fetchurl stdenv guile which;
|
|
|
|
};
|
|
|
|
|
2009-05-26 22:05:05 +00: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 05:43:51 +00: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 19:50:59 +00:00
|
|
|
axel = import ../tools/networking/axel {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
azureus = import ../tools/networking/p2p/azureus {
|
|
|
|
inherit fetchurl stdenv jdk swt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
bc = import ../tools/misc/bc {
|
2009-04-08 07:29:42 +00:00
|
|
|
inherit fetchurl stdenv flex readline;
|
2005-10-10 00:55:07 +00:00
|
|
|
};
|
|
|
|
|
2008-07-11 20:27:53 +00: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-12-04 15:39:49 +00:00
|
|
|
btrfsProgs = builderDefsPackage (import ../tools/filesystems/btrfsprogs) {
|
|
|
|
inherit libuuid zlib acl;
|
|
|
|
};
|
|
|
|
|
2009-10-08 07:01:55 +00:00
|
|
|
eggdrop = import ../tools/networking/eggdrop {
|
|
|
|
inherit fetchurl stdenv tcl;
|
|
|
|
};
|
|
|
|
|
2009-06-05 14:36:35 +00: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 14:36:35 +00: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 14:04:55 +00: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 14:04:55 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
bittorrent = import ../tools/networking/p2p/bittorrent {
|
2007-05-31 13:43:13 +00:00
|
|
|
inherit fetchurl stdenv makeWrapper python pycrypto twisted;
|
|
|
|
wxPython = wxPython26;
|
2006-12-13 20:30:09 +00:00
|
|
|
gui = true;
|
2006-09-15 15:28:53 +00:00
|
|
|
};
|
|
|
|
|
2007-06-19 23:38:01 +00: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 10:32:45 +00:00
|
|
|
bsdiff = import ../tools/compression/bsdiff {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
bzip2 = useFromStdenv "bzip2"
|
2006-09-15 15:28:53 +00:00
|
|
|
(import ../tools/compression/bzip2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
|
|
|
cabextract = import ../tools/archivers/cabextract {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-09 17:35:57 +00:00
|
|
|
ccid = import ../tools/security/ccid {
|
|
|
|
inherit fetchurl stdenv pcsclite libusb pkgconfig perl;
|
|
|
|
};
|
|
|
|
|
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 10:09:14 +00:00
|
|
|
inherit fetchurl stdenv yacc flex readline ncurses;
|
2009-01-24 21:01:27 +00:00
|
|
|
};
|
|
|
|
|
2008-07-25 13:04:51 +00: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 13:04:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cdrkit = import ../tools/cd-dvd/cdrkit {
|
|
|
|
inherit fetchurl stdenv cmake libcap zlib bzip2;
|
|
|
|
};
|
|
|
|
|
2010-02-22 10:46:49 +00:00
|
|
|
cfdg = builderDefsPackage ../tools/graphics/cfdg {
|
|
|
|
inherit libpng bison flex;
|
|
|
|
};
|
|
|
|
|
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 08:50:32 +00:00
|
|
|
inherit makeWrapper python;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-06-12 10:07:54 +00:00
|
|
|
|
2008-01-14 14:43:24 +00:00
|
|
|
chkrootkit = import ../tools/security/chkrootkit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
cksfv = import ../tools/networking/cksfv {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-25 13:25:07 +00:00
|
|
|
convertlit = import ../tools/text/convertlit {
|
2008-10-07 17:33:20 +00:00
|
|
|
inherit fetchurl stdenv unzip libtommath;
|
2008-08-27 14:56:59 +00:00
|
|
|
};
|
2008-08-12 19:57:35 +00:00
|
|
|
|
2008-08-29 13:53:28 +00:00
|
|
|
unifdef = import ../development/tools/misc/unifdef {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-18 21:28:10 +00:00
|
|
|
cloogppl = import ../development/libraries/cloog-ppl {
|
|
|
|
inherit fetchurl stdenv ppl;
|
|
|
|
};
|
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
coreutils_real = makeOverridable (if stdenv ? isDietLibC
|
2006-10-27 20:08:53 +00:00
|
|
|
then import ../tools/misc/coreutils-5
|
|
|
|
else import ../tools/misc/coreutils)
|
|
|
|
{
|
2009-12-02 19:34:34 +00:00
|
|
|
inherit fetchurl stdenv acl perl gmp;
|
2008-05-19 15:12:03 +00:00
|
|
|
aclSupport = stdenv.isLinux;
|
2009-11-08 00:32:12 +00:00
|
|
|
};
|
|
|
|
|
2009-12-08 10:04:43 +00:00
|
|
|
coreutils = useFromStdenv "coreutils" coreutils_real;
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
cpio = import ../tools/archivers/cpio {
|
2006-09-15 15:28:53 +00: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 17:33:20 +00: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 07:49:55 +00:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv zlib openssl;
|
2008-06-06 07:50:52 +00:00
|
|
|
zlibSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
|
|
|
sslSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
2008-05-27 07:49:55 +00:00
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
curlftpfs = import ../tools/filesystems/curlftpfs {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv fuse curl pkgconfig zlib glib;
|
2007-10-25 14:07:50 +00:00
|
|
|
};
|
|
|
|
|
2009-07-07 10:04:32 +00: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-12-08 13:08:27 +00:00
|
|
|
davfs2 = import ../tools/filesystems/davfs2 {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
neon = neon028;
|
|
|
|
};
|
|
|
|
|
2009-04-06 17:50:17 +00:00
|
|
|
dcraw = import ../tools/graphics/dcraw {
|
|
|
|
inherit fetchurl stdenv gettext libjpeg lcms;
|
|
|
|
};
|
|
|
|
|
2009-10-08 00:54:31 +00:00
|
|
|
debootstrap = import ../tools/misc/debootstrap {
|
|
|
|
inherit fetchurl stdenv lib dpkg gettext gawk wget perl;
|
|
|
|
};
|
|
|
|
|
2009-09-16 11:53:09 +00: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 22:48:34 +00: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 12:10:57 +00:00
|
|
|
dnsmasq = import ../tools/networking/dnsmasq {
|
2008-06-18 22:48:34 +00:00
|
|
|
# TODO i18n can be installed as well, implement it?
|
2007-09-03 12:10:57 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
dhcp = import ../tools/networking/dhcp {
|
2009-07-23 23:57:11 +00:00
|
|
|
inherit fetchurl stdenv nettools iputils iproute makeWrapper;
|
2006-08-26 09:44:39 +00:00
|
|
|
};
|
|
|
|
|
2009-07-17 11:41:19 +00:00
|
|
|
dhcpcd = import ../tools/networking/dhcpcd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-05-14 07:58:32 +00:00
|
|
|
diffstat = import ../tools/text/diffstat {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
diffutils = useFromStdenv "diffutils"
|
2006-09-15 15:28:53 +00: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 12:49:35 +00:00
|
|
|
inherit (perlPackages) XMLSAX XMLParser XMLNamespaceSupport;
|
2009-12-02 22:19:49 +00:00
|
|
|
libiconv = if stdenv.isDarwin then libiconv else null;
|
2008-03-11 09:34:17 +00:00
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
dosfstools = composedArgsAndFun (import ../tools/filesystems/dosfstools) {
|
2008-02-04 04:41:55 +00:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2010-03-09 23:11:12 +00:00
|
|
|
dropbear = makeOverridable (import ../tools/networking/dropbear) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
enableStatic = true;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
};
|
|
|
|
|
2010-02-04 13:42:41 +00:00
|
|
|
duplicity = import ../tools/backup/duplicity {
|
2010-02-10 16:51:01 +00:00
|
|
|
inherit fetchurl stdenv librsync gnupg makeWrapper python;
|
2010-02-10 18:10:22 +00:00
|
|
|
inherit (pythonPackages) boto;
|
2010-02-04 13:42:41 +00:00
|
|
|
};
|
|
|
|
|
2008-07-25 13:04:51 +00:00
|
|
|
dvdplusrwtools = import ../tools/cd-dvd/dvd+rw-tools {
|
|
|
|
inherit fetchurl stdenv cdrkit m4;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
e2fsprogs = import ../tools/filesystems/e2fsprogs {
|
|
|
|
inherit fetchurl stdenv pkgconfig libuuid;
|
|
|
|
};
|
|
|
|
|
2010-01-25 10:34:47 +00:00
|
|
|
ecryptfs = import ../tools/security/ecryptfs {
|
|
|
|
inherit fetchurl stdenv fuse python perl keyutils pam nss nspr;
|
|
|
|
};
|
|
|
|
|
2009-04-05 21:41:38 +00:00
|
|
|
enblendenfuse = import ../tools/graphics/enblend-enfuse {
|
|
|
|
inherit fetchurl stdenv libtiff libpng lcms libxmi boost;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
enscript = import ../tools/text/enscript {
|
2010-01-26 14:49:00 +00:00
|
|
|
inherit fetchurl stdenv gettext;
|
2005-07-21 11:26:51 +00:00
|
|
|
};
|
|
|
|
|
2008-05-10 09:19:50 +00:00
|
|
|
eprover = composedArgsAndFun (import ../tools/misc/eProver) {
|
|
|
|
inherit fetchurl stdenv which;
|
|
|
|
texLive = texLiveAggregationFun {
|
|
|
|
paths = [
|
|
|
|
texLive texLiveExtra
|
|
|
|
];
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
|
|
|
};
|
2007-10-07 13:37:08 +00:00
|
|
|
|
2009-09-22 08:37:41 +00:00
|
|
|
ethtool = import ../tools/misc/ethtool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
exif = import ../tools/graphics/exif {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libexif popt;
|
2005-08-23 14:19:16 +00:00
|
|
|
};
|
|
|
|
|
2009-10-11 15:52:27 +00: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 11:31:17 +00: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 22:15:40 +00:00
|
|
|
fdisk = import ../tools/system/fdisk {
|
2009-09-16 14:30:53 +00:00
|
|
|
inherit fetchurl stdenv parted libuuid gettext;
|
2009-08-09 22:15:40 +00:00
|
|
|
};
|
|
|
|
|
2009-04-26 11:06:48 +00:00
|
|
|
figlet = import ../tools/misc/figlet {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
file = import ../tools/misc/file {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
2006-08-08 00:09:27 +00:00
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
findutils = useFromStdenv "findutils"
|
2009-12-02 22:19:49 +00:00
|
|
|
(if stdenv.isDarwin then findutils4227 else
|
2006-10-28 23:17:39 +00:00
|
|
|
import ../tools/misc/findutils {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
}
|
|
|
|
);
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2006-10-27 22:50:58 +00:00
|
|
|
findutils4227 = import ../tools/misc/findutils/4.2.27.nix {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
};
|
|
|
|
|
2007-05-01 20:35:58 +00:00
|
|
|
findutilsWrapper = lowPrio (appendToName "wrapper" (import ../tools/misc/findutils-wrapper {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit stdenv findutils;
|
2007-05-01 20:35:58 +00:00
|
|
|
}));
|
2005-07-31 20:11:36 +00: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 12:31:33 +00:00
|
|
|
inherit fetchurl stdenv gettext freetype zlib
|
2008-03-02 22:02:28 +00:00
|
|
|
libungif libpng libjpeg libtiff libxml2 lib;
|
2007-08-21 12:31:33 +00: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
|
|
|
|
2010-01-13 21:09:55 +00:00
|
|
|
dos2unix = import ../tools/text/dos2unix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
unix2dos = import ../tools/text/unix2dos {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gawk = useFromStdenv "gawk"
|
2006-09-15 15:28:53 +00: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 13:15:55 +00:00
|
|
|
inherit stdenv fetchurl builderDefs pkgconfig libxml2 intltool
|
|
|
|
gettext;
|
2007-12-01 16:20:23 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
genext2fs = import ../tools/filesystems/genext2fs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-22 17:00:44 +00:00
|
|
|
gengetopt = import ../development/tools/misc/gengetopt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
getopt = import ../tools/misc/getopt {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
2005-10-07 23:02:58 +00:00
|
|
|
};
|
|
|
|
|
2008-08-06 20:39:01 +00:00
|
|
|
gftp = import ../tools/networking/gftp {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit readline ncurses gettext openssl pkgconfig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
2008-06-22 02:07:53 +00:00
|
|
|
gifsicle = import ../tools/graphics/gifscile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) xproto libXt libX11;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
glusterfs = builderDefsPackage ../tools/filesystems/glusterfs {
|
2009-08-31 09:52:01 +00:00
|
|
|
inherit fuse;
|
|
|
|
bison = bison24;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2009-04-20 22:06:12 +00:00
|
|
|
glxinfo = import ../tools/graphics/glxinfo {
|
2007-04-18 14:21:24 +00:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
|
|
|
};
|
|
|
|
|
2009-06-10 09:45:03 +00:00
|
|
|
gnokii = builderDefsPackage (import ../tools/misc/gnokii) {
|
2009-11-22 19:28:56 +00:00
|
|
|
inherit intltool perl gettext libusb;
|
2009-06-10 09:45:03 +00:00
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gnugrep = useFromStdenv "gnugrep"
|
2006-09-15 15:28:53 +00: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 {
|
2010-01-08 21:28:30 +00:00
|
|
|
inherit fetchurl stdenv ed;
|
2007-04-26 13:02:30 +00:00
|
|
|
});
|
2004-02-13 14:42:28 +00:00
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
gnupg = import ../tools/security/gnupg {
|
2010-02-10 19:03:48 +00:00
|
|
|
inherit fetchurl stdenv readline bzip2;
|
2008-07-07 11:54:03 +00:00
|
|
|
ideaSupport = getPkgConfig "gnupg" "idea" false; # enable for IDEA crypto support
|
2006-09-15 15:28:53 +00: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 10:32:45 +00:00
|
|
|
gnuplot = import ../tools/graphics/gnuplot {
|
2009-09-09 09:36:03 +00:00
|
|
|
inherit fetchurl stdenv zlib gd texinfo readline emacs;
|
2007-09-22 23:18:55 +00:00
|
|
|
inherit (xlibs) libX11 libXt libXaw libXpm;
|
2009-09-09 09:36:03 +00: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 09:36:03 +00:00
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
inherit cairo pkgconfig;
|
2007-08-04 15:12:14 +00: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 19:36:26 +00: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 22:50:58 +00: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 08:36:05 +00:00
|
|
|
gnuvd = import ../tools/misc/gnuvd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
graphviz = import ../tools/graphics/graphviz {
|
2008-07-03 14:27:19 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng libjpeg expat x11 yacc
|
|
|
|
libtool fontconfig gd;
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit (xlibs) libXaw;
|
2008-07-03 14:27:19 +00:00
|
|
|
inherit (gtkLibs) pango;
|
2006-09-15 15:28:53 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
groff = import ../tools/text/groff {
|
2009-02-12 22:33:17 +00:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
ghostscript = null;
|
2005-08-21 13:59:04 +00:00
|
|
|
};
|
|
|
|
|
2008-06-29 16:13:02 +00:00
|
|
|
grub = import ../tools/misc/grub {
|
|
|
|
inherit fetchurl autoconf automake;
|
|
|
|
stdenv = stdenv_32bit;
|
2009-07-14 18:23:53 +00:00
|
|
|
buggyBiosCDSupport = (getConfig ["grub" "buggyBiosCDSupport"] true);
|
2008-06-29 16:13:02 +00:00
|
|
|
};
|
2004-06-03 17:16:16 +00:00
|
|
|
|
2009-10-04 21:39:34 +00:00
|
|
|
grub2 = import ../tools/misc/grub/1.9x.nix {
|
|
|
|
inherit stdenv fetchurl bison ncurses libusb freetype;
|
|
|
|
};
|
|
|
|
|
2008-06-18 19:40:56 +00:00
|
|
|
gssdp = import ../development/libraries/gssdp {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 glib;
|
2008-06-29 16:13:02 +00:00
|
|
|
inherit (gnome) libsoup;
|
|
|
|
};
|
2008-06-18 19:40:56 +00:00
|
|
|
|
2010-02-24 19:06:25 +00:00
|
|
|
gt5 = import ../tools/system/gt5 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
gtkgnutella = import ../tools/networking/p2p/gtk-gnutella {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2005-06-20 20:35:07 +00:00
|
|
|
|
2008-06-18 19:40:56 +00: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 16:13:02 +00:00
|
|
|
inherit (gnome) libsoup;
|
|
|
|
};
|
2008-06-18 19:40:56 +00:00
|
|
|
|
2008-06-18 22:34:49 +00:00
|
|
|
gupnptools = import ../tools/networking/gupnp-tools {
|
2008-06-29 16:13:02 +00:00
|
|
|
inherit fetchurl stdenv gssdp gupnp pkgconfig libxml2 e2fsprogs;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libsoup libglade gnomeicontheme;
|
2008-06-18 22:34:49 +00:00
|
|
|
};
|
|
|
|
|
2009-09-01 20:12:01 +00:00
|
|
|
gvpe = builderDefsPackage ../tools/networking/gvpe {
|
2009-09-01 22:42:05 +00:00
|
|
|
inherit openssl gmp nettools iproute;
|
2009-09-01 20:12:01 +00:00
|
|
|
};
|
|
|
|
|
2008-02-03 13:19:16 +00:00
|
|
|
gzip = useFromStdenv "gzip"
|
2006-09-15 15:28:53 +00:00
|
|
|
(import ../tools/compression/gzip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2009-10-07 20:18:11 +00:00
|
|
|
pigz = import ../tools/compression/pigz {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-03-29 20:32:22 +00:00
|
|
|
halibut = import ../tools/typesetting/halibut {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-05-11 11:18:16 +00:00
|
|
|
hddtemp = import ../tools/misc/hddtemp {
|
2007-12-10 22:36:52 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
hevea = import ../tools/typesetting/hevea {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv ocaml;
|
2004-08-20 22:06:36 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
highlight = import ../tools/text/highlight {
|
|
|
|
inherit fetchurl stdenv getopt;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-06-12 15:59:59 +00: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 07:01:55 +00:00
|
|
|
iftop = import ../tools/networking/iftop {
|
|
|
|
inherit fetchurl stdenv ncurses libpcap;
|
|
|
|
};
|
|
|
|
|
2009-06-15 18:37:42 +00: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 {
|
2009-12-16 22:56:44 +00:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2008-02-21 18:58:11 +00:00
|
|
|
};
|
|
|
|
|
2008-05-14 08:01:03 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-01-19 15:58:19 +00:00
|
|
|
ipmitool = import ../tools/system/ipmitool {
|
2010-01-19 16:21:40 +00:00
|
|
|
inherit fetchurl stdenv openssl;
|
2010-02-04 10:31:55 +00:00
|
|
|
static = !stdenv.isDarwin && getPkgConfig "ipmitool" "static" false;
|
2010-01-19 15:58:19 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
jdiskreport = import ../tools/misc/jdiskreport {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv unzip jdk;
|
2005-10-26 21:10:31 +00:00
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
jfsrec = import ../tools/filesystems/jfsrec {
|
|
|
|
inherit fetchurl stdenv boost;
|
|
|
|
};
|
|
|
|
|
|
|
|
jfsutils = import ../tools/filesystems/jfsutils {
|
|
|
|
inherit fetchurl stdenv libuuid;
|
|
|
|
};
|
|
|
|
|
2009-10-11 15:52:14 +00:00
|
|
|
jhead = import ../tools/graphics/jhead {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
jing = import ../tools/text/xml/jing {
|
2005-10-24 14:01:08 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00: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 13:03:59 +00: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 14:45:00 +00:00
|
|
|
jwhois = import ../tools/networking/jwhois {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-04-23 10:51:23 +00:00
|
|
|
keychain = import ../tools/misc/keychain {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-01 21:21:27 +00:00
|
|
|
kismet = import ../applications/networking/sniffers/kismet {
|
2010-04-03 22:07:59 +00:00
|
|
|
inherit fetchurl stdenv libpcap ncurses expat pcre;
|
2009-02-01 21:21:27 +00:00
|
|
|
};
|
|
|
|
|
2007-08-09 16:55:14 +00:00
|
|
|
ktorrent = import ../tools/networking/p2p/ktorrent {
|
2010-01-30 19:30:30 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig boost
|
|
|
|
xlibs zlib libpng libjpeg perl gmp cmake gettext;
|
2010-03-05 12:00:37 +00:00
|
|
|
kde = kde44;
|
2007-08-09 16:55:14 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
less = import ../tools/misc/less {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2006-07-04 19:17:34 +00:00
|
|
|
};
|
|
|
|
|
2007-08-04 12:41:00 +00: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 {
|
2010-03-07 22:46:29 +00:00
|
|
|
inherit fetchurl stdenv zlib lzo bzip2 nasm;
|
2009-03-17 21:17:51 +00:00
|
|
|
};
|
|
|
|
|
2009-03-28 19:28:59 +00:00
|
|
|
lsh = import ../tools/networking/lsh {
|
2009-09-07 13:45:06 +00:00
|
|
|
inherit stdenv fetchurl gperf guile gmp zlib liboop gnum4 pam
|
|
|
|
readline nettools lsof procps;
|
2009-03-28 19:28:59 +00:00
|
|
|
};
|
|
|
|
|
2009-12-18 11:25:56 +00:00
|
|
|
lzma = xz;
|
2009-09-22 20:16:38 +00:00
|
|
|
|
2009-09-08 20:03:37 +00: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 09:38:25 +00: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 21:25:40 +00: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 17:26:19 +00: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 18:46:26 +00: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 09:45:26 +00:00
|
|
|
flex = flex2535;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-11 09:45:26 +00:00
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
mjpegtools = import ../tools/video/mjpegtools {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv libjpeg;
|
|
|
|
inherit (xlibs) libX11;
|
2003-11-07 11:18:47 +00:00
|
|
|
};
|
|
|
|
|
2010-01-21 16:53:16 +00:00
|
|
|
mkisofs = import ../tools/cd-dvd/mkisofs {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00: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 {
|
2010-01-16 16:41:33 +00:00
|
|
|
inherit fetchurl stdenv ocaml zlib bzip2 ncurses file gd libpng;
|
2009-01-04 17:35:11 +00:00
|
|
|
};
|
|
|
|
|
2009-08-26 16:22:20 +00:00
|
|
|
monit = builderDefsPackage ../tools/system/monit {
|
|
|
|
flex = flex2535;
|
|
|
|
bison = bison24;
|
|
|
|
inherit openssl;
|
|
|
|
};
|
|
|
|
|
2008-04-11 13:22:35 +00: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 09:32:27 +00: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;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-01-09 18:06:37 +00:00
|
|
|
muscleframework = import ../tools/security/muscleframework {
|
|
|
|
inherit fetchurl stdenv libmusclecard pkgconfig pcsclite;
|
|
|
|
};
|
|
|
|
|
|
|
|
muscletool = import ../tools/security/muscletool {
|
|
|
|
inherit fetchurl stdenv pkgconfig libmusclecard pcsclite;
|
|
|
|
};
|
|
|
|
|
2008-05-31 22:49:00 +00: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 02:09:43 +00:00
|
|
|
nbd = import ../tools/networking/nbd {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2009-09-25 02:09:43 +00: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 07:23:16 +00:00
|
|
|
ncat = import ../tools/networking/ncat {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2009-09-17 07:31:34 +00:00
|
|
|
ncftp = import ../tools/networking/ncftp {
|
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2010-01-27 12:12:35 +00:00
|
|
|
ncompress = import ../tools/compression/ncompress {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
netcat = import ../tools/networking/netcat {
|
2006-08-27 13:00:20 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-08-19 20:19:27 +00:00
|
|
|
netkittftp = import ../tools/networking/netkit/tftp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-25 22:44:08 +00:00
|
|
|
netpbm = import ../tools/graphics/netpbm {
|
2010-01-13 21:16:12 +00:00
|
|
|
inherit stdenv fetchsvn libjpeg libpng zlib flex perl libxml2 makeWrapper;
|
2009-02-25 22:44:08 +00:00
|
|
|
};
|
|
|
|
|
2007-08-31 11:14:05 +00:00
|
|
|
netselect = import ../tools/networking/netselect {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
nmap = import ../tools/security/nmap {
|
2008-03-22 19:52:11 +00:00
|
|
|
inherit fetchurl stdenv libpcap pkgconfig openssl
|
2009-07-07 22:34:03 +00: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
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
ntfs3g = import ../tools/filesystems/ntfs-3g {
|
|
|
|
inherit fetchurl stdenv utillinux;
|
|
|
|
};
|
|
|
|
|
|
|
|
ntfsprogs = import ../tools/filesystems/ntfsprogs {
|
|
|
|
inherit fetchurl stdenv libuuid;
|
|
|
|
};
|
|
|
|
|
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 12:54:08 +00: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 12:54:08 +00:00
|
|
|
};
|
|
|
|
|
2009-08-05 23:24:27 +00:00
|
|
|
obexfs = import ../tools/bluetooth/obexfs {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse obexftp;
|
|
|
|
};
|
|
|
|
|
|
|
|
obexftp = import ../tools/bluetooth/obexftp {
|
|
|
|
inherit fetchurl stdenv pkgconfig openobex bluez;
|
|
|
|
};
|
|
|
|
|
2010-04-12 21:03:22 +00:00
|
|
|
offlineimap = import ../tools/networking/offlineimap {
|
|
|
|
inherit fetchurl;
|
|
|
|
# I did not find any better way of reusing buildPythonPackage+setuptools
|
|
|
|
# for a python with openssl support
|
|
|
|
buildPythonPackage = assert pythonFull.opensslSupport;
|
|
|
|
import ../development/python-modules/generic {
|
|
|
|
inherit makeWrapper lib;
|
|
|
|
python = pythonFull;
|
|
|
|
setuptools = builderDefsPackage (import ../development/python-modules/setuptools) {
|
|
|
|
inherit makeWrapper;
|
|
|
|
python = pythonFull;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-02-09 09:05:14 +00:00
|
|
|
opendbx = import ../development/libraries/opendbx {
|
|
|
|
inherit fetchurl stdenv readline mysql postgresql sqlite;
|
|
|
|
};
|
|
|
|
|
2010-02-09 10:32:55 +00:00
|
|
|
opendkim = import ../development/libraries/opendkim {
|
|
|
|
inherit fetchurl stdenv openssl libmilter;
|
|
|
|
};
|
|
|
|
|
2009-10-22 15:41:39 +00:00
|
|
|
openjade = import ../tools/text/sgml/openjade {
|
|
|
|
inherit fetchurl opensp perl;
|
|
|
|
stdenv = overrideGCC stdenv gcc33;
|
|
|
|
};
|
|
|
|
|
2009-08-05 23:24:27 +00:00
|
|
|
openobex = import ../tools/bluetooth/openobex {
|
|
|
|
inherit fetchurl stdenv pkgconfig bluez libusb;
|
|
|
|
};
|
|
|
|
|
2010-01-10 00:22:29 +00:00
|
|
|
opensc_0_11_7 = import ../tools/security/opensc/0.11.7.nix {
|
2010-01-09 21:52:31 +00:00
|
|
|
inherit fetchurl stdenv libtool readline zlib openssl libiconv pcsclite
|
2010-01-14 22:47:30 +00:00
|
|
|
libassuan pkgconfig pinentry;
|
2010-01-09 21:52:31 +00:00
|
|
|
inherit (xlibs) libXt;
|
|
|
|
};
|
|
|
|
|
2010-01-10 00:22:29 +00:00
|
|
|
opensc = opensc_0_11_7;
|
|
|
|
|
2010-01-14 23:43:56 +00:00
|
|
|
opensc_dnie_wrapper = import ../tools/security/opensc-dnie-wrapper {
|
|
|
|
inherit stdenv makeWrapper ed libopensc_dnie;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
openssh = import ../tools/networking/openssh {
|
2006-12-11 03:24:35 +00:00
|
|
|
inherit fetchurl stdenv zlib openssl pam perl;
|
2008-07-07 23:11:13 +00:00
|
|
|
pamSupport = getPkgConfig "openssh" "pam" true;
|
2010-02-04 01:39:00 +00:00
|
|
|
hpnSupport = getPkgConfig "openssh" "hpn" false;
|
2010-02-01 16:56:10 +00:00
|
|
|
etcDir = getPkgConfig "openssh" "etcDir" "/etc/ssh";
|
2003-11-03 18:21:30 +00:00
|
|
|
};
|
|
|
|
|
2009-10-22 15:41:39 +00:00
|
|
|
opensp = import ../tools/text/sgml/opensp {
|
2010-01-26 22:04:54 +00:00
|
|
|
inherit fetchurl xmlto docbook_xml_dtd_412 libxslt docbook_xsl;
|
|
|
|
inherit stdenv;
|
2009-10-22 15:41:39 +00:00
|
|
|
};
|
|
|
|
|
2009-04-06 13:07:18 +00:00
|
|
|
openvpn = import ../tools/networking/openvpn {
|
2009-04-28 15:37:52 +00:00
|
|
|
inherit fetchurl stdenv iproute lzo openssl nettools;
|
2009-04-06 13:07:18 +00:00
|
|
|
};
|
|
|
|
|
2010-03-23 23:04:41 +00:00
|
|
|
optipng = import ../tools/graphics/optipng {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-04 11:55:19 +00:00
|
|
|
p7zip = import ../tools/archivers/p7zip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-10 09:42:22 +00:00
|
|
|
panomatic = import ../tools/graphics/panomatic {
|
|
|
|
inherit fetchurl stdenv boost zlib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
par2cmdline = import ../tools/networking/par2cmdline {
|
2008-06-25 15:01:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
2003-12-23 20:51:58 +00:00
|
|
|
};
|
|
|
|
|
2008-07-18 23:36:28 +00:00
|
|
|
patchutils = import ../tools/text/patchutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
parted = import ../tools/misc/parted {
|
2010-01-08 14:33:14 +00:00
|
|
|
inherit fetchurl stdenv devicemapper libuuid gettext readline
|
2010-03-01 13:12:48 +00:00
|
|
|
utillinuxng xz;
|
2003-11-04 08:44:46 +00:00
|
|
|
};
|
|
|
|
|
2007-04-26 13:02:30 +00: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
|
|
|
|
2009-12-17 11:10:01 +00:00
|
|
|
pbzip2 = import ../tools/compression/pbzip2 {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
2007-02-19 20:18:20 +00:00
|
|
|
pciutils = import ../tools/system/pciutils {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2010-01-09 17:35:57 +00:00
|
|
|
pcsclite = import ../tools/security/pcsclite {
|
|
|
|
inherit fetchurl stdenv hal pkgconfig dbus;
|
|
|
|
};
|
|
|
|
|
2009-03-29 20:32:41 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-03-23 23:04:41 +00:00
|
|
|
pdfread = import ../tools/graphics/pdfread {
|
|
|
|
inherit stdenv fetchurl unzip python makeWrapper ghostscript pngnq pil
|
|
|
|
djvulibre unrar optipng;
|
|
|
|
};
|
|
|
|
|
2009-10-08 08:53:21 +00:00
|
|
|
pg_top = import ../tools/misc/pg_top {
|
|
|
|
inherit fetchurl stdenv ncurses postgresql;
|
|
|
|
};
|
|
|
|
|
2008-07-07 23:11:36 +00: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-07 23:11:36 +00:00
|
|
|
ssh = if getPkgConfig "pdsh" "ssh" true then openssh else null;
|
|
|
|
pam = if getPkgConfig "pdsh" "pam" true then pam else null;
|
|
|
|
};
|
|
|
|
|
2009-04-05 21:41:13 +00: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-25 23:43:14 +00:00
|
|
|
pinentry = import ../tools/misc/pinentry {
|
2008-12-08 21:22:20 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses;
|
2008-04-25 23:43:14 +00: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 10:32:45 +00:00
|
|
|
ploticus = import ../tools/graphics/ploticus {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv zlib libpng;
|
|
|
|
inherit (xlibs) libX11;
|
2005-09-05 11:35:13 +00:00
|
|
|
};
|
2005-09-01 16:38:31 +00:00
|
|
|
|
2009-10-18 04:43:50 +00:00
|
|
|
plotutils = import ../tools/graphics/plotutils {
|
2009-11-06 22:44:13 +00:00
|
|
|
inherit fetchurl stdenv libpng;
|
2009-10-18 04:43:50 +00:00
|
|
|
};
|
|
|
|
|
2010-03-23 22:40:46 +00:00
|
|
|
pngnq = import ../tools/graphics/pngnq {
|
|
|
|
inherit fetchurl stdenv libpng;
|
|
|
|
};
|
|
|
|
|
2009-05-14 08:49:46 +00:00
|
|
|
povray = import ../tools/graphics/povray {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-18 21:22:13 +00: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 12:33:25 +00: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 04:43:53 +00: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 09:53:12 +00:00
|
|
|
pwgen = import ../tools/security/pwgen {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-04-26 11:06:51 +00: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 19:34:20 +00:00
|
|
|
pythonDBus = builderDefsPackage (import ../development/python-modules/dbus) {
|
|
|
|
inherit python pkgconfig dbus_glib;
|
|
|
|
dbus = dbus.libs;
|
|
|
|
};
|
|
|
|
|
2009-04-12 23:27:55 +00:00
|
|
|
pythonIRClib = builderDefsPackage (import ../development/python-modules/irclib) {
|
|
|
|
inherit python;
|
|
|
|
};
|
|
|
|
|
2009-04-12 19:34:20 +00:00
|
|
|
pythonSexy = builderDefsPackage (import ../development/python-modules/libsexy) {
|
|
|
|
inherit python libsexy pkgconfig libxml2 pygtk;
|
2009-04-17 13:48:22 +00:00
|
|
|
inherit (gtkLibs) pango gtk glib;
|
2009-04-12 19:34:20 +00:00
|
|
|
};
|
|
|
|
|
2009-06-05 14:36:35 +00:00
|
|
|
openmpi = import ../development/libraries/openmpi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-08 20:06:03 +00:00
|
|
|
qhull = import ../development/libraries/qhull {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2010-03-15 14:26:52 +00:00
|
|
|
qshowdiff = import ../tools/text/qshowdiff {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
reiser4progs = import ../tools/filesystems/reiser4progs {
|
|
|
|
inherit fetchurl stdenv libaal;
|
|
|
|
};
|
|
|
|
|
|
|
|
reiserfsprogs = import ../tools/filesystems/reiserfsprogs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
relfs = composedArgsAndFun (import ../tools/filesystems/relfs) {
|
2007-12-06 00:32:21 +00:00
|
|
|
inherit fetchcvs stdenv ocaml postgresql fuse pcre
|
2009-08-14 06:32:18 +00: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 11:59:33 +00:00
|
|
|
replace = import ../tools/text/replace {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-10 14:29:45 +00:00
|
|
|
/*
|
2007-09-08 20:45:23 +00:00
|
|
|
rdiff_backup = import ../tools/backup/rdiff-backup {
|
|
|
|
inherit fetchurl stdenv librsync gnused;
|
|
|
|
python=python;
|
|
|
|
};
|
2007-09-10 14:29:45 +00:00
|
|
|
*/
|
2007-09-08 20:45:23 +00: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 {
|
2009-12-09 22:34:51 +00:00
|
|
|
inherit fetchurl stdenv cpio zlib bzip2 xz file elfutils nspr nss popt;
|
|
|
|
db4 = db45;
|
2007-03-21 19:25:58 +00:00
|
|
|
};
|
|
|
|
|
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 09:04:30 +00: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;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:51:02 +00:00
|
|
|
s3backer = import ../tools/filesystems/s3backer {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse curl expat;
|
|
|
|
};
|
|
|
|
|
2010-03-09 15:12:15 +00:00
|
|
|
s3sync = import ../tools/networking/s3sync {
|
|
|
|
inherit fetchurl stdenv ruby makeWrapper;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
sablotron = import ../tools/text/xml/sablotron {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv expat;
|
2004-02-17 20:03:12 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
screen = import ../tools/misc/screen {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2005-12-26 00:51:24 +00:00
|
|
|
};
|
|
|
|
|
2009-09-02 22:56:33 +00:00
|
|
|
scrot = import ../tools/graphics/scrot {
|
|
|
|
inherit fetchurl stdenv giblib x11;
|
|
|
|
};
|
|
|
|
|
2009-05-18 11:24:16 +00:00
|
|
|
seccure = import ../tools/security/seccure/0.4.nix {
|
|
|
|
inherit fetchurl stdenv libgcrypt;
|
2008-03-03 12:30:39 +00:00
|
|
|
};
|
|
|
|
|
2009-06-09 04:22:46 +00:00
|
|
|
setserial = builderDefsPackage (import ../tools/system/setserial) {
|
|
|
|
inherit groff;
|
|
|
|
};
|
|
|
|
|
2010-02-22 09:07:15 +00:00
|
|
|
sharutils = import ../tools/archivers/sharutils {
|
2010-02-22 09:52:39 +00:00
|
|
|
inherit fetchurl stdenv gettext;
|
2008-02-18 20:52:25 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2010-04-10 10:47:30 +00:00
|
|
|
slimrat = import ../tools/networking/slimrat {
|
|
|
|
inherit fetchurl stdenv perl makeWrapper;
|
|
|
|
inherit (perlPackages) WWWMechanize LWP;
|
|
|
|
};
|
|
|
|
|
2008-08-21 11:07:29 +00:00
|
|
|
slsnif = import ../tools/misc/slsnif {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-10-18 13:05:43 +00:00
|
|
|
smartmontools = import ../tools/system/smartmontools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
smbfsFuse = composedArgsAndFun (import ../tools/filesystems/smbfs-fuse) {
|
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 22:04:30 +00: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;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
squashfsTools = import ../tools/filesystems/squashfs {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
|
|
|
sshfsFuse = import ../tools/filesystems/sshfs-fuse {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse glib;
|
|
|
|
};
|
|
|
|
|
2007-06-19 23:55:02 +00:00
|
|
|
sudo = import ../tools/security/sudo {
|
2009-06-26 16:10:38 +00:00
|
|
|
inherit fetchurl stdenv coreutils pam groff;
|
2007-06-19 23:55:02 +00:00
|
|
|
};
|
|
|
|
|
2009-07-12 08:10:51 +00:00
|
|
|
suidChroot = builderDefsPackage (import ../tools/system/suid-chroot) {
|
|
|
|
};
|
|
|
|
|
2007-08-07 22:22:31 +00:00
|
|
|
ssmtp = import ../tools/networking/ssmtp {
|
2007-11-08 17:48:52 +00:00
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
tlsSupport = true;
|
2007-08-07 22:22:31 +00: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 04:43:45 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-01-24 19:07:16 +00:00
|
|
|
swec = import ../tools/networking/swec {
|
|
|
|
inherit fetchurl stdenv makeWrapper perl;
|
|
|
|
inherit (perlPackages) LWP URI HTMLParser HTTPServerSimple Parent;
|
|
|
|
};
|
|
|
|
|
2009-02-25 16:05:13 +00:00
|
|
|
system_config_printer = import ../tools/misc/system-config-printer {
|
2009-04-20 14:10:15 +00: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 10:37:30 +00:00
|
|
|
sitecopy = import ../tools/networking/sitecopy {
|
2009-10-05 12:21:50 +00:00
|
|
|
inherit fetchurl stdenv neon openssl;
|
2009-10-05 10:37:30 +00:00
|
|
|
};
|
|
|
|
|
2009-10-05 14:15:28 +00:00
|
|
|
privoxy = import ../tools/networking/privoxy {
|
2009-10-05 17:12:19 +00:00
|
|
|
inherit fetchurl stdenv autoconf automake ;
|
2009-10-05 14:15:28 +00: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;
|
2009-12-21 14:12:00 +00:00
|
|
|
kernel = linux_2_6_28;
|
2009-03-17 14:18:45 +00:00
|
|
|
};
|
|
|
|
|
2007-10-09 09:56:39 +00:00
|
|
|
telnet = import ../tools/networking/telnet {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2010-02-13 19:22:16 +00:00
|
|
|
texmacs = import ../applications/office/texmacs {
|
|
|
|
inherit fetchurl stdenv texLive guile;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
2009-04-19 11:47:01 +00: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 12:50:45 +00: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 19:58:07 +00:00
|
|
|
vbetool = builderDefsPackage ../tools/system/vbetool {
|
|
|
|
inherit pciutils libx86 zlib;
|
|
|
|
};
|
|
|
|
|
2009-05-30 20:52:10 +00:00
|
|
|
viking = import ../applications/misc/viking {
|
2009-05-30 21:32:01 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig intltool gettext expat curl
|
2009-05-31 15:01:33 +00:00
|
|
|
gpsd bc file;
|
2009-05-30 20:52:10 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-08-07 12:00:00 +00: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 17:51:41 +00:00
|
|
|
vtun = import ../tools/networking/vtun {
|
|
|
|
inherit fetchurl stdenv lzo openssl zlib yacc flex;
|
|
|
|
};
|
|
|
|
|
2007-09-12 15:49:28 +00:00
|
|
|
testdisk = import ../tools/misc/testdisk {
|
|
|
|
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl;
|
|
|
|
};
|
|
|
|
|
2009-07-05 14:07:39 +00:00
|
|
|
htmlTidy = import ../tools/text/html-tidy {
|
|
|
|
inherit fetchcvs stdenv autoconf automake libtool;
|
|
|
|
};
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
tightvnc = import ../tools/admin/tightvnc {
|
2007-10-05 05:55:44 +00: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-16 23:04:06 +00:00
|
|
|
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc
|
|
|
|
xorg.fontbhlucidatypewriter75dpi ];
|
2006-04-18 18:46:36 +00:00
|
|
|
};
|
|
|
|
|
2007-04-20 08:50:26 +00:00
|
|
|
time = import ../tools/misc/time {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-21 21:35:14 +00:00
|
|
|
tm = import ../tools/system/tm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
trang = import ../tools/text/xml/trang {
|
2007-03-05 17:13:53 +00:00
|
|
|
inherit fetchurl stdenv unzip jre;
|
2005-08-21 13:59:04 +00:00
|
|
|
};
|
|
|
|
|
2010-02-09 09:09:25 +00:00
|
|
|
tre = import ../development/libraries/tre {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-21 21:35:14 +00:00
|
|
|
ts = import ../tools/system/ts {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
transfig = import ../tools/graphics/transfig {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv libpng libjpeg zlib;
|
|
|
|
inherit (xlibs) imake;
|
2005-08-21 19:46:16 +00:00
|
|
|
};
|
|
|
|
|
2008-07-19 16:14:24 +00: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 08:00:30 +00:00
|
|
|
wxGUI = getConfig [ "truecrypt" "wxGUI" ] true;
|
2008-07-19 16:14:24 +00:00
|
|
|
};
|
|
|
|
|
2009-12-04 15:42:27 +00:00
|
|
|
ttmkfdir = import ../tools/misc/ttmkfdir {
|
2009-04-27 22:38:54 +00:00
|
|
|
inherit stdenv fetchurl freetype fontconfig libunwind libtool bison;
|
2008-03-02 18:41:32 +00:00
|
|
|
flex = flex2534;
|
|
|
|
};
|
|
|
|
|
2010-02-09 07:28:32 +00:00
|
|
|
unbound = import ../tools/networking/unbound {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-06-20 15:15:51 +00:00
|
|
|
units = import ../tools/misc/units {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-24 15:34:44 +00:00
|
|
|
unrar = import ../tools/archivers/unrar {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-28 17:09:30 +00:00
|
|
|
unshield = import ../tools/archivers/unshield {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-10-07 11:18:54 +00:00
|
|
|
unzip = unzip552;
|
|
|
|
|
|
|
|
# TODO: remove in the next stdenv update.
|
|
|
|
unzip552 = import ../tools/archivers/unzip/5.52.nix {
|
2006-08-15 13:22:45 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-03-11 10:46:20 +00:00
|
|
|
|
2009-10-07 11:18:54 +00:00
|
|
|
unzip60 = import ../tools/archivers/unzip/6.0.nix {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
2009-09-16 07:31:16 +00:00
|
|
|
uptimed = import ../tools/system/uptimed {
|
|
|
|
inherit fetchurl stdenv automake autoconf libtool;
|
|
|
|
};
|
|
|
|
|
2010-01-24 15:39:42 +00:00
|
|
|
w3cCSSValidator = import ../tools/misc/w3c-css-validator {
|
2010-01-24 22:15:23 +00:00
|
|
|
inherit fetchurl stdenv apacheAnt jre sourceFromHead lib;
|
2010-01-24 15:39:42 +00:00
|
|
|
tomcat = tomcat6;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
wdfs = import ../tools/filesystems/wdfs {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl neon fuse pkgconfig glib;
|
2008-07-07 23:24:48 +00:00
|
|
|
};
|
|
|
|
|
2010-03-25 11:51:55 +00:00
|
|
|
wdiff = import ../tools/text/wdiff {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-02-25 10:01:33 +00:00
|
|
|
webalizer = import ../tools/networking/webalizer {
|
|
|
|
inherit stdenv fetchurl zlib libpng gd db4 geoip;
|
|
|
|
};
|
|
|
|
|
2009-08-26 11:13:36 +00:00
|
|
|
webdruid = builderDefsPackage ../tools/admin/webdruid {
|
2009-09-22 20:16:38 +00:00
|
|
|
inherit zlib libpng freetype gd which
|
2009-08-26 11:13:36 +00: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;
|
2010-04-13 10:11:42 +00:00
|
|
|
inherit (perlPackages) LWP;
|
2006-07-17 20:35:02 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00: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
|
|
|
};
|
|
|
|
|
2010-01-07 17:49:45 +00:00
|
|
|
wicd = import ../tools/networking/wicd {
|
2010-01-21 15:39:11 +00:00
|
|
|
inherit stdenv fetchurl python pygobject pycairo pyGtkGlade pythonDBus
|
2010-01-07 17:49:45 +00:00
|
|
|
wpa_supplicant dhcp wirelesstools nettools iproute;
|
|
|
|
};
|
|
|
|
|
2007-08-18 08:32:12 +00: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 08:32:12 +00:00
|
|
|
};
|
|
|
|
|
2009-05-28 19:22:32 +00:00
|
|
|
wv2 = import ../tools/misc/wv2 {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig libgsf libxml2 glib;
|
2009-05-28 19:22:32 +00:00
|
|
|
};
|
|
|
|
|
2007-04-02 13:46:56 +00:00
|
|
|
x11_ssh_askpass = import ../tools/networking/x11-ssh-askpass {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xorg) imake;
|
|
|
|
};
|
|
|
|
|
2007-09-21 21:40:23 +00:00
|
|
|
xclip = import ../tools/misc/xclip {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
};
|
|
|
|
|
2009-12-04 15:39:49 +00:00
|
|
|
xfsprogs = import ../tools/filesystems/xfsprogs {
|
|
|
|
inherit fetchurl stdenv libtool gettext libuuid;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
xmlroff = import ../tools/typesetting/xmlroff {
|
2005-08-13 21:35:49 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 libxslt popt;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
|
|
|
inherit (gnome) libgnomeprint;
|
|
|
|
inherit pangoxsl;
|
2005-08-13 18:12:10 +00:00
|
|
|
};
|
|
|
|
|
2008-03-11 08:44:22 +00:00
|
|
|
xmlto = import ../tools/typesetting/xmlto {
|
|
|
|
inherit fetchurl stdenv flex libxml2 libxslt
|
2008-09-26 08:56:03 +00:00
|
|
|
docbook_xml_dtd_42 docbook_xsl w3m
|
2009-09-18 18:22:42 +00: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 12:49:35 +00:00
|
|
|
inherit fetchurl perl perlPackages;
|
2005-01-22 00:19:27 +00:00
|
|
|
};
|
|
|
|
|
2009-04-12 23:27:55 +00:00
|
|
|
xmpppy = builderDefsPackage (import ../development/python-modules/xmpppy) {
|
|
|
|
inherit python setuptools;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
xpf = import ../tools/text/xml/xpf {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv python;
|
2009-04-23 12:33:09 +00:00
|
|
|
libxml2 = libxml2Python;
|
2004-08-03 15:41:08 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
xsel = import ../tools/misc/xsel {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv x11;
|
2004-08-06 10:01:15 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
zdelta = import ../tools/compression/zdelta {
|
2006-09-15 15:28:53 +00: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 10:32:45 +00:00
|
|
|
zip = import ../tools/archivers/zip {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
2005-03-16 15:13:30 +00:00
|
|
|
};
|
2005-07-29 10:06:49 +00:00
|
|
|
|
2006-07-13 14:54:24 +00:00
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
### SHELLS
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2009-04-13 18:38:45 +00:00
|
|
|
bash = lowPrio (useFromStdenv "bash" bashReal);
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2009-04-13 18:38:45 +00:00
|
|
|
bashReal = makeOverridable (import ../shells/bash) {
|
|
|
|
inherit fetchurl stdenv bison;
|
|
|
|
};
|
|
|
|
|
|
|
|
bashInteractive = appendToName "interactive" (bashReal.override {
|
2009-05-29 13:00:56 +00:00
|
|
|
inherit readline texinfo;
|
2007-03-06 22:46:03 +00:00
|
|
|
interactive = true;
|
2007-04-26 13:02:30 +00:00
|
|
|
});
|
2007-03-06 22:46:03 +00:00
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
tcsh = import ../shells/tcsh {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
zsh = import ../shells/zsh {
|
2007-06-20 10:02:10 +00:00
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2006-10-18 14:04:55 +00:00
|
|
|
### DEVELOPMENT / COMPILERS
|
2003-11-03 18:21:30 +00:00
|
|
|
|
2003-11-02 17:42:19 +00:00
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
abc =
|
|
|
|
abcPatchable [];
|
2006-08-05 11:02:17 +00:00
|
|
|
|
2008-06-18 22:48:34 +00:00
|
|
|
abcPatchable = patches :
|
2006-10-18 10:32:45 +00:00
|
|
|
import ../development/compilers/abc/default.nix {
|
2006-09-15 15:28:53 +00: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 15:28:53 +00:00
|
|
|
};
|
|
|
|
};
|
2005-12-31 03:46:20 +00:00
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
aspectj =
|
2006-10-18 10:32:45 +00:00
|
|
|
import ../development/compilers/aspectj {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit stdenv fetchurl jre;
|
|
|
|
};
|
2004-09-25 19:32:23 +00:00
|
|
|
|
2008-02-08 01:35:01 +00:00
|
|
|
bigloo = import ../development/compilers/bigloo {
|
2008-04-02 20:54:42 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-02-08 01:35:01 +00:00
|
|
|
};
|
|
|
|
|
2010-02-24 09:04:29 +00:00
|
|
|
ccl = builderDefsPackage ../development/compilers/ccl {};
|
|
|
|
|
2006-10-18 14:04:55 +00: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
|
|
|
};
|
|
|
|
|
2010-01-20 05:41:18 +00:00
|
|
|
ecl = builderDefsPackage ../development/compilers/ecl {
|
|
|
|
inherit gmp mpfr;
|
|
|
|
};
|
|
|
|
|
2009-04-06 13:07:21 +00:00
|
|
|
adobeFlexSDK33 = import ../development/compilers/adobe-flex-sdk {
|
|
|
|
inherit fetchurl stdenv unzip jre;
|
|
|
|
};
|
|
|
|
|
2007-08-11 20:55:40 +00:00
|
|
|
fpc = import ../development/compilers/fpc {
|
2008-04-08 15:11:34 +00:00
|
|
|
inherit fetchurl stdenv gawk system;
|
2007-08-11 20:55:40 +00:00
|
|
|
};
|
|
|
|
|
2009-11-27 17:59:03 +00:00
|
|
|
gcc = gcc44;
|
2004-06-29 08:25:55 +00:00
|
|
|
|
2006-07-10 15:42:19 +00: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 15:24:33 +00:00
|
|
|
gcc40 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.0) {
|
2006-07-10 15:42:19 +00:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo = texinfo49;
|
2006-07-10 15:42:19 +00:00
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2009-04-09 15:24:33 +00:00
|
|
|
gcc41 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.1) {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 15:34:56 +00:00
|
|
|
texinfo = texinfo49;
|
2006-10-26 20:23:49 +00:00
|
|
|
profiledCompiler = false;
|
2007-11-15 15:19:58 +00:00
|
|
|
});
|
2007-08-18 23:58:30 +00:00
|
|
|
|
2009-04-09 15:24:33 +00:00
|
|
|
gcc42 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.2) {
|
2007-05-19 19:44:15 +00:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-06-26 10:20:33 +00:00
|
|
|
profiledCompiler = false;
|
2008-10-07 17:34:35 +00:00
|
|
|
});
|
2008-06-27 18:26:19 +00:00
|
|
|
|
2009-11-29 23:27:35 +00:00
|
|
|
gcc44 = useFromStdenv "gcc" gcc44_real;
|
2009-04-09 15:24:33 +00:00
|
|
|
|
2009-11-29 23:27:35 +00:00
|
|
|
gcc43 = 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 13:06:02 +00:00
|
|
|
}));
|
2009-02-01 21:44:56 +00:00
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
gcc43_realCross = makeOverridable (import ../development/compilers/gcc-4.3) {
|
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs;
|
|
|
|
binutilsCross = binutilsCross;
|
|
|
|
libcCross = libcCross;
|
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;
|
2010-03-07 00:05:51 +00:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
2009-11-15 05:28:35 +00:00
|
|
|
};
|
|
|
|
|
2010-03-17 10:17:32 +00:00
|
|
|
gcc44_realCross = lib.addMetaAttrs { platforms = []; }
|
|
|
|
(makeOverridable (import ../development/compilers/gcc-4.4) {
|
2010-03-17 09:05:11 +00:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr ppl cloogppl noSysDirs
|
|
|
|
gettext which;
|
|
|
|
binutilsCross = binutilsCross;
|
|
|
|
libcCross = libcCross;
|
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = false;
|
|
|
|
crossStageStatic = false;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
});
|
2009-11-29 23:27:35 +00:00
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
gccCrossStageStatic = wrapGCCCross {
|
2010-03-17 10:17:32 +00:00
|
|
|
gcc = forceBuildDrv (lib.addMetaAttrs { platforms = []; } (
|
|
|
|
gcc44_realCross.override {
|
2009-11-21 02:42:52 +00:00
|
|
|
crossStageStatic = true;
|
|
|
|
langCC = false;
|
2009-12-08 09:36:19 +00:00
|
|
|
libcCross = null;
|
2010-02-27 00:52:48 +00:00
|
|
|
enableShared = true;
|
2010-03-17 10:17:32 +00:00
|
|
|
}));
|
2009-11-21 02:42:52 +00:00
|
|
|
libc = null;
|
2010-03-06 23:36:55 +00:00
|
|
|
binutils = binutilsCross;
|
2010-03-07 00:05:51 +00:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
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
|
|
|
};
|
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
gccCrossStageFinal = wrapGCCCross {
|
|
|
|
gcc = forceBuildDrv gcc44_realCross;
|
|
|
|
libc = libcCross;
|
|
|
|
binutils = binutilsCross;
|
2010-03-07 00:05:51 +00:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
2009-11-15 05:28:35 +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
|
|
|
|
2009-11-29 23:27:35 +00:00
|
|
|
gcc43_multi = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc43.gcc.override {
|
2009-04-02 19:55:57 +00:00
|
|
|
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc);
|
2008-06-27 18:26:19 +00:00
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = true;
|
2008-06-26 10:20:33 +00:00
|
|
|
}));
|
|
|
|
|
2009-11-29 23:27:35 +00:00
|
|
|
gcc44_real = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.4) {
|
2010-01-19 17:10:53 +00:00
|
|
|
inherit fetchurl stdenv texinfo gmp mpfr /* ppl cloogppl */
|
2009-07-27 15:40:01 +00:00
|
|
|
gettext which noSysDirs;
|
2009-07-03 18:54:28 +00:00
|
|
|
profiledCompiler = true;
|
2009-09-23 18:33:40 +00:00
|
|
|
}));
|
2009-07-03 18:54:28 +00:00
|
|
|
|
2009-11-27 17:40:56 +00:00
|
|
|
gccApple =
|
2009-11-27 10:56:07 +00:00
|
|
|
wrapGCC ( (if stdenv.system == "i686-darwin" then import ../development/compilers/gcc-apple else import ../development/compilers/gcc-apple64) {
|
|
|
|
inherit fetchurl stdenv noSysDirs;
|
|
|
|
profiledCompiler = true;
|
|
|
|
}) ;
|
2006-09-15 15:28:53 +00: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 15:24:33 +00:00
|
|
|
gfortran = gfortran43;
|
|
|
|
|
|
|
|
gfortran40 = wrapGCC (gcc40.gcc.override {
|
|
|
|
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;
|
|
|
|
});
|
|
|
|
|
2009-11-29 23:27:35 +00:00
|
|
|
gfortran43 = wrapGCC (gcc43.gcc.override {
|
2009-04-09 15:24:33 +00:00
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
});
|
|
|
|
|
2010-02-19 15:40:37 +00:00
|
|
|
gfortran44 = wrapGCC (gcc44_real.gcc.override {
|
2009-07-24 22:19:07 +00:00
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
});
|
|
|
|
|
2009-07-28 08:13:11 +00:00
|
|
|
gcj = gcj44;
|
2009-05-10 09:11:41 +00:00
|
|
|
|
2010-02-19 15:40:37 +00:00
|
|
|
gcj44 = wrapGCC (gcc44_real.gcc.override {
|
2009-07-03 18:54:28 +00:00
|
|
|
name = "gcj";
|
|
|
|
langJava = true;
|
|
|
|
langFortran = false;
|
|
|
|
langCC = true;
|
2009-07-27 15:40:01 +00:00
|
|
|
langC = false;
|
2009-07-03 18:54:28 +00:00
|
|
|
profiledCompiler = false;
|
2009-07-28 08:11:10 +00:00
|
|
|
inherit zip unzip zlib boehmgc gettext pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2009-07-28 09:23:40 +00: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 08:32:43 +00:00
|
|
|
libXrandr xproto renderproto xextproto inputproto randrproto;
|
2009-07-03 18:54:28 +00:00
|
|
|
});
|
|
|
|
|
2009-12-21 07:49:31 +00:00
|
|
|
gnat = gnat44;
|
|
|
|
|
2010-01-16 21:32:44 +00:00
|
|
|
gnat44 = wrapGCC (gcc44_real.gcc.override {
|
2009-12-21 07:49:31 +00:00
|
|
|
name = "gnat";
|
|
|
|
langCC = false;
|
|
|
|
langC = true;
|
|
|
|
langAda = true;
|
|
|
|
profiledCompiler = false;
|
|
|
|
inherit gnatboot;
|
|
|
|
# We can't use the ppl stuff, because we would have
|
|
|
|
# libstdc++ problems.
|
|
|
|
cloogppl = null;
|
|
|
|
ppl = null;
|
|
|
|
});
|
|
|
|
|
2010-01-16 21:32:44 +00:00
|
|
|
gnatboot = wrapGCC (import ../development/compilers/gnatboot {
|
2009-12-21 07:49:31 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2010-01-16 21:41:27 +00:00
|
|
|
ghdl = wrapGCC (import ../development/compilers/gcc-4.3 {
|
2009-12-21 23:02:06 +00:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs gnat;
|
2010-01-14 23:03:31 +00:00
|
|
|
name = "ghdl";
|
2009-12-21 23:02:06 +00:00
|
|
|
langVhdl = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = false;
|
|
|
|
});
|
|
|
|
|
2010-01-15 23:22:28 +00:00
|
|
|
# Not officially supported version for ghdl
|
2010-01-16 21:41:27 +00:00
|
|
|
ghdl_gcc44 = lowPrio (wrapGCC (import ../development/compilers/gcc-4.4 {
|
2010-01-15 23:22:28 +00:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs gnat gettext which
|
|
|
|
ppl cloogppl;
|
|
|
|
name = "ghdl";
|
|
|
|
langVhdl = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = false;
|
|
|
|
}));
|
|
|
|
|
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;
|
2009-11-27 17:40:56 +00:00
|
|
|
inherit (xlibs) libX11 xproto inputproto libXi
|
2009-11-06 07:39:59 +00:00
|
|
|
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 11:45:20 +00:00
|
|
|
# GHC
|
|
|
|
|
|
|
|
# GHC binaries are around for bootstrapping purposes
|
|
|
|
|
2009-04-19 10:27:22 +00:00
|
|
|
#ghc = haskellPackages.ghc;
|
2007-01-24 14:26:16 +00:00
|
|
|
|
2009-12-11 13:58:41 +00:00
|
|
|
/*
|
2009-04-16 22:06:33 +00:00
|
|
|
ghc642Binary = lowPrio (import ../development/compilers/ghc/6.4.2-binary.nix {
|
|
|
|
inherit fetchurl stdenv ncurses gmp;
|
2009-12-11 13:58:36 +00:00
|
|
|
readline = if stdenv.system == "i686-linux" then readline4 else readline5;
|
2009-04-16 22:06:33 +00:00
|
|
|
perl = perl58;
|
|
|
|
});
|
2009-12-11 13:58:41 +00:00
|
|
|
*/
|
2007-10-19 13:24:29 +00:00
|
|
|
|
2009-04-17 19:43:05 +00:00
|
|
|
ghc6101Binary = lowPrio (import ../development/compilers/ghc/6.10.1-binary.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
});
|
2008-06-04 09:42:25 +00:00
|
|
|
|
2009-04-16 22:00:41 +00:00
|
|
|
ghc6102Binary = lowPrio (import ../development/compilers/ghc/6.10.2-binary.nix {
|
2009-04-16 19:59:41 +00:00
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
2008-07-25 14:21:54 +00:00
|
|
|
});
|
2008-07-21 14:43:33 +00:00
|
|
|
|
2009-09-17 11:45:20 +00:00
|
|
|
# For several compiler versions, we export a large set of Haskell-related
|
|
|
|
# packages.
|
|
|
|
|
2009-07-20 13:02:56 +00:00
|
|
|
haskellPackages = haskellPackages_ghc6104;
|
2009-04-18 12:47:11 +00:00
|
|
|
|
2009-12-11 13:58:41 +00:00
|
|
|
/*
|
2009-04-19 10:27:22 +00:00
|
|
|
haskellPackages_ghc642 = import ./haskell-packages.nix {
|
2009-04-18 12:47:11 +00:00
|
|
|
inherit pkgs;
|
2009-04-19 10:27:22 +00:00
|
|
|
ghc = import ../development/compilers/ghc/6.4.2.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses readline m4 gmp;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2007-05-06 15:39:39 +00:00
|
|
|
};
|
|
|
|
|
2009-04-19 10:27:22 +00:00
|
|
|
haskellPackages_ghc661 = import ./haskell-packages.nix {
|
2009-04-18 12:47:11 +00:00
|
|
|
inherit pkgs;
|
2009-04-19 10:27:22 +00: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 10:27:22 +00:00
|
|
|
haskellPackages_ghc682 = import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.8.2.nix {
|
2009-12-11 13:58:36 +00:00
|
|
|
inherit fetchurl stdenv perl gmp ncurses m4;
|
|
|
|
readline = readline5;
|
2009-04-19 10:27:22 +00:00
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
};
|
2009-05-18 13:53:01 +00:00
|
|
|
|
2009-04-19 10:27:22 +00: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 18:44:52 +00:00
|
|
|
inherit stdenv fetchurl lib;
|
2009-04-19 10:27:22 +00:00
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
2009-12-11 13:58:41 +00:00
|
|
|
*/
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2009-07-20 13:02:56 +00:00
|
|
|
haskellPackages_ghc6101 = import ./haskell-packages.nix {
|
2009-04-19 11:43:38 +00:00
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.10.1.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
2009-07-20 13:02:56 +00:00
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2009-07-20 13:02:56 +00:00
|
|
|
haskellPackages_ghc6102 = import ./haskell-packages.nix {
|
2009-04-19 10:27:22 +00:00
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.10.2.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
2005-08-17 14:29:04 +00:00
|
|
|
};
|
2009-07-20 13:02:56 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2009-05-10 21:04:58 +00: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 13:02:56 +00: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;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-01-12 10:34:20 +00:00
|
|
|
# make this ghc default when it's supported by the Haskell Platform
|
|
|
|
haskellPackages_ghc6121 = lowPrio (import ./haskell-packages.nix {
|
2009-10-15 12:49:37 +00:00
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.12.1.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
2010-01-12 10:34:20 +00:00
|
|
|
});
|
2009-10-15 12:49:37 +00:00
|
|
|
|
2009-09-17 11:45:20 +00: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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-03-16 23:34:56 +00:00
|
|
|
haxeDist = import ../development/compilers/haxe {
|
|
|
|
inherit fetchurl sourceFromHead stdenv lib ocaml zlib makeWrapper neko;
|
2009-11-30 01:05:04 +00:00
|
|
|
};
|
2010-03-16 23:34:56 +00:00
|
|
|
haxe = haxeDist.haxe;
|
|
|
|
haxelib = haxeDist.haxelib;
|
2009-11-30 01:05:04 +00:00
|
|
|
|
2009-07-09 22:30:19 +00: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 13:14:23 +00: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 15:28:53 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
ikarus = import ../development/compilers/ikarus {
|
|
|
|
inherit stdenv fetchurl gmp;
|
2008-05-06 07:03:41 +00:00
|
|
|
};
|
|
|
|
|
2007-08-20 10:34:49 +00: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 10:34:49 +00:00
|
|
|
|
2009-10-02 12:12:23 +00:00
|
|
|
openjdkDarwin = import ../development/compilers/openjdk-darwin {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
j2sdk14x = (
|
2007-04-16 10:07:06 +00:00
|
|
|
assert system == "i686-linux";
|
|
|
|
import ../development/compilers/jdk/default-1.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
2009-08-25 06:36:05 +00:00
|
|
|
});
|
2007-03-05 17:13:53 +00:00
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
jdk5 = (
|
2008-01-24 10:14:33 +00:00
|
|
|
assert system == "i686-linux" || system == "x86_64-linux";
|
2008-01-23 12:25:08 +00:00
|
|
|
import ../development/compilers/jdk/default-5.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
2009-08-25 06:36:05 +00:00
|
|
|
});
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2010-03-26 13:31:11 +00:00
|
|
|
jdk = if stdenv.isDarwin then openjdkDarwin else jdkdistro true false;
|
2007-03-28 18:55:57 +00:00
|
|
|
jre = jdkdistro false false;
|
|
|
|
|
2007-03-28 15:31:00 +00:00
|
|
|
jdkPlugin = jdkdistro true true;
|
2007-03-28 18:55:57 +00:00
|
|
|
jrePlugin = jdkdistro false true;
|
2007-03-28 15:21:43 +00:00
|
|
|
|
2007-04-16 10:22:20 +00:00
|
|
|
supportsJDK =
|
|
|
|
system == "i686-linux" ||
|
|
|
|
system == "x86_64-linux" ||
|
|
|
|
system == "powerpc-linux";
|
|
|
|
|
2007-04-16 10:07:06 +00:00
|
|
|
jdkdistro = installjdk: pluginSupport:
|
2009-08-28 06:29:21 +00:00
|
|
|
(assert supportsJDK;
|
2007-05-16 14:49:28 +00: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 06:40:26 +00:00
|
|
|
}));
|
2003-12-21 20:52:13 +00:00
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
jikes = import ../development/compilers/jikes {
|
2004-05-12 15:06:23 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
lazarus = builderDefsPackage (import ../development/compilers/fpc/lazarus.nix) {
|
2008-04-08 15:11:34 +00:00
|
|
|
inherit fpc makeWrapper;
|
2009-07-14 20:31:11 +00:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2008-04-08 15:11:34 +00: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 22:04:30 +00:00
|
|
|
llvmGCC = builderDefsPackage (import ../development/compilers/llvm/llvm-gcc.nix) {
|
2008-04-02 19:55:40 +00:00
|
|
|
flex=flex2535;
|
2008-08-25 13:25:07 +00:00
|
|
|
inherit llvm perl libtool bison;
|
2008-04-02 19:55:40 +00:00
|
|
|
};
|
|
|
|
|
2010-03-17 15:32:12 +00:00
|
|
|
mitscheme = import ../development/compilers/mit-scheme {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00: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 15:28:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
monoDLLFixer = import ../build-support/mono-dll-fixer {
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-12-29 14:57:01 +00:00
|
|
|
mozart = import ../development/compilers/mozart {
|
|
|
|
inherit fetchurl stdenv flex bison perl gmp zlib tcl tk gdbm m4 x11 emacs;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-06-12 15:59:59 +00:00
|
|
|
|
2009-11-30 01:05:07 +00:00
|
|
|
neko = import ../development/compilers/neko {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit sourceFromHead fetchurl stdenv lib pkgconfig composableDerivation
|
|
|
|
boehmgc apacheHttpd mysql zlib sqlite pcre apr makeWrapper;
|
2009-11-30 01:05:07 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
nasm = import ../development/compilers/nasm {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-14 15:21:45 +00:00
|
|
|
ocaml = ocaml_3_11_1;
|
2004-07-16 22:58:15 +00:00
|
|
|
|
2009-10-14 15:21:45 +00: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 15:21:45 +00: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 10:32:45 +00:00
|
|
|
opencxx = import ../development/compilers/opencxx {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
gcc = gcc33;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
qcmm = import ../development/compilers/qcmm {
|
2006-03-01 09:18:22 +00:00
|
|
|
lua = lua4;
|
2009-10-14 15:21:45 +00: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 06:07:25 +00:00
|
|
|
sbcl = builderDefsPackage (import ../development/compilers/sbcl) {
|
2010-02-17 06:50:45 +00:00
|
|
|
inherit makeWrapper clisp;
|
2009-05-31 06:07:25 +00:00
|
|
|
};
|
|
|
|
|
2008-04-11 22:06:32 +00:00
|
|
|
scala = import ../development/compilers/scala {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-05-29 12:10:10 +00:00
|
|
|
stalin = import ../development/compilers/stalin {
|
2010-03-17 14:44:46 +00:00
|
|
|
inherit stdenv fetchurl ncompress;
|
2008-05-29 12:10:10 +00:00
|
|
|
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 20:11:36 +00: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-11-27 20:31:12 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig aterm getopt jdk ncurses;
|
2009-11-27 20:22:43 +00:00
|
|
|
readline = readline5;
|
2005-06-30 16:54:25 +00:00
|
|
|
};
|
|
|
|
|
2009-09-15 11:36:41 +00:00
|
|
|
strategoPackages018 = import ../development/compilers/strategoxt/0.18.nix {
|
2009-12-07 14:19:23 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig aterm getopt jdk makeStaticBinaries ncurses;
|
2009-12-09 14:07:09 +00:00
|
|
|
readline = readline5;
|
2009-09-15 11:36:41 +00:00
|
|
|
};
|
|
|
|
|
2009-04-03 09:22:20 +00:00
|
|
|
metaBuildEnv = import ../development/compilers/meta-environment/meta-build-env {
|
2009-11-18 09:39:59 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-04-17 13:48:22 +00:00
|
|
|
};
|
2009-04-03 09:22:20 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
swiProlog = import ../development/compilers/swi-prolog {
|
2009-12-09 14:07:09 +00:00
|
|
|
inherit fetchurl stdenv gmp readline openssl libjpeg unixODBC zlib;
|
|
|
|
inherit (xlibs) libXinerama libXft libXpm libSM libXt;
|
2008-03-06 21:53:54 +00:00
|
|
|
};
|
|
|
|
|
2008-10-31 16:52:44 +00:00
|
|
|
tinycc = import ../development/compilers/tinycc {
|
|
|
|
inherit fetchurl stdenv perl texinfo;
|
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
visualcpp = (import ../development/compilers/visual-c++ {
|
2006-06-05 19:26:11 +00:00
|
|
|
inherit fetchurl stdenv cabextract;
|
2009-08-25 05:46:48 +00:00
|
|
|
});
|
2006-06-02 09:56:10 +00: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 06:29:21 +00:00
|
|
|
win32hello = import ../development/compilers/visual-c++/test {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv visualcpp windowssdk;
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2008-06-27 18:26:19 +00:00
|
|
|
wrapGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
2009-12-21 23:02:06 +00:00
|
|
|
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
|
|
|
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
|
|
|
nativePrefix = if stdenv ? gcc then stdenv.gcc.nativePrefix else "";
|
|
|
|
gcc = baseGCC;
|
|
|
|
libc = glibc;
|
|
|
|
inherit stdenv binutils coreutils zlib;
|
|
|
|
};
|
|
|
|
|
2010-01-16 21:41:27 +00:00
|
|
|
wrapGCC = wrapGCCWith (import ../build-support/gcc-wrapper) glibc;
|
2010-03-16 21:53:48 +00:00
|
|
|
|
2010-03-16 20:49:26 +00:00
|
|
|
# To be removed on stdenv-updates
|
|
|
|
# By now this has at least the fix of setting the proper rpath when a file "libbla.so"
|
|
|
|
# is passed directly to the linker.
|
|
|
|
# This is of interest to programs built by cmake, because this is a common practice
|
|
|
|
# in cmake builds.
|
|
|
|
wrapGCC2 = wrapGCCWith (import ../build-support/gcc-wrapper/default2.nix) glibc;
|
2010-03-16 21:53:48 +00:00
|
|
|
stdenv2 = if (gcc.nativeTools) then stdenv else (overrideGCC stdenv (wrapGCC2 gcc.gcc));
|
2009-12-21 23:02:06 +00:00
|
|
|
|
2009-11-15 05:28:35 +00:00
|
|
|
wrapGCCCross =
|
|
|
|
{gcc, libc, binutils, cross, shell ? "", name ? "gcc-cross-wrapper"}:
|
2010-01-21 15:39:11 +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 (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 15:15:46 +00:00
|
|
|
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
2006-09-15 15:28:53 +00:00
|
|
|
gcc = baseGCC;
|
2006-10-24 20:53:54 +00:00
|
|
|
libc = glibc;
|
|
|
|
inherit stdenv binutils;
|
2006-06-02 10:09:19 +00:00
|
|
|
};
|
|
|
|
|
2008-03-13 01:13:53 +00:00
|
|
|
# prolog
|
|
|
|
yap = import ../development/compilers/yap {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2006-10-18 14:04:55 +00:00
|
|
|
### DEVELOPMENT / INTERPRETERS
|
|
|
|
|
2009-08-13 14:32:52 +00:00
|
|
|
acl2 = builderDefsPackage ../development/interpreters/acl2 {
|
|
|
|
inherit sbcl;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
|
|
|
clisp = import ../development/interpreters/clisp {
|
2008-06-18 22:48:34 +00:00
|
|
|
inherit fetchurl stdenv libsigsegv gettext
|
2009-05-31 06:07:25 +00: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 05:20:14 +00:00
|
|
|
inherit fetchurl stdenv gettext
|
2009-05-31 06:07:25 +00:00
|
|
|
readline ncurses coreutils pcre zlib libffi libffcall;
|
2008-08-25 13:25:07 +00:00
|
|
|
inherit (xlibs) libX11 libXau libXt xproto
|
2008-08-08 22:37:37 +00:00
|
|
|
libXpm libXext xextproto;
|
2009-08-10 05:20:14 +00:00
|
|
|
libsigsegv = libsigsegv_25;
|
2006-10-18 14:04:55 +00:00
|
|
|
};
|
|
|
|
|
2009-05-05 15:46:24 +00: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
|
|
|
};
|
|
|
|
|
2010-03-29 23:36:32 +00:00
|
|
|
groovy = import ../development/interpreters/groovy {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:04:55 +00: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 14:04:55 +00:00
|
|
|
};
|
|
|
|
|
2009-09-16 12:46:17 +00:00
|
|
|
guile_1_9 = import ../development/interpreters/guile/1.9.nix {
|
|
|
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper
|
2010-02-20 16:19:36 +00:00
|
|
|
libunistring pkgconfig boehmgc libffi;
|
2009-09-16 12:46:17 +00:00
|
|
|
};
|
|
|
|
|
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
|
2010-02-20 16:19:36 +00:00
|
|
|
libunistring pkgconfig boehmgc libffi;
|
2009-10-28 16:16:23 +00:00
|
|
|
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 19:25:22 +00:00
|
|
|
freeglut e2fsprogs libsamplerate pcre libevent libedit;
|
2008-11-11 08:53:47 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:04:55 +00: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 16:43:06 +00:00
|
|
|
inherit fetchurl stdenv ncurses readline;
|
2006-10-18 14:04:55 +00:00
|
|
|
};
|
|
|
|
|
2008-07-15 09:58:30 +00:00
|
|
|
maude = import ../development/interpreters/maude {
|
2009-07-03 11:31:33 +00:00
|
|
|
inherit fetchurl stdenv flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper;
|
2008-07-15 09:58:30 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:04:55 +00:00
|
|
|
octave = import ../development/interpreters/octave {
|
2010-03-04 16:41:14 +00:00
|
|
|
inherit stdenv fetchurl gfortran readline ncurses perl flex qhull texinfo;
|
2010-02-15 17:10:25 +00:00
|
|
|
inherit (xlibs) libX11;
|
2010-03-04 16:41:14 +00:00
|
|
|
# Needed because later gm versions require an initialization the actual octave is not
|
|
|
|
# doing.
|
|
|
|
# http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-February/015295.html
|
|
|
|
graphicsmagick = graphicsmagick137;
|
2006-10-18 14:04:55 +00:00
|
|
|
};
|
|
|
|
|
2008-12-02 22:55:45 +00:00
|
|
|
# mercurial (hg) bleeding edge version
|
|
|
|
octaveHG = import ../development/interpreters/octave/hg.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead 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 20:06:03 +00:00
|
|
|
inherit stdenv;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
#stdenv = overrideGCC stdenv gcc40;
|
2008-12-02 22:55:45 +00:00
|
|
|
};
|
|
|
|
|
2009-10-19 09:17:10 +00:00
|
|
|
perl58 = import ../development/interpreters/perl-5.8 {
|
2010-01-26 18:10:59 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
impureLibcPath = if stdenv.isLinux then null else "/usr";
|
|
|
|
};
|
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 19:05:39 +00:00
|
|
|
inherit stdenv;
|
2009-10-19 09:17:10 +00:00
|
|
|
fetchurl = fetchurlBoot;
|
2009-10-02 19:05:39 +00:00
|
|
|
};
|
|
|
|
|
2010-01-19 11:25:33 +00:00
|
|
|
perl = useFromStdenv "perl"
|
|
|
|
(if system != "i686-cygwin" then perl510 else sysPerl);
|
2009-11-05 09:11:25 +00:00
|
|
|
|
2006-10-18 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2010-01-06 17:04:38 +00:00
|
|
|
php = makeOverridable (import ../development/interpreters/php_configurable) {
|
2008-06-06 13:03:55 +00:00
|
|
|
inherit
|
2008-12-20 01:20:35 +00:00
|
|
|
stdenv fetchurl lib composableDerivation autoconf automake
|
2008-06-06 13:03:55 +00:00
|
|
|
flex bison apacheHttpd mysql libxml2 # gettext
|
2009-09-25 19:39:05 +00: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
|
|
|
|
2010-01-06 17:04:38 +00:00
|
|
|
phpXdebug = import ../development/interpreters/php-xdebug {
|
|
|
|
inherit stdenv fetchurl php autoconf automake;
|
|
|
|
};
|
|
|
|
|
2008-07-17 09:57:47 +00:00
|
|
|
pltScheme = builderDefsPackage (import ../development/interpreters/plt-scheme) {
|
2008-07-18 20:11:02 +00:00
|
|
|
inherit cairo fontconfig freetype libjpeg libpng openssl
|
2008-07-17 09:57:47 +00:00
|
|
|
perl mesa zlib which;
|
2008-07-18 20:11:02 +00:00
|
|
|
inherit (xorg) libX11 libXaw libXft libXrender libICE xproto
|
|
|
|
renderproto pixman libSM libxcb libXext xextproto libXmu
|
2008-07-17 09:57:47 +00:00
|
|
|
libXt;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-07-17 09:57:47 +00:00
|
|
|
|
2009-12-10 13:16:06 +00:00
|
|
|
polyml = import ../development/compilers/polyml {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-10-15 20:01:39 +00:00
|
|
|
python = if getConfig ["python" "full"] false then pythonFull else pythonBase;
|
|
|
|
python25 = if getConfig ["python" "full"] false then python25Full else python25Base;
|
2010-01-07 22:47:30 +00:00
|
|
|
python26 = if getConfig ["python" "full"] false then python26Full else python26Base;
|
2010-03-16 09:12:26 +00:00
|
|
|
pythonBase = python26Base;
|
|
|
|
pythonFull = python26Full;
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2008-03-17 13:45:50 +00:00
|
|
|
python24 = import ../development/interpreters/python/2.4 {
|
2008-06-06 13:03:55 +00: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 20:01:39 +00:00
|
|
|
python25Base = composedArgsAndFun (import ../development/interpreters/python/2.5) {
|
2008-04-08 07:37:49 +00:00
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
2008-03-17 13:45:50 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2008-11-04 21:24:10 +00:00
|
|
|
python25Full = python25Base.passthru.function {
|
2009-06-01 00:03:08 +00:00
|
|
|
# FIXME: We lack ncurses support, needed, e.g., for `gpsd'.
|
2008-10-22 22:08:56 +00: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 22:04:30 +00:00
|
|
|
};
|
2008-03-17 13:45:50 +00:00
|
|
|
|
2009-10-19 23:10:09 +00:00
|
|
|
python26Base = composedArgsAndFun (import ../development/interpreters/python/2.6) {
|
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
2009-10-20 12:13:49 +00: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-19 23:10:09 +00: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 14:29:17 +00: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 09:32:27 +00:00
|
|
|
};
|
2009-11-20 12:51:14 +00:00
|
|
|
#ruby19 = import ../development/interpreters/ruby/ruby-19.nix { inherit ruby18 fetchurl; };
|
2009-06-30 14:29:17 +00:00
|
|
|
ruby = ruby18;
|
2008-04-11 09:32:27 +00:00
|
|
|
|
2009-06-30 14:29:20 +00:00
|
|
|
rubyLibs = recurseIntoAttrs (import ../development/interpreters/ruby/libs.nix {
|
|
|
|
inherit pkgs stdenv;
|
|
|
|
});
|
2008-04-11 09:32:27 +00:00
|
|
|
|
2008-10-05 09:04:30 +00: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 11:24:28 +00:00
|
|
|
rLang = import ../development/interpreters/r-lang {
|
2008-08-07 08:33:03 +00:00
|
|
|
inherit fetchurl stdenv readline perl gfortran libpng zlib;
|
2008-07-23 13:40:03 +00:00
|
|
|
inherit (xorg) libX11 libXt;
|
2008-08-29 13:53:28 +00:00
|
|
|
withBioconductor = getConfig ["rLang" "withBioconductor"] false;
|
2008-05-07 11:24:28 +00:00
|
|
|
};
|
|
|
|
|
2009-06-30 16:14:37 +00:00
|
|
|
rubygemsFun = ruby: builderDefsPackage (import ../development/interpreters/ruby/gems.nix) {
|
2008-04-11 09:32:27 +00:00
|
|
|
inherit ruby makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2009-06-30 16:14:37 +00:00
|
|
|
rubygems = rubygemsFun ruby;
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2008-08-29 13:53:28 +00:00
|
|
|
rq = import ../applications/networking/cluster/rq {
|
2008-10-05 09:04:30 +00:00
|
|
|
inherit fetchurl stdenv sqlite ruby ;
|
2008-08-29 13:53:28 +00: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 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
sysPerl = import ../development/interpreters/sys-perl {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
tcl = import ../development/interpreters/tcl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
xulrunnerWrapper = {application, launcher}:
|
|
|
|
import ../development/interpreters/xulrunner/wrapper {
|
2008-09-04 09:29:09 +00:00
|
|
|
inherit stdenv application launcher;
|
2009-07-08 13:19:44 +00:00
|
|
|
xulrunner = xulrunner35;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / MISC
|
2006-10-18 14:04:55 +00: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 16:57:06 +00:00
|
|
|
gcc = gcc40;
|
2009-02-17 12:56:35 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-02-18 11:50:39 +00:00
|
|
|
avr8burnomat = import ../development/misc/avr8-burn-omat {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2006-10-18 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2009-12-11 13:58:23 +00:00
|
|
|
sourceFromHead = import ../build-support/source-from-head-fun.nix {
|
|
|
|
inherit getConfig;
|
2008-03-09 00:08:45 +00:00
|
|
|
};
|
2008-03-06 02:46:29 +00:00
|
|
|
|
2010-03-01 16:20:47 +00:00
|
|
|
ecj = makeOverridable (import ../development/eclipse/ecj) {
|
2009-09-22 14:40:54 +00:00
|
|
|
inherit fetchurl stdenv unzip ant gcj;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2010-03-01 16:20:47 +00:00
|
|
|
ecjDarwin = ecj.override { gcj = openjdkDarwin; ant = antDarwin; };
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jdtsdk = import ../development/eclipse/jdt-sdk {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-06-26 16:52:58 +00:00
|
|
|
jruby116 = import ../development/interpreters/jruby {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-05 22:21:24 +00:00
|
|
|
guileCairo = import ../development/guile-modules/guile-cairo {
|
|
|
|
inherit fetchurl stdenv guile pkgconfig cairo guileLib;
|
|
|
|
};
|
|
|
|
|
2009-10-05 22:21:50 +00: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 06:29:21 +00:00
|
|
|
windowssdk = (
|
2009-08-25 06:36:05 +00:00
|
|
|
import ../development/misc/windows-sdk {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
});
|
2006-10-18 14:04:55 +00:00
|
|
|
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / TOOLS
|
2006-10-18 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
antlr3 = import ../development/tools/parsing/antlr {
|
|
|
|
inherit fetchurl stdenv jre;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-10-02 12:27:24 +00:00
|
|
|
antDarwin = apacheAnt.override rec { jdk = openjdkDarwin ; name = "ant-" + jdk.name ; } ;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ant = apacheAnt;
|
2009-07-27 16:05:34 +00: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 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2009-09-24 14:49:15 +00: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 21:29:17 +00:00
|
|
|
autobuild = import ../development/tools/misc/autobuild {
|
|
|
|
inherit fetchurl stdenv makeWrapper perl openssh rsync;
|
|
|
|
};
|
|
|
|
|
2008-07-01 08:31:48 +00:00
|
|
|
autoconf = import ../development/tools/misc/autoconf {
|
2009-07-28 19:43:40 +00:00
|
|
|
inherit fetchurl stdenv perl m4;
|
2008-06-16 13:15:55 +00: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 18:13:59 +00:00
|
|
|
automake = automake110x;
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
automake17x = import ../development/tools/misc/automake/automake-1.7.x.nix {
|
2009-04-05 18:13:59 +00:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
automake19x = import ../development/tools/misc/automake/automake-1.9.x.nix {
|
2009-04-05 18:13:59 +00: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 18:13:59 +00:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2008-02-12 14:00:26 +00:00
|
|
|
};
|
|
|
|
|
2009-05-20 12:20:51 +00: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 12:10:57 +00: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 14:04:55 +00:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
binutilsCross = forceBuildDrv (import ../development/tools/misc/binutils {
|
|
|
|
inherit stdenv fetchurl;
|
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;
|
2010-03-07 00:05:51 +00:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
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 13:25:07 +00:00
|
|
|
bison = bison23;
|
2006-10-18 14:04:55 +00: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 14:04:55 +00: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 14:04:55 +00: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 15:11:09 +00:00
|
|
|
buildbot = import ../development/tools/build-managers/buildbot {
|
2010-01-11 17:00:46 +00:00
|
|
|
inherit fetchurl stdenv buildPythonPackage texinfo;
|
|
|
|
inherit (pythonPackages) twisted;
|
2008-09-01 15:11:09 +00:00
|
|
|
};
|
|
|
|
|
2008-08-06 20:39:01 +00: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-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv automake autoconf;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-05-06 16:06:45 +00: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 14:04:55 +00: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 22:31:37 +00:00
|
|
|
|
2009-12-12 00:47:14 +00:00
|
|
|
coccinelle = import ../development/tools/misc/coccinelle {
|
|
|
|
inherit fetchurl stdenv perl python ocaml ncurses makeWrapper;
|
|
|
|
};
|
|
|
|
|
2010-03-04 11:10:44 +00:00
|
|
|
cppi = import ../development/tools/misc/cppi {
|
|
|
|
inherit fetchurl stdenv xz;
|
|
|
|
};
|
|
|
|
|
2008-04-27 18:20:57 +00: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 15:34:14 +00:00
|
|
|
cscope = import ../development/tools/misc/cscope {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig emacs;
|
|
|
|
};
|
|
|
|
|
2008-04-14 11:47:26 +00:00
|
|
|
dejagnu = import ../development/tools/misc/dejagnu {
|
|
|
|
inherit fetchurl stdenv expect makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-07-10 16:56:51 +00:00
|
|
|
ddd = import ../development/tools/misc/ddd {
|
|
|
|
inherit fetchurl stdenv lesstif ncurses;
|
2008-07-23 13:40:03 +00:00
|
|
|
inherit (xlibs) libX11 libXt;
|
2008-07-10 16:56:51 +00:00
|
|
|
};
|
|
|
|
|
2009-10-20 11:54:49 +00:00
|
|
|
distcc = import ../development/tools/misc/distcc {
|
2010-01-21 15:40:43 +00:00
|
|
|
inherit fetchurl stdenv popt;
|
|
|
|
python = if getPkgConfig "distcc" "python" true then python else null;
|
2009-10-29 11:58:07 +00:00
|
|
|
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;
|
2010-01-21 15:40:43 +00:00
|
|
|
static = getPkgConfig "distcc" "static" false;
|
2009-10-20 11:54:49 +00:00
|
|
|
};
|
|
|
|
|
2009-04-12 19:34:20 +00:00
|
|
|
docutils = builderDefsPackage (import ../development/tools/documentation/docutils) {
|
|
|
|
inherit python pil makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-10-23 14:23:12 +00: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 14:23:12 +00:00
|
|
|
};
|
|
|
|
|
2009-08-13 07:55:11 +00: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 07:55:11 +00: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 15:00:33 +00: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 12:51:51 +00: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 14:04:55 +00: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 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
m4 = gnum4;
|
2006-12-13 22:29:40 +00:00
|
|
|
|
2009-07-13 09:05:56 +00: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 14:04:55 +00:00
|
|
|
|
2009-01-19 18:49:58 +00:00
|
|
|
gnumake = useFromStdenv "gnumake"
|
|
|
|
(import ../development/tools/build-managers/gnumake {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2008-10-13 09:04:56 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gnumake380 = import ../development/tools/build-managers/gnumake-3.80 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2010-03-29 23:36:35 +00:00
|
|
|
gradle = import ../development/tools/build-managers/gradle {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gperf = import ../development/tools/misc/gperf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-04-21 19:47:30 +00:00
|
|
|
gtkdialog = import ../development/tools/misc/gtkdialog {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-01-19 17:05:54 +00:00
|
|
|
};
|
|
|
|
|
2008-02-15 16:30:33 +00:00
|
|
|
guileLint = import ../development/tools/guile/guile-lint {
|
|
|
|
inherit fetchurl stdenv guile;
|
|
|
|
};
|
|
|
|
|
2008-04-09 07:56:52 +00: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 07:56:52 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
help2man = import ../development/tools/misc/help2man {
|
2009-04-20 12:08:09 +00:00
|
|
|
inherit fetchurl stdenv perl gettext;
|
2009-04-20 12:49:35 +00:00
|
|
|
inherit (perlPackages) LocaleGettext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
iconnamingutils = import ../development/tools/misc/icon-naming-utils {
|
2009-04-20 12:08:09 +00:00
|
|
|
inherit fetchurl stdenv perl;
|
2009-04-20 12:49:35 +00: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
|
|
|
|
2010-01-15 19:35:02 +00:00
|
|
|
inotifyTools = import ../development/tools/misc/inotify-tools {
|
2010-01-16 15:12:33 +00:00
|
|
|
inherit fetchurl stdenv lib;
|
2010-01-15 19:35:02 +00:00
|
|
|
};
|
|
|
|
|
2010-03-09 18:14:59 +00:00
|
|
|
ired = import ../development/tools/analysis/radare/ired.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
jikespg = import ../development/tools/parsing/jikespg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2009-03-30 15:31:47 +00: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 14:04:55 +00:00
|
|
|
|
2009-03-30 15:31:47 +00: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 22:44:30 +00: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 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
noweb = import ../development/tools/literate-programming/noweb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-09-20 16:43:16 +00:00
|
|
|
openocd = import ../development/tools/misc/openocd {
|
2009-09-24 21:28:27 +00:00
|
|
|
inherit fetchurl stdenv libftdi;
|
2009-09-20 16:43:16 +00:00
|
|
|
};
|
|
|
|
|
2008-06-04 21:23:30 +00: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 14:04:55 +00:00
|
|
|
|
2008-06-06 12:26:01 +00: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 14:04:55 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
});
|
2006-10-18 14:04:55 +00: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 19:47:51 +00:00
|
|
|
radare = import ../development/tools/analysis/radare {
|
|
|
|
inherit stdenv fetchurl pkgconfig libusb readline gtkdialog python
|
2009-04-21 21:31:08 +00:00
|
|
|
ruby libewf perl;
|
2009-04-21 19:47:51 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) vte;
|
|
|
|
lua = lua5;
|
2009-09-20 09:33:37 +00:00
|
|
|
useX11 = getConfig ["radare" "useX11"] false;
|
|
|
|
pythonBindings = getConfig ["radare" "pythonBindings"] false;
|
|
|
|
rubyBindings = getConfig ["radare" "rubyBindings"] false;
|
|
|
|
luaBindings = getConfig ["radare" "luaBindings"] false;
|
2009-04-21 19:47:51 +00:00
|
|
|
};
|
|
|
|
|
2009-01-27 14:00:54 +00:00
|
|
|
ragel = import ../development/tools/parsing/ragel {
|
|
|
|
inherit composableDerivation fetchurl transfig texLive;
|
|
|
|
};
|
|
|
|
|
2009-10-11 15:03:13 +00: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 15:11:09 +00:00
|
|
|
scons = import ../development/tools/build-managers/scons {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-02-17 10:11:33 +00:00
|
|
|
sloccount = import ../development/tools/misc/sloccount {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-08-22 18:33:52 +00:00
|
|
|
sparse = import ../development/tools/analysis/sparse {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-05-03 14:35:43 +00:00
|
|
|
spin = import ../development/tools/analysis/spin {
|
|
|
|
inherit fetchurl stdenv flex yacc tk;
|
|
|
|
};
|
|
|
|
|
2008-07-11 09:13:34 +00: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 11:49:21 +00:00
|
|
|
inherit fetchurl stdenv boost;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-09-22 11:59:41 +00:00
|
|
|
swigWithJava = swig;
|
|
|
|
|
2008-10-16 11:01:10 +00: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 21:21:39 +00: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 16:57:42 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
uisp = import ../development/tools/misc/uisp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00: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 14:04:55 +00:00
|
|
|
|
2009-12-02 20:54:40 +00:00
|
|
|
gdbCross = import ../development/tools/misc/gdb {
|
|
|
|
inherit fetchurl stdenv ncurses gmp mpfr expat texinfo;
|
|
|
|
readline = readline5;
|
|
|
|
target = crossSystem;
|
|
|
|
};
|
|
|
|
|
2008-02-26 14:15:37 +00:00
|
|
|
valgrind = import ../development/tools/analysis/valgrind {
|
2010-01-19 22:27:07 +00:00
|
|
|
inherit fetchurl stdenv perl gdb autoconf automake;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
xxdiff = builderDefsPackage (import ../development/tools/misc/xxdiff/3.2.nix) {
|
2008-05-25 20:43:56 +00:00
|
|
|
flex = flex2535;
|
|
|
|
qt = qt3;
|
2008-09-24 08:50:32 +00:00
|
|
|
inherit pkgconfig makeWrapper bison python;
|
2008-05-25 20:43:56 +00:00
|
|
|
inherit (xlibs) libXext libX11;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-25 20:43:56 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
yacc = bison;
|
2007-09-03 12:10:57 +00:00
|
|
|
|
2008-12-22 18:36:02 +00:00
|
|
|
yodl = import ../development/tools/misc/yodl {
|
|
|
|
inherit stdenv fetchurl perl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / LIBRARIES
|
2007-02-22 16:07:51 +00:00
|
|
|
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
a52dec = import ../development/libraries/a52dec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
aalib = import ../development/libraries/aalib {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-06-02 09:56:10 +00:00
|
|
|
|
2008-05-19 15:12:03 +00:00
|
|
|
acl = useFromStdenv "acl"
|
|
|
|
(import ../development/libraries/acl {
|
2009-03-30 15:55:10 +00:00
|
|
|
inherit stdenv fetchurl gettext attr libtool;
|
2008-05-19 15:12:03 +00: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 22:48:34 +00: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 12:37:09 +00: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 21:31:34 +00:00
|
|
|
amrnb = import ../development/libraries/amrnb {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
amrwb = import ../development/libraries/amrwb {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-08-28 16:45:56 +00:00
|
|
|
apr = makeOverridable (import ../development/libraries/apr) {
|
2009-08-31 15:03:31 +00:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-28 16:45:56 +00:00
|
|
|
aprutil = makeOverridable (import ../development/libraries/apr-util) {
|
2009-08-31 15:03:31 +00: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
|
|
|
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 17:07:23 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-03-20 16:49:02 +00:00
|
|
|
});
|
2005-11-22 12:05:36 +00:00
|
|
|
|
2009-08-28 16:45:56 +00:00
|
|
|
aterm25 = makeOverridable (import ../development/libraries/aterm/2.5.nix) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-06-02 09:56:10 +00: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 09:23:18 +00:00
|
|
|
attr = useFromStdenv "attr"
|
2008-05-19 15:12:03 +00:00
|
|
|
(import ../development/libraries/attr {
|
2009-03-30 15:55:10 +00:00
|
|
|
inherit stdenv fetchurl gettext libtool;
|
2008-05-19 15:12:03 +00:00
|
|
|
});
|
2004-01-24 22:50:47 +00:00
|
|
|
|
2009-09-21 09:58:38 +00:00
|
|
|
aubio = import ../development/libraries/aubio {
|
2009-10-14 15:32:37 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig fftw libsndfile libsamplerate python
|
2009-09-21 09:58:38 +00:00
|
|
|
alsaLib jackaudio;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
axis = import ../development/libraries/axis {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-04 15:11:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
babl = import ../development/libraries/babl {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-05-04 23:36:28 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
beecrypt = import ../development/libraries/beecrypt {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-04-26 14:47:16 +00: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 16:57:50 +00:00
|
|
|
boolstuff = import ../development/libraries/boolstuff {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-04-03 23:54:20 +00:00
|
|
|
boost_1_36_0 = import ../development/libraries/boost/1.36.0.nix {
|
|
|
|
inherit fetchurl stdenv icu expat zlib bzip2 python;
|
|
|
|
};
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2010-04-09 15:40:18 +00:00
|
|
|
boost = makeOverridable (import ../development/libraries/boost/1.42.0.nix) {
|
2008-08-25 10:00:46 +00: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 08:43:46 +00: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 09:58:30 +00:00
|
|
|
buddy = import ../development/libraries/buddy {
|
2009-07-02 17:06:01 +00:00
|
|
|
inherit fetchurl stdenv bison;
|
2008-07-15 09:58:30 +00:00
|
|
|
};
|
|
|
|
|
2010-03-04 14:44:56 +00:00
|
|
|
cairo = makeOverridable (import ../development/libraries/cairo) {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng;
|
2008-10-14 14:46:56 +00:00
|
|
|
inherit (xlibs) pixman libxcb xcbutil;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-10-18 14:04:55 +00: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
|
|
|
};
|
|
|
|
|
2010-01-12 19:22:22 +00:00
|
|
|
scmccid = import ../development/libraries/scmccid {
|
|
|
|
inherit fetchurl stdenv libusb patchelf;
|
|
|
|
};
|
|
|
|
|
2009-09-20 17:01:19 +00: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 14:22:24 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cil = import ../development/libraries/cil {
|
|
|
|
inherit stdenv fetchurl ocaml perl;
|
|
|
|
};
|
2007-10-23 16:33:11 +00: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
|
|
|
|
2010-01-27 12:12:35 +00:00
|
|
|
classads = import ../development/libraries/classads {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-31 09:59:45 +00: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 05:54:09 +00:00
|
|
|
clppcre = builderDefsPackage (import ../development/libraries/cl-ppcre) {
|
|
|
|
};
|
2008-08-25 13:25:07 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cluceneCore = (import ../development/libraries/clucene-core) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2009-09-20 17:01:19 +00:00
|
|
|
commoncpp2 = import ../development/libraries/commoncpp2 {
|
2010-04-13 08:56:14 +00:00
|
|
|
inherit stdenv fetchurl;
|
2009-09-20 17:01:19 +00:00
|
|
|
};
|
|
|
|
|
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 15:35:57 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ctl = import ../development/libraries/ctl {
|
|
|
|
inherit fetchurl stdenv ilmbase;
|
|
|
|
};
|
2004-08-23 10:44:21 +00: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 22:39:06 +00: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 14:26:03 +00:00
|
|
|
cryptopp = import ../development/libraries/crypto++ {
|
2009-09-16 14:35:38 +00:00
|
|
|
inherit fetchurl stdenv unzip libtool;
|
2008-07-29 14:26:03 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
cyrus_sasl = import ../development/libraries/cyrus-sasl {
|
2009-12-19 09:09:39 +00:00
|
|
|
inherit stdenv fetchurl 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 18:22:46 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
db44 = import ../development/libraries/db4/db4-4.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-23 17:06:50 +00: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;
|
2010-02-03 20:20:00 +00:00
|
|
|
libiconv = if (stdenv.system == "i686-freebsd") then libiconv else null;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2010-01-02 13:28:51 +00:00
|
|
|
dbus_java = import ../development/libraries/java/dbus-java {
|
|
|
|
inherit stdenv fetchurl gettext jdk libmatthew_java;
|
|
|
|
};
|
|
|
|
|
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 15:39:54 +00: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
|
|
|
|
2010-01-09 22:22:41 +00:00
|
|
|
enginepkcs11 = import ../development/libraries/enginepkcs11 {
|
|
|
|
inherit fetchurl stdenv libp11 pkgconfig openssl;
|
|
|
|
};
|
|
|
|
|
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 13:54:42 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
expat = import ../development/libraries/expat {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-10 11:07:50 +00: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
|
2010-04-11 21:03:59 +00:00
|
|
|
libpng gettext intltool;
|
2009-02-21 18:59:15 +00:00
|
|
|
inherit (xlibs) libX11 xproto libXi inputproto
|
2010-04-11 21:03:59 +00:00
|
|
|
libXmu libXext xextproto libXt libSM libICE;
|
2009-02-21 18:59:15 +00:00
|
|
|
};
|
|
|
|
|
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 15:21:45 +00: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 14:01:38 +00: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 14:01:38 +00:00
|
|
|
};
|
|
|
|
|
2009-12-27 15:27:45 +00:00
|
|
|
farsight2 = import ../development/libraries/farsight2 {
|
|
|
|
inherit fetchurl stdenv libnice pkgconfig python;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
inherit (gst_all) gstreamer gstPluginsBase;
|
|
|
|
};
|
|
|
|
|
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 {
|
2010-04-14 09:45:22 +00:00
|
|
|
inherit fetchurl stdenv faad2 libvorbis speex libtheora;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
fftw = import ../development/libraries/fftw {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
2008-10-14 13:59:56 +00:00
|
|
|
singlePrecision = false;
|
|
|
|
};
|
2009-03-10 12:01:22 +00:00
|
|
|
|
2008-10-14 13:59:56 +00:00
|
|
|
fftwSinglePrec = import ../development/libraries/fftw {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
|
|
|
singlePrecision = true;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-10-01 15:11:38 +00:00
|
|
|
|
2009-04-02 15:20:19 +00:00
|
|
|
fltk11 = (import ../development/libraries/fltk/fltk11.nix) {
|
|
|
|
inherit composableDerivation x11 lib pkgconfig freeglut;
|
2010-01-13 12:43:17 +00:00
|
|
|
inherit fetchurl stdenv mesa libpng libjpeg zlib ;
|
2009-04-02 15:20:19 +00:00
|
|
|
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;
|
2010-01-13 12:43:17 +00:00
|
|
|
inherit fetchurl stdenv mesa 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 12:58:13 +00: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 14:48:57 +00: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 15:28:53 +00:00
|
|
|
|
2008-07-03 14:27:19 +00: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 19:40:22 +00:00
|
|
|
|
2009-04-20 22:06:12 +00: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 11:26:26 +00: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 16:06:36 +00:00
|
|
|
inherit fetchurl SDL SDL_image SDL_mixer SDL_net;
|
|
|
|
stdenv = overrideGCC stdenv gcc41;
|
2009-02-09 22:44:36 +00:00
|
|
|
};
|
|
|
|
|
2008-04-06 23:18:25 +00: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 20:57:09 +00: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-09 23:21:39 +00:00
|
|
|
inherit (gtkLibs) pango glib gtk;
|
2008-04-04 20:57:09 +00:00
|
|
|
};
|
|
|
|
|
2009-08-26 11:13:36 +00: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-21 23:18:09 +00:00
|
|
|
gettext = import ../development/libraries/gettext {
|
2009-09-19 22:03:24 +00: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 06:00:23 +00:00
|
|
|
name = "gdal-1.6.1-rc1";
|
2007-12-30 22:02:04 +00:00
|
|
|
src = fetchurl {
|
2009-05-11 06:00:23 +00: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 20:27:15 +00:00
|
|
|
|
2009-09-02 22:56:33 +00: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-11-30 01:05:02 +00:00
|
|
|
glefw = import ../development/libraries/glefw {
|
|
|
|
inherit fetchurl stdenv lib mesa;
|
|
|
|
inherit (xlibs) libX11 libXext xextproto;
|
|
|
|
};
|
|
|
|
|
2009-10-02 12:45:08 +00:00
|
|
|
glibc =
|
|
|
|
let haveRedHatKernel = system == "i686-linux" || system == "x86_64-linux";
|
|
|
|
haveBrokenRedHatKernel = haveRedHatKernel && getConfig ["brokenRedHatKernel"] false;
|
|
|
|
in
|
2009-11-28 12:57:42 +00:00
|
|
|
useFromStdenv "glibc" (if haveBrokenRedHatKernel then glibc25 else
|
2009-12-01 21:33:11 +00:00
|
|
|
glibc211);
|
2009-06-24 20:10:51 +00:00
|
|
|
|
|
|
|
glibc25 = import ../development/libraries/glibc-2.5 {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-06-24 20:10:51 +00:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-10-07 16:55:20 +00:00
|
|
|
glibc27 = import ../development/libraries/glibc-2.7 {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2008-10-07 16:55:20 +00:00
|
|
|
#installLocales = false;
|
|
|
|
};
|
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
glibc29 = makeOverridable (import ../development/libraries/glibc-2.9) {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-04-19 16:07:00 +00:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
2008-10-07 16:55:20 +00:00
|
|
|
};
|
2008-07-07 23:11:53 +00:00
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
glibc29Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.9) {
|
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
|
|
|
inherit stdenv fetchurl;
|
2010-03-06 23:36:55 +00:00
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
kernelHeaders = linuxHeadersCross;
|
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
|
|
|
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-19 23:28:45 +00:00
|
|
|
glibc211 = makeOverridable (import ../development/libraries/glibc-2.11) {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-11-19 23:28:45 +00:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
|
|
|
|
2010-03-06 23:36:55 +00:00
|
|
|
glibc211Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.11) {
|
2009-12-01 21:33:11 +00:00
|
|
|
inherit stdenv fetchurl;
|
2010-03-06 23:36:55 +00:00
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
kernelHeaders = linuxHeadersCross;
|
2009-11-20 08:27:59 +00:00
|
|
|
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
|
|
|
|
2010-03-09 15:48:25 +00:00
|
|
|
glibcCross = glibc211Cross;
|
|
|
|
|
2009-12-04 13:35:58 +00:00
|
|
|
# We can choose:
|
2010-03-09 15:48:25 +00:00
|
|
|
libcCrossChooser = name : if (name == "glibc") then glibcCross
|
|
|
|
else if (name == "uclibc") then uclibcCross
|
|
|
|
else throw "Unknown libc";
|
|
|
|
|
2010-03-09 18:05:33 +00:00
|
|
|
libcCross = assert crossSystem != null; libcCrossChooser crossSystem.libc;
|
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 {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-11-08 00:32:12 +00:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
|
|
|
|
2009-12-01 21:44:41 +00:00
|
|
|
glibcLocales = makeOverridable (import ../development/libraries/glibc-2.11/locales.nix) {
|
2009-04-19 15:28:37 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-22 16:04:01 +00:00
|
|
|
glibcInfo = import ../development/libraries/glibc-2.11/info.nix {
|
2009-10-18 15:15:39 +00:00
|
|
|
inherit fetchurl stdenv texinfo perl;
|
|
|
|
};
|
|
|
|
|
2008-06-27 18:26:19 +00:00
|
|
|
glibc_multi =
|
2009-08-25 05:46:48 +00: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 06:29:21 +00:00
|
|
|
;
|
2008-06-27 18:26:19 +00: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 15:20:49 +00:00
|
|
|
gmm = import ../development/libraries/gmm {
|
|
|
|
inherit fetchurl stdenv;
|
2008-06-18 22:48:34 +00:00
|
|
|
};
|
2008-04-21 15:20:49 +00:00
|
|
|
|
2010-03-16 12:13:40 +00:00
|
|
|
gmp =
|
2010-02-08 13:58:25 +00:00
|
|
|
if stdenv.system == "i686-darwin" then
|
2010-02-08 17:46:34 +00:00
|
|
|
# GMP 4.3.2 is broken on Darwin, so use 4.3.1.
|
|
|
|
makeOverridable (import ../development/libraries/gmp/4.3.1.nix) {
|
2010-02-08 13:58:25 +00:00
|
|
|
inherit stdenv fetchurl m4;
|
|
|
|
cxx = false;
|
|
|
|
}
|
2010-03-16 12:13:40 +00:00
|
|
|
else
|
2010-02-08 13:58:25 +00:00
|
|
|
makeOverridable (import ../development/libraries/gmp) {
|
|
|
|
inherit stdenv fetchurl m4;
|
|
|
|
cxx = false;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2010-01-19 17:44:59 +00:00
|
|
|
gmpxx = gmp.override { cxx = true; };
|
2009-07-03 11:31:28 +00:00
|
|
|
|
2009-09-30 13:11:13 +00: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-12-15 07:47:45 +00:00
|
|
|
dbus libavc1394 ladspaH taglib pulseaudio gdbm bzip2 which makeOverridable
|
2009-12-15 09:37:42 +00:00
|
|
|
libcap libtasn1;
|
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
|
2010-04-11 21:03:59 +00:00
|
|
|
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 18:43:48 +00: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
|
|
|
|
2010-01-27 12:12:35 +00:00
|
|
|
gsoap = import ../development/libraries/gsoap {
|
|
|
|
inherit fetchurl stdenv m4 bison flex openssl zlib;
|
|
|
|
};
|
|
|
|
|
2009-10-19 12:50:41 +00: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 10:19:15 +00: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;
|
2010-02-03 16:12:19 +00:00
|
|
|
libiconv = if (stdenv.system == "i686-freebsd") then libiconv else null;
|
2009-10-29 10:53:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 13:49:41 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
gtksharp = gtksharp2;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gtksharp1 = import ../development/libraries/gtk-sharp-1 {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
2008-06-18 22:48:34 +00: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 22:48:34 +00: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 15:12:41 +00:00
|
|
|
|
2009-11-05 18:46:46 +00:00
|
|
|
hwloc = import ../development/libraries/hwloc {
|
|
|
|
inherit fetchurl stdenv pkgconfig cairo expat;
|
|
|
|
};
|
|
|
|
|
2010-03-02 15:37:04 +00:00
|
|
|
hydraAntLogger = import ../development/libraries/java/hydra-ant-logger {
|
|
|
|
inherit fetchsvn stdenv ant;
|
|
|
|
};
|
|
|
|
|
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 00:51:40 +00: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 12:12:58 +00:00
|
|
|
intltool = gnome.intltool;
|
2007-09-03 12:10:57 +00:00
|
|
|
|
2009-04-17 14:58:26 +00:00
|
|
|
isocodes = import ../development/libraries/iso-codes {
|
|
|
|
inherit stdenv fetchurl gettext python;
|
|
|
|
};
|
2009-05-18 13:53:01 +00:00
|
|
|
|
2010-03-01 23:31:35 +00:00
|
|
|
itk = import ../development/libraries/itk {
|
|
|
|
inherit stdenv fetchurl cmake libuuid;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
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 10:18:36 +00: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 06:12:18 +00:00
|
|
|
inherit (gnome) libgnomecanvas;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-05-09 15:56:34 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lcms = import ../development/libraries/lcms {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-14 21:47:11 +00: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 13:47:35 +00:00
|
|
|
|
2008-10-06 15:11:36 +00:00
|
|
|
lesstif93 = import ../development/libraries/lesstif-0.93 {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXp libXau;
|
|
|
|
};
|
|
|
|
|
2010-01-21 14:39:53 +00:00
|
|
|
levmar = import ../development/libraries/levmar {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-08 03:56:32 +00:00
|
|
|
lib3ds = import ../development/libraries/lib3ds {
|
|
|
|
inherit fetchurl stdenv unzip;
|
2008-06-18 22:48:34 +00:00
|
|
|
};
|
2008-06-08 03:56:32 +00: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 21:59:12 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig pulseaudio;
|
2010-02-15 17:10:35 +00:00
|
|
|
usePulseAudio = getConfig [ "pulseaudio" ] true;
|
2008-02-11 21:02:38 +00:00
|
|
|
};
|
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
libarchive = import ../development/libraries/libarchive {
|
2010-04-01 18:50:43 +00:00
|
|
|
inherit fetchurl stdenv acl zlib bzip2 e2fsprogs xz sharutils libxml2
|
|
|
|
openssl attr;
|
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 {
|
2010-03-03 14:27:17 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libtool alsaLib pulseaudio
|
|
|
|
libvorbis libcap;
|
2009-04-16 14:23:38 +00: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 11:31:16 +00:00
|
|
|
inherit fetchurl stdenv libcddb pkgconfig ncurses help2man;
|
2008-03-05 09:10:23 +00:00
|
|
|
};
|
|
|
|
|
2009-04-20 22:06:12 +00: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 18:26:13 +00: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 21:05:39 +00: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 09:38:52 +00: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 22:04:30 +00: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 16:20:14 +00: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 14:04:55 +00: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 17:55:13 +00:00
|
|
|
|
2009-04-16 19:25:22 +00:00
|
|
|
libedit = import ../development/libraries/libedit {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-09-21 09:58:27 +00:00
|
|
|
liblo = import ../development/libraries/liblo {
|
2009-10-28 14:06:56 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-09-21 09:58:27 +00:00
|
|
|
};
|
|
|
|
|
2009-08-27 07:17:57 +00: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 19:47:41 +00: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
|
|
|
|
2010-01-05 11:16:30 +00:00
|
|
|
libextractor = import ../development/libraries/libextractor {
|
|
|
|
inherit fetchurl stdenv libtool gettext zlib bzip2 flac libvorbis
|
|
|
|
exiv2 ffmpeg libgsf glib rpm pkgconfig;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
libmpeg2 = mpeg2dec;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-03-14 18:20:21 +00:00
|
|
|
|
2009-05-31 06:07:25 +00:00
|
|
|
libffcall = builderDefsPackage (import ../development/libraries/libffcall) {
|
|
|
|
inherit fetchcvs;
|
|
|
|
};
|
|
|
|
|
2008-04-09 07:40:48 +00:00
|
|
|
libffi = import ../development/libraries/libffi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-24 21:28:27 +00: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 15:28:53 +00: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 15:41:00 +00: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 15:41:00 +00:00
|
|
|
};
|
|
|
|
|
2009-09-13 08:54:44 +00:00
|
|
|
libharu = import ../development/libraries/libharu {
|
2009-09-22 20:16:38 +00:00
|
|
|
inherit fetchurl stdenv lib zlib libpng;
|
2009-09-13 08:54:44 +00: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
|
|
|
|
2010-04-06 10:50:52 +00:00
|
|
|
libiodbc = makeOverridable (import ../development/libraries/libiodbc) {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
useGTK = getPkgConfig "libiodbc" "gtk" false;
|
|
|
|
};
|
2010-04-03 09:53:38 +00:00
|
|
|
|
2009-12-27 14:22:00 +00:00
|
|
|
libnice = import ../development/libraries/libnice {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2008-06-08 03:56:32 +00: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 19:43:11 +00: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 13:11:09 +00: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 22:03:24 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-01-17 00:46:57 +00:00
|
|
|
libiptcdata = import ../development/libraries/libiptcdata {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 13:26:14 +00:00
|
|
|
libjpeg = makeOverridable (import ../development/libraries/libjpeg) {
|
2009-03-21 21:04:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-11-22 22:32:18 +00:00
|
|
|
|
2010-01-04 07:47:32 +00:00
|
|
|
libjpeg62 = makeOverridable (import ../development/libraries/libjpeg/62.nix) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
libtool = libtool_1_5;
|
|
|
|
};
|
|
|
|
|
2009-04-23 13:26:14 +00:00
|
|
|
libjpegStatic = lowPrio (appendToName "static" (libjpeg.override {
|
2010-01-26 10:56:21 +00:00
|
|
|
stdenv = enableStaticLibraries stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
}));
|
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 21:10:31 +00:00
|
|
|
|
2010-01-02 13:28:51 +00:00
|
|
|
libmatthew_java = import ../development/libraries/java/libmatthew-java {
|
|
|
|
inherit stdenv fetchurl jdk;
|
|
|
|
};
|
|
|
|
|
2008-03-03 10:55:20 +00:00
|
|
|
libmcs = import ../development/libraries/libmcs {
|
|
|
|
inherit fetchurl stdenv pkgconfig libmowgli;
|
|
|
|
};
|
|
|
|
|
2008-05-11 11:46:48 +00:00
|
|
|
libmicrohttpd = import ../development/libraries/libmicrohttpd {
|
|
|
|
inherit fetchurl stdenv curl;
|
|
|
|
};
|
|
|
|
|
2010-02-09 10:32:55 +00:00
|
|
|
libmilter = import ../development/libraries/libmilter {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
|
|
|
|
2008-03-03 10:55:20 +00:00
|
|
|
libmowgli = import ../development/libraries/libmowgli {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-13 08:54:41 +00: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 21:10:31 +00: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
|
|
|
|
2010-01-09 18:06:37 +00:00
|
|
|
libmusclecard = import ../development/libraries/libmusclecard {
|
|
|
|
inherit fetchurl stdenv pkgconfig pcsclite;
|
|
|
|
};
|
|
|
|
|
2010-02-15 15:55:39 +00:00
|
|
|
libnih = import ../development/libraries/libnih {
|
|
|
|
inherit fetchurl stdenv pkgconfig dbus expat;
|
|
|
|
};
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2010-01-26 22:04:54 +00:00
|
|
|
libofx = import ../development/libraries/libofx {
|
|
|
|
inherit fetchurl stdenv opensp pkgconfig libxml2 curl;
|
|
|
|
};
|
|
|
|
|
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 14:22:24 +00:00
|
|
|
|
2010-01-09 22:22:41 +00:00
|
|
|
libp11 = import ../development/libraries/libp11 {
|
|
|
|
inherit fetchurl stdenv libtool openssl pkgconfig;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libpcap = import ../development/libraries/libpcap {
|
|
|
|
inherit fetchurl stdenv flex bison;
|
|
|
|
};
|
2007-09-06 15:56:39 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libpng = import ../development/libraries/libpng {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2007-08-08 13:20:18 +00:00
|
|
|
|
2009-06-03 12:28:25 +00:00
|
|
|
libproxy = import ../development/libraries/libproxy {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-06-25 13:37:59 +00:00
|
|
|
|
2009-04-22 21:33:24 +00:00
|
|
|
libpseudo = import ../development/libraries/libpseudo {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses glib;
|
2009-04-22 21:33:24 +00:00
|
|
|
};
|
|
|
|
|
2010-02-04 13:42:41 +00:00
|
|
|
librsync = import ../development/libraries/librsync {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
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 22:24:05 +00: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 05:20:14 +00:00
|
|
|
# To bootstrap SBCL, I need CLisp 2.44.1; it needs libsigsegv 2.5
|
2009-08-10 05:50:42 +00:00
|
|
|
libsigsegv_25 = import ../development/libraries/libsigsegv/2.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
2009-08-10 05:20:14 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libsndfile = import ../development/libraries/libsndfile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-11-05 08:32:20 +00:00
|
|
|
|
2010-02-14 21:56:35 +00:00
|
|
|
libssh = import ../development/libraries/libssh {
|
|
|
|
inherit stdenv fetchurl cmake zlib openssl;
|
|
|
|
};
|
2010-03-04 14:44:56 +00:00
|
|
|
|
|
|
|
libstartup_notification = import ../development/libraries/startup-notification {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libxcb xcbutil;
|
|
|
|
};
|
2010-03-16 12:13:40 +00:00
|
|
|
|
2008-05-20 14:25:09 +00: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 08:21:31 +00:00
|
|
|
|
2008-08-12 19:57:35 +00:00
|
|
|
libtommath = import ../development/libraries/libtommath {
|
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
};
|
|
|
|
|
2009-06-27 21:44:47 +00:00
|
|
|
libunistring = import ../development/libraries/libunistring {
|
2009-09-19 22:17:11 +00:00
|
|
|
inherit fetchurl stdenv libiconv;
|
2009-06-27 21:44:47 +00:00
|
|
|
};
|
|
|
|
|
2008-10-08 20:03:35 +00:00
|
|
|
libupnp = import ../development/libraries/pupnp {
|
2008-10-07 21:18:01 +00: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 14:04:55 +00:00
|
|
|
|
2008-01-28 19:45:30 +00:00
|
|
|
libunwind = import ../development/libraries/libunwind {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-03-03 10:37:38 +00:00
|
|
|
libv4l = import ../development/libraries/libv4l {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2010-01-27 12:12:35 +00:00
|
|
|
libvirt = import ../development/libraries/libvirt {
|
|
|
|
inherit stdenv fetchurl libxml2 gnutls devicemapper perl;
|
|
|
|
};
|
|
|
|
|
2008-10-04 15:24:08 +00:00
|
|
|
libvncserver = builderDefsPackage (import ../development/libraries/libvncserver) {
|
|
|
|
inherit libtool libjpeg openssl zlib;
|
2008-10-09 10:10:49 +00:00
|
|
|
inherit (xlibs) xproto libX11 damageproto libXdamage
|
2008-10-04 15:24:08 +00:00
|
|
|
libXext xextproto fixesproto libXfixes xineramaproto
|
|
|
|
libXinerama libXrandr randrproto libXtst;
|
|
|
|
};
|
|
|
|
|
2009-04-22 21:33:24 +00:00
|
|
|
libviper = import ../development/libraries/libviper {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses gpm glib;
|
2009-04-22 21:33:24 +00: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 12:44:39 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libwmf = import ../development/libraries/libwmf {
|
2008-06-18 22:48:34 +00: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 19:58:07 +00: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 18:45:53 +00:00
|
|
|
|
2010-03-04 14:44:56 +00:00
|
|
|
libxdg_basedir = import ../development/libraries/libxdg-basedir {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-21 23:18:09 +00: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 11:38:56 +00:00
|
|
|
inherit (xorg) libX11 libICE libXi libxkbfile;
|
2008-02-18 20:53:36 +00:00
|
|
|
};
|
|
|
|
|
2009-04-05 21:41:38 +00:00
|
|
|
libxmi = import ../development/libraries/libxmi {
|
2009-04-06 17:11:15 +00:00
|
|
|
inherit fetchurl stdenv libtool;
|
2009-04-05 21:41:38 +00:00
|
|
|
};
|
|
|
|
|
2009-04-23 12:33:09 +00: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 12:33:09 +00:00
|
|
|
libxml2Python = libxml2.override {
|
2007-12-30 22:02:04 +00:00
|
|
|
pythonSupport = true;
|
2009-04-23 12:33:09 +00:00
|
|
|
};
|
2007-12-01 16:20:23 +00:00
|
|
|
|
2009-10-24 17:29:37 +00: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
|
|
|
|
2010-01-16 10:37:29 +00:00
|
|
|
libyaml = import ../development/libraries/libyaml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 08:44:05 +00:00
|
|
|
|
2009-09-20 17:01:19 +00:00
|
|
|
libzrtpcpp = import ../development/libraries/libzrtpcpp {
|
|
|
|
inherit fetchurl stdenv lib commoncpp2 openssl pkgconfig ccrtp;
|
|
|
|
};
|
|
|
|
|
2008-07-01 14:47:49 +00:00
|
|
|
lightning = import ../development/libraries/lightning {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-16 16:06:30 +00:00
|
|
|
liquidwar = builderDefsPackage ../games/liquidwar {
|
|
|
|
inherit (xlibs) xproto libX11 libXrender;
|
2010-01-21 15:39:11 +00:00
|
|
|
inherit gmp guile mesa libjpeg libpng
|
2009-12-16 16:06:30 +00:00
|
|
|
expat gettext perl
|
|
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
|
|
|
curl sqlite
|
|
|
|
libogg libvorbis
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
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 15:12:24 +00:00
|
|
|
system == "x86_64-linux" ||
|
2009-12-02 22:19:49 +00:00
|
|
|
system == "x86_64-darwin" ||
|
2009-09-16 15:12:24 +00:00
|
|
|
system == "i686-darwin";
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2009-04-20 22:06:12 +00:00
|
|
|
mesa = import ../development/libraries/mesa {
|
2008-10-08 17:02:48 +00: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
|
|
|
|
2008-09-02 13:43:53 +00: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 09:46:54 +00: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 {
|
2010-01-27 22:13:19 +00:00
|
|
|
inherit fetchurl stdenv python perl;
|
2008-02-21 16:17:43 +00:00
|
|
|
};
|
|
|
|
|
2009-05-13 10:21:29 +00: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.
|
2010-01-06 22:20:20 +00:00
|
|
|
unicode = (system != "i686-cygwin" && crossSystem == 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
|
|
|
};
|
|
|
|
|
2008-06-19 15:29:25 +00: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 04:28:30 +00:00
|
|
|
nethack = builderDefsPackage (import ../games/nethack) {
|
|
|
|
inherit ncurses flex bison;
|
|
|
|
};
|
|
|
|
|
2009-07-01 15:42:01 +00:00
|
|
|
nettle = import ../development/libraries/nettle {
|
2009-09-16 14:26:00 +00:00
|
|
|
inherit fetchurl stdenv gmp gnum4;
|
2009-07-01 15:42:01 +00:00
|
|
|
};
|
|
|
|
|
2009-07-04 12:25:35 +00: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 09:12:44 +00: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 {
|
2009-12-12 18:48:07 +00: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 {
|
2010-02-19 14:25:23 +00:00
|
|
|
inherit fetchurl stdenv mesa tcl tk file;
|
2010-02-23 14:20:10 +00:00
|
|
|
inherit (xlibs) libXmu;
|
2009-01-27 08:14:27 +00:00
|
|
|
};
|
|
|
|
|
2010-01-10 00:22:29 +00:00
|
|
|
openct = import ../development/libraries/openct {
|
|
|
|
inherit fetchurl stdenv libtool pcsclite libusb pkgconfig;
|
|
|
|
};
|
|
|
|
|
2010-01-16 21:26:10 +00:00
|
|
|
opencv = import ../development/libraries/opencv {
|
|
|
|
inherit fetchurl stdenv cmake libjpeg libpng libtiff jasper ffmpeg
|
|
|
|
pkgconfig xineLib;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gst_all) gstreamer;
|
|
|
|
};
|
|
|
|
|
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 22:48:34 +00: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 18:18:33 +00:00
|
|
|
openlierox = builderDefsPackage ../games/openlierox {
|
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-09-22 20:16:38 +00:00
|
|
|
inherit gd SDL SDL_image SDL_mixer zlib libxml2
|
2009-08-08 18:18:33 +00:00
|
|
|
pkgconfig;
|
|
|
|
};
|
|
|
|
|
2010-01-14 23:21:46 +00:00
|
|
|
libopensc_dnie = import ../development/libraries/libopensc-dnie {
|
2010-01-10 00:22:29 +00:00
|
|
|
inherit fetchurl stdenv patchelf writeScript openssl openct
|
|
|
|
libtool pcsclite zlib;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
opensc = opensc_0_11_7;
|
|
|
|
};
|
|
|
|
|
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 07:49:55 +00:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv perl;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-04-21 23:18:09 +00: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 03:50:44 +00: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 14:27:51 +00:00
|
|
|
plib = import ../development/libraries/plib {
|
|
|
|
inherit fetchurl stdenv mesa freeglut SDL;
|
|
|
|
inherit (xlibs) libXi libSM libXmu libXext libX11;
|
|
|
|
};
|
|
|
|
|
2010-01-07 22:47:30 +00:00
|
|
|
podofo = import ../development/libraries/podofo {
|
|
|
|
inherit fetchurl stdenv cmake zlib freetype libjpeg libtiff
|
|
|
|
fontconfig openssl;
|
|
|
|
};
|
|
|
|
|
2009-09-25 20:06:36 +00: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 07:55:11 +00:00
|
|
|
};
|
|
|
|
|
2009-10-06 05:43:51 +00:00
|
|
|
policykit = makeOverridable (import ../development/libraries/policykit) {
|
2009-09-26 10:43:41 +00: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 18:31:42 +00:00
|
|
|
};
|
|
|
|
|
2009-09-13 11:04:54 +00: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 11:04:54 +00:00
|
|
|
qt4Support = false;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-08-16 21:45:10 +00:00
|
|
|
|
2010-04-11 21:03:51 +00:00
|
|
|
popplerQt4 = poppler.override {
|
|
|
|
inherit qt4;
|
2010-02-10 15:06:50 +00:00
|
|
|
qt4Support = true;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
popt = import ../development/libraries/popt {
|
2009-04-22 07:16:45 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-08-13 09:46:54 +00: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 18:07:09 +00: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 18:07:09 +00:00
|
|
|
qt3mysql = qt3.override {
|
2008-06-23 09:01:04 +00:00
|
|
|
mysqlSupport = true;
|
|
|
|
};
|
|
|
|
|
2010-03-05 12:00:37 +00:00
|
|
|
qt4 = qt46;
|
2009-09-13 11:04:54 +00:00
|
|
|
|
2009-08-15 14:02:49 +00:00
|
|
|
qt45 = import ../development/libraries/qt-4.5 {
|
2009-09-08 21:25:08 +00:00
|
|
|
inherit fetchurl stdenv lib zlib libjpeg libpng which mysql mesa openssl cups dbus
|
2009-09-13 11:04:54 +00:00
|
|
|
fontconfig freetype pkgconfig libtiff;
|
2009-08-15 14:02:49 +00:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2009-09-13 11:04:54 +00:00
|
|
|
libXmu libXinerama xineramaproto libXcursor libXext
|
|
|
|
inputproto fixesproto libXfixes;
|
2009-08-15 14:02:49 +00:00
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2009-09-22 20:16:38 +00:00
|
|
|
|
2009-12-24 09:49:35 +00:00
|
|
|
qt46 = import ../development/libraries/qt-4.6 {
|
|
|
|
inherit fetchurl stdenv lib zlib libjpeg libpng which mysql mesa openssl cups dbus
|
|
|
|
fontconfig freetype pkgconfig libtiff;
|
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
|
|
|
libXmu libXinerama xineramaproto libXcursor libXext
|
|
|
|
inputproto fixesproto libXfixes;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2010-01-14 14:51:02 +00:00
|
|
|
|
|
|
|
qtscriptgenerator = makeOverridable (import ../development/libraries/qtscriptgenerator) {
|
2009-09-11 12:05:23 +00:00
|
|
|
inherit stdenv fetchurl;
|
2010-03-05 12:00:37 +00:00
|
|
|
qt4 = qt46;
|
2009-09-11 12:05:23 +00:00
|
|
|
};
|
2009-09-22 20:16:38 +00: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 13:02:05 +00:00
|
|
|
|
2009-02-23 18:10:41 +00:00
|
|
|
readline6 = import ../development/libraries/readline/readline6.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-09-21 09:58:21 +00:00
|
|
|
librdf_raptor = import ../development/libraries/librdf/raptor.nix {
|
|
|
|
inherit fetchurl stdenv lib libxml2 curl;
|
|
|
|
};
|
2010-03-16 12:13:40 +00:00
|
|
|
|
2009-09-21 09:58:21 +00:00
|
|
|
librdf_rasqal = import ../development/libraries/librdf/rasqal.nix {
|
|
|
|
inherit fetchurl stdenv lib pcre libxml2 gmp librdf_raptor;
|
|
|
|
};
|
2010-03-16 12:13:40 +00:00
|
|
|
|
2009-09-21 09:58:21 +00:00
|
|
|
librdf = import ../development/libraries/librdf {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig librdf_raptor ladspaH openssl zlib;
|
|
|
|
};
|
|
|
|
|
2010-04-03 09:54:22 +00:00
|
|
|
redland = makeOverridable (import ../development/libraries/redland/1.0.10.nix) {
|
2010-02-11 14:31:49 +00:00
|
|
|
inherit fetchurl stdenv openssl libxml2 pkgconfig perl sqlite
|
2010-02-10 15:06:50 +00:00
|
|
|
mysql libxslt curl pcre librdf_rasqal librdf_raptor;
|
|
|
|
bdb = db4;
|
|
|
|
};
|
|
|
|
|
2009-10-19 14:47:04 +00: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 15:02:30 +00:00
|
|
|
|
2009-09-21 09:58:30 +00: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 22:23:30 +00:00
|
|
|
SDL = makeOverridable (import ../development/libraries/SDL) {
|
2009-05-11 19:57:42 +00: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 22:23:30 +00: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 09:35:36 +00: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 14:04:55 +00: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 17:08:33 +00: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 13:10:58 +00:00
|
|
|
slibGuile = import ../development/libraries/slib {
|
|
|
|
inherit fetchurl stdenv unzip texinfo;
|
|
|
|
scheme = guile;
|
|
|
|
};
|
|
|
|
|
2008-09-24 00:42:06 +00: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 21:45:10 +00:00
|
|
|
|
2010-02-04 16:07:15 +00:00
|
|
|
sqlite = lowPrio (import ../development/libraries/sqlite {
|
2010-02-02 15:49:48 +00:00
|
|
|
inherit fetchurl stdenv;
|
2010-02-04 16:07:15 +00:00
|
|
|
});
|
|
|
|
|
2010-02-14 16:21:42 +00:00
|
|
|
sqliteInteractive = lowPrio (appendToName "interactive" (import ../development/libraries/sqlite {
|
2010-02-04 16:07:15 +00:00
|
|
|
inherit fetchurl stdenv readline ncurses;
|
2010-02-14 16:21:42 +00:00
|
|
|
}));
|
2006-04-22 18:08:37 +00:00
|
|
|
|
2008-09-05 17:17:00 +00: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 12:05:23 +00: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
|
|
|
};
|
|
|
|
|
2010-02-10 11:28:18 +00:00
|
|
|
tdb = import ../development/libraries/tdb {
|
|
|
|
inherit fetchurl stdenv libxslt libxml2 docbook_xsl;
|
|
|
|
};
|
|
|
|
|
2008-07-15 09:58:30 +00: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
|
|
|
};
|
|
|
|
|
2010-02-05 22:00:51 +00:00
|
|
|
tk = import ../development/libraries/tk {
|
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-11 23:03:30 +00:00
|
|
|
unixODBCDrivers = recurseIntoAttrs (import ../development/libraries/unixODBCDrivers {
|
|
|
|
inherit fetchurl stdenv unixODBC glibc libtool openssl zlib;
|
2008-06-13 09:44:43 +00:00
|
|
|
inherit postgresql mysql sqlite;
|
2008-06-11 23:03:30 +00:00
|
|
|
});
|
|
|
|
|
2009-09-21 09:58:30 +00: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 05:37:09 +00:00
|
|
|
inherit (gnome28) gtkdoc libsoup;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
2008-07-07 23:11:13 +00:00
|
|
|
inherit freetype fontconfig gettext gperf curl
|
|
|
|
libjpeg libtiff libpng libxml2 libxslt sqlite
|
|
|
|
icu cairo perl intltool automake libtool
|
2009-06-04 11:20:26 +00:00
|
|
|
pkgconfig autoconf bison libproxy enchant;
|
2009-10-06 05:43:51 +00:00
|
|
|
inherit (gst_all) gstreamer gstPluginsBase gstFfmpeg
|
2009-08-03 05:11:30 +00:00
|
|
|
gstPluginsGood;
|
2008-06-29 07:02:11 +00:00
|
|
|
flex = flex2535;
|
2009-06-04 11:20:26 +00:00
|
|
|
inherit (xlibs) libXt;
|
2009-10-29 14:19:13 +00:00
|
|
|
};
|
2008-06-29 07:02:11 +00: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 06:29:21 +00:00
|
|
|
wtk = import ../development/libraries/wtk {
|
2009-08-25 06:36:05 +00:00
|
|
|
inherit fetchurl stdenv unzip xlibs;
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2009-03-23 20:36:48 +00:00
|
|
|
|
2008-05-22 00:18:45 +00: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 20:18:58 +00: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 20:18:58 +00: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 20:47:33 +00: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 11:54:25 +00:00
|
|
|
xautolock = import ../misc/screensavers/xautolock {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xorg) imake;
|
|
|
|
inherit (xlibs) libXScrnSaver scrnsaverproto;
|
|
|
|
};
|
|
|
|
|
2009-10-01 09:06:59 +00: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 04:28:30 +00:00
|
|
|
zangband = builderDefsPackage (import ../games/zangband) {
|
2009-05-12 09:45:24 +00:00
|
|
|
inherit ncurses flex bison autoconf automake m4 coreutils;
|
2009-05-12 04:28:30 +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
|
|
|
zlib = makeOverridable (import ../development/libraries/zlib) {
|
2008-05-27 07:49:55 +00: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 19:59:45 +00:00
|
|
|
|
2005-12-26 15:56:00 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / LIBRARIES / JAVA
|
2005-10-12 11:57:24 +00:00
|
|
|
|
2006-07-04 16:58:25 +00: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 10:43:20 +00: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 09:35:54 +00: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 15:28:53 +00: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 14:09:01 +00: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 09:07:17 +00: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 10:24:02 +00: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 09:05:49 +00:00
|
|
|
|
2009-04-20 12:24:13 +00:00
|
|
|
perlPackages = recurseIntoAttrs (import ./perl-packages.nix {
|
2009-04-20 12:08:09 +00:00
|
|
|
inherit pkgs;
|
2009-04-20 12:24:13 +00:00
|
|
|
});
|
2008-08-29 09:05:49 +00:00
|
|
|
|
2009-04-20 12:49:35 +00:00
|
|
|
perlXMLParser = perlPackages.XMLParser;
|
2008-01-22 16:26:57 +00:00
|
|
|
|
2010-03-29 23:36:38 +00:00
|
|
|
ack = perlPackages.ack;
|
2008-07-21 14:43:33 +00:00
|
|
|
|
2010-03-29 23:36:40 +00:00
|
|
|
perlcritic = perlPackages.PerlCritic;
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DEVELOPMENT / PYTHON MODULES
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-05-24 21:02:59 +00:00
|
|
|
buildPythonPackage =
|
|
|
|
import ../development/python-modules/generic {
|
|
|
|
inherit python setuptools makeWrapper lib;
|
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2010-01-07 22:47:30 +00:00
|
|
|
buildPython26Package =
|
|
|
|
import ../development/python-modules/generic {
|
|
|
|
inherit makeWrapper lib;
|
|
|
|
python = python26;
|
|
|
|
setuptools = setuptools_python26;
|
|
|
|
};
|
|
|
|
|
2009-05-24 21:08:39 +00:00
|
|
|
pythonPackages = recurseIntoAttrs (import ./python-packages.nix {
|
2010-01-07 22:47:30 +00:00
|
|
|
inherit pkgs python buildPythonPackage;
|
|
|
|
});
|
|
|
|
|
|
|
|
python26Packages = recurseIntoAttrs (import ./python-packages.nix {
|
2009-05-24 21:08:39 +00:00
|
|
|
inherit pkgs;
|
2010-01-07 22:47:30 +00:00
|
|
|
python = python26;
|
|
|
|
buildPythonPackage = buildPython26Package;
|
2009-05-24 21:08:39 +00:00
|
|
|
});
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2008-08-29 13:53:28 +00:00
|
|
|
foursuite = import ../development/python-modules/4suite {
|
|
|
|
inherit fetchurl stdenv python;
|
2008-01-17 16:54:48 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bsddb3 = import ../development/python-modules/bsddb3 {
|
|
|
|
inherit fetchurl stdenv python db4;
|
2008-07-22 13:01:30 +00: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 18:56:47 +00:00
|
|
|
numeric = import ../development/python-modules/numeric {
|
|
|
|
inherit fetchurl stdenv python;
|
2008-08-26 12:50:03 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pil = import ../development/python-modules/pil {
|
2008-08-12 15:43:36 +00:00
|
|
|
inherit fetchurl stdenv python zlib libjpeg freetype;
|
2008-08-26 12:50:03 +00:00
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
psyco = import ../development/python-modules/psyco {
|
2010-03-23 14:04:47 +00:00
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
2008-08-26 12:50:03 +00: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 12:36:47 +00: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 22:48:34 +00:00
|
|
|
inherit fetchurl stdenv python pkgconfig SDL SDL_image
|
2008-10-06 22:47:20 +00: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 12:50:03 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pygtk = import ../development/python-modules/pygtk {
|
|
|
|
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
2008-10-23 14:22:36 +00:00
|
|
|
};
|
|
|
|
|
2009-04-12 19:34:20 +00: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
|
|
|
};
|
|
|
|
|
2009-04-12 19:34:20 +00: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-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
|
|
|
|
2010-04-11 21:03:51 +00:00
|
|
|
sip = import ../development/python-modules/python-sip {
|
2010-03-23 14:04:47 +00:00
|
|
|
inherit stdenv fetchurl python;
|
2008-05-30 18:15:25 +00:00
|
|
|
};
|
|
|
|
|
2010-04-11 21:03:51 +00:00
|
|
|
pyqt4 = import ../development/python-modules/pyqt {
|
|
|
|
inherit stdenv fetchurl python qt4 sip;
|
2010-02-10 16:09:12 +00:00
|
|
|
};
|
|
|
|
|
2008-06-01 16:06:18 +00: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 12:20:08 +00: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
|
|
|
|
2010-01-07 22:47:30 +00:00
|
|
|
setuptools_python26 = builderDefsPackage (import ../development/python-modules/setuptools) {
|
|
|
|
inherit makeWrapper;
|
|
|
|
python = python26;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython = wxPython26;
|
2008-05-30 18:15:25 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wxPython26 = import ../development/python-modules/wxPython/2.6.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
wxGTK = wxGTK26;
|
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 18:15:25 +00:00
|
|
|
};
|
|
|
|
|
2009-05-24 21:27:30 +00:00
|
|
|
twisted = pythonPackages.twisted;
|
2009-02-12 15:59:22 +00:00
|
|
|
|
2010-03-01 13:12:52 +00:00
|
|
|
ZopeInterface = pythonPackages.zopeInterface;
|
2009-02-12 15:59:22 +00:00
|
|
|
|
2008-08-29 13:53:28 +00:00
|
|
|
zope = import ../development/python-modules/zope {
|
2008-09-19 14:39:57 +00: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 18:15:25 +00:00
|
|
|
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-28 16:45:56 +00:00
|
|
|
apacheHttpd = makeOverridable (import ../servers/http/apache-httpd) {
|
2009-08-31 15:03:31 +00: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 18:10:08 +00:00
|
|
|
inherit openssl libtool;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2009-04-01 17:31:44 +00:00
|
|
|
dico = import ../servers/dico {
|
|
|
|
inherit fetchurl stdenv libtool gettext zlib readline guile python;
|
2009-02-12 15:59:22 +00:00
|
|
|
};
|
|
|
|
|
2010-04-14 10:55:50 +00:00
|
|
|
dict = makeOverridable (import ../servers/dict) {
|
|
|
|
inherit fetchurl stdenv which bison flex;
|
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 21:11:07 +00:00
|
|
|
inherit fetchurl stdenv openssl pam;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2008-07-01 14:40:53 +00: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-12-09 12:59:23 +00:00
|
|
|
inherit fetchurl stdenv erlang spidermonkey icu getopt
|
|
|
|
curl;
|
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 12:10:57 +00:00
|
|
|
|
2008-02-26 09:26:17 +00:00
|
|
|
jetty61 = import ../servers/http/jetty/6.1 {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-09-24 00:42:50 +00:00
|
|
|
lighttpd = import ../servers/http/lighttpd {
|
|
|
|
inherit fetchurl stdenv pcre libxml2 zlib attr bzip2;
|
|
|
|
};
|
|
|
|
|
2009-08-31 15:03:31 +00: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 10:20:40 +00:00
|
|
|
myserver = import ../servers/http/myserver {
|
|
|
|
inherit fetchurl stdenv libgcrypt libevent libidn gnutls libxml2
|
2010-02-16 10:48:06 +00:00
|
|
|
zlib texinfo cppunit xz;
|
2009-08-21 10:20:40 +00:00
|
|
|
};
|
|
|
|
|
2008-11-30 09:06:53 +00:00
|
|
|
nginx = builderDefsPackage (import ../servers/http/nginx) {
|
|
|
|
inherit openssl pcre zlib libxml2 libxslt;
|
|
|
|
};
|
|
|
|
|
2008-06-13 04:31:31 +00: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 04:31:31 +00:00
|
|
|
};
|
|
|
|
|
2009-10-06 05:43:51 +00:00
|
|
|
pulseaudio = makeOverridable (import ../servers/pulseaudio) {
|
2009-04-02 12:22:18 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gnum4 gdbm
|
2008-12-19 14:56:37 +00:00
|
|
|
dbus hal avahi liboil libsamplerate libsndfile speex
|
2009-12-13 20:19:19 +00:00
|
|
|
intltool gettext libtool libcap;
|
|
|
|
inherit (xlibs) libX11 libICE libSM libXtst libXi;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-04-21 09:56:02 +00:00
|
|
|
inherit alsaLib; # Needs ALSA >= 1.0.17.
|
2008-12-19 14:56:37 +00:00
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
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 03:50:44 +00:00
|
|
|
monetdb = import ../servers/sql/monetdb {
|
2009-07-27 16:05:39 +00:00
|
|
|
inherit composableDerivation getConfig;
|
|
|
|
inherit fetchurl stdenv pcre openssl readline libxml2 geos apacheAnt jdk5;
|
2009-07-09 03:50:44 +00:00
|
|
|
};
|
|
|
|
|
2008-02-25 03:16:07 +00:00
|
|
|
mysql4 = import ../servers/sql/mysql {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv ncurses zlib perl;
|
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
2007-11-11 16:22:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mysql5 = import ../servers/sql/mysql5 {
|
2008-02-20 23:02:41 +00:00
|
|
|
inherit fetchurl stdenv ncurses zlib perl openssl;
|
2007-12-30 22:02:04 +00:00
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
2007-11-11 16:17:21 +00:00
|
|
|
|
2009-12-17 18:54:12 +00:00
|
|
|
mysql51 = import ../servers/sql/mysql51 {
|
|
|
|
inherit fetchurl ncurses zlib perl openssl stdenv;
|
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
|
|
|
|
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 14:57:30 +00: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 21:35:49 +00:00
|
|
|
|
2009-04-12 20:15:37 +00:00
|
|
|
openfire = composedArgsAndFun (import ../servers/xmpp/openfire) {
|
2008-02-21 16:24:44 +00:00
|
|
|
inherit builderDefs jre;
|
|
|
|
};
|
|
|
|
|
2009-10-14 14:38:16 +00: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 12:55:03 +00:00
|
|
|
};
|
|
|
|
|
2009-10-14 14:38:16 +00:00
|
|
|
postgresql84 = import ../servers/sql/postgresql/8.4.x.nix {
|
2009-09-04 12:55:03 +00:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2006-06-17 22:04:42 +00: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-12 23:27:55 +00: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 11:06:41 +00: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 17:51:41 +00: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 12:04:24 +00: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 22:48:34 +00:00
|
|
|
inherit fetchurl stdenv jdk apacheAnt unzip;
|
2008-02-04 12:24:41 +00:00
|
|
|
};
|
|
|
|
|
2010-04-06 13:27:32 +00:00
|
|
|
virtuoso = makeOverridable (import ../servers/sql/virtuoso) {
|
|
|
|
inherit stdenv fetchurl libxml2 openssl readline;
|
|
|
|
};
|
2010-04-03 17:34:14 +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 20:19:17 +00:00
|
|
|
xinetd = import ../servers/xinetd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-08 17:02:48 +00:00
|
|
|
xorg = recurseIntoAttrs (import ../servers/x11/xorg/default.nix {
|
2009-07-11 10:32:27 +00:00
|
|
|
inherit fetchurl fetchsvn stdenv pkgconfig freetype fontconfig
|
2010-01-13 12:43:17 +00:00
|
|
|
libxslt expat libdrm libpng zlib perl mesa
|
2009-07-11 10:32:27 +00:00
|
|
|
xkeyboard_config dbus hal libuuid openssl gperf m4
|
2010-02-18 01:49:53 +00:00
|
|
|
automake autoconf libtool xmlto asciidoc;
|
2009-04-30 08:29:29 +00: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 07:19:07 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-02-15 14:20:28 +00:00
|
|
|
zabbix = recurseIntoAttrs (import ../servers/monitoring/zabbix {
|
|
|
|
inherit fetchurl stdenv pkgconfig postgresql curl openssl zlib;
|
|
|
|
});
|
2008-06-03 21:59:35 +00:00
|
|
|
|
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-12-21 08:55:27 +00:00
|
|
|
afuse = import ../os-specific/linux/afuse {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig fuse;
|
|
|
|
};
|
|
|
|
|
2009-04-30 02:37:00 +00:00
|
|
|
autofs5 = import ../os-specific/linux/autofs/autofs-v5.nix {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit sourceFromHead fetchurl stdenv flex bison linuxHeaders;
|
2009-04-30 02:37:00 +00: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 20:57:29 +00: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 09:56:02 +00:00
|
|
|
alsaLib = import ../os-specific/linux/alsa-lib {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-05-18 13:53:01 +00:00
|
|
|
|
2009-09-20 21:54:23 +00:00
|
|
|
alsaPlugins = import ../os-specific/linux/alsa-plugins {
|
2009-09-21 15:55:26 +00: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 21:54:23 +00:00
|
|
|
};
|
|
|
|
|
2009-04-21 09:56:02 +00: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 20:29:36 +00: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 20:29:36 +00: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-08-28 06:29:21 +00:00
|
|
|
cpufrequtils = (
|
2009-08-25 06:36:05 +00:00
|
|
|
import ../os-specific/linux/cpufrequtils {
|
2009-01-12 21:12:07 +00:00
|
|
|
inherit fetchurl stdenv libtool gettext;
|
|
|
|
glibc = stdenv.gcc.libc;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = stdenv.gcc.libc.kernelHeaders;
|
2009-08-25 06:36:05 +00: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 09:22:02 +00: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-12-04 15:39:49 +00:00
|
|
|
darwinArchUtility = import ../os-specific/darwin/arch {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
darwinSwVersUtility = import ../os-specific/darwin/sw_vers {
|
|
|
|
inherit stdenv;
|
2009-09-22 08:12:11 +00:00
|
|
|
};
|
|
|
|
|
2010-01-07 16:14:10 +00:00
|
|
|
devicemapper = lvm2;
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-08-11 20:43:39 +00:00
|
|
|
dmidecode = import ../os-specific/linux/dmidecode {
|
|
|
|
inherit fetchurl stdenv;
|
2008-01-08 00:18:20 +00:00
|
|
|
};
|
|
|
|
|
2010-02-04 15:41:45 +00:00
|
|
|
dmtcp = import ../os-specific/linux/dmtcp {
|
|
|
|
inherit fetchurl stdenv perl python;
|
|
|
|
};
|
|
|
|
|
2010-02-13 11:02:08 +00:00
|
|
|
dmtcp_devel = import ../os-specific/linux/dmtcp/devel.nix {
|
|
|
|
inherit fetchsvn stdenv perl python;
|
|
|
|
};
|
|
|
|
|
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 08:38:30 +00:00
|
|
|
dmraid = builderDefsPackage ../os-specific/linux/dmraid {
|
|
|
|
inherit devicemapper;
|
|
|
|
};
|
|
|
|
|
2009-12-02 22:19:49 +00:00
|
|
|
libuuid = if ! stdenv.isDarwin then utillinuxng else null;
|
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;
|
|
|
|
};
|
|
|
|
|
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 13:27:41 +00:00
|
|
|
flex = flex2535;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-21 13:27:41 +00:00
|
|
|
|
2009-10-06 05:43:51 +00: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 22:23:30 +00:00
|
|
|
libusb dbus dbus_glib libuuid perl perlXMLParser
|
2009-09-25 23:05:53 +00: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 16:57:53 +00:00
|
|
|
halevt = import ../os-specific/linux/hal/hal-evt.nix {
|
|
|
|
inherit fetchurl stdenv lib libxml2 pkgconfig boolstuff hal dbus_glib;
|
|
|
|
};
|
|
|
|
|
2009-04-28 21:59:09 +00:00
|
|
|
hal_info = import ../os-specific/linux/hal/info.nix {
|
2009-08-11 21:03:53 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2009-04-28 21:59:09 +00: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 14:02:54 +00:00
|
|
|
|
|
|
|
hibernate = import ../os-specific/linux/hibernate {
|
|
|
|
inherit fetchurl stdenv gawk;
|
|
|
|
};
|
2008-06-18 22:48:34 +00: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 17:08:38 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
ifplugd = import ../os-specific/linux/ifplugd {
|
|
|
|
inherit fetchurl stdenv pkgconfig libdaemon;
|
|
|
|
};
|
2006-10-18 14:04:55 +00: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 06:29:21 +00:00
|
|
|
iputils = (
|
2009-08-25 06:36:05 +00:00
|
|
|
import ../os-specific/linux/iputils {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
glibc = stdenv.gcc.libc;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = stdenv.gcc.libc.kernelHeaders;
|
2009-08-25 06:36:05 +00:00
|
|
|
});
|
2007-10-01 15:14:50 +00:00
|
|
|
|
2008-08-15 09:49:43 +00: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
|
|
|
|
2009-12-26 16:22:51 +00:00
|
|
|
iwlwifi1000ucode = import ../os-specific/linux/firmware/iwlwifi-1000-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 14:50:59 +00:00
|
|
|
iwlwifi5000ucode = import ../os-specific/linux/firmware/iwlwifi-5000-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
kbd = import ../os-specific/linux/kbd {
|
2010-01-18 10:19:11 +00:00
|
|
|
inherit fetchurl stdenv bison flex autoconf automake;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-08-09 17:33:18 +00:00
|
|
|
|
2010-01-20 10:56:40 +00:00
|
|
|
linuxHeaders = linuxHeaders_2_6_28;
|
2006-06-29 12:41:25 +00:00
|
|
|
|
2010-03-10 20:44:48 +00:00
|
|
|
linuxHeaders26Cross = forceBuildDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
2010-03-06 23:36:55 +00:00
|
|
|
inherit stdenv fetchurl perl;
|
2010-03-07 00:05:51 +00:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
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
|
|
|
|
2010-03-10 20:44:48 +00:00
|
|
|
linuxHeaders24Cross = forceBuildDrv (import ../os-specific/linux/kernel-headers/2.4.nix {
|
|
|
|
inherit stdenv fetchurl perl;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
});
|
|
|
|
|
|
|
|
# We can choose:
|
|
|
|
linuxHeadersCrossChooser = ver : if (ver == "2.4") then linuxHeaders24Cross
|
|
|
|
else if (ver == "2.6") then linuxHeaders26Cross
|
|
|
|
else throw "Unknown linux kernel version";
|
|
|
|
|
|
|
|
linuxHeadersCross = assert crossSystem != null;
|
|
|
|
linuxHeadersCrossChooser crossSystem.platform.kernelMajor;
|
|
|
|
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders_2_6_18 = import ../os-specific/linux/kernel-headers/2.6.18.5.nix {
|
2008-10-06 13:18:02 +00:00
|
|
|
inherit fetchurl stdenv unifdef;
|
|
|
|
};
|
|
|
|
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders_2_6_28 = import ../os-specific/linux/kernel-headers/2.6.28.nix {
|
2009-01-13 12:40:58 +00:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2010-01-19 18:02:37 +00:00
|
|
|
linuxHeaders_2_6_32 = import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-12-14 15:28:55 +00:00
|
|
|
kernelPatches = import ../os-specific/linux/kernel/patches.nix {
|
|
|
|
inherit fetchurl;
|
2009-11-01 17:17:40 +00:00
|
|
|
};
|
2009-01-15 15:54:24 +00:00
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
linux_2_6_25 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.25.nix) {
|
2008-08-07 14:57:10 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2009-12-14 19:08:20 +00:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_25
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2008-08-07 14:57:10 +00:00
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
linux_2_6_27 = makeOverridable (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;
|
2009-12-14 15:28:55 +00:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_27
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2008-10-29 12:34:54 +00:00
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
linux_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;
|
2009-12-14 15:28:55 +00:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_28
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
2009-12-14 18:34:46 +00:00
|
|
|
kernelPatches.ext4_softlockups_2_6_28
|
2009-12-14 15:28:55 +00:00
|
|
|
];
|
2009-09-01 21:56:46 +00:00
|
|
|
};
|
2009-01-12 13:11:18 +00:00
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
linux_2_6_29 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.29.nix) {
|
2009-06-06 23:09:38 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2009-12-14 15:28:55 +00:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_29
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-11-01 17:17:40 +00:00
|
|
|
};
|
2009-06-06 23:09:38 +00:00
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
linux_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 07:13:20 +00:00
|
|
|
kernelPatches = [];
|
|
|
|
};
|
|
|
|
|
2010-01-14 14:49:31 +00:00
|
|
|
linux_2_6_32 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.32.nix) {
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
2009-12-14 15:28:55 +00:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_31
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-09-11 13:16:18 +00:00
|
|
|
};
|
|
|
|
|
2010-01-14 14:49:31 +00:00
|
|
|
linux_2_6_32_zen4 = makeOverridable (import ../os-specific/linux/zen-kernel/2.6.32-zen4.nix) {
|
2010-01-13 15:46:38 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools runCommand xz;
|
2009-11-05 23:32:48 +00:00
|
|
|
};
|
|
|
|
|
2010-01-14 14:49:31 +00:00
|
|
|
linux_2_6_32_zen4_oldi686 = linux_2_6_32_zen4.override {
|
2010-01-13 15:46:38 +00:00
|
|
|
features = {
|
|
|
|
oldI686 = true;
|
|
|
|
};
|
2009-11-05 23:32:48 +00:00
|
|
|
};
|
|
|
|
|
2010-01-14 14:49:31 +00:00
|
|
|
linux_2_6_32_zen4_bfs = linux_2_6_32_zen4.override {
|
2010-01-13 15:46:38 +00:00
|
|
|
features = {
|
|
|
|
ckSched = true;
|
|
|
|
};
|
2009-12-14 10:15:52 +00:00
|
|
|
};
|
|
|
|
|
2010-02-25 12:40:03 +00:00
|
|
|
linux_2_6_33 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.33.nix) {
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
2010-02-25 12:40:03 +00:00
|
|
|
kernelPatches =
|
2010-02-25 14:15:42 +00:00
|
|
|
[ kernelPatches.fbcondecor_2_6_33
|
2010-02-25 12:40:03 +00:00
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2010-03-17 06:42:21 +00:00
|
|
|
linux_2_6_33_zen1 = makeOverridable (import ../os-specific/linux/zen-kernel/2.6.33-zen1.nix) {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools runCommand xz;
|
|
|
|
};
|
|
|
|
|
|
|
|
linux_2_6_33_zen1_oldi686 = linux_2_6_33_zen1.override {
|
|
|
|
features = {
|
|
|
|
oldI686 = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
linux_2_6_33_zen1_bfs = linux_2_6_33_zen1.override {
|
|
|
|
features = {
|
|
|
|
ckSched = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
/* Linux kernel modules are inherently tied to a specific kernel. So
|
2008-05-22 12:01:24 +00:00
|
|
|
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 22:48:34 +00:00
|
|
|
|
2009-12-21 14:12:00 +00:00
|
|
|
linuxPackagesFor = kernel: rec {
|
2008-05-22 12:01:24 +00:00
|
|
|
|
|
|
|
inherit kernel;
|
|
|
|
|
|
|
|
aufs = import ../os-specific/linux/aufs {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
2009-09-14 14:23:22 +00:00
|
|
|
# Currently it is broken
|
|
|
|
# Build requires exporting some symbols from kernel
|
2009-09-22 20:16:38 +00:00
|
|
|
# Go to package homepage to learn about the needed
|
2009-09-14 14:23:22 +00:00
|
|
|
# patch. Feel free to take over the package.
|
2009-09-08 09:35:21 +00:00
|
|
|
aufs2 = import ../os-specific/linux/aufs2 {
|
2009-09-13 10:25:58 +00:00
|
|
|
inherit fetchgit stdenv kernel perl;
|
2009-09-08 09:35:21 +00:00
|
|
|
};
|
|
|
|
|
2009-09-16 13:54:11 +00:00
|
|
|
aufs2Utils = if lib.attrByPath ["features" "aufs"] false kernel then
|
2009-09-15 10:28:40 +00:00
|
|
|
builderDefsPackage ../os-specific/linux/aufs2-utils {
|
|
|
|
inherit kernel;
|
2009-09-22 20:16:38 +00:00
|
|
|
}
|
2009-09-15 10:28:40 +00:00
|
|
|
else null;
|
2009-09-15 07:58:44 +00:00
|
|
|
|
2008-09-12 20:00:00 +00:00
|
|
|
exmap = import ../os-specific/linux/exmap {
|
|
|
|
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
|
|
|
inherit (gtkLibs) gtkmm;
|
|
|
|
};
|
|
|
|
|
2008-05-22 12:01:24 +00: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 07:41:52 +00:00
|
|
|
inherit fetchurl stdenv builderDefs kernel lib;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-22 19:29:23 +00:00
|
|
|
|
2009-03-30 14:54:06 +00:00
|
|
|
nvidia_x11 = import ../os-specific/linux/nvidia-x11 {
|
2009-12-18 11:36:36 +00:00
|
|
|
inherit stdenv fetchurl kernel xlibs gtkLibs zlib perl;
|
2008-05-22 12:01:24 +00:00
|
|
|
};
|
|
|
|
|
2009-09-19 22:09:08 +00:00
|
|
|
nvidia_x11_legacy = import ../os-specific/linux/nvidia-x11/legacy.nix {
|
|
|
|
inherit stdenv fetchurl kernel xlibs gtkLibs zlib;
|
|
|
|
};
|
|
|
|
|
2010-02-01 16:27:35 +00:00
|
|
|
openafsClient = import ../servers/openafs-client {
|
|
|
|
inherit stdenv fetchurl autoconf automake flex yacc;
|
|
|
|
inherit kernel glibc ncurses perl krb5;
|
|
|
|
};
|
|
|
|
|
2008-05-22 12:01:24 +00: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 22:04:30 +00:00
|
|
|
};
|
2008-05-22 19:29:23 +00:00
|
|
|
|
2008-06-18 22:48:34 +00:00
|
|
|
splashutils =
|
2010-01-27 14:35:38 +00:00
|
|
|
if kernel.features ? fbConDecor then pkgs.splashutils else null;
|
2008-06-10 16:09:53 +00:00
|
|
|
|
2008-05-22 12:01:24 +00:00
|
|
|
ext3cowtools = import ../os-specific/linux/ext3cow-tools {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
kernel_ext3cowpatched = kernel;
|
|
|
|
};
|
|
|
|
|
2008-06-15 11:39:54 +00: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 17:30:22 +00:00
|
|
|
inherit kernel perl;
|
2008-06-15 11:39:54 +00:00
|
|
|
};
|
|
|
|
|
2008-05-22 12:01:24 +00: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 13:25:07 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl bison;
|
2008-05-22 12:01:24 +00:00
|
|
|
inherit libtool automake autoconf docbook5 docbook5_xsl libxslt docbook_xml_dtd_43 w3m;
|
|
|
|
|
2009-12-10 14:50:50 +00:00
|
|
|
aterm = aterm25;
|
2008-05-22 12:01:24 +00:00
|
|
|
db4 = db45;
|
|
|
|
|
|
|
|
flex = flex2533;
|
|
|
|
|
|
|
|
inherit ext3cowtools e3cfsprogs rsync;
|
|
|
|
ext3cow_kernel = kernel;
|
|
|
|
};
|
|
|
|
|
2008-09-05 07:26:37 +00: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 14:34:02 +00:00
|
|
|
virtualbox = import ../applications/virtualization/virtualbox {
|
2009-04-15 12:37:57 +00:00
|
|
|
stdenv = stdenv_32bit;
|
2009-10-08 12:57:05 +00:00
|
|
|
inherit fetchurl lib iasl dev86 libxslt libxml2 SDL hal
|
2010-03-05 12:00:37 +00:00
|
|
|
libcap libpng zlib kernel python which alsaLib curl glib qt4;
|
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 13:32:00 +00:00
|
|
|
virtualboxGuestAdditions = import ../applications/virtualization/virtualbox/guest-additions {
|
|
|
|
inherit stdenv fetchurl lib patchelf cdrkit kernel;
|
2009-10-13 21:19:07 +00:00
|
|
|
inherit (xlibs) libX11 libXt libXext libXmu libXcomposite libXfixes;
|
2009-10-13 13:32:00 +00:00
|
|
|
};
|
2008-05-22 12:01:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Build the kernel modules for the some of the kernels.
|
2009-12-21 14:12:00 +00:00
|
|
|
linuxPackages_2_6_25 = recurseIntoAttrs (linuxPackagesFor linux_2_6_25);
|
|
|
|
linuxPackages_2_6_27 = recurseIntoAttrs (linuxPackagesFor linux_2_6_27);
|
|
|
|
linuxPackages_2_6_28 = recurseIntoAttrs (linuxPackagesFor linux_2_6_28);
|
|
|
|
linuxPackages_2_6_29 = recurseIntoAttrs (linuxPackagesFor linux_2_6_29);
|
|
|
|
linuxPackages_2_6_31 = recurseIntoAttrs (linuxPackagesFor linux_2_6_31);
|
|
|
|
linuxPackages_2_6_32 = recurseIntoAttrs (linuxPackagesFor linux_2_6_32);
|
2010-02-25 12:40:03 +00:00
|
|
|
linuxPackages_2_6_33 = recurseIntoAttrs (linuxPackagesFor linux_2_6_33);
|
2009-12-21 14:12:00 +00:00
|
|
|
|
2008-05-22 12:01:24 +00:00
|
|
|
# The current default kernel / kernel modules.
|
2010-01-14 14:49:31 +00:00
|
|
|
linux = linux_2_6_32;
|
|
|
|
linuxPackages = linuxPackagesFor linux;
|
2008-05-22 12:01:24 +00: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 22:04:30 +00:00
|
|
|
});
|
2008-03-24 19:40:15 +00:00
|
|
|
|
2010-01-25 10:34:47 +00:00
|
|
|
keyutils = import ../os-specific/linux/keyutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
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 14:25:09 +00: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 15:33:42 +00: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 19:05:59 +00:00
|
|
|
lm_sensors = import ../os-specific/linux/lm_sensors {
|
|
|
|
inherit fetchurl stdenv bison flex perl;
|
|
|
|
};
|
|
|
|
|
2009-06-22 14:14:58 +00:00
|
|
|
klibc = makeOverridable (import ../os-specific/linux/klibc) {
|
2009-01-29 15:44:37 +00:00
|
|
|
inherit fetchurl stdenv perl bison mktemp;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-01-29 15:44:37 +00:00
|
|
|
};
|
|
|
|
|
2009-06-25 08:22:51 +00: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;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-01-29 15:44:37 +00:00
|
|
|
};
|
|
|
|
|
2009-06-22 14:14:58 +00:00
|
|
|
klibcShrunk = makeOverridable (import ../os-specific/linux/klibc/shrunk.nix) {
|
2009-01-29 15:44:37 +00:00
|
|
|
inherit stdenv klibc;
|
|
|
|
};
|
|
|
|
|
2009-09-23 14:24:37 +00:00
|
|
|
kvm = kvm76;
|
|
|
|
|
|
|
|
kvm76 = import ../os-specific/linux/kvm/76.nix {
|
|
|
|
inherit fetchurl stdenv zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-09-23 14:24:37 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2009-06-02 15:59:42 +00:00
|
|
|
kvm86 = import ../os-specific/linux/kvm/86.nix {
|
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = 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;
|
2009-12-21 14:04:45 +00:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-11-09 11:55:31 +00:00
|
|
|
};
|
|
|
|
|
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 15:28:53 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libnscd = import ../os-specific/linux/libnscd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-08-30 07:39:38 +00: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 17:55:13 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
libvolume_id = import ../os-specific/linux/libvolume_id {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-31 13:43:13 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
lvm2 = import ../os-specific/linux/lvm2 {
|
2010-01-07 16:14:10 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-10-27 17:55:13 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mdadm = import ../os-specific/linux/mdadm {
|
|
|
|
inherit fetchurl stdenv groff;
|
|
|
|
};
|
2005-12-19 10:34:01 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
mingetty = import ../os-specific/linux/mingetty {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-01-26 14:01:08 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
module_init_tools = import ../os-specific/linux/module-init-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-11 08:45:01 +00:00
|
|
|
|
2008-08-06 15:43:03 +00:00
|
|
|
mount_cifs = import ../os-specific/linux/mount-cifs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-18 22:48:34 +00:00
|
|
|
aggregateModules = modules:
|
2008-03-17 09:41:28 +00:00
|
|
|
import ../os-specific/linux/module-init-tools/aggregator.nix {
|
2009-04-20 19:13:40 +00: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 14:38:27 +00: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 08:23:58 +00: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
|
|
|
|
2010-01-03 11:13:05 +00:00
|
|
|
# pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )
|
|
|
|
|
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 15:31:47 +00: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 {
|
2010-02-04 09:35:51 +00:00
|
|
|
inherit stdenv fetchurl pam libxcrypt;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2007-12-13 22:15:03 +00:00
|
|
|
|
2010-01-03 11:13:05 +00:00
|
|
|
pam_usb = import ../os-specific/linux/pam_usb {
|
|
|
|
inherit stdenv fetchurl makeWrapper useSetUID dbus libxml2 pam hal pkgconfig pmount python pythonDBus;
|
|
|
|
};
|
|
|
|
|
2008-08-27 13:59:33 +00:00
|
|
|
pcmciaUtils = composedArgsAndFun (import ../os-specific/linux/pcmciautils) {
|
2008-07-25 15:54:19 +00:00
|
|
|
inherit stdenv fetchurl udev yacc flex;
|
|
|
|
inherit sysfsutils module_init_tools;
|
|
|
|
|
2008-08-27 13:59:33 +00:00
|
|
|
firmware = getConfig ["pcmciaUtils" "firmware"] [];
|
2008-07-25 15:54:19 +00:00
|
|
|
config = getConfig ["pcmciaUtils" "config"] null;
|
2008-08-27 13:59:33 +00:00
|
|
|
inherit lib;
|
2008-07-25 15:54:19 +00:00
|
|
|
};
|
|
|
|
|
2010-01-03 11:13:05 +00:00
|
|
|
pmount = import ../os-specific/linux/pmount {
|
|
|
|
inherit fetchurl stdenv cryptsetup dbus dbus_glib hal intltool ntfs3g utillinuxng;
|
|
|
|
};
|
|
|
|
|
2009-09-25 21:43:25 +00: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 09:17:28 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
pwdutils = import ../os-specific/linux/pwdutils {
|
|
|
|
inherit fetchurl stdenv pam openssl libnscd;
|
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2009-08-04 16:02:27 +00:00
|
|
|
qemu_kvm = import ../os-specific/linux/qemu-kvm {
|
2010-02-01 18:44:08 +00:00
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils libuuid;
|
2009-08-04 16:02:27 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
radeontools = import ../os-specific/linux/radeontools {
|
|
|
|
inherit pciutils;
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 15:38:59 +00:00
|
|
|
|
2009-09-18 20:45:10 +00:00
|
|
|
rt73fw = import ../os-specific/linux/firmware/rt73 {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-04-16 12:23:53 +00:00
|
|
|
sdparm = import ../os-specific/linux/sdparm {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-09-11 15:38:59 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
shadowutils = import ../os-specific/linux/shadow {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 15:38:59 +00:00
|
|
|
|
2010-01-27 14:35:38 +00:00
|
|
|
splashutils = import ../os-specific/linux/splashutils/default.nix {
|
2009-01-29 15:56:01 +00:00
|
|
|
inherit fetchurl stdenv klibc;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
libjpeg = libjpegStatic;
|
|
|
|
};
|
|
|
|
|
2009-07-09 21:34:29 +00:00
|
|
|
statifier = builderDefsPackage (import ../os-specific/linux/statifier) {
|
|
|
|
};
|
|
|
|
|
2008-07-25 15:53:23 +00: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 15:38:59 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
syslinux = import ../os-specific/linux/syslinux {
|
|
|
|
inherit fetchurl stdenv nasm perl;
|
|
|
|
};
|
2006-09-15 15:28:53 +00: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-16 23:14:37 +00: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;
|
|
|
|
};*/
|
|
|
|
|
Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.
I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.
This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.
The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).
I will update nixos accordingly to these changes, for non-PC platforms to work.
I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.
Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.
The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).
The platform attributes are quite linux centric still. Let's hope for more generality to come.
svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
|
|
|
ubootChooser = name : if (name == "upstream") then ubootUpstream
|
|
|
|
else if (name == "sheevaplug") then ubootSheevaplug
|
|
|
|
else throw "Unknown uboot";
|
|
|
|
|
|
|
|
ubootUpstream = makeOverridable (import ../misc/uboot) {
|
2010-03-01 23:22:48 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
2009-11-08 00:32:12 +00:00
|
|
|
};
|
|
|
|
|
2010-02-17 21:09:27 +00:00
|
|
|
ubootSheevaplug = makeOverridable (import ../misc/uboot/sheevaplug.nix) {
|
2010-02-17 20:53:01 +00:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2010-02-05 23:08:11 +00:00
|
|
|
/*
|
2009-11-08 00:32:12 +00:00
|
|
|
uclibc = import ../os-specific/linux/uclibc {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchurl stdenv linuxHeaders;
|
2009-11-08 00:32:12 +00:00
|
|
|
};
|
2010-02-05 23:08:11 +00:00
|
|
|
*/
|
2009-11-08 00:32:12 +00:00
|
|
|
|
2010-03-09 15:48:25 +00:00
|
|
|
uclibcCross = import ../os-specific/linux/uclibc {
|
2009-12-04 13:35:58 +00:00
|
|
|
inherit fetchurl stdenv;
|
2010-03-09 15:48:25 +00:00
|
|
|
linuxHeaders = linuxHeadersCross;
|
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
2009-12-04 13:35:58 +00:00
|
|
|
};
|
|
|
|
|
2009-10-06 05:43:51 +00: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
|
|
|
};
|
|
|
|
|
2009-12-12 13:51:07 +00:00
|
|
|
uml = import ../os-specific/linux/kernel/linux-2.6.29.nix {
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
userModeLinux = true;
|
|
|
|
};
|
2007-09-11 19:27:25 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
umlutilities = import ../os-specific/linux/uml-utilities {
|
2009-12-21 14:04:45 +00:00
|
|
|
inherit fetchurl linuxHeaders stdenv readline lib;
|
2008-07-26 01:02:27 +00:00
|
|
|
tunctl = true; mconsole = true;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
2005-10-04 14:25:13 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
upstart = import ../os-specific/linux/upstart {
|
2010-02-15 15:55:39 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus libnih;
|
2009-10-30 18:12:28 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
upstartJobControl = import ../os-specific/linux/upstart/jobcontrol.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2007-07-01 20:11:32 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
usbutils = import ../os-specific/linux/usbutils {
|
2009-08-11 20:48:56 +00: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 09:26:47 +00:00
|
|
|
utillinux = utillinuxng;
|
2007-12-11 22:58:44 +00:00
|
|
|
|
2009-03-31 09:26:47 +00:00
|
|
|
utillinuxCurses = utillinuxngCurses;
|
2007-03-17 13:29:15 +00:00
|
|
|
|
2009-03-31 09:26:47 +00:00
|
|
|
utillinuxng = makeOverridable (import ../os-specific/linux/util-linux-ng) {
|
2009-12-10 15:05:26 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-01-06 09:28:45 +00:00
|
|
|
};
|
|
|
|
|
2009-03-31 09:26:47 +00: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 {
|
2009-12-25 20:56:37 +00:00
|
|
|
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_net SDL_ttf
|
|
|
|
gettext zlib boost freetype libpng pkgconfig;
|
|
|
|
inherit (gtkLibs) pango;
|
2008-02-06 21:26:17 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wirelesstools = import ../os-specific/linux/wireless-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
wpa_supplicant = import ../os-specific/linux/wpa_supplicant {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
2007-07-17 19:29:53 +00:00
|
|
|
|
2009-05-12 18:52:48 +00:00
|
|
|
wpa_supplicant_gui_qt4 = import ../os-specific/linux/wpa_supplicant/gui-qt4.nix {
|
2009-05-13 10:56:53 +00:00
|
|
|
inherit fetchurl stdenv qt4 imagemagick inkscape;
|
2009-05-12 18:52:48 +00:00
|
|
|
};
|
|
|
|
|
2010-04-11 22:42:28 +00:00
|
|
|
xf86_input_wacom = import ../os-specific/linux/xf86-input-wacom {
|
|
|
|
inherit stdenv fetchurl ncurses pkgconfig file;
|
|
|
|
inherit (xorg) libX11 libXi inputproto xproto xorgserver;
|
|
|
|
};
|
|
|
|
|
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 13:48:56 +00:00
|
|
|
|
2008-02-20 08:53:42 +00:00
|
|
|
zd1211fw = import ../os-specific/linux/firmware/zd1211 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2005-05-26 20:09:29 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
### DATA
|
2005-08-30 07:39:38 +00:00
|
|
|
|
2008-07-05 05:26:58 +00:00
|
|
|
arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) {
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2006-09-15 15:28:53 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
bakoma_ttf = import ../data/fonts/bakoma-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-20 14:10:26 +00:00
|
|
|
cacert = import ../data/misc/cacert {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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 12:08:09 +00:00
|
|
|
inherit fetchurl stdenv fontforge perl fontconfig;
|
2009-04-20 12:49:35 +00: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 15:39:04 +00: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 12:10:57 +00: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 11:51:30 +00: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 15:02:56 +00: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 15:02:56 +00: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 10:10:44 +00:00
|
|
|
inherit fontforge;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2009-11-18 09:39:59 +00:00
|
|
|
libertineBin = builderDefsPackage (import ../data/fonts/libertine/2.7.bin.nix) {
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-04-28 10:10:44 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
lmodern = import ../data/fonts/lmodern {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-26 15:23:46 +00: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 14:30:34 +00: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
|
|
|
};
|
2010-03-16 12:13:40 +00:00
|
|
|
|
2010-02-10 16:01:55 +00:00
|
|
|
shared_desktop_ontologies = import ../data/misc/shared-desktop-ontologies {
|
|
|
|
inherit stdenv fetchurl cmake;
|
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-03-30 08:14:19 +00: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 07:45:48 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-02-06 22:28:39 +00:00
|
|
|
terminus_font = import ../data/fonts/terminus-font {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale bdftopcf;
|
|
|
|
};
|
|
|
|
|
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 22:04:30 +00: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 12:25:22 +00:00
|
|
|
xhtml1 = import ../data/sgml+xml/schemas/xml-dtd/xhtml1 {
|
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
|
|
|
|
2008-10-09 12:12:58 +00: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 {
|
2010-03-25 19:40:19 +00:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
aangifte2006 = import ../applications/taxes/aangifte-2006 {
|
2010-03-25 19:40:19 +00:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2008-03-15 21:45:57 +00:00
|
|
|
aangifte2007 = import ../applications/taxes/aangifte-2007 {
|
2010-03-25 19:40:19 +00:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
2008-03-15 21:45:57 +00:00
|
|
|
};
|
|
|
|
|
2009-03-24 09:00:34 +00:00
|
|
|
aangifte2008 = import ../applications/taxes/aangifte-2008 {
|
2010-03-25 19:40:19 +00:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
|
|
|
};
|
|
|
|
|
|
|
|
aangifte2009 = import ../applications/taxes/aangifte-2009 {
|
2010-03-25 20:39:01 +00:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl makeWrapper xdg_utils;
|
2010-03-25 19:40:19 +00:00
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
2008-03-15 21:45:57 +00:00
|
|
|
};
|
|
|
|
|
2008-05-26 20:54:34 +00: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 {
|
2009-12-25 15:45:06 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig fribidi libpng popt libgsf enchant wv librsvg bzip2;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
2009-12-25 15:45:06 +00:00
|
|
|
inherit (gnome) libglade libgnomecanvas;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-10-14 13:08:04 +00: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 09:58:41 +00: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 15:32:37 +00:00
|
|
|
inherit (gnome) libgnomecanvas;
|
2009-09-21 09:58:41 +00: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 07:14:47 +00:00
|
|
|
libmad xlibs alsaLib taglib libmpcdec libogg libvorbis
|
2009-09-02 16:54:08 +00: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 13:53:01 +00:00
|
|
|
inherit fetchurl stdenv gettext pkgconfig zlib perl intltool libogg
|
2009-05-12 04:28:30 +00: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 19:15:53 +00:00
|
|
|
autopanosiftc = import ../applications/graphics/autopanosiftc {
|
2009-12-12 18:48:07 +00:00
|
|
|
inherit fetchurl stdenv cmake libpng libtiff libjpeg panotools libxml2;
|
2009-04-07 19:15:53 +00:00
|
|
|
};
|
|
|
|
|
2009-11-24 08:27:18 +00:00
|
|
|
avidemux = import ../applications/video/avidemux {
|
2010-03-16 20:49:26 +00:00
|
|
|
inherit fetchurl cmake pkgconfig libxml2 qt4 gettext SDL libxslt x264
|
2009-11-24 14:01:48 +00:00
|
|
|
alsaLib lame faac faad2 libvorbis;
|
2009-11-24 08:27:18 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXv pixman libpthreadstubs libXau libXdmcp;
|
2010-03-16 21:53:48 +00:00
|
|
|
stdenv = stdenv2;
|
2009-11-24 08:27:18 +00:00
|
|
|
};
|
|
|
|
|
2010-03-04 14:44:56 +00:00
|
|
|
awesome = import ../applications/window-managers/awesome {
|
|
|
|
inherit fetchurl stdenv xz cmake gperf imagemagick pkgconfig imlib2 libxdg_basedir
|
2010-03-05 09:52:53 +00:00
|
|
|
libstartup_notification libev asciidoc libxslt xmlto dbus docbook_xsl
|
|
|
|
docbook_xml_dtd_45;
|
2010-03-04 14:44:56 +00:00
|
|
|
inherit (gtkLibs) glib pango;
|
|
|
|
inherit (xorg) libxcb xcbutil;
|
|
|
|
lua = lua5;
|
|
|
|
cairo = cairo.override { xcbSupport = true; };
|
|
|
|
};
|
|
|
|
|
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 20:01:39 +00:00
|
|
|
inherit fetchurl stdenv makeWrapper;
|
|
|
|
python = pythonFull;
|
2008-01-18 10:29:58 +00:00
|
|
|
};
|
|
|
|
|
2008-05-26 11:39:08 +00:00
|
|
|
bazaarTools = builderDefsPackage (import ../applications/version-management/bazaar/tools.nix) {
|
|
|
|
inherit bazaar;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-26 11:39:08 +00:00
|
|
|
|
2008-08-18 10:50:16 +00: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 (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 09:03:22 +00:00
|
|
|
bitlbeeOtr = import ../applications/networking/instant-messengers/bitlbee-otr {
|
2008-09-26 12:32:06 +00: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 09:03:22 +00: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 14:51:29 +00:00
|
|
|
inherit cmake mesa gettext freetype SDL libtiff fetchurl glibc scons x11 lib
|
2008-09-24 09:56:27 +00: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 14:51:29 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-04-11 18:58:43 +00:00
|
|
|
calibre = makeOverridable (import ../applications/misc/calibre) {
|
2010-01-07 22:47:30 +00:00
|
|
|
inherit stdenv fetchurl libpng imagemagick pkgconfig libjpeg fontconfig podofo
|
2010-04-11 21:03:51 +00:00
|
|
|
qt4 makeWrapper unrar pil chmlib popplerQt4 pyqt4 sip;
|
2010-01-07 22:47:30 +00:00
|
|
|
python = python26Full;
|
2010-02-28 22:55:08 +00:00
|
|
|
inherit (python26Packages) mechanize lxml dateutil cssutils beautifulsoap;
|
2010-01-07 22:47:30 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
carrier = builderDefsPackage (import ../applications/networking/instant-messengers/carrier/2.5.0.nix) {
|
2008-06-16 13:15:55 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss
|
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib python
|
2008-07-01 08:31:48 +00:00
|
|
|
libtool automake autoconf;
|
2008-06-16 13:15:55 +00:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) startupnotification GConf ;
|
|
|
|
inherit (xlibs) libXScrnSaver scrnsaverproto libX11 xproto kbproto;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-06-16 13:15:55 +00:00
|
|
|
funpidgin = carrier;
|
|
|
|
|
2008-05-26 20:18:45 +00: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 22:48:34 +00: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 {
|
2010-01-04 07:47:32 +00:00
|
|
|
inherit stdenv fetchurl ffmpeg cairo nspr nss fontconfig freetype alsaLib makeWrapper unzip expat zlib bzip2 libpng;
|
2010-02-25 10:01:33 +00:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt libXScrnSaver;
|
2009-10-30 08:45:58 +00:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
|
|
|
inherit (gnome) GConf;
|
2010-01-04 07:47:32 +00:00
|
|
|
libjpeg = libjpeg62;
|
2009-10-30 08:45:58 +00:00
|
|
|
};
|
|
|
|
|
2009-10-30 12:28:44 +00:00
|
|
|
chromeWrapper = wrapFirefox chrome "chrome" "";
|
|
|
|
|
2008-10-14 14:01:50 +00:00
|
|
|
cinelerra = import ../applications/video/cinelerra {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit lib fetchurl sourceFromHead stdenv
|
2008-10-14 14:01:50 +00:00
|
|
|
automake autoconf libtool
|
|
|
|
a52dec alsaLib lame libavc1394 libiec61883 libraw1394 libsndfile
|
|
|
|
libvorbis libogg libjpeg libtiff freetype mjpegtools x264
|
2009-04-18 12:47:11 +00:00
|
|
|
gettext faad2 faac libtheora libpng libdv perl nasm e2fsprogs
|
2008-10-14 14:01:50 +00:00
|
|
|
pkgconfig;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
fftw = fftwSinglePrec;
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit (xorg) libXxf86vm libXv libXi libX11 xextproto;
|
2008-10-14 14:01:50 +00:00
|
|
|
inherit (gnome) esound;
|
|
|
|
};
|
|
|
|
|
2009-08-26 17:04:15 +00:00
|
|
|
compizBase = (builderDefsPackage (import ../applications/window-managers/compiz/0.8.0.nix)) {
|
2009-08-25 05:46:48 +00: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 09:33:38 +00: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 22:48:34 +00:00
|
|
|
damageproto randrproto xineramaproto renderproto kbproto xproto libX11
|
2008-04-11 09:32:27 +00: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 14:50:18 +00:00
|
|
|
compiz = compizBase.passthru.function (x : x // {
|
2007-12-30 22:02:04 +00:00
|
|
|
extraConfigureFlags = getConfig ["compiz" "extraConfigureFlags"] [];
|
2009-08-22 14:50:18 +00:00
|
|
|
});
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-04-20 22:06:12 +00: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 22:48:34 +00: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 15:20:19 +00:00
|
|
|
cinepaint = import ../applications/graphics/cinepaint {
|
2009-05-28 21:57:05 +00:00
|
|
|
inherit stdenv fetchcvs cmake pkgconfig freetype fontconfig lcms flex libtiff
|
2009-04-02 15:20:19 +00:00
|
|
|
libjpeg libpng libexif zlib perl mesa perlXMLParser python pygtk gettext
|
2009-05-28 21:57:05 +00:00
|
|
|
intltool babl gegl automake autoconf libtool;
|
2009-04-02 15:20:19 +00: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 20:01:39 +00:00
|
|
|
inherit makeWrapper;
|
|
|
|
python = pythonFull;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-26 07:47:07 +00: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 22:48:34 +00:00
|
|
|
|
2010-01-05 17:46:14 +00:00
|
|
|
darcs = haskellPackages_ghc6104.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 22:48:34 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig perl perlXMLParser
|
|
|
|
libxml2 gettext python libxml2Python docbook5 docbook_xsl
|
2009-12-25 16:13:58 +00:00
|
|
|
libxslt intltool;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
|
|
|
|
2010-04-10 20:26:54 +00:00
|
|
|
djvulibre = makeOverridable (import ../applications/misc/djvulibre) {
|
2010-04-01 12:34:50 +00:00
|
|
|
inherit stdenv fetchurl lib libjpeg libtiff libungif qt3 zlib
|
|
|
|
ghostscript libpng mesa x11;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
djview4 = import ../applications/graphics/djview {
|
|
|
|
inherit fetchurl stdenv qt4 djvulibre;
|
|
|
|
};
|
|
|
|
|
2008-08-06 20:39:01 +00:00
|
|
|
dmenu = import ../applications/misc/dmenu {
|
2010-03-05 21:42:24 +00:00
|
|
|
inherit fetchurl stdenv;
|
2008-08-06 20:39:01 +00:00
|
|
|
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
|
2010-03-16 12:13:40 +00:00
|
|
|
pkgconfig bzip2 zlib libtool freetype fontconfig
|
2010-02-20 11:56:23 +00:00
|
|
|
ghostscript;
|
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 20:44:08 +00:00
|
|
|
dwm = import ../applications/window-managers/dwm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXinerama;
|
2010-03-05 21:49:29 +00:00
|
|
|
patches = getConfig [ "dwm" "patches" ] [];
|
2008-10-09 10:10:49 +00:00
|
|
|
};
|
2008-08-21 20:44:08 +00:00
|
|
|
|
2009-04-29 16:42:41 +00: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 16:13:36 +00: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
|
2010-04-10 20:27:02 +00:00
|
|
|
guile bzip2 gpm;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-04-16 19:28:42 +00: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 22:25:05 +00: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-12-02 22:19:49 +00:00
|
|
|
xawSupport = stdenv.isDarwin || getPkgConfig "emacs" "xawSupport" false;
|
2009-07-31 22:25:05 +00: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 21:38:16 +00: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 21:38:16 +00:00
|
|
|
});
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-07-13 11:53:06 +00:00
|
|
|
emacsPackages = emacs: recurseIntoAttrs (rec {
|
2009-07-10 16:17:06 +00:00
|
|
|
bbdb = import ../applications/editors/emacs-modes/bbdb {
|
|
|
|
inherit fetchurl stdenv emacs texinfo ctags;
|
|
|
|
};
|
2009-06-27 23:09:21 +00:00
|
|
|
|
2009-07-10 16:17:06 +00: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 15:56:40 +00:00
|
|
|
|
2009-07-10 16:17:06 +00:00
|
|
|
jdee = import ../applications/editors/emacs-modes/jdee {
|
|
|
|
# Requires Emacs 23, for `avl-tree'.
|
|
|
|
inherit fetchsvn stdenv cedet ant emacs;
|
|
|
|
};
|
|
|
|
|
2009-09-01 14:27:24 +00:00
|
|
|
stratego = import ../applications/editors/emacs-modes/stratego {
|
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-10 16:17:06 +00:00
|
|
|
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
2010-02-15 11:00:02 +00:00
|
|
|
hol_light_mode = import ../applications/editors/emacs-modes/hol_light {
|
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-10 16:17:06 +00:00
|
|
|
magit = import ../applications/editors/emacs-modes/magit {
|
2010-03-16 12:13:40 +00:00
|
|
|
inherit fetchurl stdenv emacs texinfo autoconf automake;
|
2009-07-10 16:17:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
maudeMode = import ../applications/editors/emacs-modes/maude {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
|
|
|
nxml = import ../applications/editors/emacs-modes/nxml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-27 17:40:56 +00:00
|
|
|
prologMode = import ../applications/editors/emacs-modes/prolog {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-11 16:18:27 +00:00
|
|
|
proofgeneral = import ../applications/editors/emacs-modes/proofgeneral {
|
|
|
|
inherit stdenv fetchurl emacs perl;
|
|
|
|
};
|
|
|
|
|
2009-07-10 16:17:06 +00:00
|
|
|
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 15:12:29 +00:00
|
|
|
|
|
|
|
scalaMode = import ../applications/editors/emacs-modes/scala-mode {
|
|
|
|
inherit fetchsvn stdenv emacs;
|
|
|
|
};
|
2009-07-13 11:53:06 +00:00
|
|
|
});
|
2008-08-21 08:58:51 +00:00
|
|
|
|
2009-11-22 16:29:15 +00:00
|
|
|
emacs22Packages = emacsPackages emacs22;
|
2009-07-10 16:17:06 +00:00
|
|
|
emacs23Packages = emacsPackages emacs23;
|
|
|
|
|
2010-01-17 01:39:29 +00:00
|
|
|
epdfview = import ../applications/misc/epdfview {
|
|
|
|
inherit stdenv fetchurl pkgconfig poppler;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-09-20 21:54:11 +00: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 10:24:08 +00: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 10:24:08 +00:00
|
|
|
inherit (gnome) gnomedocutils gnomeicontheme libgnome
|
2009-11-04 21:44:01 +00:00
|
|
|
libgnomeui libglade glib gtk scrollkeeper gnome_keyring;
|
2008-07-27 10:24:08 +00: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 17:01:31 +00:00
|
|
|
grip = import ../applications/misc/grip {
|
2009-09-20 17:33:12 +00:00
|
|
|
inherit fetchurl stdenv lib grip pkgconfig curl cdparanoia libid3tag;
|
2009-09-20 17:01:31 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libgnome libgnomeui vte;
|
|
|
|
};
|
|
|
|
|
2008-09-24 00:42:06 +00: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 12:44:56 +00:00
|
|
|
inherit fetchurl stdenv perl pkgconfig libpcap flex bison;
|
2007-12-30 22:02:04 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-08-04 07:14:43 +00: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 22:56:33 +00:00
|
|
|
inherit fetchurl stdenv x11 imlib2 libjpeg libpng giblib;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-08-04 08:11:33 +00:00
|
|
|
firefox = firefox35;
|
2008-07-18 10:41:27 +00:00
|
|
|
|
2009-08-04 08:11:33 +00:00
|
|
|
firefoxWrapper = firefox35Wrapper;
|
2008-07-18 10:41:27 +00:00
|
|
|
|
2010-01-21 22:23:59 +00:00
|
|
|
firefox35Pkgs = import ../applications/networking/browsers/firefox/3.5.nix {
|
2009-05-05 15:46:24 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2009-07-04 12:25:35 +00:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs file alsaLib
|
2009-07-06 11:42:21 +00:00
|
|
|
nspr nss;
|
2009-05-05 15:46:24 +00:00
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
2010-01-21 22:23:59 +00:00
|
|
|
};
|
2009-05-05 15:46:24 +00:00
|
|
|
|
2009-07-06 11:42:21 +00:00
|
|
|
firefox35 = firefox35Pkgs.firefox;
|
|
|
|
xulrunner35 = firefox35Pkgs.xulrunner;
|
|
|
|
firefox35Wrapper = wrapFirefox firefox35 "firefox" "";
|
|
|
|
|
2010-01-21 22:23:59 +00:00
|
|
|
firefox36Pkgs = import ../applications/networking/browsers/firefox/3.6.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs file alsaLib
|
|
|
|
nspr nss libnotify;
|
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
};
|
|
|
|
|
|
|
|
firefox36Wrapper = lowPrio (wrapFirefox firefox36Pkgs.firefox "firefox" "");
|
2010-01-26 14:53:03 +00:00
|
|
|
|
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 06:29:21 +00:00
|
|
|
flashplayer9 = (
|
2009-08-25 06:11:22 +00: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;
|
2010-01-21 22:23:59 +00:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt;
|
2009-10-30 12:28:44 +00:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2009-08-25 06:11:22 +00:00
|
|
|
});
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
flashplayer10 = (
|
2009-08-25 06:11:22 +00: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;
|
2010-01-04 07:44:24 +00:00
|
|
|
debug = getConfig ["flashplayer" "debug"] false;
|
2009-08-25 06:11:22 +00:00
|
|
|
});
|
2008-10-16 13:36:27 +00: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 21:17:49 +00:00
|
|
|
inherit fetchurl stdenv ant coreutils gnugrep;
|
2007-12-30 22:02:04 +00:00
|
|
|
jdk = jdk;
|
|
|
|
jre = jdk;
|
|
|
|
};
|
|
|
|
|
2009-04-08 20:05:59 +00:00
|
|
|
freepv = import ../applications/graphics/freepv {
|
2009-12-12 18:48:07 +00:00
|
|
|
inherit fetchurl stdenv mesa freeglut libjpeg zlib cmake libxml2 libpng;
|
2009-04-08 20:05:59 +00:00
|
|
|
inherit (xlibs) libX11 libXxf86vm;
|
|
|
|
};
|
|
|
|
|
2009-12-24 14:48:36 +00:00
|
|
|
xfontsel = import ../applications/misc/xfontsel {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2009-12-24 14:55:11 +00:00
|
|
|
inherit (xlibs) libX11 libXaw;
|
2009-12-24 14:48:36 +00:00
|
|
|
};
|
2009-12-24 14:59:57 +00:00
|
|
|
xlsfonts = import ../applications/misc/xlsfonts {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2009-12-24 14:48:36 +00:00
|
|
|
|
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-09 23:21:39 +00: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-27 17:40:56 +00:00
|
|
|
|
2010-02-11 15:08:05 +00:00
|
|
|
gimpPlugins = recurseIntoAttrs (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;
|
2010-01-18 16:07:44 +00:00
|
|
|
gitFull = gitAndTools.gitFull;
|
2008-07-07 11:48:24 +00:00
|
|
|
|
2009-09-30 13:11:17 +00: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 16:03:21 +00: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 22:06:12 +00: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 08:26:00 +00: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 20:34:08 +00: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 18:48:09 +00: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 20:24:03 +00:00
|
|
|
libxml2 ncurses findutils makeWrapper;
|
2008-08-24 18:48:09 +00: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 17:06:31 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt gettext
|
|
|
|
libjpeg readline libtool;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-08-24 21:35:45 +00:00
|
|
|
gphoto2fs = builderDefsPackage ../applications/misc/gphoto2/gphotofs.nix {
|
2009-10-29 11:43:02 +00:00
|
|
|
inherit libgphoto2 fuse pkgconfig glib;
|
2009-08-24 21:35:45 +00:00
|
|
|
};
|
|
|
|
|
2010-03-04 14:44:47 +00:00
|
|
|
graphicsmagick = import ../applications/graphics/graphicsmagick {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz ghostscript
|
|
|
|
libjpeg libpng libtiff libxml2 zlib libtool;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2010-03-04 16:41:14 +00:00
|
|
|
graphicsmagick137 = import ../applications/graphics/graphicsmagick/1.3.7.nix {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz ghostscript
|
|
|
|
libjpeg libpng libtiff libxml2 zlib libtool;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2009-04-13 15:41:10 +00:00
|
|
|
gtkpod = import ../applications/audio/gtkpod {
|
2009-10-19 22:05:34 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag libvorbis;
|
2009-04-13 15:41:10 +00: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 20:34:08 +00: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 20:34:08 +00: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 06:29:21 +00:00
|
|
|
googleearth = import ../applications/misc/googleearth {
|
2010-02-05 19:22:26 +00:00
|
|
|
inherit stdenv fetchurl glibc mesa freetype zlib glib;
|
|
|
|
inherit (xlibs) libSM libICE libXi libXv libXrender libXrandr libXfixes
|
|
|
|
libXcursor libXinerama libXext libX11;
|
|
|
|
};
|
2009-04-13 15:40:51 +00:00
|
|
|
|
2009-06-01 22:43:36 +00: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 11:29:42 +00:00
|
|
|
gpsd = import ../servers/gpsd {
|
2009-06-01 00:03:08 +00: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 11:29:42 +00:00
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
gv = import ../applications/misc/gv {
|
|
|
|
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2009-08-28 16:45:56 +00:00
|
|
|
hello = makeOverridable (import ../applications/misc/hello/ex-2) {
|
2008-06-17 14:19:59 +00:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2010-01-26 22:22:11 +00:00
|
|
|
homebank = import ../applications/office/homebank {
|
|
|
|
inherit fetchurl stdenv pkgconfig libofx intltool;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-04-05 21:41:38 +00:00
|
|
|
hugin = import ../applications/graphics/hugin {
|
2009-12-12 18:48:07 +00:00
|
|
|
inherit fetchurl stdenv cmake panotools libtiff libpng boost pkgconfig
|
2009-12-12 18:58:40 +00:00
|
|
|
exiv2 gettext ilmbase enblendenfuse autopanosiftc mesa freeglut
|
|
|
|
glew;
|
2009-11-05 13:29:52 +00:00
|
|
|
inherit wxGTK;
|
2009-12-12 18:58:40 +00:00
|
|
|
inherit (xlibs) libXi libXmu;
|
2009-04-05 21:41:38 +00: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 22:48:34 +00:00
|
|
|
|
2008-07-28 15:55:11 +00: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
|
2010-02-01 09:16:56 +00:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib libnotify
|
|
|
|
wirelesstools;
|
2008-07-28 20:41:14 +00:00
|
|
|
inherit (gnome) libIDL libgnomeui gnomevfs gtk pango;
|
2009-07-19 12:34:14 +00:00
|
|
|
inherit (pythonPackages) ply;
|
2008-07-28 15:55:11 +00:00
|
|
|
});
|
|
|
|
|
2008-09-29 21:58:25 +00: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
|
2010-02-01 09:16:56 +00:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib libnotify
|
|
|
|
wirelesstools;
|
2008-09-29 21:58:25 +00:00
|
|
|
inherit (gnome) libIDL libgnomeui gnomevfs gtk pango;
|
2009-07-20 14:14:28 +00:00
|
|
|
inherit (pythonPackages) ply;
|
2008-09-29 21:58:25 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
icecat3Xul =
|
2009-07-14 15:22:31 +00: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 21:58:25 +00:00
|
|
|
|
|
|
|
icecatWrapper = wrapFirefox icecat3Xul "icecat" "";
|
2008-07-28 15:55:11 +00:00
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
icewm = import ../applications/window-managers/icewm {
|
2010-01-05 22:48:10 +00:00
|
|
|
inherit fetchurl stdenv gettext libjpeg libtiff libungif libpng imlib xlibs;
|
2007-12-30 22:02:04 +00:00
|
|
|
};
|
|
|
|
|
2009-10-16 06:39:29 +00: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
|
2010-03-28 22:54:10 +00:00
|
|
|
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder LocaleGettext;
|
2009-10-15 22:08:35 +00:00
|
|
|
inherit git; # The RCS should be optional
|
2009-10-16 06:39:29 +00:00
|
|
|
monotone = null;
|
2009-10-16 08:38:25 +00:00
|
|
|
extraUtils = [];
|
2009-10-14 21:00:54 +00:00
|
|
|
};
|
|
|
|
|
2008-05-16 11:26:23 +00: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 11:26:23 +00:00
|
|
|
};
|
2007-12-30 22:02:04 +00:00
|
|
|
|
2008-05-16 11:26:23 +00: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 11:26:23 +00: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 {
|
2010-03-01 17:08:25 +00:00
|
|
|
inherit fetchurl stdenv xpdf pil pygame makeWrapper lib python;
|
2009-03-19 16:40:28 +00:00
|
|
|
|
|
|
|
# XXX These are the PyOpenGL dependencies, which we need here.
|
|
|
|
inherit setuptools mesa freeglut;
|
2010-03-01 17:08:25 +00:00
|
|
|
|
|
|
|
inherit (pythonPackages) pyopengl;
|
2009-03-19 16:40:28 +00:00
|
|
|
};
|
|
|
|
|
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 04:43:40 +00: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 10:52:47 +00: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 09:58:33 +00:00
|
|
|
jackmeter = import ../applications/audio/jackmeter {
|
|
|
|
inherit fetchurl stdenv lib jackaudio pkgconfig;
|
|
|
|
};
|
|
|
|
|
2008-06-04 11:59:42 +00: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 16:57:31 +00: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;
|
|
|
|
};
|
|
|
|
|
2009-09-14 18:50:17 +00: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 22:48:34 +00: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
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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 11:22:26 +00: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 15:39:54 +00: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 15:39:54 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-04-06 19:39:29 +00:00
|
|
|
meld = import ../applications/version-management/meld {
|
|
|
|
inherit fetchurl stdenv python intltool makeWrapper;
|
|
|
|
inherit (gnome) scrollkeeper;
|
|
|
|
pygtk = pyGtkGlade;
|
|
|
|
};
|
|
|
|
|
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 12:01:24 +00: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 10:21:29 +00:00
|
|
|
meshlab = import ../applications/graphics/meshlab {
|
2010-01-21 14:39:53 +00:00
|
|
|
inherit fetchurl stdenv bzip2 lib3ds levmar muparser unzip;
|
2009-05-13 10:21:29 +00:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-09-07 12:58:56 +00:00
|
|
|
midori = builderDefsPackage (import ../applications/networking/browsers/midori) {
|
2008-10-09 10:10:49 +00:00
|
|
|
inherit imagemagick intltool python pkgconfig webkit libxml2
|
2009-06-04 11:20:26 +00:00
|
|
|
which gettext makeWrapper file libidn sqlite docutils libnotify;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 05:37:09 +00:00
|
|
|
inherit (gnome28) gtksourceview libsoup;
|
2008-09-07 12:58:56 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
minicom = import ../tools/misc/minicom {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
2008-04-11 09:32:27 +00:00
|
|
|
};
|
|
|
|
|
2010-01-25 21:40:52 +00:00
|
|
|
mmex = import ../applications/office/mmex {
|
|
|
|
inherit fetchsvn stdenv wxGTK;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2009-12-29 11:57:27 +00:00
|
|
|
monotone = import ../applications/version-management/monotone {
|
|
|
|
inherit stdenv fetchurl boost zlib botan libidn pcre
|
|
|
|
sqlite lib perl;
|
|
|
|
lua = lua5;
|
|
|
|
};
|
|
|
|
|
|
|
|
monotoneViz = builderDefsPackage (import ../applications/version-management/monotone-viz/mtn-head.nix) {
|
|
|
|
inherit ocaml lablgtk graphviz pkgconfig autoconf automake libtool;
|
|
|
|
inherit (gnome) gtk libgnomecanvas glib;
|
|
|
|
};
|
|
|
|
|
2007-12-30 22:02:04 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2010-01-28 22:34:27 +00:00
|
|
|
mpc123 = import ../applications/audio/mpc123 {
|
|
|
|
inherit stdenv fetchurl gettext libao libmpcdec;
|
|
|
|
};
|
|
|
|
|
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 {
|
2010-04-14 12:13:01 +00:00
|
|
|
inherit fetchurl stdenv freetype fontconfig x11 zlib libtheora libcaca libdvdnav
|
|
|
|
cdparanoia mesa pkgconfig unzip amrnb amrwb jackaudio;
|
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 21:31:34 +00: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 15:55:11 +00:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
|
2008-10-30 13:00:50 +00:00
|
|
|
inherit browser;
|
2008-07-28 15:55:11 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
# !!! should depend on MPlayer
|
|
|
|
};
|
2003-11-13 13:11:38 +00:00
|
|
|
|
2008-03-17 09:41:28 +00:00
|
|
|
mrxvt = import ../applications/misc/mrxvt {
|
2009-04-12 08:42:04 +00: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 20:06:18 +00: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 15:09:38 +00:00
|
|
|
mutt = import ../applications/networking/mailreaders/mutt {
|
2010-04-12 22:21:01 +00:00
|
|
|
inherit fetchurl stdenv ncurses which openssl gdbm perl cyrus_sasl;
|
2007-08-06 15:09:38 +00:00
|
|
|
};
|
|
|
|
|
2007-09-03 12:10:57 +00:00
|
|
|
msmtp = import ../applications/networking/msmtp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
mythtv = import ../applications/video/mythtv {
|
2008-06-25 22:01:33 +00:00
|
|
|
inherit fetchurl stdenv which x11 xlibs lame zlib mesa freetype perl alsaLib;
|
2008-06-23 09:01:04 +00:00
|
|
|
qt3 = qt3mysql;
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
nano = import ../applications/editors/nano {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv ncurses gettext;
|
2006-01-20 11:30:24 +00:00
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
nedit = import ../applications/editors/nedit {
|
2009-08-25 06:36:05 +00:00
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
motif = lesstif;
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2004-01-21 09:34:19 +00:00
|
|
|
|
2009-09-13 08:54:47 +00:00
|
|
|
netsurfBrowser = netsurf.browser;
|
2009-09-21 10:09:20 +00:00
|
|
|
netsurf = recurseIntoAttrs (import ../applications/networking/browsers/netsurf { inherit pkgs; });
|
2009-09-13 08:54:47 +00:00
|
|
|
|
2009-04-16 19:28:57 +00:00
|
|
|
nvi = import ../applications/editors/nvi {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
openoffice = import ../applications/office/openoffice {
|
2009-04-20 12:08:09 +00: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 13:50:07 +00:00
|
|
|
which icu jdk ant cups openssl bison boost gperf cppunit;
|
2007-09-19 08:31:23 +00:00
|
|
|
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
|
2004-04-05 13:34:13 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
2009-04-20 12:49:35 +00: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 10:32:09 +00:00
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
opera = import ../applications/networking/browsers/opera {
|
2009-05-13 14:47:10 +00:00
|
|
|
inherit fetchurl zlib glibc stdenv makeDesktopItem;
|
2006-09-29 09:06:56 +00:00
|
|
|
inherit (xlibs) libX11 libSM libICE libXt libXext;
|
2009-09-02 13:24:08 +00:00
|
|
|
qt = qt3;
|
2006-08-13 09:46:54 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
pan = import ../applications/networking/newsreaders/pan {
|
2007-04-27 22:41:35 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl pcre gmime gettext;
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
spellChecking = false;
|
2005-09-07 14:57:30 +00:00
|
|
|
};
|
|
|
|
|
2009-04-05 21:41:24 +00:00
|
|
|
panotools = import ../applications/graphics/panotools {
|
|
|
|
inherit stdenv fetchsvn libpng libjpeg libtiff automake libtool autoconf;
|
|
|
|
};
|
2009-05-18 13:53:01 +00:00
|
|
|
|
2009-04-03 15:58:18 +00:00
|
|
|
pavucontrol = import ../applications/audio/pavucontrol {
|
|
|
|
inherit fetchurl stdenv pkgconfig pulseaudio libsigcxx
|
2009-04-03 21:04:13 +00:00
|
|
|
libcanberra intltool gettext;
|
2009-04-03 15:58:18 +00:00
|
|
|
inherit (gtkLibs) gtkmm;
|
|
|
|
inherit (gnome) libglademm;
|
|
|
|
};
|
|
|
|
|
2009-03-30 20:06:31 +00:00
|
|
|
paraview = import ../applications/graphics/paraview {
|
2010-03-16 20:49:26 +00:00
|
|
|
inherit fetchurl cmake qt4;
|
2010-03-16 21:53:48 +00:00
|
|
|
stdenv = stdenv2;
|
2009-03-30 20:06:31 +00:00
|
|
|
};
|
|
|
|
|
2009-09-10 16:57:34 +00:00
|
|
|
partitionManager = import ../tools/misc/partition-manager {
|
|
|
|
inherit fetchurl stdenv lib cmake pkgconfig gettext parted libuuid perl;
|
2010-03-05 12:00:37 +00:00
|
|
|
kde = kde44;
|
2009-09-10 16:57:34 +00:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-04-25 23:40:18 +00:00
|
|
|
pidgin = import ../applications/networking/instant-messengers/pidgin {
|
2010-01-11 13:25:05 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 nss nspr farsight2 python
|
2009-12-23 21:05:29 +00:00
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib lib intltool libidn;
|
2008-09-06 10:30:55 +00:00
|
|
|
openssl = if (getConfig ["pidgin" "openssl"] true) then openssl else null;
|
|
|
|
gnutls = if (getConfig ["pidgin" "gnutls"] false) then gnutls else null;
|
2008-04-25 23:40:18 +00:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) startupnotification;
|
|
|
|
inherit (xlibs) libXScrnSaver;
|
2009-12-27 16:49:08 +00:00
|
|
|
inherit (gst_all) gstPluginsBase;
|
2008-04-25 23:40:18 +00:00
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
pidginlatex = composedArgsAndFun (import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex) {
|
2008-04-25 23:40:18 +00: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 22:04:30 +00:00
|
|
|
pidginlatexSF = builderDefsPackage
|
2008-06-18 22:48:34 +00:00
|
|
|
(import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/pidgin-latex-sf.nix)
|
2008-04-25 23:40:18 +00: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 10:32:45 +00:00
|
|
|
pinfo = import ../applications/misc/pinfo {
|
2007-12-31 23:38:10 +00:00
|
|
|
inherit fetchurl stdenv ncurses readline;
|
2005-09-07 14:57:30 +00:00
|
|
|
};
|
|
|
|
|
2008-05-27 15:05:16 +00:00
|
|
|
pqiv = import ../applications/graphics/pqiv {
|
|
|
|
inherit fetchurl stdenv getopt which pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2007-09-03 12:10:57 +00: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 19:58:39 +00:00
|
|
|
pythonmagick = import ../applications/graphics/PythonMagick {
|
2008-09-24 08:50:32 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick boost python;
|
2007-08-09 19:58:39 +00:00
|
|
|
};
|
|
|
|
|
2010-03-06 23:37:01 +00:00
|
|
|
qemu = import ../applications/virtualization/qemu/0.12.3.nix {
|
2009-11-09 09:15:58 +00:00
|
|
|
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 21:41:13 +00:00
|
|
|
qtpfsgui = import ../applications/graphics/qtpfsgui {
|
|
|
|
inherit fetchurl stdenv exiv2 libtiff fftw qt4 ilmbase;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
2010-03-10 20:44:40 +00:00
|
|
|
rapidsvn = import ../applications/version-management/rapidsvn {
|
|
|
|
inherit fetchurl stdenv wxGTK subversion apr aprutil python;
|
|
|
|
};
|
|
|
|
|
2007-08-03 22:38:36 +00:00
|
|
|
ratpoison = import ../applications/window-managers/ratpoison {
|
2010-02-08 15:33:18 +00:00
|
|
|
inherit fetchurl stdenv fontconfig readline pkgconfig autoconf automake;
|
2007-08-03 22:38:36 +00:00
|
|
|
inherit (xlibs) libX11 inputproto libXt libXpm libXft
|
2009-11-05 21:53:37 +00:00
|
|
|
libXtst xextproto libXi;
|
2007-08-03 22:38:36 +00:00
|
|
|
};
|
|
|
|
|
2010-01-17 17:49:35 +00:00
|
|
|
rawtherapee = import ../applications/graphics/rawtherapee {
|
2010-01-25 18:52:07 +00:00
|
|
|
inherit fetchsvn stdenv pkgconfig cmake lcms libiptcdata;
|
2010-01-17 17:49:35 +00:00
|
|
|
inherit (gtkLibs) gtk gtkmm;
|
|
|
|
inherit (xlibs) libXau libXdmcp pixman libpthreadstubs;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
rcs = import ../applications/version-management/rcs {
|
2006-09-15 15:28:53 +00: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 20:16:38 +00:00
|
|
|
RealPlayer =
|
2009-08-25 06:04:13 +00:00
|
|
|
(import ../applications/video/RealPlayer {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
});
|
2005-09-11 22:39:06 +00:00
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
rsync = import ../applications/networking/sync/rsync {
|
2010-01-05 12:29:58 +00:00
|
|
|
inherit fetchurl stdenv acl perl;
|
2009-12-02 22:19:49 +00:00
|
|
|
enableACLs = !stdenv.isDarwin;
|
2005-08-30 19:41:10 +00:00
|
|
|
};
|
|
|
|
|
2007-09-05 08:25:23 +00:00
|
|
|
rxvt = import ../applications/misc/rxvt {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXt libX11;
|
2007-09-12 15:49:28 +00:00
|
|
|
};
|
2007-09-12 10:56:56 +00:00
|
|
|
|
2007-10-31 12:17:14 +00:00
|
|
|
# = urxvt
|
2009-09-10 16:57:47 +00:00
|
|
|
rxvt_unicode = makeOverridable (import ../applications/misc/rxvt_unicode) {
|
2009-06-30 21:45:15 +00:00
|
|
|
inherit lib fetchurl stdenv perl ncurses;
|
2007-10-31 12:17:14 +00:00
|
|
|
inherit (xlibs) libXt libX11 libXft;
|
2009-09-10 16:57:47 +00:00
|
|
|
perlSupport = false;
|
2007-10-31 12:17:14 +00:00
|
|
|
};
|
|
|
|
|
2010-02-21 11:36:49 +00:00
|
|
|
sakura = import ../applications/misc/sakura {
|
|
|
|
inherit stdenv fetchurl cmake pkgconfig gettext;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) vte;
|
|
|
|
inherit (xlibs) pixman;
|
|
|
|
};
|
|
|
|
|
2007-09-12 10:56:56 +00:00
|
|
|
sbagen = import ../applications/misc/sbagen {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-18 04:44:01 +00: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;
|
2010-04-14 09:45:22 +00:00
|
|
|
inherit (xlibs) libXau libXaw libXdmcp libXext libX11 libXtst libXi libXinerama libXrender;
|
|
|
|
inherit (xorg) pixman libpthreadstubs;
|
2009-10-18 04:44:01 +00:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2010-03-01 23:31:35 +00:00
|
|
|
seg3d = import ../applications/graphics/seg3d {
|
2010-03-04 14:44:43 +00:00
|
|
|
inherit fetchurl stdenv cmake itk mesa zlib libuuid;
|
2010-03-01 23:31:35 +00:00
|
|
|
inherit (xlibs) libXft libXext libXi libXmu;
|
2010-03-04 14:44:43 +00:00
|
|
|
wxGTK = wxGTK28.override {
|
|
|
|
unicode = false;
|
|
|
|
};
|
2010-03-01 23:31:35 +00:00
|
|
|
};
|
|
|
|
|
2007-09-12 10:56:56 +00:00
|
|
|
skype_linux = import ../applications/networking/skype {
|
|
|
|
inherit fetchurl stdenv;
|
2010-02-12 23:19:37 +00:00
|
|
|
inherit alsaLib freetype fontconfig zlib;
|
|
|
|
qt = qt46;
|
|
|
|
inherit (xlibs) libXext libX11 libXv libXScrnSaver libSM libICE
|
|
|
|
libXi libXrender libXrandr;
|
|
|
|
inherit (gtkLibs) glib;
|
2007-09-05 08:25:23 +00:00
|
|
|
};
|
|
|
|
|
2007-02-25 22:25:25 +00:00
|
|
|
slim = import ../applications/display-managers/slim {
|
2007-06-05 11:25:59 +00: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 05:54:09 +00:00
|
|
|
inherit fetchurl stdenv stringsWithDeps lib fftw;
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit pkgconfig gmp gettext;
|
2008-06-16 16:33:11 +00: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 16:03:38 +00:00
|
|
|
inherit guile mesa libtool jackaudio alsaLib;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2007-11-03 04:15:13 +00:00
|
|
|
|
2009-09-21 09:58:36 +00:00
|
|
|
sonicVisualizer = import ../applications/audio/sonic-visualizer {
|
|
|
|
inherit fetchurl stdenv lib libsndfile libsamplerate bzip2 librdf
|
2009-09-22 20:16:38 +00:00
|
|
|
rubberband jackaudio pulseaudio libmad
|
2009-09-21 09:58:36 +00: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 22:48:34 +00:00
|
|
|
# optional features
|
2009-03-10 21:03:51 +00:00
|
|
|
inherit alsaLib libao ffmpeg;
|
2007-10-22 00:51:40 +00: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 22:48:34 +00:00
|
|
|
|
2008-08-09 20:21:33 +00:00
|
|
|
stumpwm = builderDefsPackage (import ../applications/window-managers/stumpwm) {
|
2009-05-31 06:07:25 +00:00
|
|
|
inherit texinfo;
|
|
|
|
clisp = clisp_2_44_1;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-08-09 20:21:33 +00:00
|
|
|
|
2009-10-02 12:36:04 +00:00
|
|
|
subversion = makeOverridable (import ../applications/version-management/subversion/default.nix) {
|
2009-10-02 11:49:21 +00:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apr aprutil expat swig zlib jdk python perl sqlite;
|
2008-06-19 15:29:25 +00: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 12:44:54 +00:00
|
|
|
javahlBindings = supportsJDK && getConfig ["subversion" "javahlBindings"] false;
|
2008-06-19 15:29:25 +00:00
|
|
|
compressionSupport = getConfig ["subversion" "compressionSupport"] true;
|
2009-08-31 15:03:31 +00:00
|
|
|
httpd = pkgsOverriden.apacheHttpd;
|
2008-06-19 15:29:25 +00:00
|
|
|
};
|
|
|
|
|
2009-04-20 12:49:35 +00:00
|
|
|
svk = perlPackages.SVK;
|
2008-05-30 18:15:25 +00:00
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
sylpheed = import ../applications/networking/mailreaders/sylpheed {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig openssl gpgme;
|
2007-05-14 00:29:30 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
2006-09-15 15:28:53 +00:00
|
|
|
sslSupport = true;
|
|
|
|
gpgSupport = true;
|
2006-01-26 20:45:11 +00:00
|
|
|
};
|
|
|
|
|
2008-06-18 22:48:34 +00:00
|
|
|
# linux only by now
|
2007-11-11 08:16:23 +00:00
|
|
|
synergy = import ../applications/misc/synergy {
|
2009-12-21 08:55:31 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv x11 automake autoconf;
|
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 08:11:13 +00:00
|
|
|
inherit fetchurl lib unzip nettools buildPythonPackage;
|
2009-06-28 21:03:00 +00:00
|
|
|
inherit (pythonPackages) twisted foolscap simplejson nevow zfec
|
2010-02-03 13:38:03 +00:00
|
|
|
pycryptopp pysqlite darcsver setuptoolsTrial setuptoolsDarcs
|
|
|
|
numpy;
|
2009-06-28 21:03:00 +00:00
|
|
|
};
|
|
|
|
|
2009-04-25 11:19:42 +00:00
|
|
|
tailor = builderDefsPackage (import ../applications/version-management/tailor) {
|
2008-09-24 08:50:32 +00:00
|
|
|
inherit makeWrapper python;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-05-07 07:23:20 +00:00
|
|
|
|
2009-06-03 13:52:38 +00:00
|
|
|
tangogps = import ../applications/misc/tangogps {
|
2009-12-25 21:30:46 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext curl libexif sqlite libxml2;
|
2009-06-03 13:52:38 +00:00
|
|
|
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 19:12:53 +00: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.
|
2010-04-01 13:34:36 +00:00
|
|
|
inherit (kde3) kdelibs kdebase;
|
|
|
|
withKde = getPkgConfig "taskJuggler" "kde" false;
|
2008-05-29 19:12:53 +00:00
|
|
|
};
|
|
|
|
|
2009-02-06 03:14:30 +00:00
|
|
|
thinkingRock = import ../applications/misc/thinking-rock {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-02 13:21:50 +00:00
|
|
|
thunderbird = thunderbird2;
|
|
|
|
|
|
|
|
thunderbird2 = import ../applications/networking/mailreaders/thunderbird/2.x.nix {
|
2009-09-12 05:53:25 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
2007-06-02 20:32:24 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
};
|
|
|
|
|
2010-01-01 16:35:43 +00:00
|
|
|
thunderbird3 = lowPrio (import ../applications/networking/mailreaders/thunderbird/3.x.nix {
|
2010-01-02 13:21:50 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl python dbus_glib zip bzip2 alsaLib nspr;
|
|
|
|
inherit (gtkLibs) gtk;
|
2009-03-08 12:29:34 +00:00
|
|
|
inherit (gnome) libIDL;
|
2010-01-02 13:21:50 +00:00
|
|
|
});
|
2009-03-08 12:29:34 +00:00
|
|
|
|
2007-09-23 16:28:56 +00:00
|
|
|
timidity = import ../tools/misc/timidity {
|
2009-09-10 16:57:58 +00:00
|
|
|
inherit fetchurl stdenv lib alsaLib composableDerivation jackaudio ncurses;
|
2007-09-23 16:28:56 +00:00
|
|
|
};
|
2007-09-23 14:47:11 +00:00
|
|
|
|
2009-06-19 09:02:48 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-03-28 00:06:30 +00:00
|
|
|
transmission = import ../applications/networking/p2p/transmission {
|
|
|
|
inherit stdenv fetchurl pkgconfig openssl curl intltool;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-09-20 17:01:19 +00: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 08:21:31 +00: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 09:32:27 +00:00
|
|
|
};
|
|
|
|
|
2009-06-19 08:05:21 +00:00
|
|
|
uzbl = builderDefsPackage (import ../applications/networking/browsers/uzbl) {
|
2009-08-03 06:27:20 +00:00
|
|
|
inherit pkgconfig webkit makeWrapper;
|
2009-10-29 14:19:13 +00:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 05:37:09 +00:00
|
|
|
libsoup = gnome28.libsoup;
|
2009-06-19 08:05:21 +00:00
|
|
|
};
|
|
|
|
|
2009-09-22 20:16:38 +00:00
|
|
|
uzblExperimental = builderDefsPackage
|
2009-09-22 03:51:04 +00: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 05:37:09 +00:00
|
|
|
libsoup = gnome28.libsoup;
|
2009-09-22 03:51:04 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
valknut = import ../applications/networking/p2p/valknut {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv perl x11 libxml2 libjpeg libpng openssl dclib;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
2006-02-24 21:42:57 +00:00
|
|
|
|
2009-12-29 11:57:27 +00:00
|
|
|
viewMtn = builderDefsPackage (import ../applications/version-management/viewmtn/0.10.nix)
|
|
|
|
{
|
|
|
|
inherit monotone flup cheetahTemplate highlight ctags
|
|
|
|
makeWrapper graphviz which python;
|
|
|
|
};
|
|
|
|
|
2010-02-23 18:29:11 +00:00
|
|
|
vim = makeOverridable (import ../applications/editors/vim) {
|
2007-08-10 19:53:30 +00:00
|
|
|
inherit fetchurl stdenv ncurses lib;
|
2006-09-15 15:28:53 +00:00
|
|
|
};
|
2005-11-07 23:02:17 +00:00
|
|
|
|
2010-02-23 18:29:11 +00:00
|
|
|
vimHugeX = vim.override {
|
|
|
|
inherit pkgconfig
|
2008-03-17 09:41:28 +00:00
|
|
|
perl python tcl;
|
2007-08-10 19:53:30 +00:00
|
|
|
inherit (xlibs) libX11 libXext libSM libXpm
|
2008-03-17 09:41:28 +00:00
|
|
|
libXt libXaw libXau;
|
2007-08-10 19:53:30 +00: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 19:53:30 +00: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 22:48:34 +00: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 10:32:45 +00:00
|
|
|
vlc = import ../applications/video/vlc {
|
2009-03-10 23:28:06 +00:00
|
|
|
inherit fetchurl stdenv perl xlibs zlib a52dec libmad faad2
|
2010-04-14 10:52:20 +00:00
|
|
|
ffmpeg libdvdnav pkgconfig hal fribidi qt4 freefont_ttf
|
|
|
|
libvorbis libtheora speex;
|
2009-03-10 21:03:51 +00:00
|
|
|
dbus = dbus.libs;
|
2006-09-15 15:28:53 +00:00
|
|
|
alsa = alsaLib;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2009-10-12 11:08:52 +00: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 21:33:24 +00: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 21:33:24 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00: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 15:28:53 +00:00
|
|
|
graphicsSupport = false;
|
2005-02-26 23:45:19 +00:00
|
|
|
};
|
|
|
|
|
2008-06-18 22:48:34 +00:00
|
|
|
# I'm keen on wmiimenu only >wmii-3.5 no longer has it...
|
2007-09-03 12:10:57 +00:00
|
|
|
wmiimenu = import ../applications/window-managers/wmii31 {
|
2008-06-08 21:41:07 +00:00
|
|
|
libixp = libixp_for_wmii;
|
2007-09-03 12:10:57 +00: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 21:41:07 +00: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 14:26:24 +00:00
|
|
|
wrapFirefox = browser: browserName: nameSuffix: import ../applications/networking/browsers/firefox/wrapper.nix {
|
2009-05-10 12:03:53 +00: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 20:34:08 +00:00
|
|
|
++ lib.optional enableAdobeFlash flashplayer
|
2008-03-17 09:41:28 +00:00
|
|
|
# RealPlayer is disabled by default for legal reasons.
|
2008-09-19 09:46:21 +00:00
|
|
|
++ lib.optional (system != "i686-linux" && getConfig [browserName "enableRealPlayer"] false) RealPlayer
|
2009-07-10 12:10:58 +00:00
|
|
|
++ lib.optional (getConfig [browserName "enableMPlayer"] false) (MPlayerPlugin browser)
|
2009-07-15 20:34:08 +00:00
|
|
|
++ lib.optional (getConfig [browserName "enableGeckoMediaPlayer"] false) gecko_mediaplayer
|
2008-09-19 09:46:21 +00:00
|
|
|
++ lib.optional (supportsJDK && getConfig [browserName "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin
|
2008-03-17 09:41:28 +00:00
|
|
|
);
|
2004-10-06 11:32:20 +00: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 22:48:34 +00: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 10:32:45 +00: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 10:32:45 +00:00
|
|
|
xawtv = import ../applications/video/xawtv {
|
2006-09-15 15:28:53 +00: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 10:32:45 +00:00
|
|
|
xchat = import ../applications/networking/irc/xchat {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig tcl;
|
2007-05-14 00:13:48 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
2003-12-08 11:56:50 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
xchm = import ../applications/misc/xchm {
|
2009-11-09 11:55:31 +00:00
|
|
|
inherit fetchurl stdenv chmlib wxGTK;
|
2004-10-06 12:06:23 +00:00
|
|
|
};
|
|
|
|
|
2010-01-06 20:45:43 +00:00
|
|
|
xcompmgr = import ../applications/window-managers/xcompmgr {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (xlibs) libXcomposite libXfixes libXdamage libXrender;
|
|
|
|
};
|
|
|
|
|
2010-03-25 19:48:06 +00:00
|
|
|
xdg_utils = import ../tools/X11/xdg-utils {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-10-04 15:24:08 +00:00
|
|
|
/* Doesn't work yet
|
2008-10-09 10:10:49 +00:00
|
|
|
|
2008-10-04 15:24:08 +00: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 10:32:45 +00:00
|
|
|
xineUI = import ../applications/video/xine-ui {
|
2009-04-09 15:27:48 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig xlibs xineLib libpng readline ncurses curl;
|
2004-12-06 07:36:56 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
xmms = import ../applications/audio/xmms {
|
2006-09-15 15:28:53 +00: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 13:17:06 +00:00
|
|
|
};
|
|
|
|
|
2008-03-20 09:52:40 +00:00
|
|
|
xneur = import ../applications/misc/xneur {
|
2009-08-05 10:25:17 +00: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 10:25:17 +00:00
|
|
|
inherit (xlibs) libX11 libXpm libXt libXext libXi;
|
|
|
|
inherit (gtkLibs) glib gtk pango atk;
|
2008-06-18 22:48:34 +00: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 22:48:34 +00:00
|
|
|
};
|
2008-03-20 09:52:40 +00:00
|
|
|
|
2009-08-02 21:47:10 +00:00
|
|
|
xournal = builderDefsPackage (import ../applications/graphics/xournal) {
|
2009-09-22 20:16:38 +00:00
|
|
|
inherit ghostscript fontconfig freetype zlib
|
2009-08-02 21:47:10 +00:00
|
|
|
poppler popplerData autoconf automake
|
|
|
|
libtool pkgconfig;
|
|
|
|
inherit (xlibs) xproto libX11;
|
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
2009-09-22 20:16:38 +00:00
|
|
|
inherit (gnome) libgnomeprint libgnomeprintui
|
2009-08-02 21:47:10 +00:00
|
|
|
libgnomecanvas;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
xpdf = import ../applications/misc/xpdf {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv x11 freetype t1lib;
|
|
|
|
motif = lesstif;
|
2007-10-03 12:16:48 +00:00
|
|
|
base14Fonts = "${ghostscript}/share/ghostscript/fonts";
|
2006-08-29 23:40:29 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-01-26 21:40:32 +00:00
|
|
|
xscreensaver = makeOverridable (import ../applications/graphics/xscreensaver) {
|
|
|
|
inherit stdenv fetchurl pkgconfig bc perl xlibs libjpeg mesa libxml2;
|
2007-11-26 13:24:56 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2007-11-22 20:26:00 +00:00
|
|
|
|
2006-10-18 10:32:45 +00: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 12:57:27 +00:00
|
|
|
};
|
2004-02-13 14:42:28 +00:00
|
|
|
|
2009-12-17 11:58:05 +00:00
|
|
|
xtrace = import ../tools/X11/xtrace {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2007-12-31 08:49:41 +00:00
|
|
|
xlaunch = import ../tools/X11/xlaunch {
|
|
|
|
inherit stdenv;
|
|
|
|
inherit (xorg) xorgserver;
|
|
|
|
};
|
|
|
|
|
2007-08-10 18:54:44 +00: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 18:54:44 +00:00
|
|
|
};
|
|
|
|
|
2007-06-25 21:46:18 +00: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 09:25:26 +00:00
|
|
|
xnee = builderDefsPackage (import ../tools/X11/xnee) {
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-08-25 13:25:07 +00:00
|
|
|
inherit (xlibs) libX11 libXtst xextproto libXext
|
2008-08-14 09:25:26 +00:00
|
|
|
inputproto libXi xproto recordproto;
|
|
|
|
inherit pkgconfig;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-08-14 09:25:26 +00:00
|
|
|
|
2006-12-01 16:44:26 +00:00
|
|
|
xvidcap = import ../applications/video/xvidcap {
|
2009-05-03 13:24:31 +00: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 13:24:31 +00:00
|
|
|
inherit (xlibs) libXmu libXext libXfixes libXdamage libX11;
|
2006-12-01 16:44:26 +00:00
|
|
|
};
|
|
|
|
|
2009-10-18 04:43:48 +00:00
|
|
|
yate = import ../applications/misc/yate {
|
|
|
|
inherit sox speex openssl automake autoconf pkgconfig;
|
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-06-18 22:48:34 +00: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 13:25:07 +00: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 10:32:45 +00:00
|
|
|
zapping = import ../applications/video/zapping {
|
2008-06-18 22:48:34 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig perl python
|
2006-09-15 15:28:53 +00: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 16:02:53 +00:00
|
|
|
### GAMES
|
|
|
|
|
2008-10-04 10:08:59 +00: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 22:49:37 +00: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 22:04:30 +00:00
|
|
|
};
|
2004-04-01 16:02:53 +00:00
|
|
|
|
2009-05-14 13:48:45 +00:00
|
|
|
eduke32 = import ../games/eduke32 {
|
2010-02-11 13:34:28 +00:00
|
|
|
inherit stdenv fetchsvn SDL SDL_mixer unzip libvorbis mesa pkgconfig nasm makeDesktopItem;
|
2009-05-14 13:48:45 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
exult = import ../games/exult {
|
2009-10-02 13:01:31 +00:00
|
|
|
inherit fetchurl SDL SDL_mixer zlib libpng unzip;
|
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2006-08-08 23:39:03 +00:00
|
|
|
};
|
|
|
|
|
2009-07-10 12:44:34 +00:00
|
|
|
/*
|
2008-07-12 17:00:57 +00:00
|
|
|
exultSnapshot = lowPrio (import ../games/exult/snapshot.nix {
|
|
|
|
inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip
|
2008-08-25 13:25:07 +00:00
|
|
|
autoconf automake libtool flex bison;
|
2008-07-12 17:00:57 +00:00
|
|
|
});
|
2009-07-10 12:44:34 +00:00
|
|
|
*/
|
2008-07-12 17:00:57 +00:00
|
|
|
|
2007-10-27 17:55:13 +00: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 17:55:13 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00: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 18:22:19 +00:00
|
|
|
inherit stringsWithDeps builderDefs;
|
2007-10-29 10:52:04 +00:00
|
|
|
};
|
2007-10-27 17:55:13 +00:00
|
|
|
|
2007-05-14 21:47:11 +00: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 16:57:21 +00: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 22:25:14 +00:00
|
|
|
hexen = import ../games/hexen {
|
|
|
|
inherit stdenv fetchurl SDL;
|
|
|
|
};
|
|
|
|
|
2009-04-14 22:25:03 +00:00
|
|
|
kobodeluxe = import ../games/kobodeluxe {
|
|
|
|
inherit stdenv fetchurl SDL SDL_image;
|
|
|
|
};
|
|
|
|
|
2008-08-08 07:16:34 +00:00
|
|
|
lincity = builderDefsPackage (import ../games/lincity) {
|
2008-08-25 13:25:07 +00:00
|
|
|
inherit (xlibs) libX11 libXext xextproto
|
2008-08-08 07:16:34 +00:00
|
|
|
libICE libSM xproto;
|
|
|
|
inherit libpng zlib;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-08-08 07:16:34 +00:00
|
|
|
|
2008-08-06 20:39:01 +00:00
|
|
|
micropolis = import ../games/micropolis {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXpm libXext xextproto;
|
|
|
|
inherit byacc bash;
|
|
|
|
};
|
|
|
|
|
2008-04-10 22:12:20 +00:00
|
|
|
openttd = import ../games/openttd {
|
|
|
|
inherit fetchurl stdenv SDL libpng;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
};
|
|
|
|
|
2010-02-02 22:21:56 +00:00
|
|
|
pioneers = import ../games/pioneers {
|
|
|
|
inherit stdenv fetchurl pkgconfig intltool;
|
|
|
|
inherit (gtkLibs) gtk /*glib gtkmm*/;
|
|
|
|
};
|
|
|
|
|
2006-09-15 15:28:53 +00:00
|
|
|
quake3demo = import ../games/quake3/wrapper {
|
2008-06-14 20:55:48 +00:00
|
|
|
name = "quake3-demo-${quake3game.name}";
|
2006-10-11 16:45:55 +00:00
|
|
|
description = "Demo of Quake 3 Arena, a classic first-person shooter";
|
2008-06-14 20:55:48 +00:00
|
|
|
inherit fetchurl stdenv mesa makeWrapper;
|
2006-09-15 15:28:53 +00: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 15:28:53 +00: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 10:32:45 +00:00
|
|
|
scummvm = import ../games/scummvm {
|
2007-05-03 16:13:14 +00:00
|
|
|
inherit fetchurl stdenv SDL zlib mpeg2dec;
|
2004-06-09 18:06:29 +00:00
|
|
|
};
|
|
|
|
|
2009-04-16 22:50:36 +00: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 22:50:36 +00:00
|
|
|
};
|
|
|
|
|
2009-01-03 13:44:04 +00:00
|
|
|
sgtpuzzles = builderDefsPackage (import ../games/sgt-puzzles) {
|
2010-02-18 10:29:40 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
2010-01-15 12:00:12 +00:00
|
|
|
inherit pkgconfig fetchsvn perl;
|
2009-01-03 13:44:04 +00:00
|
|
|
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 14:28:51 +00: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;
|
|
|
|
};
|
|
|
|
|
2010-02-01 19:55:03 +00:00
|
|
|
tennix = import ../games/tennix {
|
|
|
|
inherit stdenv fetchurl SDL SDL_mixer SDL_image SDL_ttf;
|
|
|
|
};
|
|
|
|
|
2007-08-09 17:33:18 +00:00
|
|
|
/*tpm = import ../games/thePenguinMachine {
|
2008-06-18 22:48:34 +00:00
|
|
|
inherit stdenv fetchurl pil pygame SDL;
|
2007-08-09 17:33:18 +00:00
|
|
|
python24 = python;
|
|
|
|
};*/
|
|
|
|
|
2009-12-23 22:28:50 +00:00
|
|
|
ultimatestunts = import ../games/ultimatestunts {
|
|
|
|
inherit stdenv fetchurl SDL mesa SDL_image freealut;
|
|
|
|
};
|
|
|
|
|
2010-02-03 00:46:43 +00:00
|
|
|
urbanterror = import ../games/urbanterror {
|
|
|
|
inherit fetchurl stdenv unzip SDL mesa curl openal;
|
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
ut2004demo = import ../games/ut2004demo {
|
2004-06-09 18:06:29 +00:00
|
|
|
inherit fetchurl stdenv xlibs mesa;
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2004-06-09 17:59:46 +00:00
|
|
|
|
2010-01-27 22:22:35 +00:00
|
|
|
warsow = import ../games/warsow {
|
2010-02-09 23:12:47 +00:00
|
|
|
inherit stdenv fetchurl unzip pkgconfig zlib curl libvorbis SDL
|
2010-01-27 22:22:35 +00:00
|
|
|
mesa openal;
|
|
|
|
inherit (xlibs) libXxf86dga libXxf86vm libXinerama;
|
2010-02-09 23:12:47 +00:00
|
|
|
libjpeg = libjpeg62;
|
2010-01-27 22:22:35 +00: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-12-10 06:55:12 +00:00
|
|
|
libICE libXmu libXext libXpm;
|
|
|
|
inherit gnuchess texinfo;
|
2009-01-31 20:09:54 +00:00
|
|
|
};
|
|
|
|
|
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 10:32:45 +00:00
|
|
|
zoom = import ../games/zoom {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv perl expat freetype;
|
|
|
|
inherit (xlibs) xlibs;
|
2006-09-11 23:06:26 +00:00
|
|
|
};
|
|
|
|
|
2006-10-28 22:28:35 +00:00
|
|
|
keen4 = import ../games/keen4 {
|
|
|
|
inherit fetchurl stdenv dosbox unzip;
|
|
|
|
};
|
|
|
|
|
2004-04-01 16:02:53 +00: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 05:29:08 +00:00
|
|
|
|
2010-04-03 10:59:26 +00:00
|
|
|
kde3 = recurseIntoAttrs {
|
2009-03-10 07:58:12 +00:00
|
|
|
|
|
|
|
kdelibs = import ../desktops/kde-3/kdelibs {
|
|
|
|
inherit
|
2009-11-29 23:27:35 +00:00
|
|
|
fetchurl xlibs zlib perl openssl pcre pkgconfig
|
2009-03-10 07:58:12 +00:00
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
|
|
|
expat freetype bzip2 cups attr acl;
|
2009-11-29 23:27:35 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc43;
|
2009-03-10 07:58:12 +00:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
kdebase = import ../desktops/kde-3/kdebase {
|
|
|
|
inherit
|
2009-11-29 23:27:35 +00:00
|
|
|
fetchurl pkgconfig x11 xlibs zlib libpng libjpeg perl
|
2010-04-01 13:34:36 +00:00
|
|
|
openssl bzip2 fontconfig pam hal dbus glib;
|
2009-11-29 23:27:35 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc43;
|
2010-04-01 13:34:36 +00:00
|
|
|
inherit (kde3) kdelibs;
|
2009-03-10 07:58:12 +00:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2010-04-01 13:34:36 +00:00
|
|
|
arts = import ../development/libraries/arts {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
inherit zlib libjpeg libpng perl;
|
|
|
|
qt = qt3;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
inherit (kde3) kdelibs;
|
|
|
|
};
|
|
|
|
|
|
|
|
k3b = import ../applications/misc/k3b {
|
|
|
|
inherit stdenv fetchurl x11 zlib libpng libjpeg perl qt3;
|
|
|
|
inherit (kde3) kdelibs;
|
|
|
|
};
|
|
|
|
|
|
|
|
kbasket = import ../applications/misc/kbasket {
|
|
|
|
inherit fetchurl x11 zlib libpng libjpeg
|
|
|
|
perl qt3 gpgme libgpgerror;
|
|
|
|
stdenv = overrideGCC stdenv gcc43;
|
|
|
|
inherit (kde3) kdelibs;
|
|
|
|
};
|
|
|
|
|
|
|
|
kile = import ../applications/editors/kile {
|
|
|
|
inherit stdenv fetchurl perl zlib libpng libjpeg freetype expat;
|
|
|
|
inherit (xlibs) libX11 libXt libXext libXrender libXft;
|
|
|
|
inherit (kde3) arts kdelibs;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
kuickshow = import ../applications/graphics/kuickshow {
|
|
|
|
inherit fetchurl stdenv libpng libjpeg libtiff libungif imlib expat perl;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
inherit (kde3) arts kdelibs;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
kcachegrind = import ../development/tools/misc/kcachegrind {
|
|
|
|
inherit fetchurl stdenv zlib perl expat libpng libjpeg;
|
|
|
|
inherit (xlibs) libX11 libXext libSM;
|
|
|
|
inherit (kde3) kdelibs;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2007-02-28 16:18:58 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2010-04-11 15:50:41 +00:00
|
|
|
kde4 = kde44;
|
2010-03-16 12:13:40 +00:00
|
|
|
|
2010-02-10 15:06:50 +00:00
|
|
|
kde44 = makeOverridable (import ../desktops/kde-4.4) (pkgs // {
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
});
|
2010-03-16 12:13:40 +00:00
|
|
|
|
2009-09-11 14:06:51 +00:00
|
|
|
### SCIENCE
|
2009-09-22 20:16:38 +00:00
|
|
|
|
2009-09-11 14:06:51 +00: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 09:04:30 +00:00
|
|
|
### SCIENCE/GEOMETRY
|
2008-04-15 09:35:52 +00:00
|
|
|
|
2008-06-27 19:15:01 +00:00
|
|
|
drgeo = builderDefsPackage (import ../applications/science/geometry/drgeo) {
|
|
|
|
inherit (gnome) libglade gtk;
|
|
|
|
inherit libxml2 guile perl intltool libtool pkgconfig;
|
2008-08-14 22:04:30 +00:00
|
|
|
};
|
2008-06-27 19:15:01 +00:00
|
|
|
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2008-10-05 09:04:30 +00: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 09:04:30 +00: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 13:18:02 +00:00
|
|
|
inherit (xlibs) libXpm libXaw libX11 libXext libXt;
|
2008-10-07 14:35:11 +00:00
|
|
|
inherit mesa glew libtiff lynx rxp sablotron jdk transfig gv gnuplot;
|
2008-10-06 15:11:36 +00:00
|
|
|
lesstif = lesstif93;
|
2009-11-10 17:16:06 +00:00
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2008-10-05 09:04:30 +00:00
|
|
|
};
|
2008-08-07 15:01:21 +00:00
|
|
|
|
|
|
|
biolib = import ../development/libraries/science/biology/biolib {
|
|
|
|
inherit fetchurl stdenv readline perl cmake rLang zlib;
|
|
|
|
};
|
|
|
|
|
2008-06-05 17:15:27 +00:00
|
|
|
emboss = import ../applications/science/biology/emboss {
|
|
|
|
inherit fetchurl stdenv readline perl libpng zlib;
|
2008-07-23 13:40:03 +00:00
|
|
|
inherit (xorg) libX11 libXt;
|
2008-06-05 17:15:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mrbayes = import ../applications/science/biology/mrbayes {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2009-12-13 20:24:23 +00:00
|
|
|
ncbiCTools = builderDefsPackage ../development/libraries/ncbi {
|
|
|
|
inherit tcsh mesa lesstif;
|
2010-01-21 15:39:11 +00:00
|
|
|
inherit (xlibs) libX11 libXaw xproto libXt libSM libICE
|
2009-12-13 20:24:23 +00:00
|
|
|
libXmu libXext;
|
|
|
|
};
|
|
|
|
|
2008-06-07 06:34:02 +00:00
|
|
|
ncbi_tools = import ../applications/science/biology/ncbi-tools {
|
2008-06-06 19:42:00 +00:00
|
|
|
inherit fetchurl stdenv cpio;
|
|
|
|
};
|
|
|
|
|
2008-06-06 08:23:49 +00:00
|
|
|
paml = import ../applications/science/biology/paml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-05 12:55:00 +00:00
|
|
|
/* slr = import ../applications/science/biology/slr {
|
2008-10-05 09:04:30 +00:00
|
|
|
inherit fetchurl stdenv liblapack;
|
2008-10-05 12:55:00 +00:00
|
|
|
}; */
|
2008-10-05 09:04:30 +00:00
|
|
|
|
2008-09-19 13:39:17 +00:00
|
|
|
pal2nal = import ../applications/science/biology/pal2nal {
|
|
|
|
inherit fetchurl stdenv perl paml;
|
|
|
|
};
|
|
|
|
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2008-10-05 09:04:30 +00:00
|
|
|
### SCIENCE/MATH
|
|
|
|
|
|
|
|
atlas = import ../development/libraries/science/math/atlas {
|
|
|
|
inherit fetchurl stdenv gfortran;
|
|
|
|
};
|
|
|
|
|
2010-01-26 14:53:08 +00:00
|
|
|
blas = import ../development/libraries/science/math/blas {
|
|
|
|
inherit fetchurl stdenv gfortran;
|
|
|
|
};
|
|
|
|
|
2009-12-14 00:00:34 +00:00
|
|
|
content = builderDefsPackage ../applications/science/math/content {
|
|
|
|
inherit mesa lesstif;
|
2010-01-21 15:39:11 +00:00
|
|
|
inherit (xlibs) libX11 libXaw xproto libXt libSM libICE
|
2009-12-14 00:14:43 +00:00
|
|
|
libXmu libXext libXcursor;
|
2009-12-14 00:00:34 +00:00
|
|
|
};
|
|
|
|
|
2010-01-26 14:53:13 +00:00
|
|
|
liblapack = import ../development/libraries/science/math/liblapack {
|
|
|
|
inherit fetchurl stdenv gfortran blas;
|
|
|
|
};
|
2008-10-05 09:04:30 +00:00
|
|
|
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2008-06-04 15:10:05 +00: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 15:10:05 +00:00
|
|
|
};
|
2008-04-15 09:35:52 +00:00
|
|
|
|
2010-02-15 11:00:02 +00:00
|
|
|
hol_light = import ../applications/science/logic/hol_light {
|
|
|
|
inherit stdenv fetchurl ocaml_with_sources;
|
|
|
|
};
|
|
|
|
|
|
|
|
hol_light_binaries =
|
|
|
|
import ../applications/science/logic/hol_light/binaries.nix {
|
|
|
|
inherit stdenv ocaml_with_sources hol_light nettools openssh;
|
|
|
|
dmtcp = dmtcp_devel;
|
|
|
|
};
|
|
|
|
|
|
|
|
# This is a special version of OCaml handcrafted especially for
|
|
|
|
# hol_light it should be merged with the current expresion for ocaml
|
|
|
|
# one day.
|
|
|
|
ocaml_with_sources =
|
|
|
|
import ../applications/science/logic/hol_light/ocaml-with-sources.nix {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-12-11 17:00:52 +00:00
|
|
|
isabelle = import ../applications/science/logic/isabelle {
|
|
|
|
inherit (pkgs) stdenv fetchurl nettools perl polyml emacs emacsPackages;
|
|
|
|
};
|
|
|
|
|
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 20:43:53 +00:00
|
|
|
### SCIENCE / ELECTRONICS
|
|
|
|
|
|
|
|
ngspice = import ../applications/science/electronics/ngspice {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2009-12-21 10:35:50 +00:00
|
|
|
gtkwave = import ../applications/science/electronics/gtkwave {
|
2010-03-25 15:07:53 +00:00
|
|
|
inherit fetchurl stdenv gperf pkgconfig bzip2 xz;
|
2009-12-21 10:35:50 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2008-09-05 17:12:04 +00:00
|
|
|
### SCIENCE / MATH
|
|
|
|
|
2008-09-05 17:21:45 +00: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 17:12:04 +00:00
|
|
|
scilab = (import ../applications/science/math/scilab) {
|
2009-04-09 15:24:33 +00:00
|
|
|
inherit stdenv fetchurl lib gfortran;
|
2008-09-05 17:12:04 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit ncurses Xaw3d tcl tk ocaml x11;
|
|
|
|
|
|
|
|
withXaw3d = false;
|
|
|
|
withTk = true;
|
|
|
|
withGtk = false;
|
|
|
|
withOCaml = true;
|
|
|
|
withX = true;
|
|
|
|
};
|
|
|
|
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2004-02-13 14:42:28 +00:00
|
|
|
### MISC
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
atari800 = import ../misc/emulators/atari800 {
|
2006-08-12 22:33:51 +00:00
|
|
|
inherit fetchurl stdenv unzip zlib SDL;
|
2004-11-03 21:28:03 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
ataripp = import ../misc/emulators/atari++ {
|
2004-11-03 21:28:03 +00:00
|
|
|
inherit fetchurl stdenv x11 SDL;
|
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2007-09-20 11:31:31 +00:00
|
|
|
auctex = import ../misc/tex/auctex {
|
2008-03-25 11:33:20 +00:00
|
|
|
inherit stdenv fetchurl emacs texLive;
|
2007-09-20 11:31:31 +00:00
|
|
|
};
|
2004-11-03 21:28:03 +00:00
|
|
|
|
2010-03-09 22:44:45 +00:00
|
|
|
busybox = makeOverridable (import ../misc/busybox) {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv;
|
2010-03-09 22:44:45 +00:00
|
|
|
enableStatic = true;
|
2006-09-15 15:28:53 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00: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 15:28:53 +00:00
|
|
|
};
|
|
|
|
|
2009-08-27 23:32:13 +00:00
|
|
|
gutenprint = import ../misc/drivers/gutenprint {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig composableDerivation cups libtiff libpng
|
|
|
|
openssl git gimp;
|
|
|
|
};
|
|
|
|
|
2009-09-22 20:16:38 +00:00
|
|
|
gutenprintBin = import ../misc/drivers/gutenprint/bin.nix {
|
2009-08-27 23:32:13 +00:00
|
|
|
inherit fetchurl stdenv rpm cpio zlib;
|
|
|
|
};
|
|
|
|
|
2009-08-27 23:32:10 +00: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 10:32:45 +00:00
|
|
|
dosbox = import ../misc/emulators/dosbox {
|
2009-05-14 11:17:41 +00:00
|
|
|
inherit fetchurl stdenv SDL makeDesktopItem;
|
2006-09-15 15:28:53 +00:00
|
|
|
};
|
|
|
|
|
2008-03-12 20:46:47 +00:00
|
|
|
dpkg = import ../tools/package-management/dpkg {
|
|
|
|
inherit fetchurl stdenv perl zlib bzip2;
|
|
|
|
};
|
2008-06-08 03:56:32 +00:00
|
|
|
|
2009-04-30 17:41:19 +00:00
|
|
|
electricsheep = import ../misc/screensavers/electricsheep {
|
|
|
|
inherit fetchurl stdenv pkgconfig expat zlib libpng libjpeg xlibs;
|
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
foldingathome = import ../misc/foldingathome {
|
2010-02-05 22:00:51 +00:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2009-04-17 20:36:54 +00:00
|
|
|
|
2008-06-08 03:56:32 +00:00
|
|
|
freestyle = import ../misc/freestyle {
|
|
|
|
inherit fetchurl freeglut qt4 libpng lib3ds libQGLViewer swig;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#stdenv = overrideGCC stdenv gcc41;
|
2008-09-24 08:50:32 +00:00
|
|
|
inherit stdenv python;
|
2008-06-08 03:56:32 +00:00
|
|
|
};
|
|
|
|
|
2009-04-12 19:34:20 +00:00
|
|
|
gajim = builderDefsPackage (import ../applications/networking/instant-messengers/gajim) {
|
|
|
|
inherit perl intltool pyGtkGlade gettext pkgconfig makeWrapper pygobject
|
2009-04-17 13:48:22 +00:00
|
|
|
pyopenssl gtkspell libsexy pycrypto aspell pythonDBus pythonSexy
|
2009-04-12 19:34:20 +00:00
|
|
|
docutils;
|
|
|
|
dbus = dbus.libs;
|
|
|
|
inherit (gnome) gtk libglade;
|
2009-04-17 13:48:22 +00:00
|
|
|
inherit (xlibs) libXScrnSaver libXt xproto libXext xextproto libX11
|
2009-04-12 19:34:20 +00:00
|
|
|
scrnsaverproto;
|
|
|
|
python = pythonFull;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
generator = import ../misc/emulators/generator {
|
2007-06-09 20:45:01 +00: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 15:28:53 +00: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 14:09:58 +00:00
|
|
|
x11Support = true;
|
|
|
|
}));
|
2007-09-03 12:10:57 +00: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 22:38:09 +00:00
|
|
|
|
2007-10-06 18:17:47 +00:00
|
|
|
# using the new configuration style proposal which is unstable
|
2007-10-03 22:38:09 +00:00
|
|
|
jackaudio = import ../misc/jackaudio {
|
2008-12-20 01:20:35 +00:00
|
|
|
inherit composableDerivation
|
2008-08-18 16:03:04 +00:00
|
|
|
ncurses lib stdenv fetchurl alsaLib pkgconfig;
|
|
|
|
flags = [ "posix_shm" "timestamps" "alsa"];
|
2007-10-06 18:17:47 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2007-08-04 15:12:14 +00: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 15:12:14 +00:00
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
lazylist = import ../misc/tex/lazylist {
|
2006-01-27 20:51:41 +00:00
|
|
|
inherit fetchurl stdenv tetex;
|
|
|
|
};
|
|
|
|
|
2009-09-10 16:57:56 +00:00
|
|
|
lilypond = import ../misc/lilypond {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib automake autoconf
|
2009-09-10 16:57:56 +00:00
|
|
|
ghostscript texinfo imagemagick texi2html guile python gettext
|
|
|
|
perl bison pkgconfig texLive fontconfig freetype fontforge help2man;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
martyr = import ../development/libraries/martyr {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit stdenv fetchurl apacheAnt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
maven = import ../misc/maven/maven-1.0.nix {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit stdenv fetchurl jdk;
|
2005-04-29 13:23:15 +00: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) {
|
2010-02-23 16:14:21 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl aterm;
|
2009-11-06 13:30:06 +00:00
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2006-05-01 19:16:41 +00:00
|
|
|
};
|
|
|
|
|
2006-11-17 12:49:46 +00:00
|
|
|
# The bleeding edge.
|
2010-03-17 12:16:03 +00:00
|
|
|
nixUnstable = nix;
|
|
|
|
/*
|
2009-03-09 15:49:58 +00:00
|
|
|
nixUnstable = makeOverridable (import ../tools/package-management/nix/unstable.nix) {
|
2010-02-23 16:14:21 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl aterm;
|
2008-09-24 08:50:05 +00:00
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
2008-09-24 17:38:40 +00:00
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2006-11-17 12:49:46 +00:00
|
|
|
};
|
2010-03-17 12:16:03 +00:00
|
|
|
*/
|
2006-10-18 14:04:55 +00:00
|
|
|
|
2010-03-04 14:39:47 +00:00
|
|
|
# The SQLite branch.
|
2010-03-09 08:45:20 +00:00
|
|
|
nixSqlite = lowPrio (makeOverridable (import ../tools/package-management/nix/sqlite.nix) {
|
2010-03-04 14:39:47 +00:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl aterm sqlite;
|
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2010-03-09 08:45:20 +00:00
|
|
|
});
|
2010-03-04 14:39:47 +00:00
|
|
|
|
2008-05-06 07:03:41 +00:00
|
|
|
nixCustomFun = src: preConfigure: enableScripts: configureFlags:
|
2008-02-21 13:44:06 +00:00
|
|
|
import ../tools/package-management/nix/custom.nix {
|
2008-06-18 22:48:34 +00: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;
|
2009-12-10 14:50:50 +00:00
|
|
|
aterm = aterm25;
|
2008-02-21 13:44:06 +00:00
|
|
|
db4 = db45;
|
2009-09-19 12:35:52 +00: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 15:44:46 +00:00
|
|
|
disnix = import ../tools/package-management/disnix {
|
2010-04-01 14:49:05 +00:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable;
|
2008-07-06 15:44:46 +00:00
|
|
|
};
|
2009-09-22 20:16:38 +00:00
|
|
|
|
2009-09-02 10:03:45 +00:00
|
|
|
disnix_activation_scripts = import ../tools/package-management/disnix/activation-scripts {
|
2010-04-01 14:49:05 +00:00
|
|
|
inherit stdenv fetchurl;
|
2009-09-02 10:03:45 +00:00
|
|
|
};
|
2008-07-07 23:11:13 +00:00
|
|
|
|
2008-07-06 21:38:12 +00:00
|
|
|
DisnixService = import ../tools/package-management/disnix/DisnixService {
|
2010-04-01 14:49:05 +00:00
|
|
|
inherit stdenv fetchurl apacheAnt jdk axis2 dbus_java;
|
2008-07-06 21:38:12 +00:00
|
|
|
};
|
2008-07-07 23:11:13 +00:00
|
|
|
|
2010-01-27 12:12:35 +00:00
|
|
|
latex2html = import ../misc/tex/latex2html/default.nix {
|
|
|
|
inherit fetchurl stdenv perl ghostscript netpbm;
|
|
|
|
tex = tetex;
|
|
|
|
};
|
|
|
|
|
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 14:03:44 +00: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 10:32:45 +00:00
|
|
|
polytable = import ../misc/tex/polytable {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv tetex lazylist;
|
2005-10-21 13:06:43 +00:00
|
|
|
};
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
psi = (import ../applications/networking/instant-messengers/psi) {
|
2010-03-05 12:00:37 +00:00
|
|
|
inherit stdenv fetchurl zlib aspell sox pkgconfig qt4;
|
2009-11-18 09:39:59 +00:00
|
|
|
inherit (xlibs) xproto libX11 libSM libICE;
|
|
|
|
qca2 = kde4.qca2;
|
|
|
|
};
|
2008-03-20 09:52:40 +00:00
|
|
|
|
2007-05-28 14:10:46 +00:00
|
|
|
putty = import ../applications/networking/remote/putty {
|
|
|
|
inherit stdenv fetchurl ncurses;
|
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
rssglx = import ../misc/screensavers/rss-glx {
|
2008-06-14 20:55:48 +00: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 20:16:38 +00: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 10:32:45 +00:00
|
|
|
saneBackends = import ../misc/sane-backends {
|
2007-08-08 20:33:36 +00:00
|
|
|
inherit fetchurl stdenv libusb;
|
2008-03-17 09:41:28 +00:00
|
|
|
gt68xxFirmware = getConfig ["sane" "gt68xxFirmware"] null;
|
2007-08-08 20:33:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
saneFrontends = import ../misc/sane-front {
|
2008-03-17 09:41:28 +00:00
|
|
|
inherit fetchurl stdenv pkgconfig libusb saneBackends;
|
2007-08-08 20:33:36 +00:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
2005-11-03 20:00:43 +00:00
|
|
|
};
|
|
|
|
|
2008-06-15 11:54:22 +00:00
|
|
|
sourceAndTags = import ../misc/source-and-tags {
|
2008-08-21 11:07:44 +00:00
|
|
|
inherit pkgs stdenv unzip lib ctags;
|
2009-07-09 22:23:51 +00:00
|
|
|
hasktags = haskellPackages.myhasktags;
|
2008-06-15 11:54:22 +00:00
|
|
|
};
|
|
|
|
|
2007-06-20 10:30:03 +00: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 10:30:03 +00:00
|
|
|
inherit (xorg) xorgserver;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
tetex = import ../misc/tex/tetex {
|
2006-09-15 15:28:53 +00:00
|
|
|
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
2006-01-31 15:18:27 +00:00
|
|
|
};
|
|
|
|
|
2010-01-31 12:13:33 +00:00
|
|
|
tex4ht = import ../misc/tex/tex4ht {
|
|
|
|
inherit fetchurl stdenv tetex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 10:32:45 +00:00
|
|
|
texFunctions = import ../misc/tex/nix {
|
2009-07-17 15:10:01 +00:00
|
|
|
inherit stdenv perl tetex graphviz ghostscript makeFontsConf imagemagick runCommand lib;
|
2009-07-23 14:13:09 +00:00
|
|
|
inherit (haskellPackages) lhs2tex;
|
2006-01-28 02:10:26 +00:00
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00: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 18:23:15 +00:00
|
|
|
gd t1lib freetype icu perl ruby expat curl
|
2010-02-10 20:43:59 +00:00
|
|
|
libjpeg bison python fontconfig;
|
2008-03-20 09:52:40 +00:00
|
|
|
inherit (xlibs) libXaw libX11 xproto libXt libXpm
|
2008-08-25 14:52:53 +00:00
|
|
|
libXmu libXext xextproto libSM libICE;
|
2008-03-20 09:52:40 +00:00
|
|
|
flex = flex2535;
|
|
|
|
ghostscript = ghostscriptX;
|
|
|
|
};
|
|
|
|
|
2008-06-18 22:48:34 +00: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 22:48:34 +00:00
|
|
|
paths = [texLive texLiveExtra texLiveCMSuper
|
2008-03-22 13:04:04 +00:00
|
|
|
texLiveBeamer
|
|
|
|
];
|
2008-08-14 22:04:30 +00:00
|
|
|
})
|
2008-05-16 04:52:47 +00: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 13:25:07 +00:00
|
|
|
texLiveAggregationFun =
|
2008-08-14 22:04:30 +00:00
|
|
|
(builderDefsPackage (import ../misc/tex/texlive/aggregate.nix));
|
2008-03-22 13:04:04 +00:00
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
texLiveContext = builderDefsPackage (import ../misc/tex/texlive/context.nix) {
|
2008-04-28 10:10:44 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
texLiveExtra = builderDefsPackage (import ../misc/tex/texlive/extra.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
texLiveCMSuper = builderDefsPackage (import ../misc/tex/texlive/cm-super.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
texLiveLatexXColor = builderDefsPackage (import ../misc/tex/texlive/xcolor.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00:00
|
|
|
texLivePGF = builderDefsPackage (import ../misc/tex/texlive/pgf.nix) {
|
2008-03-22 13:04:04 +00:00
|
|
|
inherit texLiveLatexXColor texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-14 22:04:30 +00: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 10:32:45 +00:00
|
|
|
toolbuslib = import ../development/libraries/toolbuslib {
|
2006-02-02 16:31:23 +00:00
|
|
|
inherit stdenv fetchurl aterm;
|
|
|
|
};
|
|
|
|
|
2009-08-28 06:29:21 +00:00
|
|
|
trac = import ../misc/trac {
|
2008-06-19 15:46:43 +00:00
|
|
|
inherit stdenv fetchurl python clearsilver makeWrapper
|
2009-07-07 22:34:03 +00:00
|
|
|
sqlite subversion;
|
|
|
|
inherit (pythonPackages) pysqlite;
|
2009-08-28 06:29:21 +00:00
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2010-03-25 19:40:19 +00:00
|
|
|
vice = import ../misc/emulators/vice {
|
|
|
|
inherit stdenv fetchurl lib perl gettext libpng giflib libjpeg alsaLib readline mesa;
|
|
|
|
inherit pkgconfig SDL makeDesktopItem autoconf automake;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
2008-06-18 22:48:34 +00:00
|
|
|
|
2009-03-19 11:03:32 +00:00
|
|
|
wine =
|
2010-03-25 19:40:19 +00:00
|
|
|
# Wine cannot be built in 64-bit; use a 32-bit build instead.
|
|
|
|
import ../misc/emulators/wine {
|
|
|
|
inherit (pkgsi686Linux) fetchurl stdenv bison mesa ncurses
|
|
|
|
libpng libjpeg alsaLib lcms xlibs freetype
|
|
|
|
fontconfig fontforge libxml2 libxslt openssl;
|
|
|
|
flex = pkgsi686Linux.flex2535;
|
|
|
|
};
|
2007-06-25 21:46:18 +00: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 20:33:36 +00:00
|
|
|
xsane = import ../misc/xsane {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb
|
2008-03-17 09:41:28 +00:00
|
|
|
saneBackends saneFrontends;
|
2007-08-08 20:33:36 +00: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 22:57:20 +00:00
|
|
|
myEnvFun = import ../misc/my-env {
|
|
|
|
inherit substituteAll pkgs;
|
|
|
|
inherit (stdenv) mkDerivation;
|
|
|
|
};
|
2008-06-15 11:54:22 +00:00
|
|
|
|
2009-07-07 20:53:16 +00:00
|
|
|
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
|
2009-04-17 13:48:22 +00:00
|
|
|
|
2008-03-17 17:29:07 +00:00
|
|
|
}; in pkgs
|