2006-02-08 20:37:45 +03: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-06 02:44:52 +03: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-19 02:48:34 +04:00
|
|
|
|
2006-02-08 20:37:45 +03:00
|
|
|
|
2006-08-23 19:58:54 +04:00
|
|
|
{ # The system (e.g., `i686-linux') for which to build the packages.
|
2009-04-14 17:59:45 +04:00
|
|
|
system ? builtins.currentSystem
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2006-08-23 19:58:54 +04: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 20:37:45 +03: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 21:23:18 +04:00
|
|
|
, gccWithCC ? true
|
|
|
|
, gccWithProfiling ? true
|
2004-03-11 20:26:14 +03:00
|
|
|
|
2009-08-26 17:51:37 +04: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 21:10:59 +03: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-18 01:58:48 +03: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 20:35:47 +03:00
|
|
|
, platform ? (import ./platforms.nix).pc
|
2006-02-08 20:37:45 +03:00
|
|
|
}:
|
2003-11-03 13:22:00 +03:00
|
|
|
|
2003-11-25 21:02:05 +03:00
|
|
|
|
2009-08-26 17:51:37 +04:00
|
|
|
let config_ = config; in # rename the function argument
|
|
|
|
|
2008-08-26 19:35:00 +04:00
|
|
|
let
|
|
|
|
|
2010-03-25 22:40:19 +03:00
|
|
|
lib = import ../lib;
|
2008-08-26 19:35:00 +04:00
|
|
|
|
|
|
|
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
|
|
|
# $HOME/.nixpkgs/config.nix.
|
2009-09-21 19:55:18 +04:00
|
|
|
# for NIXOS (nixos-rebuild): use nixpkgs.config option
|
2008-08-26 19:35:00 +04:00
|
|
|
config =
|
2009-08-26 17:51:37 +04:00
|
|
|
let
|
2008-08-26 19:35:00 +04: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 16:29:47 +03:00
|
|
|
configExpr =
|
2009-08-26 17:51:37 +04: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 19:35:00 +04:00
|
|
|
else {};
|
2009-03-25 16:29:47 +03:00
|
|
|
|
2009-08-26 17:51:37 +04:00
|
|
|
in
|
2009-03-25 16:29:47 +03:00
|
|
|
# allow both:
|
|
|
|
# { /* the config */ } and
|
|
|
|
# { pkgsOrig, pkgs, ... } : { /* the config */ }
|
2009-08-26 17:51:37 +04:00
|
|
|
if builtins.isFunction configExpr
|
2009-03-25 16:29:47 +03:00
|
|
|
then configExpr { inherit pkgs pkgsOrig; }
|
|
|
|
else configExpr;
|
2008-08-26 19:35:00 +04:00
|
|
|
|
|
|
|
# Return an attribute from the Nixpkgs configuration file, or
|
|
|
|
# a default value if the attribute doesn't exist.
|
2009-05-24 14:57:41 +04:00
|
|
|
getConfig = attrPath: default: lib.attrByPath attrPath default config;
|
2008-08-26 19:35:00 +04:00
|
|
|
|
|
|
|
|
2009-11-19 19:07:47 +03:00
|
|
|
# Helper functions that are exported through `pkgs'.
|
2009-11-27 20:40:56 +03:00
|
|
|
helperFunctions =
|
2010-01-03 20:56:55 +03:00
|
|
|
stdenvAdapters //
|
2009-11-19 19:07:47 +03:00
|
|
|
(import ../build-support/trivial-builders.nix { inherit (pkgs) stdenv; inherit (pkgs.xorg) lndir; });
|
|
|
|
|
2010-01-03 20:56:55 +03:00
|
|
|
stdenvAdapters =
|
|
|
|
import ../stdenv/adapters.nix { inherit (pkgs) dietlibc fetchurl runCommand; };
|
|
|
|
|
2009-11-19 19:07:47 +03:00
|
|
|
|
2008-08-26 19:35:00 +04: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 20:50:33 +04: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 19:07:47 +03:00
|
|
|
pkgs = pkgsOverriden // helperFunctions;
|
2008-10-09 14:10:49 +04:00
|
|
|
|
2008-08-26 19:35:00 +04:00
|
|
|
|
|
|
|
# The package compositions. Yes, this isn't properly indented.
|
2009-11-19 19:07:47 +03:00
|
|
|
pkgsFun = __overrides: with helperFunctions; rec {
|
2008-08-26 19:35:00 +04:00
|
|
|
|
2010-03-25 22:40:19 +03:00
|
|
|
# Override system. This is useful to build i686 packages on x86_64-linux.
|
2010-01-04 10:44:30 +03:00
|
|
|
forceSystem = system: (import ./all-packages.nix) {
|
|
|
|
inherit system;
|
|
|
|
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
|
|
|
|
};
|
|
|
|
|
2010-03-25 22:40:19 +03:00
|
|
|
# Used by wine, firefox with debugging version of Flash, ...
|
2010-01-04 10:44:30 +03:00
|
|
|
pkgsi686Linux = forceSystem "i686-linux";
|
2008-08-26 19:35:00 +04:00
|
|
|
|
|
|
|
inherit __overrides;
|
|
|
|
|
|
|
|
|
|
|
|
# For convenience, allow callers to get the path to Nixpkgs.
|
2009-06-09 02:43:27 +04:00
|
|
|
path = ../..;
|
2003-11-25 21:02:05 +03:00
|
|
|
|
2008-10-09 14:10:49 +04:00
|
|
|
|
2004-03-28 00:59:31 +03:00
|
|
|
### Symbolic names.
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
|
|
|
|
x11 = xlibsWrapper;
|
|
|
|
|
2005-11-12 20:05:51 +03: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 16:46:39 +04:00
|
|
|
xlibs = xorg // {xlibs = xlibsWrapper;};
|
2005-11-12 20:05:51 +03:00
|
|
|
|
2006-02-08 20:37:45 +03:00
|
|
|
|
2006-02-09 20:04:18 +03:00
|
|
|
### Helper functions.
|
|
|
|
|
2006-03-23 19:47:34 +03:00
|
|
|
|
2010-01-03 20:56:55 +03:00
|
|
|
inherit lib config getConfig stdenvAdapters;
|
2008-10-09 14:10:49 +04:00
|
|
|
|
2009-11-19 20:30:21 +03:00
|
|
|
inherit (lib) lowPrio appendToName makeOverridable;
|
2006-10-18 16:50:04 +04:00
|
|
|
|
2006-09-15 19:28:53 +04: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-21 01:56:58 +03:00
|
|
|
useFromStdenv = it : alternative : if ((bootStdenv != null ||
|
|
|
|
crossSystem == null) && builtins.hasAttr it stdenv) then
|
2008-02-03 16:19:16 +03:00
|
|
|
(builtins.getAttr it stdenv) else alternative;
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2008-06-19 02:48:34 +04: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 23:03:07 +04:00
|
|
|
# Check absence of non-used options
|
2008-06-19 02:48:34 +04:00
|
|
|
checker = x: flag: opts: config:
|
|
|
|
(if flag then let result=(
|
|
|
|
(import ../build-support/checker)
|
2008-03-17 12:41:28 +03:00
|
|
|
opts config); in
|
|
|
|
(if (result=="") then x else
|
|
|
|
abort ("Unknown option specified: " + result))
|
|
|
|
else x);
|
|
|
|
|
2009-04-20 16:37:10 +04:00
|
|
|
builderDefs = composedArgsAndFun (import ../build-support/builder-defs/builder-defs.nix) {
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit stringsWithDeps lib stdenv writeScript
|
2009-07-07 14:04:32 +04:00
|
|
|
fetchurl fetchmtn fetchgit;
|
2008-03-17 12:41:28 +03:00
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
composedArgsAndFun = lib.composedArgsAndFun;
|
2008-05-07 11:23:20 +04:00
|
|
|
|
2008-08-19 09:54:09 +04:00
|
|
|
builderDefsPackage = builderDefs.builderDefsPackage builderDefs;
|
2008-03-20 18:40:26 +03:00
|
|
|
|
2009-05-25 22:22:19 +04:00
|
|
|
stringsWithDeps = lib.stringsWithDeps;
|
2007-10-29 13:52:04 +03:00
|
|
|
|
2009-09-23 00:16:38 +04:00
|
|
|
|
2006-02-08 20:37:45 +03:00
|
|
|
### STANDARD ENVIRONMENT
|
|
|
|
|
|
|
|
|
2008-06-18 19:09:13 +04:00
|
|
|
allStdenvs = import ../stdenv {
|
|
|
|
inherit system stdenvType;
|
2009-08-26 17:51:37 +04:00
|
|
|
allPackages = args: import ./all-packages.nix ({ inherit config; } // args);
|
2008-06-18 19:09:13 +04: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 20:35:47 +03:00
|
|
|
defaultStdenv = allStdenvs.stdenv // { inherit platform; };
|
2006-02-08 20:37:45 +03:00
|
|
|
|
2010-03-07 02:36:55 +03: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 22:03:34 +03:00
|
|
|
|
2010-01-21 18:39:11 +03:00
|
|
|
stdenv =
|
2007-08-20 18:26:32 +04: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 22:03:34 +03:00
|
|
|
stdenv = stdenvCross;
|
2007-08-20 18:26:32 +04:00
|
|
|
overrideSetup = overrideSetup;
|
|
|
|
}
|
2010-02-08 18:28:05 +03: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-18 01:58:48 +03:00
|
|
|
|
2010-02-09 10:43:36 +03: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 22:51:45 +03:00
|
|
|
|
2008-06-29 20:13:02 +04: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 17:28:17 +04:00
|
|
|
overrideGCC stdenv gcc43_multi
|
2008-06-29 20:13:02 +04:00
|
|
|
else
|
|
|
|
stdenv;
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
### BUILD SUPPORT
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2009-08-24 02:10:08 +04:00
|
|
|
attrSetToDir = arg : import ../build-support/upstream-updater/attrset-to-dir.nix {
|
|
|
|
inherit writeTextFile stdenv lib;
|
|
|
|
theAttrSet = arg;
|
|
|
|
};
|
2003-11-25 21:02:05 +03:00
|
|
|
|
2010-05-10 00:38:16 +04:00
|
|
|
buildEnvScript = ../build-support/buildenv/builder.pl;
|
2006-11-28 19:46:12 +03:00
|
|
|
buildEnv = import ../build-support/buildenv {
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2008-03-02 21:41:32 +03:00
|
|
|
debPackage = {
|
2008-08-15 02:04:30 +04:00
|
|
|
debBuild = lib.sumTwoArgs(import ../build-support/deb-package) {
|
2008-03-02 21:41:32 +03:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-09-26 12:57:51 +04:00
|
|
|
fetchbzr = import ../build-support/fetchbzr {
|
|
|
|
inherit stdenv bazaar;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
fetchcvs = import ../build-support/fetchcvs {
|
2008-02-29 01:36:37 +03:00
|
|
|
inherit stdenv cvs;
|
2006-05-11 16:36:16 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
fetchdarcs = import ../build-support/fetchdarcs {
|
2006-01-30 14:18:38 +03:00
|
|
|
inherit stdenv darcs nix;
|
|
|
|
};
|
|
|
|
|
2009-06-24 16:48:01 +04:00
|
|
|
fetchgit = import ../build-support/fetchgit {
|
|
|
|
inherit stdenv git;
|
|
|
|
};
|
|
|
|
|
2009-07-07 14:04:32 +04:00
|
|
|
fetchmtn = import ../build-support/fetchmtn {
|
|
|
|
inherit monotone stdenv;
|
|
|
|
cacheDB = getConfig ["fetchmtn" "cacheDB"] "";
|
|
|
|
defaultDBMirrors = getConfig ["fetchmtn" "defaultDBMirrors"] [];
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
fetchsvn = import ../build-support/fetchsvn {
|
2008-02-29 13:30:29 +03:00
|
|
|
inherit stdenv subversion openssh;
|
2006-09-15 19:28:53 +04:00
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2008-04-02 17:28:55 +04:00
|
|
|
fetchsvnssh = import ../build-support/fetchsvnssh {
|
|
|
|
inherit stdenv subversion openssh expect;
|
|
|
|
sshSupport = true;
|
|
|
|
};
|
|
|
|
|
2007-09-03 16:10:57 +04:00
|
|
|
fetchhg = import ../build-support/fetchhg {
|
|
|
|
inherit stdenv mercurial nix;
|
|
|
|
};
|
|
|
|
|
2008-05-27 11:49:55 +04: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 16:19:16 +03:00
|
|
|
fetchurl = useFromStdenv "fetchurl"
|
2006-09-15 19:28:53 +04:00
|
|
|
(import ../build-support/fetchurl {
|
2010-05-03 13:13:17 +04:00
|
|
|
curl = curl;
|
|
|
|
stdenv = stdenv;
|
2006-09-15 19:28:53 +04:00
|
|
|
});
|
2005-04-22 16:14:55 +04:00
|
|
|
|
2008-05-27 11:49:55 +04: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 20:04:10 +04:00
|
|
|
resolveMirrorURLs = {url}: fetchurl {
|
|
|
|
showURLs = true;
|
|
|
|
inherit url;
|
|
|
|
};
|
|
|
|
|
2009-05-10 16:03:53 +04:00
|
|
|
makeDesktopItem = import ../build-support/make-desktopitem {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2009-05-18 17:53:01 +04:00
|
|
|
|
2008-03-17 13:40:47 +03: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 20:35:47 +03:00
|
|
|
inherit stdenv perl cpio contents ubootChooser;
|
2008-03-17 13:40:47 +03:00
|
|
|
};
|
|
|
|
|
2008-01-18 14:28:41 +03:00
|
|
|
makeWrapper = makeSetupHook ../build-support/make-wrapper/make-wrapper.sh;
|
2008-01-18 13:29:58 +03:00
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
makeModulesClosure = {kernel, rootModules, allowMissing ? false}:
|
2008-03-24 22:40:15 +03:00
|
|
|
import ../build-support/kernel/modules-closure.nix {
|
2009-09-02 01:56:46 +04:00
|
|
|
inherit stdenv module_init_tools kernel nukeReferences
|
|
|
|
rootModules allowMissing;
|
2008-03-24 22:40:15 +03:00
|
|
|
};
|
2008-03-17 13:40:47 +03:00
|
|
|
|
2009-06-05 17:20:14 +04:00
|
|
|
pathsFromGraph = ../build-support/kernel/paths-from-graph.pl;
|
|
|
|
|
2008-10-01 19:57:22 +04:00
|
|
|
srcOnly = args: (import ../build-support/src-only) ({inherit stdenv; } // args);
|
|
|
|
|
2006-12-11 01:24:42 +03:00
|
|
|
substituteAll = import ../build-support/substitute/substitute-all.nix {
|
2007-11-17 17:34:34 +03:00
|
|
|
inherit stdenv;
|
2006-11-03 01:44:32 +03:00
|
|
|
};
|
|
|
|
|
2006-11-03 16:33:24 +03:00
|
|
|
nukeReferences = import ../build-support/nuke-references/default.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2008-03-17 20:29:07 +03:00
|
|
|
|
|
|
|
vmTools = import ../build-support/vm/default.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2008-11-24 18:10:06 +03:00
|
|
|
releaseTools = import ../build-support/release/default.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
};
|
|
|
|
|
2008-12-20 04:20:35 +03:00
|
|
|
composableDerivation = (import ../lib/composable-derivation.nix) {
|
|
|
|
inherit pkgs lib;
|
|
|
|
};
|
2006-11-03 16:33:24 +03: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 20:35:47 +03:00
|
|
|
platforms = import ./platforms.nix;
|
2009-11-08 03:32:12 +03:00
|
|
|
|
2003-11-03 21:21:30 +03:00
|
|
|
### TOOLS
|
|
|
|
|
2009-09-08 12:29:40 +04:00
|
|
|
acct = import ../tools/system/acct {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
aefs = import ../tools/filesystems/aefs {
|
2007-04-08 03:38:01 +04:00
|
|
|
inherit fetchurl stdenv fuse;
|
|
|
|
};
|
|
|
|
|
2009-02-03 00:57:18 +03:00
|
|
|
aircrackng = import ../tools/networking/aircrack-ng {
|
|
|
|
inherit fetchurl stdenv libpcap openssl zlib wirelesstools;
|
|
|
|
};
|
2009-02-02 00:21:12 +03:00
|
|
|
|
2010-02-21 20:36:41 +03: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 15:51:09 +03:00
|
|
|
ec2apitools = import ../tools/virtualization/amazon-ec2-api-tools {
|
2010-01-13 15:54:26 +03:00
|
|
|
inherit stdenv fetchurl unzip makeWrapper jre;
|
2009-10-27 15:51:09 +03:00
|
|
|
};
|
|
|
|
|
2010-01-13 17:25:45 +03:00
|
|
|
ec2amitools = import ../tools/virtualization/amazon-ec2-ami-tools {
|
2010-01-14 17:26:35 +03:00
|
|
|
inherit stdenv fetchurl unzip makeWrapper ruby openssl;
|
2009-10-27 15:51:09 +03:00
|
|
|
};
|
|
|
|
|
2007-10-06 19:59:35 +04:00
|
|
|
amule = import ../tools/networking/p2p/amule {
|
2010-03-30 12:20:29 +04:00
|
|
|
inherit fetchurl stdenv zlib perl cryptopp gettext libupnp makeWrapper
|
|
|
|
wxGTK pkgconfig;
|
2007-10-06 19:59:35 +04:00
|
|
|
};
|
|
|
|
|
2008-06-22 00:53:52 +04:00
|
|
|
aria = builderDefsPackage (import ../tools/networking/aria) {
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-06-22 00:53:52 +04:00
|
|
|
|
2010-05-20 15:11:24 +04:00
|
|
|
aria2 = import ../tools/networking/aria2 {
|
|
|
|
inherit fetchurl stdenv openssl libxml2 zlib;
|
|
|
|
};
|
|
|
|
|
2008-04-01 13:08:17 +04:00
|
|
|
at = import ../tools/system/at {
|
|
|
|
inherit fetchurl stdenv bison flex pam ssmtp;
|
|
|
|
};
|
|
|
|
|
2009-09-29 13:01:40 +04:00
|
|
|
autogen = import ../development/tools/misc/autogen {
|
|
|
|
inherit fetchurl stdenv guile which;
|
|
|
|
};
|
|
|
|
|
2009-05-27 02:05:05 +04:00
|
|
|
autojump = import ../tools/misc/autojump {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
2008-03-06 19:42:34 +03:00
|
|
|
avahi =
|
|
|
|
let qt4Support = getConfig [ "avahi" "qt4Support" ] false;
|
|
|
|
in
|
2009-10-06 09:43:51 +04:00
|
|
|
makeOverridable (import ../development/libraries/avahi) {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit stdenv fetchurl pkgconfig libdaemon dbus perl perlXMLParser
|
2008-12-13 02:02:11 +03:00
|
|
|
expat gettext intltool lib;
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit qt4Support;
|
|
|
|
qt4 = if qt4Support then qt4 else null;
|
2008-03-06 19:42:34 +03:00
|
|
|
};
|
2008-02-06 22:36:12 +03:00
|
|
|
|
2007-08-16 23:50:59 +04:00
|
|
|
axel = import ../tools/networking/axel {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
azureus = import ../tools/networking/p2p/azureus {
|
|
|
|
inherit fetchurl stdenv jdk swt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
bc = import ../tools/misc/bc {
|
2009-04-08 11:29:42 +04:00
|
|
|
inherit fetchurl stdenv flex readline;
|
2005-10-10 04:55:07 +04:00
|
|
|
};
|
|
|
|
|
2008-07-12 00:27:53 +04:00
|
|
|
bfr = import ../tools/misc/bfr {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-10-30 02:15:10 +03:00
|
|
|
bootchart = import ../tools/system/bootchart {
|
|
|
|
inherit fetchurl stdenv gnutar gzip coreutils utillinux gnugrep gnused psmisc nettools;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
btrfsProgs = builderDefsPackage (import ../tools/filesystems/btrfsprogs) {
|
|
|
|
inherit libuuid zlib acl;
|
|
|
|
};
|
|
|
|
|
2010-05-03 07:45:40 +04:00
|
|
|
catdoc = import ../tools/text/catdoc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-08 11:01:55 +04:00
|
|
|
eggdrop = import ../tools/networking/eggdrop {
|
|
|
|
inherit fetchurl stdenv tcl;
|
|
|
|
};
|
|
|
|
|
2009-06-05 18:36:35 +04: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 16:29:52 +03:00
|
|
|
inherit wxGTK;
|
2009-06-05 18:36:35 +04:00
|
|
|
};
|
|
|
|
|
2009-02-05 19:50:45 +03:00
|
|
|
syslogng = import ../tools/misc/syslog-ng {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv eventlog pkgconfig glib;
|
2009-02-05 19:50:45 +03:00
|
|
|
};
|
|
|
|
|
2008-03-10 18:57:14 +03:00
|
|
|
asciidoc = import ../tools/typesetting/asciidoc {
|
2009-11-03 18:57:22 +03:00
|
|
|
inherit fetchurl stdenv python;
|
2008-03-10 18:57:14 +03:00
|
|
|
};
|
|
|
|
|
2010-05-27 23:43:57 +04:00
|
|
|
autossh = import ../tools/networking/autossh {
|
|
|
|
inherit stdenv fetchurl openssh;
|
|
|
|
};
|
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
bibtextools = import ../tools/typesetting/bibtex-tools {
|
2009-03-19 17:34:16 +03:00
|
|
|
inherit fetchurl stdenv aterm tetex hevea;
|
|
|
|
inherit (strategoPackages016) strategoxt sdf;
|
2006-10-18 18:04:55 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
bittorrent = import ../tools/networking/p2p/bittorrent {
|
2007-05-31 17:43:13 +04:00
|
|
|
inherit fetchurl stdenv makeWrapper python pycrypto twisted;
|
|
|
|
wxPython = wxPython26;
|
2006-12-13 23:30:09 +03:00
|
|
|
gui = true;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
2007-06-20 03:38:01 +04:00
|
|
|
bittornado = import ../tools/networking/p2p/bit-tornado {
|
|
|
|
inherit fetchurl stdenv python wxPython26;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
bmrsa = builderDefsPackage (import ../tools/security/bmrsa/11.nix) {
|
2008-12-05 00:01:26 +03:00
|
|
|
inherit unzip;
|
2008-03-03 15:30:39 +03:00
|
|
|
};
|
|
|
|
|
2008-03-02 21:35:04 +03:00
|
|
|
bogofilter = import ../tools/misc/bogofilter {
|
|
|
|
inherit fetchurl stdenv flex;
|
|
|
|
bdb = db4;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
bsdiff = import ../tools/compression/bsdiff {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
bzip2 = useFromStdenv "bzip2"
|
2006-09-15 19:28:53 +04:00
|
|
|
(import ../tools/compression/bzip2 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
|
|
|
cabextract = import ../tools/archivers/cabextract {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-09 20:35:57 +03:00
|
|
|
ccid = import ../tools/security/ccid {
|
|
|
|
inherit fetchurl stdenv pcsclite libusb pkgconfig perl;
|
|
|
|
};
|
|
|
|
|
2009-01-13 00:12:07 +03:00
|
|
|
ccrypt = import ../tools/security/ccrypt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-25 00:01:27 +03:00
|
|
|
cdecl = import ../development/tools/cdecl {
|
2009-04-08 14:09:14 +04:00
|
|
|
inherit fetchurl stdenv yacc flex readline ncurses;
|
2009-01-25 00:01:27 +03:00
|
|
|
};
|
|
|
|
|
2008-07-25 17:04:51 +04:00
|
|
|
cdrdao = import ../tools/cd-dvd/cdrdao {
|
2009-10-27 02:03:47 +03:00
|
|
|
inherit fetchurl stdenv lame libvorbis libmad pkgconfig libao;
|
2008-07-25 17:04:51 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
cdrkit = import ../tools/cd-dvd/cdrkit {
|
|
|
|
inherit fetchurl stdenv cmake libcap zlib bzip2;
|
|
|
|
};
|
|
|
|
|
2010-02-22 13:46:49 +03:00
|
|
|
cfdg = builderDefsPackage ../tools/graphics/cfdg {
|
|
|
|
inherit libpng bison flex;
|
|
|
|
};
|
|
|
|
|
2008-11-25 05:20:41 +03:00
|
|
|
checkinstall = import ../tools/package-management/checkinstall {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
cheetahTemplate = builderDefsPackage (import ../tools/text/cheetah-template/2.0.1.nix) {
|
2008-09-24 12:50:32 +04:00
|
|
|
inherit makeWrapper python;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-06-12 14:07:54 +04:00
|
|
|
|
2008-01-14 17:43:24 +03:00
|
|
|
chkrootkit = import ../tools/security/chkrootkit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
cksfv = import ../tools/networking/cksfv {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-25 17:25:07 +04:00
|
|
|
convertlit = import ../tools/text/convertlit {
|
2008-10-07 21:33:20 +04:00
|
|
|
inherit fetchurl stdenv unzip libtommath;
|
2008-08-27 18:56:59 +04:00
|
|
|
};
|
2008-08-12 23:57:35 +04:00
|
|
|
|
2008-08-29 17:53:28 +04:00
|
|
|
unifdef = import ../development/tools/misc/unifdef {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-04-16 19:56:28 +04:00
|
|
|
usb_modeswitch = import ../development/tools/misc/usb-modeswitch {
|
|
|
|
inherit stdenv fetchurl libusb;
|
|
|
|
};
|
|
|
|
|
2009-07-19 01:28:10 +04:00
|
|
|
cloogppl = import ../development/libraries/cloog-ppl {
|
|
|
|
inherit fetchurl stdenv ppl;
|
|
|
|
};
|
|
|
|
|
2009-11-08 03:32:12 +03:00
|
|
|
coreutils_real = makeOverridable (if stdenv ? isDietLibC
|
2006-10-28 00:08:53 +04:00
|
|
|
then import ../tools/misc/coreutils-5
|
|
|
|
else import ../tools/misc/coreutils)
|
|
|
|
{
|
2009-12-02 22:34:34 +03:00
|
|
|
inherit fetchurl stdenv acl perl gmp;
|
2010-05-21 17:46:54 +04:00
|
|
|
|
|
|
|
# TODO: Add ACL support for cross-Linux.
|
|
|
|
aclSupport = (crossSystem == null) && stdenv.isLinux;
|
2009-11-08 03:32:12 +03:00
|
|
|
};
|
|
|
|
|
2009-12-08 13:04:43 +03:00
|
|
|
coreutils = useFromStdenv "coreutils" coreutils_real;
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
cpio = import ../tools/archivers/cpio {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2009-01-04 20:24:11 +03:00
|
|
|
cromfs = import ../tools/archivers/cromfs {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse perl;
|
|
|
|
};
|
|
|
|
|
2008-11-05 00:40:39 +03:00
|
|
|
cron = import ../tools/system/cron { # see also fcron
|
2008-10-07 21:33:20 +04:00
|
|
|
inherit fetchurl stdenv;
|
2007-01-10 18:44:58 +03: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-18 01:58:48 +03:00
|
|
|
curl = makeOverridable (import ../tools/networking/curl) {
|
2008-05-27 11:49:55 +04:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv zlib openssl;
|
2008-06-06 11:50:52 +04:00
|
|
|
zlibSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
|
|
|
sslSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
2008-05-27 11:49:55 +04:00
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
curlftpfs = import ../tools/filesystems/curlftpfs {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv fuse curl pkgconfig zlib glib;
|
2007-10-25 18:07:50 +04:00
|
|
|
};
|
|
|
|
|
2009-07-07 14:04:32 +04:00
|
|
|
dadadodo = builderDefsPackage (import ../tools/text/dadadodo) {
|
|
|
|
};
|
|
|
|
|
2009-01-03 18:11:52 +03:00
|
|
|
dar = import ../tools/archivers/dar {
|
|
|
|
inherit fetchurl stdenv zlib bzip2 openssl;
|
|
|
|
};
|
|
|
|
|
2009-12-08 16:08:27 +03:00
|
|
|
davfs2 = import ../tools/filesystems/davfs2 {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
neon = neon028;
|
|
|
|
};
|
|
|
|
|
2009-04-06 21:50:17 +04:00
|
|
|
dcraw = import ../tools/graphics/dcraw {
|
|
|
|
inherit fetchurl stdenv gettext libjpeg lcms;
|
|
|
|
};
|
|
|
|
|
2009-10-08 04:54:31 +04:00
|
|
|
debootstrap = import ../tools/misc/debootstrap {
|
|
|
|
inherit fetchurl stdenv lib dpkg gettext gawk wget perl;
|
|
|
|
};
|
|
|
|
|
2009-09-16 15:53:09 +04:00
|
|
|
ddclient = import ../tools/networking/ddclient {
|
|
|
|
inherit fetchurl buildPerlPackage perl;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
ddrescue = import ../tools/system/ddrescue {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2009-02-25 19:05:13 +03:00
|
|
|
desktop_file_utils = import ../tools/misc/desktop-file-utils {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit stdenv fetchurl pkgconfig glib;
|
2009-02-25 19:05:13 +03:00
|
|
|
};
|
2009-02-27 16:44:31 +03:00
|
|
|
|
2009-01-25 17:31:24 +03:00
|
|
|
dev86 = import ../development/compilers/dev86 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-03 16:10:57 +04:00
|
|
|
dnsmasq = import ../tools/networking/dnsmasq {
|
2008-06-19 02:48:34 +04:00
|
|
|
# TODO i18n can be installed as well, implement it?
|
2007-09-03 16:10:57 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
dhcp = import ../tools/networking/dhcp {
|
2009-07-24 03:57:11 +04:00
|
|
|
inherit fetchurl stdenv nettools iputils iproute makeWrapper;
|
2006-08-26 13:44:39 +04:00
|
|
|
};
|
|
|
|
|
2009-07-17 15:41:19 +04:00
|
|
|
dhcpcd = import ../tools/networking/dhcpcd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-05-14 11:58:32 +04:00
|
|
|
diffstat = import ../tools/text/diffstat {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
diffutils = useFromStdenv "diffutils"
|
2006-09-15 19:28:53 +04:00
|
|
|
(import ../tools/text/diffutils {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
});
|
|
|
|
|
2010-05-20 00:58:56 +04:00
|
|
|
dirmngr = import ../tools/security/dirmngr {
|
|
|
|
inherit stdenv fetchurl libgpgerror libgcrypt libassuan libksba openldap;
|
|
|
|
};
|
|
|
|
|
2008-03-11 12:34:17 +03:00
|
|
|
docbook2x = import ../tools/typesetting/docbook2x {
|
2008-03-12 18:19:54 +03:00
|
|
|
inherit fetchurl stdenv texinfo perl
|
2008-03-11 12:34:17 +03:00
|
|
|
gnused groff libxml2 libxslt makeWrapper;
|
2009-04-20 16:49:35 +04:00
|
|
|
inherit (perlPackages) XMLSAX XMLParser XMLNamespaceSupport;
|
2009-12-03 01:19:49 +03:00
|
|
|
libiconv = if stdenv.isDarwin then libiconv else null;
|
2008-03-11 12:34:17 +03:00
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
dosfstools = composedArgsAndFun (import ../tools/filesystems/dosfstools) {
|
2008-02-04 07:41:55 +03:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2010-03-10 02:11:12 +03:00
|
|
|
dropbear = makeOverridable (import ../tools/networking/dropbear) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
enableStatic = true;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
};
|
|
|
|
|
2010-02-04 16:42:41 +03:00
|
|
|
duplicity = import ../tools/backup/duplicity {
|
2010-05-20 00:59:20 +04:00
|
|
|
inherit fetchurl stdenv librsync makeWrapper python;
|
2010-02-10 21:10:22 +03:00
|
|
|
inherit (pythonPackages) boto;
|
2010-05-20 00:59:20 +04:00
|
|
|
gnupg = gnupg1;
|
2010-02-04 16:42:41 +03:00
|
|
|
};
|
|
|
|
|
2008-07-25 17:04:51 +04:00
|
|
|
dvdplusrwtools = import ../tools/cd-dvd/dvd+rw-tools {
|
|
|
|
inherit fetchurl stdenv cdrkit m4;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
e2fsprogs = import ../tools/filesystems/e2fsprogs {
|
|
|
|
inherit fetchurl stdenv pkgconfig libuuid;
|
|
|
|
};
|
|
|
|
|
2010-01-25 13:34:47 +03:00
|
|
|
ecryptfs = import ../tools/security/ecryptfs {
|
|
|
|
inherit fetchurl stdenv fuse python perl keyutils pam nss nspr;
|
|
|
|
};
|
|
|
|
|
2009-04-06 01:41:38 +04:00
|
|
|
enblendenfuse = import ../tools/graphics/enblend-enfuse {
|
|
|
|
inherit fetchurl stdenv libtiff libpng lcms libxmi boost;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
enscript = import ../tools/text/enscript {
|
2010-01-26 17:49:00 +03:00
|
|
|
inherit fetchurl stdenv gettext;
|
2005-07-21 15:26:51 +04:00
|
|
|
};
|
|
|
|
|
2008-05-10 13:19:50 +04:00
|
|
|
eprover = composedArgsAndFun (import ../tools/misc/eProver) {
|
|
|
|
inherit fetchurl stdenv which;
|
|
|
|
texLive = texLiveAggregationFun {
|
|
|
|
paths = [
|
|
|
|
texLive texLiveExtra
|
|
|
|
];
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
|
|
|
};
|
2007-10-07 17:37:08 +04:00
|
|
|
|
2009-09-22 12:37:41 +04:00
|
|
|
ethtool = import ../tools/misc/ethtool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
exif = import ../tools/graphics/exif {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libexif popt;
|
2005-08-23 18:19:16 +04:00
|
|
|
};
|
|
|
|
|
2009-10-11 19:52:27 +04:00
|
|
|
exiftags = import ../tools/graphics/exiftags {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-02-27 18:48:53 +03:00
|
|
|
expect = import ../tools/misc/expect {
|
2009-05-10 15:31:17 +04:00
|
|
|
inherit fetchurl stdenv tcl tk autoconf;
|
|
|
|
inherit (xorg) xproto libX11;
|
2008-02-27 18:48:53 +03:00
|
|
|
};
|
|
|
|
|
2008-11-05 00:40:39 +03:00
|
|
|
fcron = import ../tools/system/fcron { # see also cron
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-08-10 02:15:40 +04:00
|
|
|
fdisk = import ../tools/system/fdisk {
|
2009-09-16 18:30:53 +04:00
|
|
|
inherit fetchurl stdenv parted libuuid gettext;
|
2009-08-10 02:15:40 +04:00
|
|
|
};
|
|
|
|
|
2009-04-26 15:06:48 +04:00
|
|
|
figlet = import ../tools/misc/figlet {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
file = import ../tools/misc/file {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
2006-08-08 04:09:27 +04:00
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
findutils = useFromStdenv "findutils"
|
2009-12-03 01:19:49 +03:00
|
|
|
(if stdenv.isDarwin then findutils4227 else
|
2006-10-29 02:17:39 +03:00
|
|
|
import ../tools/misc/findutils {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
}
|
|
|
|
);
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2006-10-28 02:50:58 +04:00
|
|
|
findutils4227 = import ../tools/misc/findutils/4.2.27.nix {
|
|
|
|
inherit fetchurl stdenv coreutils;
|
|
|
|
};
|
|
|
|
|
2007-05-02 00:35:58 +04:00
|
|
|
findutilsWrapper = lowPrio (appendToName "wrapper" (import ../tools/misc/findutils-wrapper {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit stdenv findutils;
|
2007-05-02 00:35:58 +04:00
|
|
|
}));
|
2005-08-01 00:11:36 +04:00
|
|
|
|
2008-01-28 22:51:14 +03:00
|
|
|
finger_bsd = import ../tools/networking/bsd-finger {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 22:51:14 +03:00
|
|
|
};
|
|
|
|
|
2008-03-26 15:57:30 +03:00
|
|
|
fontforge = import ../tools/misc/fontforge {
|
2007-08-21 16:31:33 +04:00
|
|
|
inherit fetchurl stdenv gettext freetype zlib
|
2008-03-03 01:02:28 +03:00
|
|
|
libungif libpng libjpeg libtiff libxml2 lib;
|
2007-08-21 16:31:33 +04:00
|
|
|
};
|
|
|
|
|
2008-03-26 15:57:30 +03:00
|
|
|
fontforgeX = import ../tools/misc/fontforge {
|
|
|
|
inherit fetchurl stdenv gettext freetype zlib
|
|
|
|
libungif libpng libjpeg libtiff libxml2 lib;
|
2008-03-03 01:02:28 +03:00
|
|
|
inherit (xlibs) libX11 xproto libXt;
|
2008-03-26 15:57:30 +03:00
|
|
|
};
|
2008-03-03 01:02:28 +03:00
|
|
|
|
2010-01-14 00:09:55 +03:00
|
|
|
dos2unix = import ../tools/text/dos2unix {
|
2010-05-14 12:57:16 +04:00
|
|
|
inherit fetchurl stdenv;
|
2010-01-14 00:09:55 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
unix2dos = import ../tools/text/unix2dos {
|
2010-05-14 12:57:16 +04:00
|
|
|
inherit fetchurl stdenv;
|
2010-01-14 00:09:55 +03:00
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
gawk = useFromStdenv "gawk"
|
2006-09-15 19:28:53 +04:00
|
|
|
(import ../tools/text/gawk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
gdmap = composedArgsAndFun (import ../tools/system/gdmap/0.8.1.nix) {
|
2008-06-16 17:15:55 +04:00
|
|
|
inherit stdenv fetchurl builderDefs pkgconfig libxml2 intltool
|
|
|
|
gettext;
|
2007-12-01 19:20:23 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
genext2fs = import ../tools/filesystems/genext2fs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-22 20:00:44 +03:00
|
|
|
gengetopt = import ../development/tools/misc/gengetopt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
getopt = import ../tools/misc/getopt {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
2005-10-08 03:02:58 +04:00
|
|
|
};
|
|
|
|
|
2008-08-07 00:39:01 +04:00
|
|
|
gftp = import ../tools/networking/gftp {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit readline ncurses gettext openssl pkgconfig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
2008-06-22 06:07:53 +04:00
|
|
|
gifsicle = import ../tools/graphics/gifscile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) xproto libXt libX11;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
glusterfs = builderDefsPackage ../tools/filesystems/glusterfs {
|
2009-08-31 13:52:01 +04:00
|
|
|
inherit fuse;
|
|
|
|
bison = bison24;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2009-04-21 02:06:12 +04:00
|
|
|
glxinfo = import ../tools/graphics/glxinfo {
|
2007-04-18 18:21:24 +04:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
|
|
|
};
|
|
|
|
|
2009-06-10 13:45:03 +04:00
|
|
|
gnokii = builderDefsPackage (import ../tools/misc/gnokii) {
|
2009-11-22 22:28:56 +03:00
|
|
|
inherit intltool perl gettext libusb;
|
2009-06-10 13:45:03 +04:00
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
gnugrep = useFromStdenv "gnugrep"
|
2006-09-15 19:28:53 +04:00
|
|
|
(import ../tools/text/gnugrep {
|
|
|
|
inherit fetchurl stdenv pcre;
|
2006-03-08 18:00:18 +03:00
|
|
|
});
|
2003-11-02 21:14:24 +03:00
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
gnupatch = useFromStdenv "patch" (import ../tools/text/gnupatch {
|
2010-01-09 00:28:30 +03:00
|
|
|
inherit fetchurl stdenv ed;
|
2007-04-26 17:02:30 +04:00
|
|
|
});
|
2004-02-13 17:42:28 +03:00
|
|
|
|
2010-05-20 00:59:20 +04:00
|
|
|
gnupg1orig = makeOverridable (import ../tools/security/gnupg1) {
|
2010-02-10 22:03:48 +03:00
|
|
|
inherit fetchurl stdenv readline bzip2;
|
2010-05-19 16:25:45 +04:00
|
|
|
ideaSupport = false;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
2010-05-20 00:59:20 +04:00
|
|
|
gnupg1compat = import ../tools/security/gnupg1compat {
|
|
|
|
inherit stdenv gnupg writeScript coreutils;
|
|
|
|
};
|
|
|
|
|
|
|
|
# use config.packageOverrides if you prefer original gnupg1
|
|
|
|
gnupg1 = gnupg1compat;
|
|
|
|
|
2010-05-20 00:58:47 +04:00
|
|
|
gnupg = makeOverridable (import ../tools/security/gnupg) {
|
2010-05-19 16:25:45 +04:00
|
|
|
inherit fetchurl stdenv readline libgpgerror libgcrypt libassuan pth libksba zlib
|
2010-05-20 00:59:07 +04:00
|
|
|
openldap bzip2 libusb curl coreutils;
|
2008-01-28 22:45:57 +03:00
|
|
|
};
|
|
|
|
|
2010-05-19 16:25:51 +04:00
|
|
|
gnuplot = makeOverridable (import ../tools/graphics/gnuplot) {
|
|
|
|
inherit fetchurl stdenv zlib gd texinfo readline emacs wxGTK;
|
2007-09-23 03:18:55 +04:00
|
|
|
inherit (xlibs) libX11 libXt libXaw libXpm;
|
2009-09-09 13:36:03 +04:00
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
inherit cairo pkgconfig;
|
2007-08-04 19:12:14 +04:00
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
gnused = useFromStdenv "gnused"
|
2006-03-08 18:00:18 +03:00
|
|
|
(import ../tools/text/gnused {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2009-04-30 23:36:26 +04:00
|
|
|
gnused_4_2 = import ../tools/text/gnused/4.2.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
gnutar = useFromStdenv "gnutar"
|
2006-10-28 02:50:58 +04:00
|
|
|
(import ../tools/archivers/gnutar {
|
2006-03-08 18:00:18 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2003-11-02 21:14:24 +03:00
|
|
|
|
2009-09-16 12:36:05 +04:00
|
|
|
gnuvd = import ../tools/misc/gnuvd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
graphviz = import ../tools/graphics/graphviz {
|
2008-07-03 18:27:19 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng libjpeg expat x11 yacc
|
|
|
|
libtool fontconfig gd;
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit (xlibs) libXaw;
|
2008-07-03 18:27:19 +04:00
|
|
|
inherit (gtkLibs) pango;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
groff = import ../tools/text/groff {
|
2009-02-13 01:33:17 +03:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
ghostscript = null;
|
2005-08-21 17:59:04 +04:00
|
|
|
};
|
|
|
|
|
2008-06-29 20:13:02 +04:00
|
|
|
grub = import ../tools/misc/grub {
|
|
|
|
inherit fetchurl autoconf automake;
|
|
|
|
stdenv = stdenv_32bit;
|
2009-07-14 22:23:53 +04:00
|
|
|
buggyBiosCDSupport = (getConfig ["grub" "buggyBiosCDSupport"] true);
|
2008-06-29 20:13:02 +04:00
|
|
|
};
|
2004-06-03 21:16:16 +04:00
|
|
|
|
2009-10-05 01:39:34 +04:00
|
|
|
grub2 = import ../tools/misc/grub/1.9x.nix {
|
|
|
|
inherit stdenv fetchurl bison ncurses libusb freetype;
|
|
|
|
};
|
|
|
|
|
2008-06-18 23:40:56 +04:00
|
|
|
gssdp = import ../development/libraries/gssdp {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 glib;
|
2008-06-29 20:13:02 +04:00
|
|
|
inherit (gnome) libsoup;
|
|
|
|
};
|
2008-06-18 23:40:56 +04:00
|
|
|
|
2010-02-24 22:06:25 +03:00
|
|
|
gt5 = import ../tools/system/gt5 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
gtkgnutella = import ../tools/networking/p2p/gtk-gnutella {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2005-06-21 00:35:07 +04:00
|
|
|
|
2008-06-18 23:40:56 +04:00
|
|
|
gupnp = import ../development/libraries/gupnp {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 gssdp e2fsprogs glib;
|
2008-06-29 20:13:02 +04:00
|
|
|
inherit (gnome) libsoup;
|
|
|
|
};
|
2008-06-18 23:40:56 +04:00
|
|
|
|
2008-06-19 02:34:49 +04:00
|
|
|
gupnptools = import ../tools/networking/gupnp-tools {
|
2008-06-29 20:13:02 +04:00
|
|
|
inherit fetchurl stdenv gssdp gupnp pkgconfig libxml2 e2fsprogs;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libsoup libglade gnomeicontheme;
|
2008-06-19 02:34:49 +04:00
|
|
|
};
|
|
|
|
|
2009-09-02 00:12:01 +04:00
|
|
|
gvpe = builderDefsPackage ../tools/networking/gvpe {
|
2009-09-02 02:42:05 +04:00
|
|
|
inherit openssl gmp nettools iproute;
|
2009-09-02 00:12:01 +04:00
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
gzip = useFromStdenv "gzip"
|
2006-09-15 19:28:53 +04:00
|
|
|
(import ../tools/compression/gzip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2009-10-08 00:18:11 +04:00
|
|
|
pigz = import ../tools/compression/pigz {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-03-30 00:32:22 +04:00
|
|
|
halibut = import ../tools/typesetting/halibut {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-05-11 15:18:16 +04:00
|
|
|
hddtemp = import ../tools/misc/hddtemp {
|
2007-12-11 01:36:52 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
hevea = import ../tools/typesetting/hevea {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv ocaml;
|
2004-08-21 02:06:36 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
highlight = import ../tools/text/highlight {
|
|
|
|
inherit fetchurl stdenv getopt;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-06-12 19:59:59 +04:00
|
|
|
|
2008-11-27 16:54:49 +03:00
|
|
|
host = import ../tools/networking/host {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-26 00:03:07 +03:00
|
|
|
iasl = import ../development/compilers/iasl {
|
|
|
|
inherit fetchurl stdenv bison flex;
|
|
|
|
};
|
|
|
|
|
2008-03-27 14:09:40 +03:00
|
|
|
idutils = import ../tools/misc/idutils {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
2009-10-08 11:01:55 +04:00
|
|
|
iftop = import ../tools/networking/iftop {
|
|
|
|
inherit fetchurl stdenv ncurses libpcap;
|
|
|
|
};
|
|
|
|
|
2009-06-15 22:37:42 +04:00
|
|
|
imapsync = import ../tools/networking/imapsync {
|
|
|
|
inherit fetchurl stdenv perl openssl;
|
|
|
|
inherit (perlPackages) MailIMAPClient;
|
2008-03-27 14:09:40 +03:00
|
|
|
};
|
|
|
|
|
2008-02-21 21:58:11 +03:00
|
|
|
inetutils = import ../tools/networking/inetutils {
|
2009-12-17 01:56:44 +03:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2008-02-21 21:58:11 +03:00
|
|
|
};
|
|
|
|
|
2008-05-14 12:01:03 +04:00
|
|
|
iodine = import ../tools/networking/iodine {
|
|
|
|
inherit stdenv fetchurl zlib nettools;
|
|
|
|
};
|
|
|
|
|
2009-03-16 21:39:04 +03:00
|
|
|
iperf = import ../tools/networking/iperf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-05-19 16:25:48 +04:00
|
|
|
ipmitool = makeOverridable (import ../tools/system/ipmitool) {
|
2010-01-19 19:21:40 +03:00
|
|
|
inherit fetchurl stdenv openssl;
|
2010-05-19 16:25:48 +04:00
|
|
|
static = false;
|
2010-01-19 18:58:19 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
jdiskreport = import ../tools/misc/jdiskreport {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv unzip jdk;
|
2005-10-27 01:10:31 +04:00
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
jfsrec = import ../tools/filesystems/jfsrec {
|
|
|
|
inherit fetchurl stdenv boost;
|
|
|
|
};
|
|
|
|
|
|
|
|
jfsutils = import ../tools/filesystems/jfsutils {
|
|
|
|
inherit fetchurl stdenv libuuid;
|
|
|
|
};
|
|
|
|
|
2009-10-11 19:52:14 +04:00
|
|
|
jhead = import ../tools/graphics/jhead {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
jing = import ../tools/text/xml/jing {
|
2005-10-24 18:01:08 +04:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
jing_tools = import ../tools/text/xml/jing/jing-script.nix {
|
2007-03-05 18:10:05 +03:00
|
|
|
inherit fetchurl stdenv unzip jre;
|
2004-09-26 17:03:59 +04:00
|
|
|
};
|
|
|
|
|
2008-12-03 17:22:55 +03:00
|
|
|
jnettop = import ../tools/networking/jnettop {
|
|
|
|
inherit fetchurl stdenv autoconf libpcap ncurses pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2007-08-28 18:45:00 +04:00
|
|
|
jwhois = import ../tools/networking/jwhois {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-04-23 14:51:23 +04:00
|
|
|
keychain = import ../tools/misc/keychain {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-02 00:21:27 +03:00
|
|
|
kismet = import ../applications/networking/sniffers/kismet {
|
2010-04-04 02:07:59 +04:00
|
|
|
inherit fetchurl stdenv libpcap ncurses expat pcre;
|
2009-02-02 00:21:27 +03:00
|
|
|
};
|
|
|
|
|
2010-05-19 17:57:20 +04:00
|
|
|
ktorrent = kde4.ktorrent;
|
2007-08-09 20:55:14 +04:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
less = import ../tools/misc/less {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2006-07-04 23:17:34 +04:00
|
|
|
};
|
|
|
|
|
2010-04-30 13:21:18 +04:00
|
|
|
most = import ../tools/misc/most {
|
|
|
|
inherit fetchurl stdenv slang;
|
|
|
|
};
|
|
|
|
|
2007-08-04 16:41:00 +04:00
|
|
|
lftp = import ../tools/networking/lftp {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2008-02-23 15:11:27 +03:00
|
|
|
libtorrent = import ../tools/networking/p2p/libtorrent {
|
|
|
|
inherit fetchurl stdenv pkgconfig openssl libsigcxx;
|
|
|
|
};
|
|
|
|
|
2010-04-29 21:55:06 +04:00
|
|
|
logrotate = import ../tools/system/logrotate {
|
|
|
|
inherit fetchurl stdenv gzip popt;
|
|
|
|
};
|
|
|
|
|
2008-02-12 12:58:57 +03:00
|
|
|
lout = import ../tools/typesetting/lout {
|
2008-02-15 16:42:24 +03:00
|
|
|
inherit fetchurl stdenv ghostscript;
|
2008-02-12 12:58:57 +03:00
|
|
|
};
|
|
|
|
|
2009-03-18 00:17:51 +03:00
|
|
|
lrzip = import ../tools/compression/lrzip {
|
2010-03-08 01:46:29 +03:00
|
|
|
inherit fetchurl stdenv zlib lzo bzip2 nasm;
|
2009-03-18 00:17:51 +03:00
|
|
|
};
|
|
|
|
|
2009-03-28 22:28:59 +03:00
|
|
|
lsh = import ../tools/networking/lsh {
|
2009-09-07 17:45:06 +04:00
|
|
|
inherit stdenv fetchurl gperf guile gmp zlib liboop gnum4 pam
|
|
|
|
readline nettools lsof procps;
|
2009-03-28 22:28:59 +03:00
|
|
|
};
|
|
|
|
|
2009-12-18 14:25:56 +03:00
|
|
|
lzma = xz;
|
2009-09-23 00:16:38 +04:00
|
|
|
|
2009-09-09 00:03:37 +04:00
|
|
|
xz = import ../tools/compression/xz {
|
|
|
|
inherit fetchurl stdenv lib;
|
|
|
|
};
|
2008-02-06 16:52:41 +03:00
|
|
|
|
2009-03-28 22:28:59 +03:00
|
|
|
lzop = import ../tools/compression/lzop {
|
|
|
|
inherit fetchurl stdenv lzo;
|
2008-02-12 13:51:44 +03:00
|
|
|
};
|
|
|
|
|
2009-09-11 13:38:25 +04:00
|
|
|
mailutils = import ../tools/networking/mailutils {
|
|
|
|
inherit fetchurl stdenv gettext gdbm libtool pam readline ncurses
|
|
|
|
gnutls mysql guile texinfo gnum4;
|
|
|
|
};
|
|
|
|
|
2008-02-07 17:39:07 +03:00
|
|
|
man = import ../tools/misc/man {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv groff less;
|
2008-02-07 17:39:07 +03:00
|
|
|
};
|
|
|
|
|
2008-02-07 16:38:44 +03:00
|
|
|
man_db = import ../tools/misc/man-db {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv db4 groff;
|
2006-06-02 01:25:40 +04:00
|
|
|
};
|
|
|
|
|
2008-01-03 18:14:37 +03:00
|
|
|
memtest86 = import ../tools/misc/memtest86 {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-03 18:14:37 +03:00
|
|
|
};
|
|
|
|
|
2008-01-23 12:57:11 +03:00
|
|
|
mc = import ../tools/misc/mc {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv lib pkgconfig ncurses shebangfix perl zip unzip slang
|
|
|
|
gettext e2fsprogs gpm glib;
|
2009-09-16 21:26:19 +04:00
|
|
|
inherit (xlibs) libX11 libXt;
|
2008-01-23 12:57:11 +03:00
|
|
|
};
|
|
|
|
|
2009-01-04 20:11:38 +03:00
|
|
|
mcabber = import ../applications/networking/instant-messengers/mcabber {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv openssl ncurses pkgconfig glib;
|
2009-01-04 20:11:38 +03:00
|
|
|
};
|
|
|
|
|
2009-04-03 22:46:26 +04:00
|
|
|
mcron = import ../tools/system/mcron {
|
|
|
|
inherit fetchurl stdenv guile which ed;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
mdbtools = import ../tools/misc/mdbtools {
|
|
|
|
inherit fetchurl stdenv readline pkgconfig bison glib;
|
2008-05-11 13:45:26 +04:00
|
|
|
flex = flex2535;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-11 13:45:26 +04:00
|
|
|
|
2010-05-21 02:11:44 +04:00
|
|
|
miniupnpd = import ../tools/networking/miniupnpd {
|
|
|
|
inherit fetchurl stdenv iptables;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
mjpegtools = import ../tools/video/mjpegtools {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv libjpeg;
|
|
|
|
inherit (xlibs) libX11;
|
2003-11-07 14:18:47 +03:00
|
|
|
};
|
|
|
|
|
2010-01-21 19:53:16 +03:00
|
|
|
mkisofs = import ../tools/cd-dvd/mkisofs {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
mktemp = import ../tools/security/mktemp {
|
2005-03-21 17:48:48 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-01-04 20:35:11 +03:00
|
|
|
mldonkey = import ../applications/networking/p2p/mldonkey {
|
2010-01-16 19:41:33 +03:00
|
|
|
inherit fetchurl stdenv ocaml zlib bzip2 ncurses file gd libpng;
|
2009-01-04 20:35:11 +03:00
|
|
|
};
|
|
|
|
|
2009-08-26 20:22:20 +04:00
|
|
|
monit = builderDefsPackage ../tools/system/monit {
|
|
|
|
flex = flex2535;
|
|
|
|
bison = bison24;
|
|
|
|
inherit openssl;
|
|
|
|
};
|
|
|
|
|
2008-04-11 17:22:35 +04:00
|
|
|
mpage = import ../tools/text/mpage {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
msf = builderDefsPackage (import ../tools/security/metasploit/3.1.nix) {
|
2008-04-11 13:32:27 +04:00
|
|
|
inherit ruby makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-01-30 20:08:38 +03:00
|
|
|
mssys = import ../tools/misc/mssys {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
|
|
|
|
2010-04-29 21:54:51 +04:00
|
|
|
mtdutils = import ../tools/filesystems/mtdutils {
|
|
|
|
inherit stdenv fetchgit libuuid lzo zlib acl;
|
|
|
|
};
|
|
|
|
|
2009-03-18 00:49:39 +03: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 21:06:37 +03:00
|
|
|
muscleframework = import ../tools/security/muscleframework {
|
|
|
|
inherit fetchurl stdenv libmusclecard pkgconfig pcsclite;
|
|
|
|
};
|
|
|
|
|
|
|
|
muscletool = import ../tools/security/muscletool {
|
|
|
|
inherit fetchurl stdenv pkgconfig libmusclecard pcsclite;
|
|
|
|
};
|
|
|
|
|
2008-06-01 02:49:00 +04:00
|
|
|
mysql2pgsql = import ../tools/misc/mysql2pgsql {
|
|
|
|
inherit fetchurl stdenv perl shebangfix;
|
|
|
|
};
|
|
|
|
|
2008-12-17 20:09:29 +03:00
|
|
|
namazu = import ../tools/text/namazu {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-09-25 06:09:43 +04:00
|
|
|
nbd = import ../tools/networking/nbd {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2009-09-25 06:09:43 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
nc6 = composedArgsAndFun (import ../tools/networking/nc6/1.0.nix) {
|
2008-02-03 11:53:47 +03:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2007-07-09 11:23:16 +04:00
|
|
|
ncat = import ../tools/networking/ncat {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2009-09-17 11:31:34 +04:00
|
|
|
ncftp = import ../tools/networking/ncftp {
|
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2010-01-27 15:12:35 +03:00
|
|
|
ncompress = import ../tools/compression/ncompress {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
netcat = import ../tools/networking/netcat {
|
2006-08-27 17:00:20 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-08-20 00:19:27 +04:00
|
|
|
netkittftp = import ../tools/networking/netkit/tftp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-26 01:44:08 +03:00
|
|
|
netpbm = import ../tools/graphics/netpbm {
|
2010-01-14 00:16:12 +03:00
|
|
|
inherit stdenv fetchsvn libjpeg libpng zlib flex perl libxml2 makeWrapper;
|
2009-02-26 01:44:08 +03:00
|
|
|
};
|
|
|
|
|
2007-08-31 15:14:05 +04:00
|
|
|
netselect = import ../tools/networking/netselect {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
nmap = import ../tools/security/nmap {
|
2008-03-22 22:52:11 +03:00
|
|
|
inherit fetchurl stdenv libpcap pkgconfig openssl
|
2009-07-08 02:34:03 +04:00
|
|
|
python pygtk makeWrapper pygobject pycairo;
|
|
|
|
inherit (pythonPackages) pysqlite;
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
inherit (gtkLibs) gtk;
|
2004-11-30 00:17:29 +03:00
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
ntfs3g = import ../tools/filesystems/ntfs-3g {
|
|
|
|
inherit fetchurl stdenv utillinux;
|
|
|
|
};
|
|
|
|
|
|
|
|
ntfsprogs = import ../tools/filesystems/ntfsprogs {
|
|
|
|
inherit fetchurl stdenv libuuid;
|
|
|
|
};
|
|
|
|
|
2006-12-22 01:23:17 +03:00
|
|
|
ntp = import ../tools/networking/ntp {
|
2006-12-22 22:22:57 +03:00
|
|
|
inherit fetchurl stdenv libcap;
|
2006-12-22 01:23:17 +03:00
|
|
|
};
|
|
|
|
|
2008-03-17 16:41:54 +03:00
|
|
|
nssmdns = import ../tools/networking/nss-mdns {
|
|
|
|
inherit fetchurl stdenv avahi;
|
|
|
|
};
|
|
|
|
|
2009-02-26 02:21:44 +03:00
|
|
|
nylon = import ../tools/networking/nylon {
|
|
|
|
inherit fetchurl stdenv libevent;
|
|
|
|
};
|
|
|
|
|
2009-09-29 16:54:08 +04:00
|
|
|
obexd = import ../tools/bluetooth/obexd {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus openobex bluez glib;
|
2009-09-29 16:54:08 +04:00
|
|
|
};
|
|
|
|
|
2009-08-06 03:24:27 +04: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-13 01:03:22 +04: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;
|
2010-04-21 14:51:15 +04:00
|
|
|
import ../development/python-modules/generic {
|
2010-04-13 01:03:22 +04:00
|
|
|
inherit makeWrapper lib;
|
|
|
|
python = pythonFull;
|
2010-04-21 14:51:15 +04:00
|
|
|
setuptools = builderDefsPackage (import ../development/python-modules/setuptools) {
|
2010-04-13 01:03:22 +04:00
|
|
|
inherit makeWrapper;
|
|
|
|
python = pythonFull;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-02-09 12:05:14 +03:00
|
|
|
opendbx = import ../development/libraries/opendbx {
|
|
|
|
inherit fetchurl stdenv readline mysql postgresql sqlite;
|
|
|
|
};
|
|
|
|
|
2010-02-09 13:32:55 +03:00
|
|
|
opendkim = import ../development/libraries/opendkim {
|
|
|
|
inherit fetchurl stdenv openssl libmilter;
|
|
|
|
};
|
|
|
|
|
2009-10-22 19:41:39 +04:00
|
|
|
openjade = import ../tools/text/sgml/openjade {
|
|
|
|
inherit fetchurl opensp perl;
|
|
|
|
stdenv = overrideGCC stdenv gcc33;
|
|
|
|
};
|
|
|
|
|
2009-08-06 03:24:27 +04:00
|
|
|
openobex = import ../tools/bluetooth/openobex {
|
|
|
|
inherit fetchurl stdenv pkgconfig bluez libusb;
|
|
|
|
};
|
|
|
|
|
2010-01-10 03:22:29 +03:00
|
|
|
opensc_0_11_7 = import ../tools/security/opensc/0.11.7.nix {
|
2010-01-10 00:52:31 +03:00
|
|
|
inherit fetchurl stdenv libtool readline zlib openssl libiconv pcsclite
|
2010-05-20 00:59:15 +04:00
|
|
|
libassuan1 pkgconfig pinentry;
|
2010-01-10 00:52:31 +03:00
|
|
|
inherit (xlibs) libXt;
|
|
|
|
};
|
|
|
|
|
2010-01-10 03:22:29 +03:00
|
|
|
opensc = opensc_0_11_7;
|
|
|
|
|
2010-01-15 02:43:56 +03:00
|
|
|
opensc_dnie_wrapper = import ../tools/security/opensc-dnie-wrapper {
|
|
|
|
inherit stdenv makeWrapper ed libopensc_dnie;
|
|
|
|
};
|
|
|
|
|
2010-05-19 16:26:06 +04:00
|
|
|
openssh = makeOverridable (import ../tools/networking/openssh) {
|
2010-04-22 22:16:18 +04:00
|
|
|
inherit fetchurl stdenv zlib openssl pam perl libedit pkgconfig;
|
2010-05-19 16:26:06 +04:00
|
|
|
hpnSupport = false;
|
|
|
|
etcDir = "/etc/ssh";
|
2003-11-03 21:21:30 +03:00
|
|
|
};
|
|
|
|
|
2009-10-22 19:41:39 +04:00
|
|
|
opensp = import ../tools/text/sgml/opensp {
|
2010-01-27 01:04:54 +03:00
|
|
|
inherit fetchurl xmlto docbook_xml_dtd_412 libxslt docbook_xsl;
|
|
|
|
inherit stdenv;
|
2009-10-22 19:41:39 +04:00
|
|
|
};
|
|
|
|
|
2009-04-06 17:07:18 +04:00
|
|
|
openvpn = import ../tools/networking/openvpn {
|
2009-04-28 19:37:52 +04:00
|
|
|
inherit fetchurl stdenv iproute lzo openssl nettools;
|
2009-04-06 17:07:18 +04:00
|
|
|
};
|
|
|
|
|
2010-03-24 02:04:41 +03:00
|
|
|
optipng = import ../tools/graphics/optipng {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-04 15:55:19 +04:00
|
|
|
p7zip = import ../tools/archivers/p7zip {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-10 13:42:22 +04:00
|
|
|
panomatic = import ../tools/graphics/panomatic {
|
|
|
|
inherit fetchurl stdenv boost zlib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
par2cmdline = import ../tools/networking/par2cmdline {
|
2008-06-25 19:01:04 +04:00
|
|
|
inherit fetchurl stdenv;
|
2003-12-23 23:51:58 +03:00
|
|
|
};
|
|
|
|
|
2010-05-02 13:27:32 +04:00
|
|
|
parallel = import ../tools/misc/parallel {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-07-19 03:36:28 +04:00
|
|
|
patchutils = import ../tools/text/patchutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
parted = import ../tools/misc/parted {
|
2010-01-08 17:33:14 +03:00
|
|
|
inherit fetchurl stdenv devicemapper libuuid gettext readline
|
2010-03-01 16:12:48 +03:00
|
|
|
utillinuxng xz;
|
2003-11-04 11:44:46 +03:00
|
|
|
};
|
|
|
|
|
2007-04-26 17:02:30 +04: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 19:53:04 +03:00
|
|
|
|
2009-12-17 14:10:01 +03:00
|
|
|
pbzip2 = import ../tools/compression/pbzip2 {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
2007-02-19 23:18:20 +03:00
|
|
|
pciutils = import ../tools/system/pciutils {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2010-01-09 20:35:57 +03:00
|
|
|
pcsclite = import ../tools/security/pcsclite {
|
|
|
|
inherit fetchurl stdenv hal pkgconfig dbus;
|
|
|
|
};
|
|
|
|
|
2009-03-30 00:32:41 +04:00
|
|
|
pdf2djvu = import ../tools/typesetting/pdf2djvu {
|
|
|
|
inherit fetchurl stdenv pkgconfig djvulibre poppler fontconfig libjpeg;
|
|
|
|
};
|
|
|
|
|
2007-03-21 15:53:01 +03:00
|
|
|
pdfjam = import ../tools/typesetting/pdfjam {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-03-24 02:04:41 +03:00
|
|
|
pdfread = import ../tools/graphics/pdfread {
|
|
|
|
inherit stdenv fetchurl unzip python makeWrapper ghostscript pngnq pil
|
|
|
|
djvulibre unrar optipng;
|
|
|
|
};
|
|
|
|
|
2009-10-08 12:53:21 +04:00
|
|
|
pg_top = import ../tools/misc/pg_top {
|
|
|
|
inherit fetchurl stdenv ncurses postgresql;
|
|
|
|
};
|
|
|
|
|
2010-05-19 16:26:00 +04:00
|
|
|
pdsh = makeOverridable (import ../tools/networking/pdsh) {
|
|
|
|
inherit fetchurl stdenv perl readline pam;
|
|
|
|
rsh = true; # enable internal rsh implementation
|
|
|
|
ssh = openssh;
|
2008-07-08 03:11:36 +04:00
|
|
|
};
|
|
|
|
|
2009-04-06 01:41:13 +04: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;
|
|
|
|
};
|
|
|
|
|
2010-05-20 00:58:35 +04:00
|
|
|
pinentry = makeOverridable (import ../tools/misc/pinentry) {
|
|
|
|
inherit fetchurl stdenv pkgconfig ncurses qt4;
|
2008-04-26 03:43:14 +04:00
|
|
|
inherit (gnome) glib gtk;
|
|
|
|
};
|
|
|
|
|
2010-05-11 20:17:26 +04:00
|
|
|
pk2cmd = import ../tools/misc/pk2cmd {
|
|
|
|
inherit fetchurl stdenv libusb makeWrapper;
|
|
|
|
};
|
|
|
|
|
2009-03-24 00:31:30 +03:00
|
|
|
plan9port = import ../tools/system/plan9port {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 xproto libXt xextproto;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
ploticus = import ../tools/graphics/ploticus {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv zlib libpng;
|
|
|
|
inherit (xlibs) libX11;
|
2005-09-05 15:35:13 +04:00
|
|
|
};
|
2005-09-01 20:38:31 +04:00
|
|
|
|
2009-10-18 08:43:50 +04:00
|
|
|
plotutils = import ../tools/graphics/plotutils {
|
2009-11-07 01:44:13 +03:00
|
|
|
inherit fetchurl stdenv libpng;
|
2009-10-18 08:43:50 +04:00
|
|
|
};
|
|
|
|
|
2010-03-24 01:40:46 +03:00
|
|
|
pngnq = import ../tools/graphics/pngnq {
|
|
|
|
inherit fetchurl stdenv libpng;
|
|
|
|
};
|
|
|
|
|
2009-05-14 12:49:46 +04:00
|
|
|
povray = import ../tools/graphics/povray {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-19 01:22:13 +04:00
|
|
|
ppl = import ../development/libraries/ppl {
|
|
|
|
inherit fetchurl stdenv gmpxx perl gnum4;
|
|
|
|
};
|
|
|
|
|
2009-02-01 16:54:20 +03:00
|
|
|
/* WARNING: this version is unsuitable for using with a setuid wrapper */
|
|
|
|
ppp = builderDefsPackage (import ../tools/networking/ppp) {
|
|
|
|
};
|
|
|
|
|
2009-01-13 00:12:07 +03:00
|
|
|
proxychains = import ../tools/networking/proxychains {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-09-06 16:33:25 +04:00
|
|
|
proxytunnel = import ../tools/misc/proxytunnel {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-12-11 14:47:23 +03:00
|
|
|
psmisc = import ../tools/misc/psmisc {
|
|
|
|
inherit stdenv fetchurl ncurses;
|
|
|
|
};
|
|
|
|
|
2009-10-18 08:43:53 +04:00
|
|
|
pstoedit = import ../tools/graphics/pstoedit {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig ghostscript gd zlib plotutils;
|
|
|
|
};
|
|
|
|
|
2009-03-22 15:34:30 +03:00
|
|
|
pv = import ../tools/misc/pv {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-28 13:53:12 +04:00
|
|
|
pwgen = import ../tools/security/pwgen {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-04-26 15:06:51 +04:00
|
|
|
pydb = import ../tools/pydb {
|
|
|
|
inherit fetchurl stdenv python emacs;
|
|
|
|
};
|
|
|
|
|
2010-04-21 14:51:15 +04:00
|
|
|
pystringtemplate = import ../development/python-modules/stringtemplate {
|
|
|
|
inherit stdenv fetchurl python antlr;
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonDBus = builderDefsPackage (import ../development/python-modules/dbus) {
|
|
|
|
inherit python pkgconfig dbus_glib;
|
|
|
|
dbus = dbus.libs;
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonIRClib = builderDefsPackage (import ../development/python-modules/irclib) {
|
|
|
|
inherit python;
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonSexy = builderDefsPackage (import ../development/python-modules/libsexy) {
|
|
|
|
inherit python libsexy pkgconfig libxml2 pygtk;
|
|
|
|
inherit (gtkLibs) pango gtk glib;
|
|
|
|
};
|
|
|
|
|
2009-06-05 18:36:35 +04:00
|
|
|
openmpi = import ../development/libraries/openmpi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-05-27 23:44:12 +04:00
|
|
|
qdu = import ../tools/misc/qdu {
|
|
|
|
inherit stdenv fetchurl qt3;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
2009-04-09 00:06:03 +04:00
|
|
|
qhull = import ../development/libraries/qhull {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2010-03-15 17:26:52 +03:00
|
|
|
qshowdiff = import ../tools/text/qshowdiff {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2010-05-01 01:46:55 +04:00
|
|
|
rtmpdump = import ../tools/video/rtmpdump {
|
|
|
|
inherit fetchurl stdenv zlib gnutls;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03: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 03:32:21 +03:00
|
|
|
inherit fetchcvs stdenv ocaml postgresql fuse pcre
|
2009-08-14 10:32:18 +04:00
|
|
|
builderDefs pkgconfig libuuid;
|
2007-12-06 03:32:21 +03:00
|
|
|
inherit (gnome) gnomevfs GConf;
|
2007-12-05 01:06:13 +03:00
|
|
|
};
|
|
|
|
|
2009-02-26 01:44:08 +03:00
|
|
|
remind = import ../tools/misc/remind {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-07-15 15:59:33 +04:00
|
|
|
replace = import ../tools/text/replace {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-09-10 18:29:45 +04:00
|
|
|
/*
|
2007-09-09 00:45:23 +04:00
|
|
|
rdiff_backup = import ../tools/backup/rdiff-backup {
|
|
|
|
inherit fetchurl stdenv librsync gnused;
|
|
|
|
python=python;
|
|
|
|
};
|
2007-09-10 18:29:45 +04:00
|
|
|
*/
|
2007-09-09 00:45:23 +04:00
|
|
|
|
2008-03-07 12:33:51 +03: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 12:39:59 +03:00
|
|
|
rlwrap = composedArgsAndFun (import ../tools/misc/rlwrap/0.28.nix) {
|
2008-01-31 20:32:28 +03:00
|
|
|
inherit builderDefs readline;
|
2008-01-24 02:39:06 +03:00
|
|
|
};
|
|
|
|
|
2009-02-01 16:54:20 +03:00
|
|
|
rpPPPoE = builderDefsPackage (import ../tools/networking/rp-pppoe) {
|
|
|
|
inherit ppp;
|
|
|
|
};
|
|
|
|
|
2007-03-21 22:25:58 +03:00
|
|
|
rpm = import ../tools/package-management/rpm {
|
2009-12-10 01:34:51 +03:00
|
|
|
inherit fetchurl stdenv cpio zlib bzip2 xz file elfutils nspr nss popt;
|
|
|
|
db4 = db45;
|
2007-03-21 22:25:58 +03:00
|
|
|
};
|
|
|
|
|
2009-03-25 22:13:24 +03:00
|
|
|
rrdtool = import ../tools/misc/rrdtool {
|
|
|
|
inherit stdenv fetchurl gettext perl pkgconfig libxml2 cairo;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
};
|
|
|
|
|
2008-02-23 15:11:27 +03:00
|
|
|
rtorrent = import ../tools/networking/p2p/rtorrent {
|
|
|
|
inherit fetchurl stdenv libtorrent ncurses pkgconfig libsigcxx curl zlib openssl;
|
|
|
|
};
|
|
|
|
|
2009-03-16 13:42:51 +03:00
|
|
|
rubber = import ../tools/typesetting/rubber {
|
|
|
|
inherit fetchurl stdenv python texinfo;
|
|
|
|
};
|
|
|
|
|
2008-10-05 13:04:30 +04:00
|
|
|
rxp = import ../tools/text/xml/rxp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-03-18 00:17:51 +03:00
|
|
|
rzip = import ../tools/compression/rzip {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:51:02 +03:00
|
|
|
s3backer = import ../tools/filesystems/s3backer {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse curl expat;
|
|
|
|
};
|
|
|
|
|
2010-03-09 18:12:15 +03:00
|
|
|
s3sync = import ../tools/networking/s3sync {
|
|
|
|
inherit fetchurl stdenv ruby makeWrapper;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
sablotron = import ../tools/text/xml/sablotron {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv expat;
|
2004-02-17 23:03:12 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
screen = import ../tools/misc/screen {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2005-12-26 03:51:24 +03:00
|
|
|
};
|
|
|
|
|
2009-09-03 02:56:33 +04:00
|
|
|
scrot = import ../tools/graphics/scrot {
|
|
|
|
inherit fetchurl stdenv giblib x11;
|
|
|
|
};
|
|
|
|
|
2009-05-18 15:24:16 +04:00
|
|
|
seccure = import ../tools/security/seccure/0.4.nix {
|
|
|
|
inherit fetchurl stdenv libgcrypt;
|
2008-03-03 15:30:39 +03:00
|
|
|
};
|
|
|
|
|
2009-06-09 08:22:46 +04:00
|
|
|
setserial = builderDefsPackage (import ../tools/system/setserial) {
|
|
|
|
inherit groff;
|
|
|
|
};
|
|
|
|
|
2010-02-22 12:07:15 +03:00
|
|
|
sharutils = import ../tools/archivers/sharutils {
|
2010-02-22 12:52:39 +03:00
|
|
|
inherit fetchurl stdenv gettext;
|
2008-02-18 23:52:25 +03:00
|
|
|
};
|
|
|
|
|
2007-11-14 22:07:38 +03:00
|
|
|
shebangfix = import ../tools/misc/shebangfix {
|
2008-02-21 02:02:41 +03:00
|
|
|
inherit stdenv perl;
|
2007-11-14 22:07:38 +03:00
|
|
|
};
|
|
|
|
|
2010-04-10 14:47:30 +04:00
|
|
|
slimrat = import ../tools/networking/slimrat {
|
|
|
|
inherit fetchurl stdenv perl makeWrapper;
|
|
|
|
inherit (perlPackages) WWWMechanize LWP;
|
|
|
|
};
|
|
|
|
|
2008-08-21 15:07:29 +04:00
|
|
|
slsnif = import ../tools/misc/slsnif {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-10-18 17:05:43 +04:00
|
|
|
smartmontools = import ../tools/system/smartmontools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
smbfsFuse = composedArgsAndFun (import ../tools/filesystems/smbfs-fuse) {
|
2008-01-25 13:15:19 +03:00
|
|
|
inherit builderDefs samba fuse;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
socat = import ../tools/networking/socat {
|
|
|
|
inherit fetchurl stdenv openssl;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-02-03 14:03:54 +03:00
|
|
|
|
2010-04-30 16:23:26 +04:00
|
|
|
sourceHighlight = import ../tools/text/source-highlight {
|
|
|
|
inherit fetchurl stdenv boost;
|
|
|
|
};
|
|
|
|
|
2009-11-23 15:21:34 +03:00
|
|
|
socat2pre = builderDefsPackage ../tools/networking/socat/2.0.0-b3.nix {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
squashfsTools = import ../tools/filesystems/squashfs {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
|
|
|
sshfsFuse = import ../tools/filesystems/sshfs-fuse {
|
|
|
|
inherit fetchurl stdenv pkgconfig fuse glib;
|
|
|
|
};
|
|
|
|
|
2007-06-20 03:55:02 +04:00
|
|
|
sudo = import ../tools/security/sudo {
|
2009-06-26 20:10:38 +04:00
|
|
|
inherit fetchurl stdenv coreutils pam groff;
|
2007-06-20 03:55:02 +04:00
|
|
|
};
|
|
|
|
|
2009-07-12 12:10:51 +04:00
|
|
|
suidChroot = builderDefsPackage (import ../tools/system/suid-chroot) {
|
|
|
|
};
|
|
|
|
|
2007-08-08 02:22:31 +04:00
|
|
|
ssmtp = import ../tools/networking/ssmtp {
|
2007-11-08 20:48:52 +03:00
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
tlsSupport = true;
|
2007-08-08 02:22:31 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
ssss = composedArgsAndFun (import ../tools/security/ssss/0.5.nix) {
|
2008-03-03 15:30:39 +03:00
|
|
|
inherit builderDefs gmp;
|
|
|
|
};
|
|
|
|
|
2009-10-18 08:43:45 +04:00
|
|
|
stun = import ../tools/networking/stun {
|
|
|
|
inherit fetchurl stdenv lib;
|
|
|
|
};
|
|
|
|
|
2009-03-02 18:23:52 +03:00
|
|
|
stunnel = import ../tools/networking/stunnel {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-01-11 18:22:59 +03:00
|
|
|
su = import ../tools/misc/su {
|
|
|
|
inherit fetchurl stdenv pam;
|
|
|
|
};
|
|
|
|
|
2010-01-24 22:07:16 +03:00
|
|
|
swec = import ../tools/networking/swec {
|
|
|
|
inherit fetchurl stdenv makeWrapper perl;
|
|
|
|
inherit (perlPackages) LWP URI HTMLParser HTTPServerSimple Parent;
|
|
|
|
};
|
|
|
|
|
2010-04-19 14:50:36 +04:00
|
|
|
svnfs = import ../tools/filesystems/svnfs {
|
2010-04-20 21:06:27 +04:00
|
|
|
inherit fetchurl stdenv automake autoconf perl fuse subversion apr;
|
2010-04-16 19:56:31 +04:00
|
|
|
};
|
|
|
|
|
2009-02-25 19:05:13 +03:00
|
|
|
system_config_printer = import ../tools/misc/system-config-printer {
|
2009-04-20 18:10:15 +04:00
|
|
|
inherit stdenv fetchurl perl perlXMLParser desktop_file_utils;
|
2009-02-25 19:05:13 +03:00
|
|
|
};
|
2009-02-27 16:44:31 +03:00
|
|
|
|
2009-10-05 14:37:30 +04:00
|
|
|
sitecopy = import ../tools/networking/sitecopy {
|
2010-04-28 12:40:19 +04:00
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
neon = neon026;
|
2009-10-05 14:37:30 +04:00
|
|
|
};
|
|
|
|
|
2009-10-05 18:15:28 +04:00
|
|
|
privoxy = import ../tools/networking/privoxy {
|
2010-05-17 02:14:02 +04:00
|
|
|
inherit fetchurl stdenv autoconf automake zlib pcre w3m;
|
2009-10-05 18:15:28 +04:00
|
|
|
};
|
|
|
|
|
2007-01-16 17:35:08 +03:00
|
|
|
tcpdump = import ../tools/networking/tcpdump {
|
|
|
|
inherit fetchurl stdenv libpcap;
|
|
|
|
};
|
|
|
|
|
2009-03-17 17:18:45 +03:00
|
|
|
tcng = import ../tools/networking/tcng {
|
|
|
|
inherit fetchurl stdenv iproute bison flex db4 perl;
|
2009-12-21 17:12:00 +03:00
|
|
|
kernel = linux_2_6_28;
|
2009-03-17 17:18:45 +03:00
|
|
|
};
|
|
|
|
|
2007-10-09 13:56:39 +04:00
|
|
|
telnet = import ../tools/networking/telnet {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2010-02-13 22:22:16 +03:00
|
|
|
texmacs = import ../applications/office/texmacs {
|
|
|
|
inherit fetchurl stdenv texLive guile;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
};
|
|
|
|
|
2010-05-16 20:23:32 +04:00
|
|
|
tor = import ../tools/security/tor {
|
|
|
|
inherit fetchurl stdenv libevent openssl zlib;
|
|
|
|
};
|
|
|
|
|
2009-04-19 15:47:01 +04:00
|
|
|
ttf2pt1 = import ../tools/misc/ttf2pt1 {
|
|
|
|
inherit fetchurl stdenv perl freetype;
|
|
|
|
};
|
|
|
|
|
2009-03-22 16:03:37 +03:00
|
|
|
ucl = import ../development/libraries/ucl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-19 16:50:45 +04: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 16:03:37 +03:00
|
|
|
upx = import ../tools/compression/upx {
|
|
|
|
inherit fetchurl stdenv ucl zlib;
|
|
|
|
};
|
|
|
|
|
2009-10-24 23:58:07 +04:00
|
|
|
vbetool = builderDefsPackage ../tools/system/vbetool {
|
|
|
|
inherit pciutils libx86 zlib;
|
|
|
|
};
|
|
|
|
|
2009-05-31 00:52:10 +04:00
|
|
|
viking = import ../applications/misc/viking {
|
2009-05-31 01:32:01 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig intltool gettext expat curl
|
2009-05-31 19:01:33 +04:00
|
|
|
gpsd bc file;
|
2009-05-31 00:52:10 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-08-07 16:00:00 +04:00
|
|
|
vncrec = builderDefsPackage ../tools/video/vncrec {
|
|
|
|
inherit (xlibs) imake libX11 xproto gccmakedep libXt
|
|
|
|
libXmu libXaw libXext xextproto libSM libICE libXpm
|
|
|
|
libXp;
|
|
|
|
};
|
|
|
|
|
2008-02-11 00:54:01 +03:00
|
|
|
vpnc = import ../tools/networking/vpnc {
|
2008-11-27 13:32:47 +03:00
|
|
|
inherit fetchurl stdenv libgcrypt perl gawk
|
|
|
|
nettools makeWrapper;
|
2008-02-11 00:54:01 +03:00
|
|
|
};
|
|
|
|
|
2009-05-20 21:51:41 +04:00
|
|
|
vtun = import ../tools/networking/vtun {
|
|
|
|
inherit fetchurl stdenv lzo openssl zlib yacc flex;
|
|
|
|
};
|
|
|
|
|
2007-09-12 19:49:28 +04:00
|
|
|
testdisk = import ../tools/misc/testdisk {
|
|
|
|
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl;
|
|
|
|
};
|
|
|
|
|
2009-07-05 18:07:39 +04:00
|
|
|
htmlTidy = import ../tools/text/html-tidy {
|
|
|
|
inherit fetchcvs stdenv autoconf automake libtool;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
tightvnc = import ../tools/admin/tightvnc {
|
2007-10-05 09:55:44 +04:00
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg perl;
|
2008-03-18 22:45:31 +03:00
|
|
|
inherit (xlibs) imake gccmakedep libXmu libXaw libXpm libXp xauth;
|
2009-05-17 03:04:06 +04:00
|
|
|
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc
|
|
|
|
xorg.fontbhlucidatypewriter75dpi ];
|
2006-04-18 22:46:36 +04:00
|
|
|
};
|
|
|
|
|
2007-04-20 12:50:26 +04:00
|
|
|
time = import ../tools/misc/time {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-22 01:35:14 +04:00
|
|
|
tm = import ../tools/system/tm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
trang = import ../tools/text/xml/trang {
|
2007-03-05 20:13:53 +03:00
|
|
|
inherit fetchurl stdenv unzip jre;
|
2005-08-21 17:59:04 +04:00
|
|
|
};
|
|
|
|
|
2010-02-09 12:09:25 +03:00
|
|
|
tre = import ../development/libraries/tre {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-22 01:35:14 +04:00
|
|
|
ts = import ../tools/system/ts {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
transfig = import ../tools/graphics/transfig {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv libpng libjpeg zlib;
|
|
|
|
inherit (xlibs) imake;
|
2005-08-21 23:46:16 +04:00
|
|
|
};
|
|
|
|
|
2008-07-19 20:14:24 +04:00
|
|
|
truecrypt = import ../applications/misc/truecrypt {
|
2009-01-13 00:12:07 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig fuse devicemapper;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit wxGTK;
|
2009-10-02 12:00:30 +04:00
|
|
|
wxGUI = getConfig [ "truecrypt" "wxGUI" ] true;
|
2008-07-19 20:14:24 +04:00
|
|
|
};
|
|
|
|
|
2009-12-04 18:42:27 +03:00
|
|
|
ttmkfdir = import ../tools/misc/ttmkfdir {
|
2009-04-28 02:38:54 +04:00
|
|
|
inherit stdenv fetchurl freetype fontconfig libunwind libtool bison;
|
2008-03-02 21:41:32 +03:00
|
|
|
flex = flex2534;
|
|
|
|
};
|
|
|
|
|
2010-02-09 10:28:32 +03:00
|
|
|
unbound = import ../tools/networking/unbound {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
};
|
|
|
|
|
2007-06-20 19:15:51 +04:00
|
|
|
units = import ../tools/misc/units {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-06-24 19:34:44 +04:00
|
|
|
unrar = import ../tools/archivers/unrar {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-05-28 21:09:30 +04:00
|
|
|
unshield = import ../tools/archivers/unshield {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-10-07 15:18:54 +04:00
|
|
|
unzip = unzip552;
|
|
|
|
|
|
|
|
# TODO: remove in the next stdenv update.
|
|
|
|
unzip552 = import ../tools/archivers/unzip/5.52.nix {
|
2006-08-15 17:22:45 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-03-11 13:46:20 +03:00
|
|
|
|
2009-10-07 15:18:54 +04:00
|
|
|
unzip60 = import ../tools/archivers/unzip/6.0.nix {
|
|
|
|
inherit fetchurl stdenv bzip2;
|
|
|
|
};
|
|
|
|
|
2009-09-16 11:31:16 +04:00
|
|
|
uptimed = import ../tools/system/uptimed {
|
|
|
|
inherit fetchurl stdenv automake autoconf libtool;
|
|
|
|
};
|
|
|
|
|
2010-01-24 18:39:42 +03:00
|
|
|
w3cCSSValidator = import ../tools/misc/w3c-css-validator {
|
2010-01-25 01:15:23 +03:00
|
|
|
inherit fetchurl stdenv apacheAnt jre sourceFromHead lib;
|
2010-01-24 18:39:42 +03:00
|
|
|
tomcat = tomcat6;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
wdfs = import ../tools/filesystems/wdfs {
|
2010-04-28 12:40:19 +04:00
|
|
|
inherit stdenv fetchurl fuse pkgconfig glib;
|
|
|
|
neon = neon026;
|
2008-07-08 03:24:48 +04:00
|
|
|
};
|
|
|
|
|
2010-03-25 14:51:55 +03:00
|
|
|
wdiff = import ../tools/text/wdiff {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-02-25 13:01:33 +03:00
|
|
|
webalizer = import ../tools/networking/webalizer {
|
|
|
|
inherit stdenv fetchurl zlib libpng gd db4 geoip;
|
|
|
|
};
|
|
|
|
|
2009-08-26 15:13:36 +04:00
|
|
|
webdruid = builderDefsPackage ../tools/admin/webdruid {
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit zlib libpng freetype gd which
|
2009-08-26 15:13:36 +04:00
|
|
|
libxml2 geoip;
|
|
|
|
};
|
|
|
|
|
2009-02-02 15:33:40 +03:00
|
|
|
wget = import ../tools/networking/wget {
|
2009-11-08 03:32:12 +03:00
|
|
|
inherit fetchurl stdenv gettext gnutls perl;
|
2010-04-13 14:11:42 +04:00
|
|
|
inherit (perlPackages) LWP;
|
2006-07-18 00:35:02 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
which = import ../tools/system/which {
|
2008-01-20 21:23:55 +03:00
|
|
|
inherit fetchurl stdenv readline;
|
2006-01-27 23:51:41 +03:00
|
|
|
};
|
|
|
|
|
2010-01-07 20:49:45 +03:00
|
|
|
wicd = import ../tools/networking/wicd {
|
2010-01-21 18:39:11 +03:00
|
|
|
inherit stdenv fetchurl python pygobject pycairo pyGtkGlade pythonDBus
|
2010-01-07 20:49:45 +03:00
|
|
|
wpa_supplicant dhcp wirelesstools nettools iproute;
|
|
|
|
};
|
|
|
|
|
2007-08-18 12:32:12 +04:00
|
|
|
wv = import ../tools/misc/wv {
|
|
|
|
inherit fetchurl stdenv libpng zlib imagemagick
|
2009-10-29 14:43:02 +03:00
|
|
|
pkgconfig libgsf libxml2 bzip2 glib;
|
2007-08-18 12:32:12 +04:00
|
|
|
};
|
|
|
|
|
2009-05-28 23:22:32 +04:00
|
|
|
wv2 = import ../tools/misc/wv2 {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit stdenv fetchurl pkgconfig libgsf libxml2 glib;
|
2009-05-28 23:22:32 +04:00
|
|
|
};
|
|
|
|
|
2007-04-02 17:46:56 +04:00
|
|
|
x11_ssh_askpass = import ../tools/networking/x11-ssh-askpass {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xorg) imake;
|
|
|
|
};
|
|
|
|
|
2007-09-22 01:40:23 +04:00
|
|
|
xclip = import ../tools/misc/xclip {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
};
|
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
xfsprogs = import ../tools/filesystems/xfsprogs {
|
|
|
|
inherit fetchurl stdenv libtool gettext libuuid;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xmlroff = import ../tools/typesetting/xmlroff {
|
2005-08-14 01:35:49 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 libxslt popt;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
|
|
|
inherit (gnome) libgnomeprint;
|
|
|
|
inherit pangoxsl;
|
2005-08-13 22:12:10 +04:00
|
|
|
};
|
|
|
|
|
2008-03-11 11:44:22 +03:00
|
|
|
xmlto = import ../tools/typesetting/xmlto {
|
|
|
|
inherit fetchurl stdenv flex libxml2 libxslt
|
2010-05-04 17:32:04 +04:00
|
|
|
docbook_xml_dtd_42 docbook_xsl w3m bash getopt makeWrapper;
|
2008-03-11 11:44:22 +03:00
|
|
|
};
|
|
|
|
|
2005-01-22 03:19:27 +03:00
|
|
|
xmltv = import ../tools/misc/xmltv {
|
2009-04-20 16:49:35 +04:00
|
|
|
inherit fetchurl perl perlPackages;
|
2005-01-22 03:19:27 +03:00
|
|
|
};
|
|
|
|
|
2010-04-21 14:51:15 +04:00
|
|
|
xmpppy = builderDefsPackage (import ../development/python-modules/xmpppy) {
|
|
|
|
inherit python setuptools;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xpf = import ../tools/text/xml/xpf {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv python;
|
2009-04-23 16:33:09 +04:00
|
|
|
libxml2 = libxml2Python;
|
2004-08-03 19:41:08 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xsel = import ../tools/misc/xsel {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv x11;
|
2004-08-06 14:01:15 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
zdelta = import ../tools/compression/zdelta {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
2005-12-19 01:14:31 +03:00
|
|
|
};
|
|
|
|
|
2009-02-25 23:24:18 +03:00
|
|
|
zile = import ../applications/editors/zile {
|
|
|
|
inherit fetchurl stdenv ncurses help2man;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
zip = import ../tools/archivers/zip {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
2005-03-16 18:13:30 +03:00
|
|
|
};
|
2005-07-29 14:06:49 +04:00
|
|
|
|
2006-07-13 18:54:24 +04:00
|
|
|
|
2003-11-03 21:21:30 +03:00
|
|
|
### SHELLS
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2009-04-13 22:38:45 +04:00
|
|
|
bash = lowPrio (useFromStdenv "bash" bashReal);
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2009-04-13 22:38:45 +04:00
|
|
|
bashReal = makeOverridable (import ../shells/bash) {
|
|
|
|
inherit fetchurl stdenv bison;
|
|
|
|
};
|
|
|
|
|
|
|
|
bashInteractive = appendToName "interactive" (bashReal.override {
|
2009-05-29 17:00:56 +04:00
|
|
|
inherit readline texinfo;
|
2007-03-07 01:46:03 +03:00
|
|
|
interactive = true;
|
2007-04-26 17:02:30 +04:00
|
|
|
});
|
2007-03-07 01:46:03 +03:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
tcsh = import ../shells/tcsh {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2010-04-26 12:59:25 +04:00
|
|
|
rush = import ../shells/rush {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
zsh = import ../shells/zsh {
|
2007-06-20 14:02:10 +04:00
|
|
|
inherit fetchurl stdenv ncurses coreutils;
|
|
|
|
};
|
|
|
|
|
2003-11-03 21:21:30 +03:00
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
### DEVELOPMENT / COMPILERS
|
2003-11-03 21:21:30 +03:00
|
|
|
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
abc =
|
|
|
|
abcPatchable [];
|
2006-08-05 15:02:17 +04:00
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
abcPatchable = patches :
|
2006-10-18 14:32:45 +04:00
|
|
|
import ../development/compilers/abc/default.nix {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit stdenv fetchurl patches jre apacheAnt;
|
|
|
|
javaCup = import ../development/libraries/java/cup {
|
2007-03-05 20:13:53 +03:00
|
|
|
inherit stdenv fetchurl jdk;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
};
|
2005-12-31 06:46:20 +03:00
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
aspectj =
|
2006-10-18 14:32:45 +04:00
|
|
|
import ../development/compilers/aspectj {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit stdenv fetchurl jre;
|
|
|
|
};
|
2004-09-25 23:32:23 +04:00
|
|
|
|
2008-02-08 04:35:01 +03:00
|
|
|
bigloo = import ../development/compilers/bigloo {
|
2008-04-03 00:54:42 +04:00
|
|
|
inherit fetchurl stdenv;
|
2008-02-08 04:35:01 +03:00
|
|
|
};
|
|
|
|
|
2010-02-24 12:04:29 +03:00
|
|
|
ccl = builderDefsPackage ../development/compilers/ccl {};
|
|
|
|
|
2006-10-18 18:04:55 +04: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 13:10:06 +03:00
|
|
|
};
|
|
|
|
|
2010-01-20 08:41:18 +03:00
|
|
|
ecl = builderDefsPackage ../development/compilers/ecl {
|
|
|
|
inherit gmp mpfr;
|
|
|
|
};
|
|
|
|
|
2009-04-06 17:07:21 +04:00
|
|
|
adobeFlexSDK33 = import ../development/compilers/adobe-flex-sdk {
|
|
|
|
inherit fetchurl stdenv unzip jre;
|
|
|
|
};
|
|
|
|
|
2007-08-12 00:55:40 +04:00
|
|
|
fpc = import ../development/compilers/fpc {
|
2008-04-08 19:11:34 +04:00
|
|
|
inherit fetchurl stdenv gawk system;
|
2007-08-12 00:55:40 +04:00
|
|
|
};
|
|
|
|
|
2009-11-27 20:59:03 +03:00
|
|
|
gcc = gcc44;
|
2004-06-29 12:25:55 +04:00
|
|
|
|
2006-07-10 19:42:19 +04: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 18:34:56 +03: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 19:24:33 +04:00
|
|
|
gcc40 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.0) {
|
2006-07-10 19:42:19 +04:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 18:34:56 +03:00
|
|
|
texinfo = texinfo49;
|
2006-07-10 19:42:19 +04:00
|
|
|
profiledCompiler = true;
|
|
|
|
});
|
|
|
|
|
2009-04-09 19:24:33 +04:00
|
|
|
gcc41 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.1) {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-02-21 18:34:56 +03:00
|
|
|
texinfo = texinfo49;
|
2006-10-27 00:23:49 +04:00
|
|
|
profiledCompiler = false;
|
2007-11-15 18:19:58 +03:00
|
|
|
});
|
2007-08-19 03:58:30 +04:00
|
|
|
|
2009-04-09 19:24:33 +04:00
|
|
|
gcc42 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.2) {
|
2007-05-19 23:44:15 +04:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2008-06-26 14:20:33 +04:00
|
|
|
profiledCompiler = false;
|
2008-10-07 21:34:35 +04:00
|
|
|
});
|
2008-06-27 22:26:19 +04:00
|
|
|
|
2009-11-30 02:27:35 +03:00
|
|
|
gcc44 = useFromStdenv "gcc" gcc44_real;
|
2009-04-09 19:24:33 +04:00
|
|
|
|
2009-11-30 02:27:35 +03: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 22:03:34 +03:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs;
|
2009-02-02 00:44:56 +03:00
|
|
|
profiledCompiler = true;
|
2009-06-16 17:06:02 +04:00
|
|
|
}));
|
2009-02-02 00:44:56 +03:00
|
|
|
|
2010-03-07 02:36:55 +03: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 11:11:30 +03:00
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = true;
|
2009-11-15 08:39:22 +03:00
|
|
|
crossStageStatic = false;
|
2010-03-07 03:05:51 +03:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
2009-11-15 08:28:35 +03:00
|
|
|
};
|
|
|
|
|
2010-03-17 13:17:32 +03:00
|
|
|
gcc44_realCross = lib.addMetaAttrs { platforms = []; }
|
|
|
|
(makeOverridable (import ../development/compilers/gcc-4.4) {
|
2010-03-17 12:05:11 +03: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-30 02:27:35 +03:00
|
|
|
|
2010-04-30 23:12:59 +04:00
|
|
|
gcc45_realCross = lib.addMetaAttrs { platforms = []; }
|
|
|
|
(makeOverridable (import ../development/compilers/gcc-4.5) {
|
|
|
|
inherit fetchurl stdenv texinfo gmp mpfr mpc libelf zlib
|
|
|
|
ppl cloogppl gettext which noSysDirs;
|
|
|
|
binutilsCross = binutilsCross;
|
|
|
|
libcCross = libcCross;
|
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = false;
|
|
|
|
crossStageStatic = false;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
});
|
|
|
|
|
2010-05-06 22:22:51 +04:00
|
|
|
gcc_realCross = gcc45_realCross;
|
|
|
|
|
|
|
|
gccCrossStageStatic = let
|
|
|
|
isMingw = (stdenv.cross.libc == "msvcrt");
|
2010-05-06 23:19:22 +04:00
|
|
|
libcCross1 = if isMingw then windows.mingw_headers1 else null;
|
2010-05-06 22:22:51 +04:00
|
|
|
in
|
|
|
|
wrapGCCCross {
|
|
|
|
gcc = forceBuildDrv (lib.addMetaAttrs { platforms = []; } (
|
|
|
|
gcc_realCross.override {
|
|
|
|
crossStageStatic = true;
|
|
|
|
langCC = false;
|
|
|
|
libcCross = libcCross1;
|
|
|
|
enableShared = false;
|
|
|
|
}));
|
|
|
|
libc = libcCross1;
|
|
|
|
binutils = binutilsCross;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Only needed for mingw builds
|
|
|
|
gccCrossMingw2 = wrapGCCCross {
|
|
|
|
gcc = gccCrossStageStatic.gcc;
|
2010-05-06 23:19:22 +04:00
|
|
|
libc = windows.mingw_headers2;
|
2010-03-07 02:36:55 +03:00
|
|
|
binutils = binutilsCross;
|
2010-03-07 03:05:51 +03: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 11:11:30 +03:00
|
|
|
};
|
|
|
|
|
2010-03-07 02:36:55 +03:00
|
|
|
gccCrossStageFinal = wrapGCCCross {
|
2010-05-20 01:32:19 +04:00
|
|
|
gcc = forceBuildDrv (gcc_realCross.override {
|
|
|
|
libpthreadCross =
|
|
|
|
# FIXME: Don't explicitly refer to `i586-pc-gnu'.
|
|
|
|
if crossSystem != null && crossSystem.config == "i586-pc-gnu"
|
|
|
|
then hurdLibpthreadCross
|
|
|
|
else null;
|
|
|
|
});
|
2010-03-07 02:36:55 +03:00
|
|
|
libc = libcCross;
|
|
|
|
binutils = binutilsCross;
|
2010-03-07 03:05:51 +03:00
|
|
|
cross = assert crossSystem != null; crossSystem;
|
2009-11-15 08:28:35 +03: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 11:11:30 +03:00
|
|
|
|
2009-11-30 02:27:35 +03:00
|
|
|
gcc43_multi = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc43.gcc.override {
|
2009-04-02 23:55:57 +04:00
|
|
|
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc);
|
2008-06-27 22:26:19 +04:00
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = true;
|
2008-06-26 14:20:33 +04:00
|
|
|
}));
|
|
|
|
|
2009-11-30 02:27:35 +03:00
|
|
|
gcc44_real = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.4) {
|
2010-01-19 20:10:53 +03:00
|
|
|
inherit fetchurl stdenv texinfo gmp mpfr /* ppl cloogppl */
|
2009-07-27 19:40:01 +04:00
|
|
|
gettext which noSysDirs;
|
2009-07-03 22:54:28 +04:00
|
|
|
profiledCompiler = true;
|
2009-09-23 22:33:40 +04:00
|
|
|
}));
|
2009-07-03 22:54:28 +04:00
|
|
|
|
2010-04-28 16:37:11 +04:00
|
|
|
gcc45 = lowPrio (wrapGCC (makeOverridable (import ../development/compilers/gcc-4.5) {
|
2010-05-25 23:38:18 +04:00
|
|
|
inherit fetchurl stdenv texinfo gmp mpfr mpc libelf zlib perl
|
2010-04-28 16:37:11 +04:00
|
|
|
ppl cloogppl
|
|
|
|
gettext which noSysDirs;
|
|
|
|
profiledCompiler = true;
|
|
|
|
}));
|
|
|
|
|
2009-11-27 20:40:56 +03:00
|
|
|
gccApple =
|
2009-11-27 13:56:07 +03: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 19:28:53 +04:00
|
|
|
|
2008-03-04 19:20:11 +03:00
|
|
|
gccupc40 = wrapGCCUPC (import ../development/compilers/gcc-upc-4.0 {
|
|
|
|
inherit fetchurl stdenv bison autoconf gnum4 noSysDirs;
|
|
|
|
texinfo = texinfo49;
|
|
|
|
});
|
|
|
|
|
2009-04-09 19:24:33 +04: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-30 02:27:35 +03:00
|
|
|
gfortran43 = wrapGCC (gcc43.gcc.override {
|
2009-04-09 19:24:33 +04:00
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
});
|
|
|
|
|
2010-02-19 18:40:37 +03:00
|
|
|
gfortran44 = wrapGCC (gcc44_real.gcc.override {
|
2009-07-25 02:19:07 +04:00
|
|
|
name = "gfortran";
|
|
|
|
langFortran = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
});
|
|
|
|
|
2010-05-26 18:53:09 +04:00
|
|
|
gcj = gcj45;
|
2009-05-10 13:11:41 +04:00
|
|
|
|
2010-02-19 18:40:37 +03:00
|
|
|
gcj44 = wrapGCC (gcc44_real.gcc.override {
|
2009-07-03 22:54:28 +04:00
|
|
|
name = "gcj";
|
|
|
|
langJava = true;
|
|
|
|
langFortran = false;
|
|
|
|
langCC = true;
|
2009-07-27 19:40:01 +04:00
|
|
|
langC = false;
|
2009-07-03 22:54:28 +04:00
|
|
|
profiledCompiler = false;
|
2009-07-28 12:11:10 +04:00
|
|
|
inherit zip unzip zlib boehmgc gettext pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2009-07-28 13:23:40 +04:00
|
|
|
inherit (gnome) libart_lgpl;
|
2009-11-06 00:43:00 +03:00
|
|
|
inherit (xlibs) libX11 libXt libSM libICE libXtst libXi libXrender
|
2009-07-30 12:32:43 +04:00
|
|
|
libXrandr xproto renderproto xextproto inputproto randrproto;
|
2009-07-03 22:54:28 +04:00
|
|
|
});
|
|
|
|
|
2010-04-28 16:37:11 +04:00
|
|
|
gcj45 = wrapGCC (gcc45.gcc.override {
|
|
|
|
name = "gcj";
|
|
|
|
langJava = true;
|
|
|
|
langFortran = false;
|
|
|
|
langCC = true;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
2010-05-25 23:38:13 +04:00
|
|
|
inherit zip unzip zlib boehmgc gettext pkgconfig perl;
|
2010-04-28 16:37:11 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libart_lgpl;
|
|
|
|
inherit (xlibs) libX11 libXt libSM libICE libXtst libXi libXrender
|
|
|
|
libXrandr xproto renderproto xextproto inputproto randrproto;
|
|
|
|
});
|
|
|
|
|
2009-12-21 10:49:31 +03:00
|
|
|
gnat = gnat44;
|
|
|
|
|
2010-01-17 00:32:44 +03:00
|
|
|
gnat44 = wrapGCC (gcc44_real.gcc.override {
|
2009-12-21 10:49:31 +03: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-17 00:32:44 +03:00
|
|
|
gnatboot = wrapGCC (import ../development/compilers/gnatboot {
|
2009-12-21 10:49:31 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
|
|
|
|
2010-01-17 00:41:27 +03:00
|
|
|
ghdl = wrapGCC (import ../development/compilers/gcc-4.3 {
|
2009-12-22 02:02:06 +03:00
|
|
|
inherit stdenv fetchurl texinfo gmp mpfr noSysDirs gnat;
|
2010-01-15 02:03:31 +03:00
|
|
|
name = "ghdl";
|
2009-12-22 02:02:06 +03:00
|
|
|
langVhdl = true;
|
|
|
|
langCC = false;
|
|
|
|
langC = false;
|
|
|
|
profiledCompiler = false;
|
|
|
|
enableMultilib = false;
|
|
|
|
});
|
|
|
|
|
2010-01-16 02:22:28 +03:00
|
|
|
# Not officially supported version for ghdl
|
2010-01-17 00:41:27 +03:00
|
|
|
ghdl_gcc44 = lowPrio (wrapGCC (import ../development/compilers/gcc-4.4 {
|
2010-01-16 02:22:28 +03: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 12:44:03 +03:00
|
|
|
/*
|
|
|
|
Broken; fails because of unability to find its own symbols during linking
|
|
|
|
|
2009-11-06 00:08:53 +03:00
|
|
|
gcl = builderDefsPackage ../development/compilers/gcl {
|
2009-11-06 10:39:59 +03:00
|
|
|
inherit mpfr m4 binutils fetchcvs emacs;
|
2009-11-27 20:40:56 +03:00
|
|
|
inherit (xlibs) libX11 xproto inputproto libXi
|
2009-11-06 10:39:59 +03:00
|
|
|
libXext xextproto libXt libXaw libXmu;
|
2009-11-06 12:44:03 +03:00
|
|
|
stdenv = (overrideGCC stdenv gcc34) // {gcc = gcc33;};
|
2009-11-06 00:08:53 +03:00
|
|
|
};
|
2009-11-06 12:44:03 +03:00
|
|
|
*/
|
2009-11-06 00:08:53 +03:00
|
|
|
|
2009-09-17 15:45:20 +04:00
|
|
|
# GHC
|
|
|
|
|
|
|
|
# GHC binaries are around for bootstrapping purposes
|
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
# If we'd want to reactivate the 6.6 and 6.8 series of ghc, we'd
|
|
|
|
# need to reenable an old binary such as this.
|
2009-12-11 16:58:41 +03:00
|
|
|
/*
|
2009-04-17 02:06:33 +04:00
|
|
|
ghc642Binary = lowPrio (import ../development/compilers/ghc/6.4.2-binary.nix {
|
|
|
|
inherit fetchurl stdenv ncurses gmp;
|
2009-12-11 16:58:36 +03:00
|
|
|
readline = if stdenv.system == "i686-linux" then readline4 else readline5;
|
2009-04-17 02:06:33 +04:00
|
|
|
perl = perl58;
|
|
|
|
});
|
2009-12-11 16:58:41 +03:00
|
|
|
*/
|
2007-10-19 17:24:29 +04:00
|
|
|
|
2009-04-17 23:43:05 +04:00
|
|
|
ghc6101Binary = lowPrio (import ../development/compilers/ghc/6.10.1-binary.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
});
|
2008-06-04 13:42:25 +04:00
|
|
|
|
2009-04-17 02:00:41 +04:00
|
|
|
ghc6102Binary = lowPrio (import ../development/compilers/ghc/6.10.2-binary.nix {
|
2009-04-16 23:59:41 +04:00
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
2008-07-25 18:21:54 +04:00
|
|
|
});
|
2008-07-21 18:43:33 +04:00
|
|
|
|
2009-09-17 15:45:20 +04:00
|
|
|
# For several compiler versions, we export a large set of Haskell-related
|
|
|
|
# packages.
|
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
# This should point to the current default version.
|
2009-07-20 17:02:56 +04:00
|
|
|
haskellPackages = haskellPackages_ghc6104;
|
2009-04-18 16:47:11 +04:00
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
# Old versions of ghc that currently don't build because the binary
|
|
|
|
# is broken.
|
2009-12-11 16:58:41 +03:00
|
|
|
/*
|
2009-04-19 14:27:22 +04:00
|
|
|
haskellPackages_ghc642 = import ./haskell-packages.nix {
|
2009-04-18 16:47:11 +04:00
|
|
|
inherit pkgs;
|
2009-04-19 14:27:22 +04:00
|
|
|
ghc = import ../development/compilers/ghc/6.4.2.nix {
|
|
|
|
inherit fetchurl stdenv perl ncurses readline m4 gmp;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2007-05-06 19:39:39 +04:00
|
|
|
};
|
|
|
|
|
2009-04-19 14:27:22 +04:00
|
|
|
haskellPackages_ghc661 = import ./haskell-packages.nix {
|
2009-04-18 16:47:11 +04:00
|
|
|
inherit pkgs;
|
2009-04-19 14:27:22 +04:00
|
|
|
ghc = import ../development/compilers/ghc/6.6.1.nix {
|
|
|
|
inherit fetchurl stdenv readline perl58 gmp ncurses m4;
|
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2006-12-15 16:32:55 +03:00
|
|
|
};
|
|
|
|
|
2009-04-19 14:27:22 +04:00
|
|
|
haskellPackages_ghc682 = import ./haskell-packages.nix {
|
|
|
|
inherit pkgs;
|
|
|
|
ghc = import ../development/compilers/ghc/6.8.2.nix {
|
2009-12-11 16:58:36 +03:00
|
|
|
inherit fetchurl stdenv perl gmp ncurses m4;
|
|
|
|
readline = readline5;
|
2009-04-19 14:27:22 +04:00
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
2009-05-18 17:53:01 +04:00
|
|
|
|
2009-04-19 14:27:22 +04: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 22:44:52 +04:00
|
|
|
inherit stdenv fetchurl lib;
|
2009-04-19 14:27:22 +04:00
|
|
|
ghc = ghc642Binary;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
2009-12-11 16:58:41 +03:00
|
|
|
*/
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2010-05-01 15:23:39 +04:00
|
|
|
# NOTE: After discussion, we decided to enable recurseIntoAttrs for all
|
|
|
|
# currently available ghc versions. (Before, it used to be enabled only
|
|
|
|
# for a selected few versions.) If someone complains about nix-env -qa
|
|
|
|
# output being spammed by lots of Haskell packages, we can talk about
|
|
|
|
# reducing the number or "enabled" versions again.
|
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
# Helper functions to abstract away from repetitive instantiations.
|
2010-05-01 14:55:05 +04:00
|
|
|
haskellPackagesFun610 = ghcPath : profDefault : recurseIntoAttrs (import ./haskell-packages.nix {
|
2009-04-19 15:43:38 +04:00
|
|
|
inherit pkgs;
|
2010-04-27 22:21:07 +04:00
|
|
|
enableLibraryProfiling = getConfig [ "cabal" "libraryProfiling" ] profDefault;
|
|
|
|
ghc = import ghcPath {
|
2009-04-19 15:43:38 +04:00
|
|
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
|
|
|
ghc = ghc6101Binary;
|
|
|
|
};
|
2010-05-01 14:55:05 +04:00
|
|
|
});
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2010-05-01 14:55:05 +04:00
|
|
|
haskellPackagesFun612 = ghcPath : profDefault : recurseIntoAttrs (import ./haskell-packages.nix {
|
2009-04-19 14:27:22 +04:00
|
|
|
inherit pkgs;
|
2010-04-27 22:21:07 +04:00
|
|
|
enableLibraryProfiling = getConfig [ "cabal" "libraryProfiling" ] profDefault;
|
|
|
|
ghc = import ghcPath {
|
|
|
|
inherit fetchurl stdenv perl ncurses gmp;
|
2009-04-19 14:27:22 +04:00
|
|
|
ghc = ghc6101Binary;
|
2005-08-17 18:29:04 +04:00
|
|
|
};
|
2010-05-01 14:55:05 +04:00
|
|
|
});
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
# Currently active GHC versions.
|
|
|
|
haskellPackages_ghc6101 =
|
|
|
|
haskellPackagesFun610 ../development/compilers/ghc/6.10.1.nix false;
|
2009-05-11 01:04:58 +04:00
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
haskellPackages_ghc6102 =
|
|
|
|
haskellPackagesFun610 ../development/compilers/ghc/6.10.2.nix false;
|
2009-07-20 17:02:56 +04:00
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
haskellPackages_ghc6103 =
|
|
|
|
haskellPackagesFun610 ../development/compilers/ghc/6.10.3.nix false;
|
2009-10-15 16:49:37 +04:00
|
|
|
|
2010-05-01 15:23:39 +04:00
|
|
|
# Current default version.
|
|
|
|
haskellPackages_ghc6104 =
|
|
|
|
haskellPackagesFun610 ../development/compilers/ghc/6.10.4.nix false;
|
2010-04-27 22:21:07 +04:00
|
|
|
|
|
|
|
# We will soon switch to either ghc-6.12.1 or ghc-6.12.2 as default.
|
|
|
|
haskellPackages_ghc6121 = lowPrio
|
|
|
|
(haskellPackagesFun612 ../development/compilers/ghc/6.12.1.nix false);
|
|
|
|
|
|
|
|
haskellPackages_ghc6122 = lowPrio
|
|
|
|
(haskellPackagesFun612 ../development/compilers/ghc/6.12.2.nix false);
|
2010-04-25 21:27:21 +04:00
|
|
|
|
2010-04-27 22:21:07 +04:00
|
|
|
# Currently not pointing to the actual HEAD, therefore disabled
|
2010-04-25 21:27:21 +04:00
|
|
|
/*
|
|
|
|
haskellPackages_ghcHEAD = lowPrio (import ./haskell-packages.nix {
|
2009-09-17 15:45:20 +04:00
|
|
|
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-04-25 21:27:21 +04:00
|
|
|
});
|
|
|
|
*/
|
2009-09-17 15:45:20 +04:00
|
|
|
|
2010-03-17 02:34:56 +03:00
|
|
|
haxeDist = import ../development/compilers/haxe {
|
|
|
|
inherit fetchurl sourceFromHead stdenv lib ocaml zlib makeWrapper neko;
|
2009-11-30 04:05:04 +03:00
|
|
|
};
|
2010-03-17 02:34:56 +03:00
|
|
|
haxe = haxeDist.haxe;
|
|
|
|
haxelib = haxeDist.haxelib;
|
2009-11-30 04:05:04 +03:00
|
|
|
|
2009-07-10 02:30:19 +04:00
|
|
|
falcon = builderDefsPackage (import ../development/interpreters/falcon) {
|
|
|
|
inherit cmake;
|
|
|
|
};
|
|
|
|
|
2009-11-14 23:14:28 +03:00
|
|
|
go = import ../development/compilers/go {
|
2009-11-16 21:42:43 +03:00
|
|
|
inherit stdenv fetchhg glibc bison ed which bash makeWrapper;
|
2009-11-14 23:14:28 +03:00
|
|
|
};
|
|
|
|
|
2009-02-19 16:32:07 +03:00
|
|
|
gprolog = import ../development/compilers/gprolog {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-13 11:43:38 +03:00
|
|
|
gwt = import ../development/compilers/gwt {
|
2009-10-19 17:14:23 +04:00
|
|
|
inherit stdenv fetchurl jdk;
|
2008-02-13 11:43:38 +03:00
|
|
|
inherit (gtkLibs) glib gtk pango atk;
|
|
|
|
inherit (xlibs) libX11 libXt;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
ikarus = import ../development/compilers/ikarus {
|
|
|
|
inherit stdenv fetchurl gmp;
|
2008-05-06 11:03:41 +04:00
|
|
|
};
|
|
|
|
|
2007-08-20 14:34:49 +04: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 04:20:35 +03:00
|
|
|
hugs = import ../development/compilers/hugs {
|
|
|
|
inherit lib fetchurl stdenv composableDerivation;
|
|
|
|
};
|
2007-08-20 14:34:49 +04:00
|
|
|
|
2009-10-02 16:12:23 +04:00
|
|
|
openjdkDarwin = import ../development/compilers/openjdk-darwin {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
j2sdk14x = (
|
2007-04-16 14:07:06 +04:00
|
|
|
assert system == "i686-linux";
|
|
|
|
import ../development/compilers/jdk/default-1.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
2009-08-25 10:36:05 +04:00
|
|
|
});
|
2007-03-05 20:13:53 +03:00
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
jdk5 = (
|
2008-01-24 13:14:33 +03:00
|
|
|
assert system == "i686-linux" || system == "x86_64-linux";
|
2008-01-23 15:25:08 +03:00
|
|
|
import ../development/compilers/jdk/default-5.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
2009-08-25 10:36:05 +04:00
|
|
|
});
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2010-03-26 16:31:11 +03:00
|
|
|
jdk = if stdenv.isDarwin then openjdkDarwin else jdkdistro true false;
|
2007-03-28 22:55:57 +04:00
|
|
|
jre = jdkdistro false false;
|
|
|
|
|
2007-03-28 19:31:00 +04:00
|
|
|
jdkPlugin = jdkdistro true true;
|
2007-03-28 22:55:57 +04:00
|
|
|
jrePlugin = jdkdistro false true;
|
2007-03-28 19:21:43 +04:00
|
|
|
|
2007-04-16 14:22:20 +04:00
|
|
|
supportsJDK =
|
|
|
|
system == "i686-linux" ||
|
|
|
|
system == "x86_64-linux" ||
|
2010-05-27 15:04:45 +04:00
|
|
|
system == "i686-cygwin" ||
|
2007-04-16 14:22:20 +04:00
|
|
|
system == "powerpc-linux";
|
|
|
|
|
2007-04-16 14:07:06 +04:00
|
|
|
jdkdistro = installjdk: pluginSupport:
|
2009-08-28 10:29:21 +04:00
|
|
|
(assert supportsJDK;
|
2007-05-16 18:49:28 +04:00
|
|
|
(if pluginSupport then appendToName "plugin" else x: x) (import ../development/compilers/jdk {
|
2010-05-27 15:04:45 +04:00
|
|
|
inherit fetchurl stdenv unzip installjdk xlibs pluginSupport makeWrapper cabextract;
|
2009-08-25 10:40:26 +04:00
|
|
|
}));
|
2003-12-21 23:52:13 +03:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
jikes = import ../development/compilers/jikes {
|
2004-05-12 19:06:23 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
lazarus = builderDefsPackage (import ../development/compilers/fpc/lazarus.nix) {
|
2008-04-08 19:11:34 +04:00
|
|
|
inherit fpc makeWrapper;
|
2009-07-15 00:31:11 +04:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2008-04-08 19:11:34 +04:00
|
|
|
inherit (xlibs) libXi inputproto libX11 xproto libXext xextproto;
|
|
|
|
};
|
|
|
|
|
2008-03-17 14:18:21 +03:00
|
|
|
llvm = import ../development/compilers/llvm {
|
2008-03-17 14:28:52 +03:00
|
|
|
inherit fetchurl stdenv gcc flex perl libtool;
|
2008-03-17 14:18:21 +03:00
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
llvmGCC = builderDefsPackage (import ../development/compilers/llvm/llvm-gcc.nix) {
|
2008-04-02 23:55:40 +04:00
|
|
|
flex=flex2535;
|
2008-08-25 17:25:07 +04:00
|
|
|
inherit llvm perl libtool bison;
|
2008-04-02 23:55:40 +04:00
|
|
|
};
|
|
|
|
|
2010-03-17 18:32:12 +03:00
|
|
|
mitscheme = import ../development/compilers/mit-scheme {
|
2010-04-24 15:09:53 +04:00
|
|
|
inherit fetchurl stdenv gnum4;
|
2010-03-17 18:32:12 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
mono = import ../development/compilers/mono {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv bison pkgconfig gettext perl glib;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
monoDLLFixer = import ../build-support/mono-dll-fixer {
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-12-29 17:57:01 +03:00
|
|
|
mozart = import ../development/compilers/mozart {
|
|
|
|
inherit fetchurl stdenv flex bison perl gmp zlib tcl tk gdbm m4 x11 emacs;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-06-12 19:59:59 +04:00
|
|
|
|
2009-11-30 04:05:07 +03:00
|
|
|
neko = import ../development/compilers/neko {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit sourceFromHead fetchurl stdenv lib pkgconfig composableDerivation
|
|
|
|
boehmgc apacheHttpd mysql zlib sqlite pcre apr makeWrapper;
|
2009-11-30 04:05:07 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
nasm = import ../development/compilers/nasm {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-14 19:21:45 +04:00
|
|
|
ocaml = ocaml_3_11_1;
|
2004-07-17 02:58:15 +04:00
|
|
|
|
2009-10-14 19:21:45 +04:00
|
|
|
ocaml_3_08_0 = import ../development/compilers/ocaml/3.08.0.nix {
|
2009-11-08 03:32:12 +03:00
|
|
|
inherit fetchurl stdenv fetchcvs x11 ncurses;
|
2009-10-14 19:21:45 +04: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 17:34:34 +03:00
|
|
|
inherit fetchurl stdenv x11 ncurses;
|
2006-03-01 12:18:22 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
opencxx = import ../development/compilers/opencxx {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
gcc = gcc33;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
qcmm = import ../development/compilers/qcmm {
|
2006-03-01 12:18:22 +03:00
|
|
|
lua = lua4;
|
2009-10-14 19:21:45 +04:00
|
|
|
ocaml = ocaml_3_08_0;
|
2006-03-01 12:18:22 +03:00
|
|
|
inherit fetchurl stdenv mk noweb groff;
|
2006-02-02 20:07:07 +03:00
|
|
|
};
|
|
|
|
|
2008-02-08 04:57:31 +03:00
|
|
|
roadsend = import ../development/compilers/roadsend {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit fetchurl stdenv flex bison bigloo lib curl composableDerivation;
|
2008-02-08 04:57:31 +03:00
|
|
|
# optional features
|
|
|
|
# all features pcre, fcgi xml mysql, sqlite3, (not implemented: odbc gtk gtk2)
|
2008-03-12 01:34:17 +03:00
|
|
|
flags = ["pcre" "xml" "mysql"];
|
|
|
|
inherit mysql libxml2 fcgi;
|
2008-02-08 04:57:31 +03:00
|
|
|
};
|
|
|
|
|
2009-05-31 10:07:25 +04:00
|
|
|
sbcl = builderDefsPackage (import ../development/compilers/sbcl) {
|
2010-02-17 09:50:45 +03:00
|
|
|
inherit makeWrapper clisp;
|
2009-05-31 10:07:25 +04:00
|
|
|
};
|
|
|
|
|
2008-04-12 02:06:32 +04:00
|
|
|
scala = import ../development/compilers/scala {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-05-29 16:10:10 +04:00
|
|
|
stalin = import ../development/compilers/stalin {
|
2010-03-17 17:44:46 +03:00
|
|
|
inherit stdenv fetchurl ncompress;
|
2008-05-29 16:10:10 +04:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2009-03-19 17:34:16 +03:00
|
|
|
strategoPackages = strategoPackages017;
|
2005-03-03 20:19:58 +03:00
|
|
|
|
2009-03-19 17:34:16 +03:00
|
|
|
strategoPackages016 = import ../development/compilers/strategoxt/0.16.nix {
|
|
|
|
inherit fetchurl pkgconfig aterm getopt;
|
2006-06-24 00:11:36 +04:00
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
2005-10-31 17:28:11 +03:00
|
|
|
};
|
|
|
|
|
2009-03-19 17:34:16 +03:00
|
|
|
strategoPackages017 = import ../development/compilers/strategoxt/0.17.nix {
|
2009-11-27 23:31:12 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig aterm getopt jdk ncurses;
|
2009-11-27 23:22:43 +03:00
|
|
|
readline = readline5;
|
2005-06-30 20:54:25 +04:00
|
|
|
};
|
|
|
|
|
2009-09-15 15:36:41 +04:00
|
|
|
strategoPackages018 = import ../development/compilers/strategoxt/0.18.nix {
|
2009-12-07 17:19:23 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig aterm getopt jdk makeStaticBinaries ncurses;
|
2009-12-09 17:07:09 +03:00
|
|
|
readline = readline5;
|
2009-09-15 15:36:41 +04:00
|
|
|
};
|
|
|
|
|
2009-04-03 13:22:20 +04:00
|
|
|
metaBuildEnv = import ../development/compilers/meta-environment/meta-build-env {
|
2009-11-18 12:39:59 +03:00
|
|
|
inherit fetchurl stdenv;
|
2009-04-17 17:48:22 +04:00
|
|
|
};
|
2009-04-03 13:22:20 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
swiProlog = import ../development/compilers/swi-prolog {
|
2009-12-09 17:07:09 +03:00
|
|
|
inherit fetchurl stdenv gmp readline openssl libjpeg unixODBC zlib;
|
|
|
|
inherit (xlibs) libXinerama libXft libXpm libSM libXt;
|
2008-03-07 00:53:54 +03:00
|
|
|
};
|
|
|
|
|
2008-10-31 19:52:44 +03:00
|
|
|
tinycc = import ../development/compilers/tinycc {
|
|
|
|
inherit fetchurl stdenv perl texinfo;
|
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
visualcpp = (import ../development/compilers/visual-c++ {
|
2006-06-05 23:26:11 +04:00
|
|
|
inherit fetchurl stdenv cabextract;
|
2009-08-25 09:46:48 +04:00
|
|
|
});
|
2006-06-02 13:56:10 +04:00
|
|
|
|
2008-01-29 14:46:34 +03:00
|
|
|
webdsl = import ../development/compilers/webdsl {
|
2009-03-19 19:04:32 +03:00
|
|
|
inherit stdenv fetchurl pkgconfig strategoPackages;
|
2008-01-29 14:46:34 +03:00
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
win32hello = import ../development/compilers/visual-c++/test {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv visualcpp windowssdk;
|
2009-08-28 10:29:21 +04:00
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2008-06-27 22:26:19 +04:00
|
|
|
wrapGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
2009-12-22 02:02:06 +03: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-17 00:41:27 +03:00
|
|
|
wrapGCC = wrapGCCWith (import ../build-support/gcc-wrapper) glibc;
|
2010-03-17 00:53:48 +03:00
|
|
|
|
2010-03-16 23:49:26 +03: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-17 00:53:48 +03:00
|
|
|
stdenv2 = if (gcc.nativeTools) then stdenv else (overrideGCC stdenv (wrapGCC2 gcc.gcc));
|
2009-12-22 02:02:06 +03:00
|
|
|
|
2009-11-15 08:28:35 +03:00
|
|
|
wrapGCCCross =
|
|
|
|
{gcc, libc, binutils, cross, shell ? "", name ? "gcc-cross-wrapper"}:
|
2010-01-21 18:39:11 +03: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 22:51:45 +03:00
|
|
|
forceBuildDrv (import ../build-support/gcc-cross-wrapper {
|
2009-11-15 08:28:35 +03:00
|
|
|
nativeTools = false;
|
|
|
|
nativeLibc = false;
|
2009-11-21 05:42:52 +03: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 22:03:34 +03: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 22:51:45 +03:00
|
|
|
});
|
2009-11-15 08:28:35 +03:00
|
|
|
|
2008-03-04 19:20:11 +03: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 19:15:46 +04:00
|
|
|
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
2006-09-15 19:28:53 +04:00
|
|
|
gcc = baseGCC;
|
2006-10-25 00:53:54 +04:00
|
|
|
libc = glibc;
|
|
|
|
inherit stdenv binutils;
|
2006-06-02 14:09:19 +04:00
|
|
|
};
|
|
|
|
|
2008-03-13 04:13:53 +03:00
|
|
|
# prolog
|
|
|
|
yap = import ../development/compilers/yap {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-05-01 01:58:47 +04:00
|
|
|
yasm = import ../development/compilers/yasm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
### DEVELOPMENT / INTERPRETERS
|
|
|
|
|
2009-08-13 18:32:52 +04:00
|
|
|
acl2 = builderDefsPackage ../development/interpreters/acl2 {
|
|
|
|
inherit sbcl;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
|
|
|
clisp = import ../development/interpreters/clisp {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit fetchurl stdenv libsigsegv gettext
|
2009-05-31 10:07:25 +04: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 09:20:14 +04:00
|
|
|
inherit fetchurl stdenv gettext
|
2009-05-31 10:07:25 +04:00
|
|
|
readline ncurses coreutils pcre zlib libffi libffcall;
|
2008-08-25 17:25:07 +04:00
|
|
|
inherit (xlibs) libX11 libXau libXt xproto
|
2008-08-09 02:37:37 +04:00
|
|
|
libXpm libXext xextproto;
|
2009-08-10 09:20:14 +04:00
|
|
|
libsigsegv = libsigsegv_25;
|
2006-10-18 18:04:55 +04:00
|
|
|
};
|
|
|
|
|
2009-05-05 19:46:24 +04:00
|
|
|
erlang = import ../development/interpreters/erlang {
|
2008-02-21 02:02:41 +03:00
|
|
|
inherit fetchurl stdenv perl gnum4 ncurses openssl;
|
2008-01-23 13:06:07 +03:00
|
|
|
};
|
|
|
|
|
2010-03-30 03:36:32 +04:00
|
|
|
groovy = import ../development/interpreters/groovy {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
guile = import ../development/interpreters/guile {
|
2008-03-13 17:18:29 +03:00
|
|
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper;
|
2006-10-18 18:04:55 +04:00
|
|
|
};
|
|
|
|
|
2009-09-16 16:46:17 +04:00
|
|
|
guile_1_9 = import ../development/interpreters/guile/1.9.nix {
|
|
|
|
inherit fetchurl stdenv readline libtool gmp gawk makeWrapper
|
2010-02-20 19:19:36 +03:00
|
|
|
libunistring pkgconfig boehmgc libffi;
|
2009-09-16 16:46:17 +04:00
|
|
|
};
|
|
|
|
|
2008-11-11 11:53:47 +03: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 23:25:22 +04:00
|
|
|
freeglut e2fsprogs libsamplerate pcre libevent libedit;
|
2008-11-11 11:53:47 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 18:04:55 +04: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 20:43:06 +04:00
|
|
|
inherit fetchurl stdenv ncurses readline;
|
2006-10-18 18:04:55 +04:00
|
|
|
};
|
|
|
|
|
2008-07-15 13:58:30 +04:00
|
|
|
maude = import ../development/interpreters/maude {
|
2009-07-03 15:31:33 +04:00
|
|
|
inherit fetchurl stdenv flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper;
|
2008-07-15 13:58:30 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
octave = import ../development/interpreters/octave {
|
2010-03-04 19:41:14 +03:00
|
|
|
inherit stdenv fetchurl gfortran readline ncurses perl flex qhull texinfo;
|
2010-02-15 20:10:25 +03:00
|
|
|
inherit (xlibs) libX11;
|
2010-03-04 19:41:14 +03: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 18:04:55 +04:00
|
|
|
};
|
|
|
|
|
2008-12-03 01:55:45 +03:00
|
|
|
# mercurial (hg) bleeding edge version
|
|
|
|
octaveHG = import ../development/interpreters/octave/hg.nix {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit fetchurl sourceFromHead readline ncurses perl flex atlas getConfig glibc qhull gfortran;
|
2008-12-03 01:55:45 +03:00
|
|
|
inherit automake autoconf bison gperf lib python gnuplot texinfo texLive; # for dev Version
|
2009-04-09 00:06:03 +04:00
|
|
|
inherit stdenv;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
#stdenv = overrideGCC stdenv gcc40;
|
2008-12-03 01:55:45 +03:00
|
|
|
};
|
|
|
|
|
2009-10-19 13:17:10 +04:00
|
|
|
perl58 = import ../development/interpreters/perl-5.8 {
|
2010-01-26 21:10:59 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
impureLibcPath = if stdenv.isLinux then null else "/usr";
|
|
|
|
};
|
2008-02-22 17:43:00 +03: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-18 01:58:48 +03:00
|
|
|
perl510 = makeOverridable (import ../development/interpreters/perl-5.10) {
|
2009-10-02 23:05:39 +04:00
|
|
|
inherit stdenv;
|
2009-10-19 13:17:10 +04:00
|
|
|
fetchurl = fetchurlBoot;
|
2009-10-02 23:05:39 +04:00
|
|
|
};
|
|
|
|
|
2010-01-19 14:25:33 +03:00
|
|
|
perl = useFromStdenv "perl"
|
|
|
|
(if system != "i686-cygwin" then perl510 else sysPerl);
|
2009-11-05 12:11:25 +03:00
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
# FIXME: unixODBC needs patching on Darwin (see darwinports)
|
2007-11-23 19:58:42 +03:00
|
|
|
phpOld = import ../development/interpreters/php {
|
|
|
|
inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
|
|
|
unixODBC =
|
|
|
|
if stdenv.isDarwin then null else unixODBC;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-01-06 20:04:38 +03:00
|
|
|
php = makeOverridable (import ../development/interpreters/php_configurable) {
|
2008-06-06 17:03:55 +04:00
|
|
|
inherit
|
2008-12-20 04:20:35 +03:00
|
|
|
stdenv fetchurl lib composableDerivation autoconf automake
|
2008-06-06 17:03:55 +04:00
|
|
|
flex bison apacheHttpd mysql libxml2 # gettext
|
2009-09-25 23:39:05 +04:00
|
|
|
zlib curl gd postgresql openssl pkgconfig sqlite getConfig;
|
2008-01-03 13:46:18 +03:00
|
|
|
};
|
2007-11-06 00:13:16 +03:00
|
|
|
|
2010-01-06 20:04:38 +03:00
|
|
|
phpXdebug = import ../development/interpreters/php-xdebug {
|
|
|
|
inherit stdenv fetchurl php autoconf automake;
|
|
|
|
};
|
|
|
|
|
2008-07-17 13:57:47 +04:00
|
|
|
pltScheme = builderDefsPackage (import ../development/interpreters/plt-scheme) {
|
2008-07-19 00:11:02 +04:00
|
|
|
inherit cairo fontconfig freetype libjpeg libpng openssl
|
2008-07-17 13:57:47 +04:00
|
|
|
perl mesa zlib which;
|
2008-07-19 00:11:02 +04:00
|
|
|
inherit (xorg) libX11 libXaw libXft libXrender libICE xproto
|
|
|
|
renderproto pixman libSM libxcb libXext xextproto libXmu
|
2008-07-17 13:57:47 +04:00
|
|
|
libXt;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-07-17 13:57:47 +04:00
|
|
|
|
2009-12-10 16:16:06 +03:00
|
|
|
polyml = import ../development/compilers/polyml {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2010-04-21 14:51:15 +04:00
|
|
|
python = if getConfig ["python" "full"] false then pythonFull else pythonBase;
|
|
|
|
python25 = if getConfig ["python" "full"] false then python25Full else python25Base;
|
|
|
|
python26 = if getConfig ["python" "full"] false then python26Full else python26Base;
|
|
|
|
pythonBase = python26Base;
|
|
|
|
pythonFull = python26Full;
|
|
|
|
|
|
|
|
python24 = import ../development/interpreters/python/2.4 {
|
|
|
|
inherit fetchurl stdenv zlib bzip2;
|
|
|
|
};
|
|
|
|
|
2010-05-09 18:33:50 +04:00
|
|
|
python25Base = makeOverridable (import ../development/interpreters/python/2.5) {
|
2008-04-08 11:37:49 +04:00
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
2008-03-17 16:45:50 +03:00
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2010-05-09 18:33:50 +04:00
|
|
|
python25Full = lowPrio (python25Base.override {
|
2009-06-01 04:03:08 +04:00
|
|
|
# FIXME: We lack ncurses support, needed, e.g., for `gpsd'.
|
2008-10-23 02:08:56 +04: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 03:02:25 +03: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;
|
2010-05-09 18:33:50 +04:00
|
|
|
ncurses = if getConfig ["python" "curses"] true then ncurses else null;
|
2010-04-22 17:09:02 +04:00
|
|
|
});
|
2008-03-17 16:45:50 +03:00
|
|
|
|
2010-05-09 18:33:50 +04:00
|
|
|
python26Base = makeOverridable (import ../development/interpreters/python/2.6) {
|
2009-10-20 03:10:09 +04:00
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
2009-10-20 16:13:49 +04:00
|
|
|
arch = if stdenv.isDarwin then darwinArchUtility else null;
|
2009-11-05 16:44:30 +03:00
|
|
|
sw_vers = if stdenv.isDarwin then darwinSwVersUtility else null;
|
2009-10-20 03:10:09 +04:00
|
|
|
};
|
|
|
|
|
2010-05-09 18:33:50 +04:00
|
|
|
python26Full = lowPrio (python26Base.override {
|
2009-10-20 03:10:09 +04:00
|
|
|
# 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;
|
2010-05-09 18:33:50 +04:00
|
|
|
ncurses = if getConfig ["python" "curses"] true then ncurses else null;
|
2010-04-22 17:09:02 +04:00
|
|
|
});
|
2009-10-20 03:10:09 +04:00
|
|
|
|
2010-05-09 18:33:50 +04:00
|
|
|
python31Base = lowPrio (makeOverridable (import ../development/interpreters/python/3.1) {
|
2010-04-21 14:51:15 +04:00
|
|
|
inherit fetchurl stdenv zlib bzip2 gdbm;
|
|
|
|
arch = if stdenv.isDarwin then darwinArchUtility else null;
|
|
|
|
sw_vers = if stdenv.isDarwin then darwinSwVersUtility else null;
|
2010-04-22 17:09:02 +04:00
|
|
|
});
|
2010-04-29 12:54:02 +04:00
|
|
|
|
2008-03-17 16:45:50 +03:00
|
|
|
pyrex = pyrex095;
|
|
|
|
|
|
|
|
pyrex095 = import ../development/interpreters/pyrex/0.9.5.nix {
|
|
|
|
inherit fetchurl stdenv stringsWithDeps lib builderDefs python;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-11-05 11:32:20 +03:00
|
|
|
|
2008-03-17 16:45:50 +03:00
|
|
|
pyrex096 = import ../development/interpreters/pyrex/0.9.6.nix {
|
|
|
|
inherit fetchurl stdenv stringsWithDeps lib builderDefs python;
|
|
|
|
};
|
2007-11-08 17:34:54 +03:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
Qi = composedArgsAndFun (import ../development/compilers/qi/9.1.nix) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit clisp stdenv fetchurl builderDefs unzip;
|
|
|
|
};
|
2007-11-08 17:34:54 +03:00
|
|
|
|
2009-06-30 18:29:17 +04:00
|
|
|
ruby18 = import ../development/interpreters/ruby {
|
2009-11-20 15:51:14 +03:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib openssl gdbm;
|
2008-04-11 13:32:27 +04:00
|
|
|
};
|
2009-11-20 15:51:14 +03:00
|
|
|
#ruby19 = import ../development/interpreters/ruby/ruby-19.nix { inherit ruby18 fetchurl; };
|
2009-06-30 18:29:17 +04:00
|
|
|
ruby = ruby18;
|
2008-04-11 13:32:27 +04:00
|
|
|
|
2009-06-30 18:29:20 +04:00
|
|
|
rubyLibs = recurseIntoAttrs (import ../development/interpreters/ruby/libs.nix {
|
|
|
|
inherit pkgs stdenv;
|
|
|
|
});
|
2008-04-11 13:32:27 +04:00
|
|
|
|
2008-10-05 13:04:30 +04: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 15:24:28 +04:00
|
|
|
rLang = import ../development/interpreters/r-lang {
|
2008-08-07 12:33:03 +04:00
|
|
|
inherit fetchurl stdenv readline perl gfortran libpng zlib;
|
2008-07-23 17:40:03 +04:00
|
|
|
inherit (xorg) libX11 libXt;
|
2008-08-29 17:53:28 +04:00
|
|
|
withBioconductor = getConfig ["rLang" "withBioconductor"] false;
|
2008-05-07 15:24:28 +04:00
|
|
|
};
|
|
|
|
|
2009-06-30 20:14:37 +04:00
|
|
|
rubygemsFun = ruby: builderDefsPackage (import ../development/interpreters/ruby/gems.nix) {
|
2008-04-11 13:32:27 +04:00
|
|
|
inherit ruby makeWrapper;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2009-06-30 20:14:37 +04:00
|
|
|
rubygems = rubygemsFun ruby;
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-08-29 17:53:28 +04:00
|
|
|
rq = import ../applications/networking/cluster/rq {
|
2008-10-05 13:04:30 +04:00
|
|
|
inherit fetchurl stdenv sqlite ruby ;
|
2008-08-29 17:53:28 +04:00
|
|
|
};
|
|
|
|
|
2009-11-09 16:20:27 +03:00
|
|
|
scsh = import ../development/interpreters/scsh {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-11-07 14:17:53 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
spidermonkey = import ../development/interpreters/spidermonkey {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
sysPerl = import ../development/interpreters/sys-perl {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
tcl = import ../development/interpreters/tcl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
xulrunnerWrapper = {application, launcher}:
|
|
|
|
import ../development/interpreters/xulrunner/wrapper {
|
2008-09-04 13:29:09 +04:00
|
|
|
inherit stdenv application launcher;
|
2009-07-08 17:19:44 +04:00
|
|
|
xulrunner = xulrunner35;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DEVELOPMENT / MISC
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-02-17 15:56:35 +03:00
|
|
|
avrgcclibc = import ../development/misc/avr-gcc-with-avr-libc {
|
|
|
|
inherit fetchurl stdenv writeTextFile gnumake coreutils gnutar bzip2
|
|
|
|
gnugrep gnused gawk;
|
2009-09-10 20:57:06 +04:00
|
|
|
gcc = gcc40;
|
2009-02-17 15:56:35 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-02-18 14:50:39 +03:00
|
|
|
avr8burnomat = import ../development/misc/avr8-burn-omat {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
/*
|
|
|
|
toolbus = import ../development/interpreters/toolbus {
|
|
|
|
inherit stdenv fetchurl atermjava toolbuslib aterm yacc flex;
|
|
|
|
};
|
|
|
|
*/
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-12-11 16:58:23 +03:00
|
|
|
sourceFromHead = import ../build-support/source-from-head-fun.nix {
|
|
|
|
inherit getConfig;
|
2008-03-09 03:08:45 +03:00
|
|
|
};
|
2008-03-06 05:46:29 +03:00
|
|
|
|
2010-03-01 19:20:47 +03:00
|
|
|
ecj = makeOverridable (import ../development/eclipse/ecj) {
|
2009-09-22 18:40:54 +04:00
|
|
|
inherit fetchurl stdenv unzip ant gcj;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-03-01 19:20:47 +03:00
|
|
|
ecjDarwin = ecj.override { gcj = openjdkDarwin; ant = antDarwin; };
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jdtsdk = import ../development/eclipse/jdt-sdk {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-06-26 20:52:58 +04:00
|
|
|
jruby116 = import ../development/interpreters/jruby {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-06 02:21:24 +04:00
|
|
|
guileCairo = import ../development/guile-modules/guile-cairo {
|
|
|
|
inherit fetchurl stdenv guile pkgconfig cairo guileLib;
|
|
|
|
};
|
|
|
|
|
2009-10-06 02:21:50 +04: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 14:16:53 +03:00
|
|
|
guileLib = import ../development/guile-modules/guile-lib {
|
2008-03-26 18:20:25 +03:00
|
|
|
inherit fetchurl stdenv guile texinfo;
|
2008-02-12 14:16:53 +03:00
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
windowssdk = (
|
2009-08-25 10:36:05 +04:00
|
|
|
import ../development/misc/windows-sdk {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
});
|
2006-10-18 18:04:55 +04:00
|
|
|
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DEVELOPMENT / TOOLS
|
2006-10-18 18:04:55 +04:00
|
|
|
|
|
|
|
|
2009-03-17 18:42:54 +03:00
|
|
|
antlr = import ../development/tools/parsing/antlr/2.7.7.nix {
|
2009-03-10 15:01:22 +03:00
|
|
|
inherit fetchurl stdenv jdk python;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
antlr3 = import ../development/tools/parsing/antlr {
|
|
|
|
inherit fetchurl stdenv jre;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-10-02 16:27:24 +04:00
|
|
|
antDarwin = apacheAnt.override rec { jdk = openjdkDarwin ; name = "ant-" + jdk.name ; } ;
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ant = apacheAnt;
|
2009-07-27 20:05:34 +04:00
|
|
|
apacheAnt = makeOverridable (import ../development/tools/build-managers/apache-ant) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
name = "ant-" + jdk.name;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
apacheAnt14 = import ../development/tools/build-managers/apache-ant {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
jdk = j2sdk14x;
|
|
|
|
name = "ant-" + j2sdk14x.name;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-09-24 18:49:15 +04: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*
|
2010-05-26 18:53:13 +04:00
|
|
|
gcj = gcj.gcc; # use the raw GCJ, which has ${gcj}/lib/jvm
|
2009-09-24 18:49:15 +04:00
|
|
|
};
|
|
|
|
|
2008-07-29 01:29:17 +04:00
|
|
|
autobuild = import ../development/tools/misc/autobuild {
|
|
|
|
inherit fetchurl stdenv makeWrapper perl openssh rsync;
|
|
|
|
};
|
|
|
|
|
2008-07-01 12:31:48 +04:00
|
|
|
autoconf = import ../development/tools/misc/autoconf {
|
2009-07-28 23:43:40 +04:00
|
|
|
inherit fetchurl stdenv perl m4;
|
2008-06-16 17:15:55 +04:00
|
|
|
};
|
|
|
|
|
2009-01-03 16:44:04 +03:00
|
|
|
autoconf213 = import ../development/tools/misc/autoconf/2.13.nix {
|
|
|
|
inherit fetchurl stdenv perl m4 lzma;
|
|
|
|
};
|
|
|
|
|
2009-04-05 22:13:59 +04:00
|
|
|
automake = automake110x;
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
automake17x = import ../development/tools/misc/automake/automake-1.7.x.nix {
|
2009-04-05 22:13:59 +04:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
automake19x = import ../development/tools/misc/automake/automake-1.9.x.nix {
|
2009-04-05 22:13:59 +04:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-02-12 17:00:26 +03:00
|
|
|
automake110x = import ../development/tools/misc/automake/automake-1.10.x.nix {
|
2009-04-05 22:13:59 +04:00
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
2008-02-12 17:00:26 +03:00
|
|
|
};
|
|
|
|
|
2009-05-20 16:20:51 +04:00
|
|
|
automake111x = import ../development/tools/misc/automake/automake-1.11.x.nix {
|
|
|
|
inherit fetchurl stdenv perl autoconf makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-12-20 04:20:35 +03:00
|
|
|
avrdude = import ../development/tools/misc/avrdude {
|
|
|
|
inherit lib fetchurl stdenv flex yacc composableDerivation texLive;
|
|
|
|
};
|
2007-09-03 16:10:57 +04:00
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
binutils = useFromStdenv "binutils"
|
2007-12-31 01:02:04 +03:00
|
|
|
(import ../development/tools/misc/binutils {
|
2006-10-18 18:04:55 +04:00
|
|
|
inherit fetchurl stdenv noSysDirs;
|
2007-12-31 01:02:04 +03:00
|
|
|
});
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-03-07 02:36:55 +03: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 11:11:30 +03:00
|
|
|
noSysDirs = true;
|
2010-03-07 03:05:51 +03: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 22:51:45 +03: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 11:11:30 +03:00
|
|
|
|
2008-08-25 17:25:07 +04:00
|
|
|
bison = bison23;
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
bison1875 = import ../development/tools/parsing/bison/bison-1.875.nix {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
bison23 = import ../development/tools/parsing/bison/bison-2.3.nix {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-11-03 21:25:17 +03:00
|
|
|
bison24 = import ../development/tools/parsing/bison/bison-2.4.nix {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
|
|
|
|
2008-09-01 19:11:09 +04:00
|
|
|
buildbot = import ../development/tools/build-managers/buildbot {
|
2010-01-11 20:00:46 +03:00
|
|
|
inherit fetchurl stdenv buildPythonPackage texinfo;
|
|
|
|
inherit (pythonPackages) twisted;
|
2008-09-01 19:11:09 +04:00
|
|
|
};
|
|
|
|
|
2008-08-07 00:39:01 +04:00
|
|
|
byacc = import ../development/tools/parsing/byacc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-02 14:44:27 +03: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 16:32:37 +03:00
|
|
|
ccache = import ../development/tools/misc/ccache {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ctags = import ../development/tools/misc/ctags {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit fetchurl sourceFromHead stdenv automake autoconf;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-05-06 20:06:45 +04:00
|
|
|
ctagsWrapped = import ../development/tools/misc/ctags/wrapped.nix {
|
2009-11-20 15:51:14 +03:00
|
|
|
inherit pkgs ctags writeScriptBin;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cmake = import ../development/tools/build-managers/cmake {
|
2009-01-13 00:12:07 +03:00
|
|
|
inherit fetchurl stdenv replace ncurses;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-07-08 02:31:37 +04:00
|
|
|
|
2009-12-12 03:47:14 +03:00
|
|
|
coccinelle = import ../development/tools/misc/coccinelle {
|
|
|
|
inherit fetchurl stdenv perl python ocaml ncurses makeWrapper;
|
|
|
|
};
|
|
|
|
|
2010-03-04 14:10:44 +03:00
|
|
|
cppi = import ../development/tools/misc/cppi {
|
|
|
|
inherit fetchurl stdenv xz;
|
|
|
|
};
|
|
|
|
|
2008-04-27 22:20:57 +04:00
|
|
|
cproto = import ../development/tools/misc/cproto {
|
|
|
|
inherit fetchurl stdenv flex bison;
|
|
|
|
};
|
|
|
|
|
2008-10-28 11:43:44 +03:00
|
|
|
cflow = import ../development/tools/misc/cflow {
|
|
|
|
inherit fetchurl stdenv gettext emacs;
|
|
|
|
};
|
|
|
|
|
2008-08-25 19:34:14 +04:00
|
|
|
cscope = import ../development/tools/misc/cscope {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig emacs;
|
|
|
|
};
|
|
|
|
|
2008-04-14 15:47:26 +04:00
|
|
|
dejagnu = import ../development/tools/misc/dejagnu {
|
|
|
|
inherit fetchurl stdenv expect makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-07-10 20:56:51 +04:00
|
|
|
ddd = import ../development/tools/misc/ddd {
|
|
|
|
inherit fetchurl stdenv lesstif ncurses;
|
2008-07-23 17:40:03 +04:00
|
|
|
inherit (xlibs) libX11 libXt;
|
2008-07-10 20:56:51 +04:00
|
|
|
};
|
|
|
|
|
2010-05-19 16:25:57 +04:00
|
|
|
distcc = makeOverridable (import ../development/tools/misc/distcc) {
|
|
|
|
inherit fetchurl stdenv popt python avahi pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
static = false;
|
2009-10-20 15:54:49 +04:00
|
|
|
};
|
|
|
|
|
2009-04-12 23:34:20 +04:00
|
|
|
docutils = builderDefsPackage (import ../development/tools/documentation/docutils) {
|
|
|
|
inherit python pil makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-10-23 18:23:12 +04:00
|
|
|
doxygen = import ../development/tools/documentation/doxygen {
|
|
|
|
inherit fetchurl stdenv graphviz perl flex bison gnumake;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
2009-03-05 18:17:53 +03:00
|
|
|
qt = if getPkgConfig "doxygen" "qt4" true then qt4 else null;
|
2008-10-23 18:23:12 +04:00
|
|
|
};
|
|
|
|
|
2009-08-13 11:55:11 +04:00
|
|
|
eggdbus = import ../development/tools/misc/eggdbus {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus dbus_glib glib;
|
2009-08-13 11:55:11 +04:00
|
|
|
};
|
|
|
|
|
2009-02-17 19:42:51 +03:00
|
|
|
elfutils = import ../development/tools/misc/elfutils {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2007-03-21 22:25:58 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
epm = import ../development/tools/misc/epm {
|
|
|
|
inherit fetchurl stdenv rpm;
|
|
|
|
};
|
2007-09-06 19:00:33 +04:00
|
|
|
|
2008-02-26 18:48:14 +03:00
|
|
|
emma = import ../development/tools/analysis/emma {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-02-25 17:55:30 +03:00
|
|
|
findbugs = import ../development/tools/analysis/findbugs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-06-18 16:51:51 +04: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-31 01:02:04 +03:00
|
|
|
flex = flex254a;
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-03-20 12:52:40 +03:00
|
|
|
flex2535 = import ../development/tools/parsing/flex/flex-2.5.35.nix {
|
|
|
|
inherit fetchurl stdenv yacc m4;
|
|
|
|
};
|
|
|
|
|
2008-02-16 22:12:55 +03:00
|
|
|
flex2534 = import ../development/tools/parsing/flex/flex-2.5.34.nix {
|
|
|
|
inherit fetchurl stdenv yacc m4;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
flex2533 = import ../development/tools/parsing/flex/flex-2.5.33.nix {
|
|
|
|
inherit fetchurl stdenv yacc m4;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-11-26 02:13:28 +03: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-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv yacc;
|
2009-11-26 02:13:28 +03:00
|
|
|
});
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
m4 = gnum4;
|
2006-12-14 01:29:40 +03:00
|
|
|
|
2009-07-13 13:05:56 +04: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-18 01:58:48 +03:00
|
|
|
gnum4 = makeOverridable (import ../development/tools/misc/gnum4) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-01-19 21:49:58 +03:00
|
|
|
gnumake = useFromStdenv "gnumake"
|
|
|
|
(import ../development/tools/build-managers/gnumake {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2008-10-13 13:04:56 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gnumake380 = import ../development/tools/build-managers/gnumake-3.80 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-03-30 03:36:35 +04:00
|
|
|
gradle = import ../development/tools/build-managers/gradle {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gperf = import ../development/tools/misc/gperf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-04-21 23:47:30 +04:00
|
|
|
gtkdialog = import ../development/tools/misc/gtkdialog {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-01-19 20:05:54 +03:00
|
|
|
};
|
|
|
|
|
2008-02-15 19:30:33 +03:00
|
|
|
guileLint = import ../development/tools/guile/guile-lint {
|
|
|
|
inherit fetchurl stdenv guile;
|
|
|
|
};
|
|
|
|
|
2008-04-09 11:56:52 +04:00
|
|
|
gwrap = import ../development/tools/guile/g-wrap {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv guile libffi pkgconfig guileLib glib;
|
2008-04-09 11:56:52 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
help2man = import ../development/tools/misc/help2man {
|
2009-04-20 16:08:09 +04:00
|
|
|
inherit fetchurl stdenv perl gettext;
|
2009-04-20 16:49:35 +04:00
|
|
|
inherit (perlPackages) LocaleGettext;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
iconnamingutils = import ../development/tools/misc/icon-naming-utils {
|
2009-04-20 16:08:09 +04:00
|
|
|
inherit fetchurl stdenv perl;
|
2009-04-20 16:49:35 +04:00
|
|
|
inherit (perlPackages) XMLSimple;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-03-05 21:52:31 +03:00
|
|
|
|
2009-10-28 16:11:09 +03:00
|
|
|
indent = import ../development/tools/misc/indent {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-11-25 21:35:33 +03:00
|
|
|
|
2010-01-15 22:35:02 +03:00
|
|
|
inotifyTools = import ../development/tools/misc/inotify-tools {
|
2010-01-16 18:12:33 +03:00
|
|
|
inherit fetchurl stdenv lib;
|
2010-01-15 22:35:02 +03:00
|
|
|
};
|
|
|
|
|
2010-03-09 21:14:59 +03:00
|
|
|
ired = import ../development/tools/analysis/radare/ired.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jikespg = import ../development/tools/parsing/jikespg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-02-26 17:15:37 +03:00
|
|
|
lcov = import ../development/tools/analysis/lcov {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-03-30 19:31:47 +04:00
|
|
|
libtool = libtool_2;
|
|
|
|
|
2009-03-21 22:52:11 +03:00
|
|
|
libtool_1_5 = import ../development/tools/misc/libtool {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv perl m4;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-03-30 19:31:47 +04:00
|
|
|
libtool_2 = import ../development/tools/misc/libtool/libtool2.nix {
|
2008-11-03 13:15:37 +03:00
|
|
|
inherit fetchurl stdenv lzma perl m4;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lsof = import ../development/tools/misc/lsof {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-06-18 02:44:30 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
ltrace = composedArgsAndFun (import ../development/tools/misc/ltrace/0.5-3deb.nix) {
|
2009-02-17 19:42:51 +03:00
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps lib elfutils;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-11-03 11:19:00 +03:00
|
|
|
|
2010-05-20 01:27:53 +04:00
|
|
|
mig = import ../os-specific/gnu/mig {
|
2010-05-12 19:46:43 +04:00
|
|
|
inherit fetchgit stdenv autoconf automake flex bison machHeaders;
|
2010-05-20 01:27:38 +04:00
|
|
|
};
|
2010-05-12 19:46:43 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mk = import ../development/tools/build-managers/mk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
noweb = import ../development/tools/literate-programming/noweb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-05-27 23:44:03 +04:00
|
|
|
omake = import ../development/tools/ocaml/omake {
|
|
|
|
inherit stdenv fetchurl ocaml makeWrapper ncurses;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2009-09-20 20:43:16 +04:00
|
|
|
openocd = import ../development/tools/misc/openocd {
|
2009-09-25 01:28:27 +04:00
|
|
|
inherit fetchurl stdenv libftdi;
|
2009-09-20 20:43:16 +04:00
|
|
|
};
|
|
|
|
|
2008-06-05 01:23:30 +04:00
|
|
|
oprofile = import ../development/tools/profiling/oprofile {
|
2010-05-05 23:48:18 +04:00
|
|
|
inherit fetchurl stdenv binutils popt makeWrapper gawk which gnugrep;
|
|
|
|
|
|
|
|
# Optional build inputs for the (useless) GUI.
|
|
|
|
/*
|
|
|
|
qt = qt3;
|
|
|
|
inherit (xlibs) libX11 libXext;
|
|
|
|
inherit libpng;
|
|
|
|
*/
|
2008-06-05 01:23:30 +04:00
|
|
|
};
|
|
|
|
|
2008-02-03 16:19:16 +03:00
|
|
|
patchelf = useFromStdenv "patchelf"
|
2007-12-31 01:02:04 +03:00
|
|
|
(import ../development/tools/misc/patchelf {
|
2007-11-06 02:59:55 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
});
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-05-18 16:36:23 +04:00
|
|
|
patchelf06 = import ../development/tools/misc/patchelf/0.6.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-06 16:26:01 +04:00
|
|
|
pmccabe = import ../development/tools/misc/pmccabe {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
/**
|
|
|
|
* pkgconfig is optionally taken from the stdenv to allow bootstrapping
|
|
|
|
* of glib and pkgconfig itself on MinGW.
|
|
|
|
*/
|
2009-11-21 13:44:22 +03:00
|
|
|
pkgconfigReal = useFromStdenv "pkgconfig"
|
2007-12-31 01:02:04 +03:00
|
|
|
(import ../development/tools/misc/pkgconfig {
|
2006-10-18 18:04:55 +04:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
});
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-11-21 13:44:22 +03:00
|
|
|
/* Make pkgconfig always return a buildDrv, never a proper hostDrv,
|
|
|
|
because most usage of pkgconfig as buildInput (inheritance of
|
2009-11-21 18:39:20 +03: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 22:51:45 +03:00
|
|
|
pkgconfig = forceBuildDrv pkgconfigReal;
|
2009-11-21 13:44:22 +03:00
|
|
|
|
2009-04-21 23:47:51 +04:00
|
|
|
radare = import ../development/tools/analysis/radare {
|
|
|
|
inherit stdenv fetchurl pkgconfig libusb readline gtkdialog python
|
2009-04-22 01:31:08 +04:00
|
|
|
ruby libewf perl;
|
2009-04-21 23:47:51 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) vte;
|
|
|
|
lua = lua5;
|
2009-09-20 13:33:37 +04:00
|
|
|
useX11 = getConfig ["radare" "useX11"] false;
|
|
|
|
pythonBindings = getConfig ["radare" "pythonBindings"] false;
|
|
|
|
rubyBindings = getConfig ["radare" "rubyBindings"] false;
|
|
|
|
luaBindings = getConfig ["radare" "luaBindings"] false;
|
2009-04-21 23:47:51 +04:00
|
|
|
};
|
|
|
|
|
2009-01-27 17:00:54 +03:00
|
|
|
ragel = import ../development/tools/parsing/ragel {
|
|
|
|
inherit composableDerivation fetchurl transfig texLive;
|
|
|
|
};
|
|
|
|
|
2009-10-11 19:03:13 +04:00
|
|
|
remake = import ../development/tools/build-managers/remake {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
# couldn't find the source yet
|
2009-03-27 12:39:19 +03:00
|
|
|
seleniumRCBin = import ../development/tools/selenium/remote-control {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv unzip;
|
2009-03-27 12:39:19 +03:00
|
|
|
jre = jdk;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-03 17:33:54 +03:00
|
|
|
|
2008-09-01 19:11:09 +04:00
|
|
|
scons = import ../development/tools/build-managers/scons {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-05-09 01:51:47 +04:00
|
|
|
simpleBuildTool = import ../development/tools/build-managers/simple-build-tool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-17 13:11:33 +03:00
|
|
|
sloccount = import ../development/tools/misc/sloccount {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2008-08-22 22:33:52 +04:00
|
|
|
sparse = import ../development/tools/analysis/sparse {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-05-03 18:35:43 +04:00
|
|
|
spin = import ../development/tools/analysis/spin {
|
|
|
|
inherit fetchurl stdenv flex yacc tk;
|
|
|
|
};
|
|
|
|
|
2008-07-11 13:13:34 +04:00
|
|
|
splint = import ../development/tools/analysis/splint {
|
|
|
|
inherit fetchurl stdenv flex;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
strace = import ../development/tools/misc/strace {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
swig = import ../development/tools/misc/swig {
|
2009-10-02 15:49:21 +04:00
|
|
|
inherit fetchurl stdenv boost;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-09-22 15:59:41 +04:00
|
|
|
swigWithJava = swig;
|
|
|
|
|
2008-10-16 15:01:10 +04:00
|
|
|
swftools = import ../tools/video/swftools {
|
|
|
|
inherit fetchurl stdenv x264 zlib libjpeg freetype giflib;
|
|
|
|
};
|
|
|
|
|
2008-02-21 18:34:56 +03: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-18 01:58:48 +03:00
|
|
|
texinfo = makeOverridable (import ../development/tools/misc/texinfo) {
|
2008-09-23 01:21:39 +04:00
|
|
|
inherit fetchurl stdenv ncurses lzma;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-10-28 17:06:56 +03:00
|
|
|
texi2html = import ../development/tools/misc/texi2html {
|
|
|
|
inherit fetchurl stdenv perl;
|
2009-09-10 20:57:42 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
uisp = import ../development/tools/misc/uisp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gdb = import ../development/tools/misc/gdb {
|
2009-10-29 01:25:50 +03:00
|
|
|
inherit fetchurl stdenv ncurses gmp mpfr expat texinfo;
|
2009-03-25 19:21:25 +03:00
|
|
|
readline = readline5;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-12-02 23:54:40 +03:00
|
|
|
gdbCross = import ../development/tools/misc/gdb {
|
|
|
|
inherit fetchurl stdenv ncurses gmp mpfr expat texinfo;
|
|
|
|
readline = readline5;
|
|
|
|
target = crossSystem;
|
|
|
|
};
|
|
|
|
|
2008-02-26 17:15:37 +03:00
|
|
|
valgrind = import ../development/tools/analysis/valgrind {
|
2010-01-20 01:27:07 +03:00
|
|
|
inherit fetchurl stdenv perl gdb autoconf automake;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
xxdiff = builderDefsPackage (import ../development/tools/misc/xxdiff/3.2.nix) {
|
2008-05-26 00:43:56 +04:00
|
|
|
flex = flex2535;
|
|
|
|
qt = qt3;
|
2008-09-24 12:50:32 +04:00
|
|
|
inherit pkgconfig makeWrapper bison python;
|
2008-05-26 00:43:56 +04:00
|
|
|
inherit (xlibs) libXext libX11;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-26 00:43:56 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
yacc = bison;
|
2007-09-03 16:10:57 +04:00
|
|
|
|
2008-12-22 21:36:02 +03:00
|
|
|
yodl = import ../development/tools/misc/yodl {
|
|
|
|
inherit stdenv fetchurl perl;
|
|
|
|
};
|
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DEVELOPMENT / LIBRARIES
|
2007-02-22 19:07:51 +03:00
|
|
|
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
a52dec = import ../development/libraries/a52dec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
aalib = import ../development/libraries/aalib {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-06-02 13:56:10 +04:00
|
|
|
|
2008-05-19 19:12:03 +04:00
|
|
|
acl = useFromStdenv "acl"
|
|
|
|
(import ../development/libraries/acl {
|
2009-03-30 19:55:10 +04:00
|
|
|
inherit stdenv fetchurl gettext attr libtool;
|
2008-05-19 19:12:03 +04:00
|
|
|
});
|
2007-12-23 18:09:12 +03:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
adns = import ../development/libraries/adns/1.4.nix {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit stdenv fetchurl;
|
|
|
|
static = getPkgConfig "adns" "static" (stdenv ? isStatic || stdenv ? isDietLibC);
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
agg = import ../development/libraries/agg {
|
2008-03-10 12:48:17 +03:00
|
|
|
inherit fetchurl stdenv autoconf automake libtool pkgconfig
|
2009-04-28 16:37:09 +04:00
|
|
|
freetype SDL;
|
|
|
|
inherit (xlibs) libX11;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-11-22 15:05:36 +03:00
|
|
|
|
2009-10-05 01:31:34 +04:00
|
|
|
amrnb = import ../development/libraries/amrnb {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
amrwb = import ../development/libraries/amrwb {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-08-28 20:45:56 +04:00
|
|
|
apr = makeOverridable (import ../development/libraries/apr) {
|
2009-08-31 19:03:31 +04:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-08-28 20:45:56 +04:00
|
|
|
aprutil = makeOverridable (import ../development/libraries/apr-util) {
|
2009-08-31 19:03:31 +04:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apr expat db4;
|
2007-12-31 01:02:04 +03:00
|
|
|
bdbSupport = true;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
aspell = import ../development/libraries/aspell {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
2007-12-23 18:09:12 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
aspellDicts = recurseIntoAttrs (import ../development/libraries/aspell/dictionaries.nix {
|
|
|
|
inherit fetchurl stdenv aspell which;
|
|
|
|
});
|
2007-12-23 18:09:12 +03:00
|
|
|
|
2009-03-19 17:34:16 +03:00
|
|
|
aterm = aterm25;
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-03-20 19:49:02 +03:00
|
|
|
aterm242fixes = lowPrio (import ../development/libraries/aterm/2.4.2-fixes.nix {
|
2008-06-29 21:07:23 +04:00
|
|
|
inherit fetchurl stdenv;
|
2009-03-20 19:49:02 +03:00
|
|
|
});
|
2005-11-22 15:05:36 +03:00
|
|
|
|
2009-08-28 20:45:56 +04:00
|
|
|
aterm25 = makeOverridable (import ../development/libraries/aterm/2.5.nix) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-06-02 13:56:10 +04:00
|
|
|
|
2009-02-02 18:02:42 +03:00
|
|
|
aterm28 = lowPrio (import ../development/libraries/aterm/2.8.nix {
|
2008-01-29 12:32:56 +03:00
|
|
|
inherit fetchurl stdenv;
|
2009-02-02 18:02:42 +03:00
|
|
|
});
|
2008-01-29 12:32:56 +03:00
|
|
|
|
2008-05-20 13:23:18 +04:00
|
|
|
attr = useFromStdenv "attr"
|
2008-05-19 19:12:03 +04:00
|
|
|
(import ../development/libraries/attr {
|
2009-03-30 19:55:10 +04:00
|
|
|
inherit stdenv fetchurl gettext libtool;
|
2008-05-19 19:12:03 +04:00
|
|
|
});
|
2004-01-25 01:50:47 +03:00
|
|
|
|
2009-09-21 13:58:38 +04:00
|
|
|
aubio = import ../development/libraries/aubio {
|
2009-10-14 19:32:37 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig fftw libsndfile libsamplerate python
|
2009-09-21 13:58:38 +04:00
|
|
|
alsaLib jackaudio;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
axis = import ../development/libraries/axis {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-04 19:11:27 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
babl = import ../development/libraries/babl {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-05-05 03:36:28 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
beecrypt = import ../development/libraries/beecrypt {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
2006-04-26 18:47:16 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
boehmgc = import ../development/libraries/boehm-gc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-02-02 20:07:07 +03:00
|
|
|
|
2009-09-10 20:57:50 +04:00
|
|
|
boolstuff = import ../development/libraries/boolstuff {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig;
|
|
|
|
};
|
|
|
|
|
2010-05-07 18:27:22 +04:00
|
|
|
boost = makeOverridable (import ../development/libraries/boost) {
|
2008-08-25 14:00:46 +04:00
|
|
|
inherit fetchurl stdenv icu expat zlib bzip2 python;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-11-14 18:55:57 +03:00
|
|
|
|
2009-04-09 12:43:46 +04: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 18:55:57 +03:00
|
|
|
|
2009-03-25 19:06:00 +03:00
|
|
|
botan = builderDefsPackage (import ../development/libraries/botan) {
|
|
|
|
inherit perl;
|
|
|
|
};
|
|
|
|
|
2008-07-15 13:58:30 +04:00
|
|
|
buddy = import ../development/libraries/buddy {
|
2009-07-02 21:06:01 +04:00
|
|
|
inherit fetchurl stdenv bison;
|
2008-07-15 13:58:30 +04:00
|
|
|
};
|
|
|
|
|
2010-03-04 17:44:56 +03:00
|
|
|
cairo = makeOverridable (import ../development/libraries/cairo) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng;
|
2008-10-14 18:46:56 +04:00
|
|
|
inherit (xlibs) pixman libxcb xcbutil;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-02-03 16:18:15 +03:00
|
|
|
cairomm = import ../development/libraries/cairomm {
|
2009-01-25 00:55:16 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig cairo x11 fontconfig freetype libsigcxx;
|
2008-02-03 16:18:15 +03:00
|
|
|
};
|
|
|
|
|
2010-01-12 22:22:22 +03:00
|
|
|
scmccid = import ../development/libraries/scmccid {
|
|
|
|
inherit fetchurl stdenv libusb patchelf;
|
|
|
|
};
|
|
|
|
|
2009-09-20 21:01:19 +04:00
|
|
|
ccrtp = import ../development/libraries/ccrtp {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig openssl libgcrypt commoncpp2;
|
|
|
|
};
|
|
|
|
|
2008-11-30 18:05:43 +03:00
|
|
|
chipmunk = builderDefsPackage (import ../development/libraries/chipmunk) {
|
|
|
|
inherit cmake freeglut mesa;
|
|
|
|
inherit (xlibs) libX11 xproto inputproto libXi libXmu;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
chmlib = import ../development/libraries/chmlib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-13 18:22:24 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cil = import ../development/libraries/cil {
|
|
|
|
inherit stdenv fetchurl ocaml perl;
|
|
|
|
};
|
2007-10-23 20:33:11 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cilaterm = import ../development/libraries/cil-aterm {
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
inherit fetchurl perl ocaml;
|
|
|
|
};
|
2006-02-02 20:07:07 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
clanlib = import ../development/libraries/clanlib {
|
|
|
|
inherit fetchurl stdenv zlib libpng libjpeg libvorbis libogg mesa;
|
|
|
|
inherit (xlibs) libX11 xf86vidmodeproto libXmu libXxf86vm;
|
|
|
|
};
|
2005-11-22 15:05:36 +03:00
|
|
|
|
2010-01-27 15:12:35 +03:00
|
|
|
classads = import ../development/libraries/classads {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-31 13:59:45 +04:00
|
|
|
classpath = import ../development/libraries/java/classpath {
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
inherit fetchurl stdenv pkgconfig antlr;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
clearsilver = import ../development/libraries/clearsilver {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
2004-11-19 20:47:17 +03:00
|
|
|
|
2008-08-19 09:54:09 +04:00
|
|
|
clppcre = builderDefsPackage (import ../development/libraries/cl-ppcre) {
|
|
|
|
};
|
2008-08-25 17:25:07 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cluceneCore = (import ../development/libraries/clucene-core) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2009-09-20 21:01:19 +04:00
|
|
|
commoncpp2 = import ../development/libraries/commoncpp2 {
|
2010-04-13 12:56:14 +04:00
|
|
|
inherit stdenv fetchurl;
|
2009-09-20 21:01:19 +04:00
|
|
|
};
|
|
|
|
|
2009-10-29 14:43:02 +03:00
|
|
|
consolekit = makeOverridable (import ../development/libraries/consolekit) {
|
2010-05-15 13:54:50 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus_glib zlib pam polkit expat glib;
|
2009-03-11 19:30:38 +03:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2009-03-17 17:03:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
coredumper = import ../development/libraries/coredumper {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-06-12 19:35:57 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ctl = import ../development/libraries/ctl {
|
|
|
|
inherit fetchurl stdenv ilmbase;
|
|
|
|
};
|
2004-08-23 14:44:21 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cppunit = import ../development/libraries/cppunit {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-09-12 02:39:06 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cracklib = import ../development/libraries/cracklib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-02-27 02:45:19 +03:00
|
|
|
|
2008-07-29 18:26:03 +04:00
|
|
|
cryptopp = import ../development/libraries/crypto++ {
|
2009-09-16 18:35:38 +04:00
|
|
|
inherit fetchurl stdenv unzip libtool;
|
2008-07-29 18:26:03 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cyrus_sasl = import ../development/libraries/cyrus-sasl {
|
2009-12-19 12:09:39 +03:00
|
|
|
inherit stdenv fetchurl openssl db4 gettext;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2004-01-25 02:46:00 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
db4 = db45;
|
2007-07-22 22:22:46 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
db44 = import ../development/libraries/db4/db4-4.4.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-23 21:06:50 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
db45 = import ../development/libraries/db4/db4-4.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-02-02 23:41:06 +03:00
|
|
|
dbus = import ../development/libraries/dbus {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig expat;
|
2008-03-04 16:30:34 +03:00
|
|
|
inherit (xlibs) libX11 libICE libSM;
|
|
|
|
useX11 = true; # !!! `false' doesn't build
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-10-29 14:43:02 +03:00
|
|
|
dbus_glib = makeOverridable (import ../development/libraries/dbus-glib) {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext dbus expat glib;
|
2010-02-03 23:20:00 +03:00
|
|
|
libiconv = if (stdenv.system == "i686-freebsd") then libiconv else null;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-01-02 16:28:51 +03:00
|
|
|
dbus_java = import ../development/libraries/java/dbus-java {
|
|
|
|
inherit stdenv fetchurl gettext jdk libmatthew_java;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
dclib = import ../development/libraries/dclib {
|
|
|
|
inherit fetchurl stdenv libxml2 openssl bzip2;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
directfb = import ../development/libraries/directfb {
|
2009-10-24 19:39:54 +04:00
|
|
|
inherit fetchurl stdenv perl zlib libjpeg freetype
|
2009-11-06 00:08:53 +03:00
|
|
|
SDL libpng giflib;
|
|
|
|
inherit (xlibs) libX11 libXext xproto xextproto renderproto
|
|
|
|
libXrender;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
enchant = makeOverridable (import ../development/libraries/enchant) {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv aspell pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-01-10 01:22:41 +03:00
|
|
|
enginepkcs11 = import ../development/libraries/enginepkcs11 {
|
|
|
|
inherit fetchurl stdenv libp11 pkgconfig openssl;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
exiv2 = import ../development/libraries/exiv2 {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv zlib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-08-05 17:54:42 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
expat = import ../development/libraries/expat {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-10 15:07:50 +04:00
|
|
|
|
2009-02-21 21:59:15 +03:00
|
|
|
extremetuxracer = builderDefsPackage (import ../games/extremetuxracer) {
|
2009-02-27 16:44:31 +03:00
|
|
|
inherit mesa tcl freeglut SDL SDL_mixer pkgconfig
|
2010-04-12 01:03:59 +04:00
|
|
|
libpng gettext intltool;
|
2009-02-21 21:59:15 +03:00
|
|
|
inherit (xlibs) libX11 xproto libXi inputproto
|
2010-04-12 01:03:59 +04:00
|
|
|
libXmu libXext xextproto libXt libSM libICE;
|
2009-02-21 21:59:15 +03:00
|
|
|
};
|
|
|
|
|
2009-02-05 19:50:45 +03:00
|
|
|
eventlog = import ../development/libraries/eventlog {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
facile = import ../development/libraries/facile {
|
2008-02-21 02:02:41 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
# Actually, we don't need this version but we need native-code compilation
|
2009-10-14 19:21:45 +04:00
|
|
|
ocaml = ocaml_3_10_0;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-06 00:25:47 +03:00
|
|
|
|
2008-10-14 18:01:38 +04:00
|
|
|
faac = import ../development/libraries/faac {
|
|
|
|
inherit fetchurl stdenv autoconf automake libtool;
|
|
|
|
};
|
|
|
|
|
|
|
|
faad2 = import ../development/libraries/faad2 {
|
2009-03-11 01:45:27 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-10-14 18:01:38 +04:00
|
|
|
};
|
|
|
|
|
2009-12-27 18:27:45 +03:00
|
|
|
farsight2 = import ../development/libraries/farsight2 {
|
|
|
|
inherit fetchurl stdenv libnice pkgconfig python;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
inherit (gst_all) gstreamer gstPluginsBase;
|
|
|
|
};
|
|
|
|
|
2008-02-08 13:54:56 +03:00
|
|
|
fcgi = import ../development/libraries/fcgi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ffmpeg = import ../development/libraries/ffmpeg {
|
2010-05-25 22:39:24 +04:00
|
|
|
inherit fetchurl stdenv faad2 libvorbis speex libtheora x264 pkgconfig xvidcore
|
|
|
|
lame yasm;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
fftw = import ../development/libraries/fftw {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
2008-10-14 17:59:56 +04:00
|
|
|
singlePrecision = false;
|
|
|
|
};
|
2009-03-10 15:01:22 +03:00
|
|
|
|
2008-10-14 17:59:56 +04:00
|
|
|
fftwSinglePrec = import ../development/libraries/fftw {
|
|
|
|
inherit fetchurl stdenv builderDefs stringsWithDeps;
|
|
|
|
singlePrecision = true;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-10-01 19:11:38 +04:00
|
|
|
|
2009-04-02 19:20:19 +04:00
|
|
|
fltk11 = (import ../development/libraries/fltk/fltk11.nix) {
|
|
|
|
inherit composableDerivation x11 lib pkgconfig freeglut;
|
2010-01-13 15:43:17 +03:00
|
|
|
inherit fetchurl stdenv mesa libpng libjpeg zlib ;
|
2009-04-02 19:20:19 +04:00
|
|
|
inherit (xlibs) inputproto libXi libXinerama libXft;
|
|
|
|
flags = [ "useNixLibs" "threads" "shared" "gl" ];
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
fltk20 = (import ../development/libraries/fltk) {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit composableDerivation x11 lib pkgconfig freeglut;
|
2010-01-13 15:43:17 +03:00
|
|
|
inherit fetchurl stdenv mesa libpng libjpeg zlib ;
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit (xlibs) inputproto libXi libXinerama libXft;
|
2007-12-31 01:02:04 +03:00
|
|
|
flags = [ "useNixLibs" "threads" "shared" "gl" ];
|
|
|
|
};
|
2006-10-13 16:58:13 +04:00
|
|
|
|
2009-02-23 01:06:20 +03:00
|
|
|
fmod = import ../development/libraries/fmod {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-01-13 00:12:07 +03:00
|
|
|
freeimage = import ../development/libraries/freeimage {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-10-01 18:48:57 +04:00
|
|
|
freetts = import ../development/libraries/freetts {
|
|
|
|
inherit stdenv fetchurl apacheAnt unzip sharutils lib;
|
|
|
|
};
|
|
|
|
|
2008-01-28 22:46:59 +03:00
|
|
|
cfitsio = import ../development/libraries/cfitsio {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
fontconfig = import ../development/libraries/fontconfig {
|
|
|
|
inherit fetchurl stdenv freetype expat;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2008-07-03 18:27:19 +04:00
|
|
|
makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}:
|
|
|
|
import ../development/libraries/fontconfig/make-fonts-conf.nix {
|
|
|
|
inherit runCommand libxslt fontconfig fontDirectories;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
freealut = import ../development/libraries/freealut {
|
|
|
|
inherit fetchurl stdenv openal;
|
|
|
|
};
|
2007-09-20 23:40:22 +04:00
|
|
|
|
2009-04-21 02:06:12 +04:00
|
|
|
freeglut = import ../development/libraries/freeglut {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv x11 mesa;
|
|
|
|
};
|
2007-03-05 00:28:24 +03:00
|
|
|
|
2010-05-15 21:07:46 +04:00
|
|
|
freetype = makeOverridable (import ../development/libraries/freetype) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-03-05 00:28:24 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
fribidi = import ../development/libraries/fribidi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-08-24 15:26:26 +04:00
|
|
|
|
2008-01-28 22:44:39 +03:00
|
|
|
fam = gamin;
|
|
|
|
|
2008-01-28 22:41:55 +03:00
|
|
|
gamin = import ../development/libraries/gamin {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv python pkgconfig glib;
|
2008-01-28 22:41:55 +03:00
|
|
|
};
|
|
|
|
|
2009-02-10 01:44:36 +03:00
|
|
|
gav = import ../games/gav {
|
2009-05-06 20:06:36 +04:00
|
|
|
inherit fetchurl SDL SDL_image SDL_mixer SDL_net;
|
|
|
|
stdenv = overrideGCC stdenv gcc41;
|
2009-02-10 01:44:36 +03:00
|
|
|
};
|
|
|
|
|
2008-04-07 03:18:25 +04:00
|
|
|
gdbm = import ../development/libraries/gdbm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-28 18:06:18 +03:00
|
|
|
gdk_pixbuf = import ../development/libraries/gdk-pixbuf {
|
|
|
|
inherit fetchurl stdenv libtiff libjpeg libpng;
|
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2008-04-05 00:57:09 +04:00
|
|
|
gegl = import ../development/libraries/gegl {
|
|
|
|
inherit fetchurl stdenv libpng pkgconfig babl;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
# avocodec avformat librsvg
|
|
|
|
inherit cairo libjpeg librsvg;
|
2008-10-10 03:21:39 +04:00
|
|
|
inherit (gtkLibs) pango glib gtk;
|
2008-04-05 00:57:09 +04:00
|
|
|
};
|
|
|
|
|
2009-08-26 15:13:36 +04:00
|
|
|
geoip = builderDefsPackage ../development/libraries/geoip {
|
|
|
|
inherit zlib;
|
|
|
|
};
|
|
|
|
|
2010-05-06 17:58:27 +04:00
|
|
|
geoipjava = import ../development/libraries/java/geoipjava {
|
|
|
|
inherit stdenv fetchurl jdk unzip;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
geos = import ../development/libraries/geos {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit fetchurl fetchsvn stdenv autoconf
|
|
|
|
automake libtool swig which lib composableDerivation python ruby;
|
2007-12-31 01:02:04 +03:00
|
|
|
use_svn = stdenv.system == "x86_64-linux";
|
|
|
|
};
|
2006-11-15 01:23:33 +03:00
|
|
|
|
2009-04-22 03:18:09 +04:00
|
|
|
gettext = import ../development/libraries/gettext {
|
2009-09-20 02:03:24 +04:00
|
|
|
inherit fetchurl stdenv libiconv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-05-10 16:57:10 +04:00
|
|
|
# XXX: Remove me when `stdenv-updates' is merged.
|
|
|
|
gettext_0_18 = import ../development/libraries/gettext/0.18.nix {
|
|
|
|
inherit fetchurl stdenv libiconv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gd = import ../development/libraries/gd {
|
|
|
|
inherit fetchurl stdenv zlib libpng freetype libjpeg fontconfig;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gdal = stdenv.mkDerivation {
|
2010-05-27 23:44:07 +04:00
|
|
|
name = "gdal-1.7.1";
|
2007-12-31 01:02:04 +03:00
|
|
|
src = fetchurl {
|
2010-05-27 23:44:07 +04:00
|
|
|
url = ftp://ftp.remotesensing.org/gdal/gdal-1.7.1.tar.gz;
|
|
|
|
md5 = "5a90be385613730cc12fcf3f59b89de6";
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
};
|
2007-10-13 00:27:15 +04:00
|
|
|
|
2009-09-03 02:56:33 +04:00
|
|
|
giblib = import ../development/libraries/giblib {
|
|
|
|
inherit fetchurl stdenv x11 imlib2;
|
|
|
|
};
|
|
|
|
|
2008-01-16 05:20:46 +03:00
|
|
|
glew = import ../development/libraries/glew {
|
2008-01-16 13:28:47 +03:00
|
|
|
inherit fetchurl stdenv mesa x11 libtool;
|
2008-01-16 05:20:46 +03:00
|
|
|
inherit (xlibs) libXmu libXi;
|
|
|
|
};
|
|
|
|
|
2009-11-30 04:05:02 +03:00
|
|
|
glefw = import ../development/libraries/glefw {
|
|
|
|
inherit fetchurl stdenv lib mesa;
|
|
|
|
inherit (xlibs) libX11 libXext xextproto;
|
|
|
|
};
|
|
|
|
|
2010-05-19 16:25:54 +04:00
|
|
|
glibc = useFromStdenv "glibc" glibc211;
|
2009-06-25 00:10:51 +04:00
|
|
|
|
2010-05-19 16:25:54 +04:00
|
|
|
glibc25 = makeOverridable (import ../development/libraries/glibc-2.5) {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2010-05-19 16:25:54 +04:00
|
|
|
installLocales = false;
|
2009-06-25 00:10:51 +04:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-10-07 20:55:20 +04:00
|
|
|
glibc27 = import ../development/libraries/glibc-2.7 {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2008-10-07 20:55:20 +04:00
|
|
|
#installLocales = false;
|
|
|
|
};
|
|
|
|
|
2009-11-08 03:32:12 +03:00
|
|
|
glibc29 = makeOverridable (import ../development/libraries/glibc-2.9) {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-04-19 20:07:00 +04:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
2008-10-07 20:55:20 +04:00
|
|
|
};
|
2008-07-08 03:11:53 +04:00
|
|
|
|
2010-03-07 02:36:55 +03: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 22:51:45 +03:00
|
|
|
inherit stdenv fetchurl;
|
2010-03-07 02:36:55 +03: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 11:11:30 +03: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 22:51:45 +03:00
|
|
|
});
|
|
|
|
|
2009-11-20 02:28:45 +03:00
|
|
|
glibc211 = makeOverridable (import ../development/libraries/glibc-2.11) {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-11-20 02:28:45 +03:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
|
|
|
|
2010-05-12 19:46:51 +04:00
|
|
|
glibc211Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.11)
|
2010-05-13 00:49:57 +04:00
|
|
|
(let crossGNU = (crossSystem != null && crossSystem.config == "i586-pc-gnu");
|
2010-05-12 19:46:51 +04:00
|
|
|
in ({
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
kernelHeaders = if crossGNU then hurdHeaders else linuxHeadersCross;
|
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
(if crossGNU
|
2010-05-20 15:54:31 +04:00
|
|
|
then { inherit machHeaders hurdHeaders mig fetchgit; }
|
2010-05-12 19:46:51 +04:00
|
|
|
else { }))));
|
2009-11-20 11:27:59 +03:00
|
|
|
|
2010-03-09 18:48:25 +03:00
|
|
|
glibcCross = glibc211Cross;
|
|
|
|
|
2009-12-04 16:35:58 +03:00
|
|
|
# We can choose:
|
2010-03-09 18:48:25 +03:00
|
|
|
libcCrossChooser = name : if (name == "glibc") then glibcCross
|
|
|
|
else if (name == "uclibc") then uclibcCross
|
2010-05-06 23:19:22 +04:00
|
|
|
else if (name == "msvcrt") then windows.mingw_headers3
|
2010-03-09 18:48:25 +03:00
|
|
|
else throw "Unknown libc";
|
|
|
|
|
2010-03-09 21:05:33 +03: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 11:11:30 +03:00
|
|
|
|
2010-05-12 04:50:01 +04:00
|
|
|
libdwg = import ../development/libraries/libdwg {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-11-08 03:32:12 +03:00
|
|
|
eglibc = import ../development/libraries/eglibc {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
kernelHeaders = linuxHeaders;
|
2009-11-08 03:32:12 +03:00
|
|
|
installLocales = getPkgConfig "glibc" "locales" false;
|
|
|
|
};
|
|
|
|
|
2009-12-02 00:44:41 +03:00
|
|
|
glibcLocales = makeOverridable (import ../development/libraries/glibc-2.11/locales.nix) {
|
2009-04-19 19:28:37 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-22 19:04:01 +03:00
|
|
|
glibcInfo = import ../development/libraries/glibc-2.11/info.nix {
|
2009-10-18 19:15:39 +04:00
|
|
|
inherit fetchurl stdenv texinfo perl;
|
|
|
|
};
|
|
|
|
|
2008-06-27 22:26:19 +04:00
|
|
|
glibc_multi =
|
2009-08-25 09:46:48 +04: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 10:29:21 +04:00
|
|
|
;
|
2008-06-27 22:26:19 +04:00
|
|
|
|
2010-04-24 01:15:48 +04:00
|
|
|
glpk = import ../development/libraries/glpk {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gmime = import ../development/libraries/gmime {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig zlib glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-04-21 19:20:49 +04:00
|
|
|
gmm = import ../development/libraries/gmm {
|
|
|
|
inherit fetchurl stdenv;
|
2008-06-19 02:48:34 +04:00
|
|
|
};
|
2008-04-21 19:20:49 +04:00
|
|
|
|
2010-03-16 15:13:40 +03:00
|
|
|
gmp =
|
2010-02-08 16:58:25 +03:00
|
|
|
if stdenv.system == "i686-darwin" then
|
2010-02-08 20:46:34 +03: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 16:58:25 +03:00
|
|
|
inherit stdenv fetchurl m4;
|
|
|
|
cxx = false;
|
|
|
|
}
|
2010-03-16 15:13:40 +03:00
|
|
|
else
|
2010-02-08 16:58:25 +03:00
|
|
|
makeOverridable (import ../development/libraries/gmp) {
|
|
|
|
inherit stdenv fetchurl m4;
|
|
|
|
cxx = false;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-01-19 20:44:59 +03:00
|
|
|
gmpxx = gmp.override { cxx = true; };
|
2009-07-03 15:31:28 +04:00
|
|
|
|
2010-05-13 19:56:04 +04:00
|
|
|
gobjectIntrospection = makeOverridable (import ../development/libraries/gobject-introspection) {
|
|
|
|
inherit fetchurl stdenv pkgconfig flex bison glib libffi python cairo;
|
|
|
|
};
|
|
|
|
|
2009-09-30 17:11:13 +04: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 18:13:31 +03:00
|
|
|
goocanvas = import ../development/libraries/goocanvas {
|
2008-12-02 15:28:13 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig cairo;
|
|
|
|
inherit (gnome) gtk glib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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 22:03:34 +03:00
|
|
|
inherit stdenv fetchurl gmp;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-11-20 00:46:01 +03:00
|
|
|
gst_all = recurseIntoAttrs (import ../development/libraries/gstreamer {
|
2009-11-18 12:39:59 +03:00
|
|
|
inherit lib stdenv fetchurl perl bison pkgconfig libxml2
|
2008-02-22 06:06:12 +03:00
|
|
|
python alsaLib cdparanoia libogg libvorbis libtheora freetype liboil
|
|
|
|
libjpeg zlib speex libpng libdv aalib cairo libcaca flac hal libiec61883
|
2009-12-15 10:47:45 +03:00
|
|
|
dbus libavc1394 ladspaH taglib pulseaudio gdbm bzip2 which makeOverridable
|
2009-12-15 12:37:42 +03:00
|
|
|
libcap libtasn1;
|
2008-11-20 00:46:01 +03:00
|
|
|
flex = flex2535;
|
2008-02-22 06:06:12 +03:00
|
|
|
inherit (xorg) libX11 libXv libXext;
|
|
|
|
inherit (gtkLibs) glib pango gtk;
|
2008-11-20 00:46:01 +03:00
|
|
|
inherit (gnome) gnomevfs /* <- only passed for the no longer used older versions
|
2009-11-04 03:39:27 +03:00
|
|
|
it is deprecated and didn't build on amd64 due to samba dependency */ gtkdoc
|
2010-04-12 01:03:59 +04:00
|
|
|
libsoup;
|
2008-11-20 00:46:01 +03:00
|
|
|
});
|
2008-02-22 06:06:12 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gnet = import ../development/libraries/gnet {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gnutls = import ../development/libraries/gnutls {
|
2009-11-07 01:44:23 +03:00
|
|
|
inherit fetchurl stdenv libgcrypt zlib lzo libtasn1 guile;
|
2009-04-30 22:43:48 +04:00
|
|
|
guileBindings = getConfig ["gnutls" "guile"] true;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gpgme = import ../development/libraries/gpgme {
|
2010-05-20 00:59:03 +04:00
|
|
|
inherit fetchurl stdenv libgpgerror pkgconfig pth gnupg glib libassuan;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-04-26 12:59:25 +04:00
|
|
|
gsasl = import ../development/libraries/gsasl {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gsl = import ../development/libraries/gsl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-01-27 15:12:35 +03:00
|
|
|
gsoap = import ../development/libraries/gsoap {
|
|
|
|
inherit fetchurl stdenv m4 bison flex openssl zlib;
|
|
|
|
};
|
|
|
|
|
2010-04-26 12:59:25 +04:00
|
|
|
gss = import ../development/libraries/gss {
|
2010-05-20 17:00:30 +04:00
|
|
|
inherit stdenv fetchurl shishi;
|
2010-04-26 12:59:25 +04:00
|
|
|
};
|
|
|
|
|
2009-10-19 16:50:41 +04:00
|
|
|
gtkimageview = import ../development/libraries/gtkimageview {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
};
|
|
|
|
|
2009-10-29 17:19:13 +03:00
|
|
|
gtkLibs = recurseIntoAttrs gtkLibs218;
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-10-29 14:43:02 +03:00
|
|
|
glib = gtkLibs.glib;
|
|
|
|
|
2009-10-28 18:06:18 +03:00
|
|
|
gtkLibs1x = rec {
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-10-28 18:06:18 +03:00
|
|
|
glib = import ../development/libraries/glib/1.2.x.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-10-28 18:06:18 +03:00
|
|
|
gtk = import ../development/libraries/gtk+/1.2.x.nix {
|
|
|
|
inherit fetchurl stdenv x11 glib;
|
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-01-23 01:32:02 +03:00
|
|
|
};
|
|
|
|
|
2009-10-28 18:31:52 +03: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 18:57:22 +03:00
|
|
|
|
2009-10-28 18:31:52 +03:00
|
|
|
gtkmm = import ../development/libraries/gtkmm/2.14.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gtk atk glibmm cairomm pangomm;
|
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-04-16 14:19:15 +04:00
|
|
|
};
|
|
|
|
|
2009-10-29 13:53:54 +03:00
|
|
|
gtkLibs218 = rec {
|
|
|
|
|
|
|
|
glib = import ../development/libraries/glib/2.22.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gettext perl;
|
2010-02-03 19:12:19 +03:00
|
|
|
libiconv = if (stdenv.system == "i686-freebsd") then libiconv else null;
|
2009-10-29 13:53:54 +03: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 12:46:51 +03:00
|
|
|
libtiff libjpeg libpng cairo xlibs cups;
|
2009-10-29 13:53:54 +03:00
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-10-29 13:53:54 +03:00
|
|
|
gtkmm = import ../development/libraries/gtkmm/2.18.x.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig gtk atk glibmm cairomm pangomm;
|
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-09-29 17:49:41 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtk;
|
|
|
|
gtksharp = gtksharp2;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gtksharp1 = import ../development/libraries/gtk-sharp-1 {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit (gnome) gtk glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeui libgnomeprint
|
2007-12-31 01:02:04 +03:00
|
|
|
libgnomeprintui GConf;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gtksharp2 = import ../development/libraries/gtk-sharp-2 {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer;
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit (gnome) gtk glib pango libglade libgtkhtml gtkhtml
|
|
|
|
libgnomecanvas libgnomeui libgnomeprint
|
2007-12-31 01:02:04 +03:00
|
|
|
libgnomeprintui GConf gnomepanel;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gtksourceviewsharp = import ../development/libraries/gtksourceview-sharp {
|
|
|
|
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
|
|
|
inherit (gnome) gtksourceview;
|
|
|
|
gtksharp = gtksharp2;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gtkspell = import ../development/libraries/gtkspell {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit aspell;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-01-28 22:44:39 +03:00
|
|
|
# TODO : Add MIT Kerberos and let admin choose.
|
|
|
|
kerberos = heimdal;
|
|
|
|
|
2008-01-28 22:41:25 +03:00
|
|
|
heimdal = import ../development/libraries/kerberos/heimdal.nix {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv readline db4 openssl openldap cyrus_sasl;
|
2008-01-28 22:41:25 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
hsqldb = import ../development/libraries/java/hsqldb {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-10-01 19:12:41 +04:00
|
|
|
|
2009-11-05 21:46:46 +03:00
|
|
|
hwloc = import ../development/libraries/hwloc {
|
2010-05-20 01:30:37 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig cairo expat ncurses;
|
2009-11-05 21:46:46 +03:00
|
|
|
};
|
|
|
|
|
2010-03-02 18:37:04 +03:00
|
|
|
hydraAntLogger = import ../development/libraries/java/hydra-ant-logger {
|
|
|
|
inherit fetchsvn stdenv ant;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
icu = import ../development/libraries/icu {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-25 03:50:00 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
id3lib = import ../development/libraries/id3lib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-11-15 02:05:11 +03:00
|
|
|
|
2008-02-10 20:35:03 +03:00
|
|
|
ilbc = import ../development/libraries/ilbc {
|
|
|
|
inherit stdenv msilbc;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ilmbase = import ../development/libraries/ilmbase {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-12-19 21:56:31 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
imlib = import ../development/libraries/imlib {
|
|
|
|
inherit fetchurl stdenv libjpeg libtiff libungif libpng;
|
|
|
|
inherit (xlibs) libX11 libXext xextproto;
|
|
|
|
};
|
2007-10-22 04:51:40 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
imlib2 = import ../development/libraries/imlib2 {
|
|
|
|
inherit fetchurl stdenv x11 libjpeg libtiff libungif libpng bzip2;
|
|
|
|
};
|
2007-10-29 13:52:04 +03:00
|
|
|
|
2008-01-28 22:47:23 +03:00
|
|
|
indilib = import ../development/libraries/indilib {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv cfitsio libusb zlib;
|
2008-01-28 22:47:23 +03:00
|
|
|
};
|
|
|
|
|
2008-01-28 22:45:19 +03:00
|
|
|
iniparser = import ../development/libraries/iniparser {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-09 16:12:58 +04:00
|
|
|
intltool = gnome.intltool;
|
2007-09-03 16:10:57 +04:00
|
|
|
|
2009-04-17 18:58:26 +04:00
|
|
|
isocodes = import ../development/libraries/iso-codes {
|
|
|
|
inherit stdenv fetchurl gettext python;
|
|
|
|
};
|
2009-05-18 17:53:01 +04:00
|
|
|
|
2010-03-02 02:31:35 +03:00
|
|
|
itk = import ../development/libraries/itk {
|
|
|
|
inherit stdenv fetchurl cmake libuuid;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2009-11-19 15:10:23 +03:00
|
|
|
jamp = builderDefsPackage ../games/jamp {
|
|
|
|
inherit mesa SDL SDL_image SDL_mixer;
|
|
|
|
};
|
|
|
|
|
2008-01-28 22:41:03 +03:00
|
|
|
jasper = import ../development/libraries/jasper {
|
2009-03-20 19:27:32 +03:00
|
|
|
inherit fetchurl stdenv unzip xlibs libjpeg;
|
2008-01-28 22:41:03 +03:00
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-10-20 14:18:36 +04:00
|
|
|
jetty_gwt = import ../development/libraries/java/jetty-gwt {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-11-02 19:19:37 +03:00
|
|
|
jetty_util = import ../development/libraries/java/jetty-util {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2008-01-28 22:41:03 +03:00
|
|
|
|
2009-11-06 15:57:29 +03:00
|
|
|
krb5 = import ../development/libraries/kerberos/krb5.nix {
|
|
|
|
inherit stdenv fetchurl perl ncurses yacc;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lablgtk = import ../development/libraries/lablgtk {
|
|
|
|
inherit fetchurl stdenv ocaml pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-06-11 10:12:18 +04:00
|
|
|
inherit (gnome) libgnomecanvas;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-05-09 19:56:34 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lcms = import ../development/libraries/lcms {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-15 01:47:11 +04:00
|
|
|
|
2010-05-03 07:45:52 +04:00
|
|
|
lensfun = import ../development/libraries/lensfun {
|
|
|
|
inherit fetchurl stdenv libpng python zlib pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lesstif = import ../development/libraries/lesstif {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXp libXau;
|
|
|
|
};
|
2007-04-18 17:47:35 +04:00
|
|
|
|
2008-10-06 19:11:36 +04:00
|
|
|
lesstif93 = import ../development/libraries/lesstif-0.93 {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXp libXau;
|
|
|
|
};
|
|
|
|
|
2010-01-21 17:39:53 +03:00
|
|
|
levmar = import ../development/libraries/levmar {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-08 07:56:32 +04:00
|
|
|
lib3ds = import ../development/libraries/lib3ds {
|
|
|
|
inherit fetchurl stdenv unzip;
|
2008-06-19 02:48:34 +04:00
|
|
|
};
|
2008-06-08 07:56:32 +04:00
|
|
|
|
2008-02-04 17:37:15 +03:00
|
|
|
libaal = import ../development/libraries/libaal {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-12 00:02:38 +03:00
|
|
|
libao = import ../development/libraries/libao {
|
2009-04-02 01:59:12 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig pulseaudio;
|
2010-02-15 20:10:35 +03:00
|
|
|
usePulseAudio = getConfig [ "pulseaudio" ] true;
|
2008-02-12 00:02:38 +03:00
|
|
|
};
|
|
|
|
|
2009-04-22 03:18:09 +04:00
|
|
|
libarchive = import ../development/libraries/libarchive {
|
2010-04-01 22:50:43 +04:00
|
|
|
inherit fetchurl stdenv acl zlib bzip2 e2fsprogs xz sharutils libxml2
|
|
|
|
openssl attr;
|
2008-01-28 22:46:38 +03:00
|
|
|
};
|
|
|
|
|
2010-05-20 00:59:15 +04:00
|
|
|
libassuan1 = import ../development/libraries/libassuan1 {
|
|
|
|
inherit fetchurl stdenv pth;
|
|
|
|
};
|
|
|
|
|
2008-01-28 22:43:37 +03:00
|
|
|
libassuan = import ../development/libraries/libassuan {
|
2010-05-20 00:58:56 +04:00
|
|
|
inherit fetchurl stdenv pth libgpgerror;
|
2008-01-28 22:43:37 +03:00
|
|
|
};
|
|
|
|
|
2008-01-13 18:21:21 +03:00
|
|
|
libavc1394 = import ../development/libraries/libavc1394 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libraw1394;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libcaca = import ../development/libraries/libcaca {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-01-02 17:24:36 +03:00
|
|
|
|
2009-01-20 12:50:15 +03:00
|
|
|
libcanberra = import ../development/libraries/libcanberra {
|
2010-03-03 17:27:17 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig libtool alsaLib pulseaudio
|
|
|
|
libvorbis libcap;
|
2009-04-16 18:23:38 +04:00
|
|
|
inherit (gtkLibs) gtk gthread;
|
2009-01-20 12:50:15 +03:00
|
|
|
gstreamer = gst_all.gstreamer;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libcdaudio = import ../development/libraries/libcdaudio {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-02 20:42:19 +03:00
|
|
|
|
2008-03-05 12:10:23 +03:00
|
|
|
libcddb = import ../development/libraries/libcddb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libcdio = import ../development/libraries/libcdio {
|
2008-08-29 15:31:16 +04:00
|
|
|
inherit fetchurl stdenv libcddb pkgconfig ncurses help2man;
|
2008-03-05 12:10:23 +03:00
|
|
|
};
|
|
|
|
|
2009-04-21 02:06:12 +04:00
|
|
|
libcm = import ../development/libraries/libcm {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig xlibs mesa glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-03 19:01:51 +03:00
|
|
|
|
2010-04-18 23:12:07 +04:00
|
|
|
libcue = import ../development/libraries/libcue {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-11-15 20:54:09 +03:00
|
|
|
libcv = builderDefsPackage (import ../development/libraries/libcv) {
|
|
|
|
inherit libtiff libjpeg libpng pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libdaemon = import ../development/libraries/libdaemon {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-09-01 22:26:13 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
libdbi = composedArgsAndFun (import ../development/libraries/libdbi/0.8.2.nix) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit stdenv fetchurl builderDefs;
|
|
|
|
};
|
2006-06-22 01:05:39 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
libdbiDriversBase = composedArgsAndFun (import ../development/libraries/libdbi-drivers/0.8.2-1.nix) {
|
|
|
|
inherit stdenv fetchurl builderDefs libdbi;
|
|
|
|
};
|
2007-09-04 13:38:52 +04:00
|
|
|
|
2008-11-05 00:24:10 +03:00
|
|
|
libdbiDrivers = libdbiDriversBase.passthru.function {
|
2008-02-25 06:16:07 +03:00
|
|
|
inherit sqlite mysql;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2003-11-03 01:25:26 +03:00
|
|
|
|
2008-01-10 16:37:32 +03:00
|
|
|
libdv = import ../development/libraries/libdv {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
2008-01-10 16:37:32 +03:00
|
|
|
};
|
2007-08-18 20:20:14 +04:00
|
|
|
|
2010-04-29 18:57:23 +04:00
|
|
|
libdrm = if stdenv.isDarwin then null else (import ../development/libraries/libdrm {
|
2009-10-29 20:56:10 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xorg) libpthreadstubs;
|
2010-04-29 18:57:23 +04:00
|
|
|
});
|
2003-11-03 01:25:26 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libdvdcss = import ../development/libraries/libdvdcss {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libdvdnav = import ../development/libraries/libdvdnav {
|
2009-03-11 00:03:51 +03:00
|
|
|
inherit fetchurl stdenv libdvdread;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-12-14 01:29:40 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libdvdread = import ../development/libraries/libdvdread {
|
|
|
|
inherit fetchurl stdenv libdvdcss;
|
|
|
|
};
|
2007-10-27 21:55:13 +04:00
|
|
|
|
2009-04-16 23:25:22 +04:00
|
|
|
libedit = import ../development/libraries/libedit {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2010-04-28 16:36:58 +04:00
|
|
|
libelf = import ../development/libraries/libelf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-21 13:58:27 +04:00
|
|
|
liblo = import ../development/libraries/liblo {
|
2009-10-28 17:06:56 +03:00
|
|
|
inherit fetchurl stdenv;
|
2009-09-21 13:58:27 +04:00
|
|
|
};
|
|
|
|
|
2009-08-27 11:17:57 +04:00
|
|
|
libev = builderDefsPackage ../development/libraries/libev {
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libevent = import ../development/libraries/libevent {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2004-01-22 22:09:49 +03:00
|
|
|
|
2009-04-21 23:47:41 +04:00
|
|
|
libewf = import ../development/libraries/libewf {
|
|
|
|
inherit fetchurl stdenv zlib openssl libuuid;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libexif = import ../development/libraries/libexif {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2007-11-08 20:48:52 +03:00
|
|
|
|
2010-01-05 14:16:30 +03: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-31 01:02:04 +03:00
|
|
|
};
|
2006-03-14 21:20:21 +03:00
|
|
|
|
2009-05-31 10:07:25 +04:00
|
|
|
libffcall = builderDefsPackage (import ../development/libraries/libffcall) {
|
|
|
|
inherit fetchcvs;
|
|
|
|
};
|
|
|
|
|
2008-04-09 11:40:48 +04:00
|
|
|
libffi = import ../development/libraries/libffi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-25 01:28:27 +04:00
|
|
|
libftdi = import ../development/libraries/libftdi {
|
|
|
|
inherit fetchurl stdenv libusb;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libgcrypt = import ../development/libraries/libgcrypt {
|
|
|
|
inherit fetchurl stdenv libgpgerror;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libgpgerror = import ../development/libraries/libgpg-error {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-05 15:17:48 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libgphoto2 = import ../development/libraries/libgphoto2 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb libtool libexif libjpeg gettext;
|
|
|
|
};
|
2005-01-20 00:12:46 +03:00
|
|
|
|
2009-04-13 19:41:00 +04:00
|
|
|
libgpod = import ../development/libraries/libgpod {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv gettext perl perlXMLParser pkgconfig libxml2 glib;
|
2009-04-13 19:41:00 +04:00
|
|
|
};
|
|
|
|
|
2009-09-13 12:54:44 +04:00
|
|
|
libharu = import ../development/libraries/libharu {
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit fetchurl stdenv lib zlib libpng;
|
2009-09-13 12:54:44 +04:00
|
|
|
};
|
|
|
|
|
2009-02-18 23:57:36 +03:00
|
|
|
libical = import ../development/libraries/libical {
|
|
|
|
inherit stdenv fetchurl perl;
|
|
|
|
};
|
2009-02-27 16:44:31 +03:00
|
|
|
|
2010-04-06 14:50:52 +04:00
|
|
|
libiodbc = makeOverridable (import ../development/libraries/libiodbc) {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
useGTK = getPkgConfig "libiodbc" "gtk" false;
|
|
|
|
};
|
2010-04-03 13:53:38 +04:00
|
|
|
|
2010-05-03 07:45:47 +04:00
|
|
|
liblqr1 = makeOverridable (import ../development/libraries/liblqr-1) {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2009-12-27 17:22:00 +03:00
|
|
|
libnice = import ../development/libraries/libnice {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2008-06-08 07:56:32 +04:00
|
|
|
libQGLViewer = import ../development/libraries/libqglviewer {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit qt4;
|
|
|
|
};
|
|
|
|
|
2008-03-17 12:41:28 +03:00
|
|
|
libsamplerate = import ../development/libraries/libsamplerate {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig lib;
|
2008-03-17 12:41:28 +03:00
|
|
|
};
|
2005-01-20 00:48:45 +03:00
|
|
|
|
2008-07-17 23:43:11 +04:00
|
|
|
libspectre = import ../development/libraries/libspectre {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
ghostscript = ghostscriptX;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libgsf = import ../development/libraries/libgsf {
|
2009-09-30 17:11:09 +04:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2
|
|
|
|
intltool gettext bzip2 python;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (gnome) glib gnomevfs libbonobo;
|
|
|
|
};
|
2005-01-20 00:48:45 +03:00
|
|
|
|
2009-09-20 02:03:24 +04:00
|
|
|
libiconv = import ../development/libraries/libiconv {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-12 00:02:38 +03:00
|
|
|
libid3tag = import ../development/libraries/libid3tag {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libidn = import ../development/libraries/libidn {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-01-07 20:25:39 +03:00
|
|
|
|
2008-01-13 18:21:21 +03:00
|
|
|
libiec61883 = import ../development/libraries/libiec61883 {
|
|
|
|
inherit fetchurl stdenv pkgconfig libraw1394;
|
|
|
|
};
|
|
|
|
|
2010-01-17 03:46:57 +03:00
|
|
|
libiptcdata = import ../development/libraries/libiptcdata {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
libjingle = import ../development/libraries/libjingle/0.3.11.nix {
|
2008-02-21 02:02:41 +03:00
|
|
|
inherit fetchurl stdenv mediastreamer;
|
|
|
|
};
|
|
|
|
|
2009-04-23 17:26:14 +04:00
|
|
|
libjpeg = makeOverridable (import ../development/libraries/libjpeg) {
|
2009-03-22 00:04:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-11-23 01:32:18 +03:00
|
|
|
|
2010-01-04 10:47:32 +03:00
|
|
|
libjpeg62 = makeOverridable (import ../development/libraries/libjpeg/62.nix) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
libtool = libtool_1_5;
|
|
|
|
};
|
|
|
|
|
2009-04-23 17:26:14 +04:00
|
|
|
libjpegStatic = lowPrio (appendToName "static" (libjpeg.override {
|
2010-01-26 13:56:21 +03:00
|
|
|
stdenv = enableStaticLibraries stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
}));
|
2005-02-16 19:18:43 +03:00
|
|
|
|
2008-01-28 22:44:20 +03:00
|
|
|
libksba = import ../development/libraries/libksba {
|
2008-03-03 13:55:20 +03:00
|
|
|
inherit fetchurl stdenv libgpgerror;
|
2008-01-28 22:44:20 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libmad = import ../development/libraries/libmad {
|
2010-04-18 22:07:03 +04:00
|
|
|
inherit fetchurl stdenv autoconf;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-10-27 01:10:31 +04:00
|
|
|
|
2010-01-02 16:28:51 +03:00
|
|
|
libmatthew_java = import ../development/libraries/java/libmatthew-java {
|
|
|
|
inherit stdenv fetchurl jdk;
|
|
|
|
};
|
|
|
|
|
2008-03-03 13:55:20 +03:00
|
|
|
libmcs = import ../development/libraries/libmcs {
|
|
|
|
inherit fetchurl stdenv pkgconfig libmowgli;
|
|
|
|
};
|
|
|
|
|
2008-05-11 15:46:48 +04:00
|
|
|
libmicrohttpd = import ../development/libraries/libmicrohttpd {
|
|
|
|
inherit fetchurl stdenv curl;
|
|
|
|
};
|
|
|
|
|
2010-04-18 22:57:35 +04:00
|
|
|
libmikmod = import ../development/libraries/libmikmod {
|
|
|
|
inherit stdenv fetchurl texinfo;
|
|
|
|
};
|
|
|
|
|
2010-02-09 13:32:55 +03:00
|
|
|
libmilter = import ../development/libraries/libmilter {
|
|
|
|
inherit fetchurl stdenv m4;
|
|
|
|
};
|
|
|
|
|
2008-03-03 13:55:20 +03:00
|
|
|
libmowgli = import ../development/libraries/libmowgli {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-13 12:54:41 +04:00
|
|
|
libmng = import ../development/libraries/libmng {
|
|
|
|
inherit fetchurl stdenv lib zlib libpng libjpeg lcms automake autoconf libtool;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libmpcdec = import ../development/libraries/libmpcdec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-10-27 01:10:31 +04:00
|
|
|
|
2009-02-23 18:30:07 +03:00
|
|
|
libmsn = import ../development/libraries/libmsn {
|
|
|
|
inherit stdenv fetchurl cmake openssl;
|
|
|
|
};
|
2009-02-27 16:44:31 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libmspack = import ../development/libraries/libmspack {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2010-01-09 21:06:37 +03:00
|
|
|
libmusclecard = import ../development/libraries/libmusclecard {
|
|
|
|
inherit fetchurl stdenv pkgconfig pcsclite;
|
|
|
|
};
|
|
|
|
|
2010-02-15 18:55:39 +03:00
|
|
|
libnih = import ../development/libraries/libnih {
|
|
|
|
inherit fetchurl stdenv pkgconfig dbus expat;
|
|
|
|
};
|
|
|
|
|
2008-01-28 22:47:12 +03:00
|
|
|
libnova = import ../development/libraries/libnova {
|
2008-03-03 13:55:20 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 22:47:12 +03:00
|
|
|
};
|
|
|
|
|
2010-01-27 01:04:54 +03:00
|
|
|
libofx = import ../development/libraries/libofx {
|
|
|
|
inherit fetchurl stdenv opensp pkgconfig libxml2 curl;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libogg = import ../development/libraries/libogg {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-25 21:02:05 +03:00
|
|
|
|
2009-10-29 14:43:02 +03:00
|
|
|
liboil = makeOverridable (import ../development/libraries/liboil) {
|
|
|
|
inherit fetchurl stdenv pkgconfig glib;
|
2008-02-22 06:06:12 +03:00
|
|
|
};
|
|
|
|
|
2008-02-12 13:51:44 +03:00
|
|
|
liboop = import ../development/libraries/liboop {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libotr = import ../development/libraries/libotr {
|
|
|
|
inherit fetchurl stdenv libgcrypt;
|
|
|
|
};
|
2007-05-13 18:22:24 +04:00
|
|
|
|
2010-01-10 01:22:41 +03:00
|
|
|
libp11 = import ../development/libraries/libp11 {
|
|
|
|
inherit fetchurl stdenv libtool openssl pkgconfig;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libpcap = import ../development/libraries/libpcap {
|
|
|
|
inherit fetchurl stdenv flex bison;
|
|
|
|
};
|
2007-09-06 19:56:39 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libpng = import ../development/libraries/libpng {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2007-08-08 17:20:18 +04:00
|
|
|
|
2009-06-03 16:28:25 +04:00
|
|
|
libproxy = import ../development/libraries/libproxy {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-06-25 17:37:59 +04:00
|
|
|
|
2009-04-23 01:33:24 +04:00
|
|
|
libpseudo = import ../development/libraries/libpseudo {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses glib;
|
2009-04-23 01:33:24 +04:00
|
|
|
};
|
|
|
|
|
2010-02-04 16:42:41 +03:00
|
|
|
librsync = import ../development/libraries/librsync {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libsigcxx = import ../development/libraries/libsigcxx {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
};
|
2003-11-05 15:17:48 +03:00
|
|
|
|
2009-08-10 02:24:05 +04:00
|
|
|
libsigsegv = import ../development/libraries/libsigsegv {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-03-05 16:44:27 +03:00
|
|
|
|
2009-08-10 09:20:14 +04:00
|
|
|
# To bootstrap SBCL, I need CLisp 2.44.1; it needs libsigsegv 2.5
|
2009-08-10 09:50:42 +04:00
|
|
|
libsigsegv_25 = import ../development/libraries/libsigsegv/2.5.nix {
|
|
|
|
inherit fetchurl stdenv;
|
2009-08-10 09:20:14 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libsndfile = import ../development/libraries/libsndfile {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-11-05 11:32:20 +03:00
|
|
|
|
2010-02-15 00:56:35 +03:00
|
|
|
libssh = import ../development/libraries/libssh {
|
|
|
|
inherit stdenv fetchurl cmake zlib openssl;
|
|
|
|
};
|
2010-03-04 17:44:56 +03:00
|
|
|
|
|
|
|
libstartup_notification = import ../development/libraries/startup-notification {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libxcb xcbutil;
|
|
|
|
};
|
2010-03-16 15:13:40 +03:00
|
|
|
|
2008-05-20 18:25:09 +04:00
|
|
|
libtasn1 = import ../development/libraries/libtasn1 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libtheora = import ../development/libraries/libtheora {
|
|
|
|
inherit fetchurl stdenv libogg libvorbis;
|
|
|
|
};
|
2007-11-05 11:32:20 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libtiff = import ../development/libraries/libtiff {
|
|
|
|
inherit fetchurl stdenv zlib libjpeg;
|
|
|
|
};
|
2007-08-10 12:21:31 +04:00
|
|
|
|
2008-08-12 23:57:35 +04:00
|
|
|
libtommath = import ../development/libraries/libtommath {
|
|
|
|
inherit fetchurl stdenv libtool;
|
|
|
|
};
|
|
|
|
|
2009-06-28 01:44:47 +04:00
|
|
|
libunistring = import ../development/libraries/libunistring {
|
2009-09-20 02:17:11 +04:00
|
|
|
inherit fetchurl stdenv libiconv;
|
2009-06-28 01:44:47 +04:00
|
|
|
};
|
|
|
|
|
2008-10-09 00:03:35 +04:00
|
|
|
libupnp = import ../development/libraries/pupnp {
|
2008-10-08 01:18:01 +04:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-01 00:52:43 +03:00
|
|
|
giflib = import ../development/libraries/giflib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
libungif = import ../development/libraries/giflib/libungif.nix {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libusb = import ../development/libraries/libusb {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-01-28 22:45:30 +03:00
|
|
|
libunwind = import ../development/libraries/libunwind {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-03-03 13:37:38 +03:00
|
|
|
libv4l = import ../development/libraries/libv4l {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2010-01-27 15:12:35 +03:00
|
|
|
libvirt = import ../development/libraries/libvirt {
|
|
|
|
inherit stdenv fetchurl libxml2 gnutls devicemapper perl;
|
|
|
|
};
|
|
|
|
|
2008-10-04 19:24:08 +04:00
|
|
|
libvncserver = builderDefsPackage (import ../development/libraries/libvncserver) {
|
|
|
|
inherit libtool libjpeg openssl zlib;
|
2008-10-09 14:10:49 +04:00
|
|
|
inherit (xlibs) xproto libX11 damageproto libXdamage
|
2008-10-04 19:24:08 +04:00
|
|
|
libXext xextproto fixesproto libXfixes xineramaproto
|
|
|
|
libXinerama libXrandr randrproto libXtst;
|
|
|
|
};
|
|
|
|
|
2009-04-23 01:33:24 +04:00
|
|
|
libviper = import ../development/libraries/libviper {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig ncurses gpm glib;
|
2009-04-23 01:33:24 +04:00
|
|
|
};
|
|
|
|
|
2010-05-25 01:57:45 +04:00
|
|
|
libvpx = import ../development/libraries/libvpx {
|
|
|
|
inherit fetchurl stdenv bash;
|
|
|
|
};
|
|
|
|
|
2009-11-05 01:38:26 +03:00
|
|
|
libvterm = import ../development/libraries/libvterm {
|
|
|
|
inherit fetchurl stdenv pkgconfig ncurses glib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libvorbis = import ../development/libraries/libvorbis {
|
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
2006-07-08 16:44:39 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libwmf = import ../development/libraries/libwmf {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick
|
2009-10-29 14:43:02 +03:00
|
|
|
zlib libpng freetype libjpeg libxml2 glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libwpd = import ../development/libraries/libwpd {
|
|
|
|
inherit fetchurl stdenv pkgconfig libgsf libxml2 bzip2;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2007-02-28 20:52:41 +03:00
|
|
|
|
2009-10-24 23:58:07 +04:00
|
|
|
libx86 = builderDefsPackage ../development/libraries/libx86 {};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libxcrypt = import ../development/libraries/libxcrypt {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-08-06 22:45:53 +04:00
|
|
|
|
2010-03-04 17:44:56 +03:00
|
|
|
libxdg_basedir = import ../development/libraries/libxdg-basedir {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-22 03:18:09 +04:00
|
|
|
libxklavier = import ../development/libraries/libxklavier {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv xkeyboard_config pkgconfig libxml2 isocodes glib;
|
2009-06-04 15:38:56 +04:00
|
|
|
inherit (xorg) libX11 libICE libXi libxkbfile;
|
2008-02-18 23:53:36 +03:00
|
|
|
};
|
|
|
|
|
2009-04-06 01:41:38 +04:00
|
|
|
libxmi = import ../development/libraries/libxmi {
|
2009-04-06 21:11:15 +04:00
|
|
|
inherit fetchurl stdenv libtool;
|
2009-04-06 01:41:38 +04:00
|
|
|
};
|
|
|
|
|
2009-04-23 16:33:09 +04:00
|
|
|
libxml2 = makeOverridable (import ../development/libraries/libxml2) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv zlib python;
|
|
|
|
pythonSupport = false;
|
|
|
|
};
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2009-04-23 16:33:09 +04:00
|
|
|
libxml2Python = libxml2.override {
|
2007-12-31 01:02:04 +03:00
|
|
|
pythonSupport = true;
|
2009-04-23 16:33:09 +04:00
|
|
|
};
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2009-10-24 21:29:37 +04:00
|
|
|
libxslt = makeOverridable (import ../development/libraries/libxslt) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
});
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2010-01-16 13:37:29 +03:00
|
|
|
libyaml = import ../development/libraries/libyaml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libzip = import ../development/libraries/libzip {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv zlib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-07-25 12:44:05 +04:00
|
|
|
|
2009-09-20 21:01:19 +04:00
|
|
|
libzrtpcpp = import ../development/libraries/libzrtpcpp {
|
|
|
|
inherit fetchurl stdenv lib commoncpp2 openssl pkgconfig ccrtp;
|
|
|
|
};
|
|
|
|
|
2008-07-01 18:47:49 +04:00
|
|
|
lightning = import ../development/libraries/lightning {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-16 19:06:30 +03:00
|
|
|
liquidwar = builderDefsPackage ../games/liquidwar {
|
|
|
|
inherit (xlibs) xproto libX11 libXrender;
|
2010-01-21 18:39:11 +03:00
|
|
|
inherit gmp guile mesa libjpeg libpng
|
2009-12-16 19:06:30 +03:00
|
|
|
expat gettext perl
|
|
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
|
|
|
curl sqlite
|
|
|
|
libogg libvorbis
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
log4cxx = import ../development/libraries/log4cxx {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv automake autoconf libtool cppunit libxml2 boost;
|
2009-02-12 17:52:23 +03:00
|
|
|
inherit apr aprutil db45 expat;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2008-01-28 22:49:25 +03:00
|
|
|
loudmouth = import ../development/libraries/loudmouth {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv libidn openssl pkgconfig zlib glib;
|
2008-01-28 22:49:25 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lzo = import ../development/libraries/lzo {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2008-03-03 13:55:20 +03:00
|
|
|
# failed to build
|
2009-11-18 12:39:59 +03:00
|
|
|
mediastreamer = composedArgsAndFun (import ../development/libraries/mediastreamer/2.2.0-cvs20080207.nix) {
|
2008-02-10 20:34:49 +03:00
|
|
|
inherit fetchurl stdenv automake libtool autoconf alsaLib pkgconfig speex
|
2009-03-11 00:03:51 +03:00
|
|
|
ortp ffmpeg;
|
2008-02-07 12:43:10 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mesaSupported =
|
|
|
|
system == "i686-linux" ||
|
2009-09-16 19:12:24 +04:00
|
|
|
system == "x86_64-linux" ||
|
2009-12-03 01:19:49 +03:00
|
|
|
system == "x86_64-darwin" ||
|
2009-09-16 19:12:24 +04:00
|
|
|
system == "i686-darwin";
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2009-04-21 02:06:12 +04:00
|
|
|
mesa = import ../development/libraries/mesa {
|
2008-10-08 21:02:48 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig expat x11 xlibs libdrm;
|
2010-04-29 18:56:52 +04:00
|
|
|
lipo = if stdenv.isDarwin then darwinLipoUtility else null;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2008-09-02 17:43:53 +04:00
|
|
|
ming = import ../development/libraries/ming {
|
|
|
|
inherit fetchurl stdenv flex bison freetype zlib libpng perl;
|
|
|
|
};
|
|
|
|
|
2010-04-30 17:12:07 +04:00
|
|
|
mlt = import ../development/libraries/mlt {
|
2010-04-30 17:12:12 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig SDL ffmpeg libdv libxml2 libsamplerate
|
|
|
|
libvorbis sox;
|
2010-04-30 17:12:07 +04:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mpeg2dec = import ../development/libraries/mpeg2dec {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-08-13 13:46:54 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
msilbc = import ../development/libraries/msilbc {
|
2008-02-10 20:35:03 +03:00
|
|
|
inherit fetchurl stdenv ilbc mediastreamer pkgconfig;
|
|
|
|
};
|
|
|
|
|
2010-04-28 16:36:53 +04:00
|
|
|
mpc = import ../development/libraries/mpc {
|
|
|
|
inherit fetchurl stdenv gmp mpfr;
|
|
|
|
};
|
|
|
|
|
2008-02-21 19:17:43 +03:00
|
|
|
mpich2 = import ../development/libraries/mpich2 {
|
2010-01-28 01:13:19 +03:00
|
|
|
inherit fetchurl stdenv python perl;
|
2008-02-21 19:17:43 +03:00
|
|
|
};
|
|
|
|
|
2009-05-13 14:21:29 +04: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-18 01:58:48 +03:00
|
|
|
ncurses = makeOverridable (composedArgsAndFun (import ../development/libraries/ncurses)) {
|
2009-11-20 11:27:59 +03: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-18 01:58:48 +03:00
|
|
|
# The "! (stdenv ? cross)" is for the cross-built arm ncurses, which
|
|
|
|
# don't build for me in unicode.
|
2010-01-07 01:20:20 +03: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-18 01:58:48 +03:00
|
|
|
};
|
|
|
|
|
2010-04-28 12:40:19 +04:00
|
|
|
neon = neon029;
|
2008-06-19 19:29:25 +04:00
|
|
|
|
|
|
|
neon026 = import ../development/libraries/neon/0.26.nix {
|
2010-04-28 02:05:00 +04:00
|
|
|
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
|
2008-06-19 19:29:25 +04:00
|
|
|
compressionSupport = true;
|
|
|
|
sslSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
neon028 = import ../development/libraries/neon/0.28.nix {
|
2010-04-28 01:54:38 +04:00
|
|
|
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
|
2007-12-31 01:02:04 +03:00
|
|
|
compressionSupport = true;
|
|
|
|
sslSupport = true;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-04-28 12:40:19 +04:00
|
|
|
neon029 = import ../development/libraries/neon/0.29.nix {
|
|
|
|
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
|
|
|
|
compressionSupport = true;
|
|
|
|
sslSupport = true;
|
|
|
|
};
|
|
|
|
|
2009-05-12 08:28:30 +04:00
|
|
|
nethack = builderDefsPackage (import ../games/nethack) {
|
|
|
|
inherit ncurses flex bison;
|
|
|
|
};
|
|
|
|
|
2009-07-01 19:42:01 +04:00
|
|
|
nettle = import ../development/libraries/nettle {
|
2009-09-16 18:26:00 +04:00
|
|
|
inherit fetchurl stdenv gmp gnum4;
|
2009-07-01 19:42:01 +04:00
|
|
|
};
|
|
|
|
|
2009-07-04 16:25:35 +04:00
|
|
|
nspr = import ../development/libraries/nspr {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
nss = import ../development/libraries/nss {
|
2009-07-06 13:12:44 +04:00
|
|
|
inherit fetchurl stdenv nspr perl zlib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-11-30 19:50:05 +03:00
|
|
|
ode = builderDefsPackage (import ../development/libraries/ode) {
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
openal = import ../development/libraries/openal {
|
2009-12-12 21:48:07 +03:00
|
|
|
inherit fetchurl stdenv cmake alsaLib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03: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-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
openbabel = import ../development/libraries/openbabel {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv zlib libxml2;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-01-27 11:14:27 +03:00
|
|
|
opencascade = import ../development/libraries/opencascade {
|
2010-02-19 17:25:23 +03:00
|
|
|
inherit fetchurl stdenv mesa tcl tk file;
|
2010-02-23 17:20:10 +03:00
|
|
|
inherit (xlibs) libXmu;
|
2009-01-27 11:14:27 +03:00
|
|
|
};
|
|
|
|
|
2010-01-10 03:22:29 +03:00
|
|
|
openct = import ../development/libraries/openct {
|
|
|
|
inherit fetchurl stdenv libtool pcsclite libusb pkgconfig;
|
|
|
|
};
|
|
|
|
|
2010-01-17 00:26:10 +03:00
|
|
|
opencv = import ../development/libraries/opencv {
|
2010-04-20 19:09:56 +04:00
|
|
|
inherit fetchurl cmake libjpeg libpng libtiff jasper ffmpeg
|
2010-01-17 00:26:10 +03:00
|
|
|
pkgconfig xineLib;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gst_all) gstreamer;
|
2010-04-29 12:54:02 +04:00
|
|
|
stdenv = stdenv2;
|
2010-01-17 00:26:10 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
openexr_1_6_1 = import ../development/libraries/openexr {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv ilmbase zlib pkgconfig lib;
|
2009-02-12 22:51:51 +03:00
|
|
|
version = "1.6.1";
|
|
|
|
# optional features:
|
|
|
|
inherit ctl;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2007-12-31 01:02:04 +03: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 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv ilmbase zlib pkgconfig lib;
|
2009-02-12 22:51:51 +03:00
|
|
|
version = "1.4.0";
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-05-09 01:25:56 +04:00
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
openldap = import ../development/libraries/openldap {
|
2009-02-12 22:51:51 +03:00
|
|
|
inherit fetchurl stdenv openssl cyrus_sasl db4 groff;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-08-08 22:18:33 +04:00
|
|
|
openlierox = builderDefsPackage ../games/openlierox {
|
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit gd SDL SDL_image SDL_mixer zlib libxml2
|
2009-08-08 22:18:33 +04:00
|
|
|
pkgconfig;
|
|
|
|
};
|
|
|
|
|
2010-01-15 02:21:46 +03:00
|
|
|
libopensc_dnie = import ../development/libraries/libopensc-dnie {
|
2010-01-10 03:22:29 +03: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-18 01:58:48 +03:00
|
|
|
openssl = makeOverridable (import ../development/libraries/openssl) {
|
2008-05-27 11:49:55 +04:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv perl;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-05-01 00:40:33 +04:00
|
|
|
openssl1 = makeOverridable (import ../development/libraries/openssl/1.x.nix) {
|
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-04-22 03:18:09 +04:00
|
|
|
ortp = import ../development/libraries/ortp {
|
2008-01-28 22:49:08 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pangoxsl = import ../development/libraries/pangoxsl {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (gtkLibs) glib pango;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-07-09 07:50:44 +04:00
|
|
|
pcre = makeOverridable (import ../development/libraries/pcre) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 22:36:15 +03:00
|
|
|
unicodeSupport = getConfig ["pcre" "unicode"] false;
|
2007-11-21 22:28:54 +03:00
|
|
|
cplusplusSupport = !stdenv ? isDietLibC;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2009-11-06 22:25:45 +03:00
|
|
|
physfs = import ../development/libraries/physfs {
|
|
|
|
inherit fetchurl stdenv cmake;
|
|
|
|
};
|
|
|
|
|
2008-10-12 18:27:51 +04:00
|
|
|
plib = import ../development/libraries/plib {
|
|
|
|
inherit fetchurl stdenv mesa freeglut SDL;
|
|
|
|
inherit (xlibs) libXi libSM libXmu libXext libX11;
|
|
|
|
};
|
|
|
|
|
2010-01-08 01:47:30 +03:00
|
|
|
podofo = import ../development/libraries/podofo {
|
|
|
|
inherit fetchurl stdenv cmake zlib freetype libjpeg libtiff
|
|
|
|
fontconfig openssl;
|
|
|
|
};
|
|
|
|
|
2009-09-26 00:06:36 +04:00
|
|
|
polkit = import ../development/libraries/polkit {
|
2010-05-15 13:55:15 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig eggdbus expat pam intltool gettext glib
|
|
|
|
gobjectIntrospection;
|
2009-08-13 11:55:11 +04:00
|
|
|
};
|
|
|
|
|
2009-10-06 09:43:51 +04:00
|
|
|
policykit = makeOverridable (import ../development/libraries/policykit) {
|
2009-09-26 14:43:41 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus dbus_glib expat pam
|
2009-10-29 14:43:02 +03:00
|
|
|
intltool gettext libxslt docbook_xsl glib;
|
2009-08-17 22:31:42 +04:00
|
|
|
};
|
|
|
|
|
2009-09-13 15:04:54 +04:00
|
|
|
poppler = makeOverridable (import ../development/libraries/poppler) {
|
|
|
|
inherit fetchurl stdenv cairo freetype fontconfig zlib libjpeg pkgconfig;
|
2007-11-21 22:28:54 +03:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2009-09-13 15:04:54 +04:00
|
|
|
qt4Support = false;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-08-17 01:45:10 +04:00
|
|
|
|
2010-04-12 01:03:51 +04:00
|
|
|
popplerQt4 = poppler.override {
|
|
|
|
inherit qt4;
|
2010-02-10 18:06:50 +03:00
|
|
|
qt4Support = true;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
popt = import ../development/libraries/popt {
|
2009-04-22 11:16:45 +04:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-08-13 13:46:54 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
proj = import ../development/libraries/proj.4 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-05-10 00:38:16 +04:00
|
|
|
postgis = import ../development/libraries/postgis {
|
2010-05-26 23:01:10 +04:00
|
|
|
inherit stdenv fetchurl libxml2 postgresql geos proj perl flex
|
|
|
|
composableDerivation;
|
2010-05-10 00:38:16 +04:00
|
|
|
};
|
|
|
|
|
2008-01-28 22:43:03 +03:00
|
|
|
pth = import ../development/libraries/pth {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 22:43:03 +03:00
|
|
|
};
|
|
|
|
|
2009-04-20 22:07:09 +04:00
|
|
|
qt3 = makeOverridable (import ../development/libraries/qt-3) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa;
|
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2009-11-04 00:55:53 +03:00
|
|
|
libXmu libXinerama libXcursor;
|
2007-12-31 01:02:04 +03:00
|
|
|
openglSupport = mesaSupported;
|
2008-01-28 22:48:57 +03:00
|
|
|
mysqlSupport = getConfig ["qt" "mysql"] false;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-04-20 22:07:09 +04:00
|
|
|
qt3mysql = qt3.override {
|
2008-06-23 13:01:04 +04:00
|
|
|
mysqlSupport = true;
|
|
|
|
};
|
|
|
|
|
2010-03-05 15:00:37 +03:00
|
|
|
qt4 = qt46;
|
2009-09-13 15:04:54 +04:00
|
|
|
|
2010-05-08 00:08:31 +04:00
|
|
|
qt45 = import ../development/libraries/qt-4.x/4.5 {
|
2009-09-09 01:25:08 +04:00
|
|
|
inherit fetchurl stdenv lib zlib libjpeg libpng which mysql mesa openssl cups dbus
|
2009-09-13 15:04:54 +04:00
|
|
|
fontconfig freetype pkgconfig libtiff;
|
2009-08-15 18:02:49 +04:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2009-09-13 15:04:54 +04:00
|
|
|
libXmu libXinerama xineramaproto libXcursor libXext
|
|
|
|
inputproto fixesproto libXfixes;
|
2009-08-15 18:02:49 +04:00
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2009-09-23 00:16:38 +04:00
|
|
|
|
2010-05-08 00:08:31 +04:00
|
|
|
qt46 = makeOverridable (import ../development/libraries/qt-4.x/4.6) {
|
2009-12-24 12:49:35 +03:00
|
|
|
inherit fetchurl stdenv lib zlib libjpeg libpng which mysql mesa openssl cups dbus
|
2010-05-05 22:17:25 +04:00
|
|
|
fontconfig freetype pkgconfig libtiff perl coreutils sqlite alsaLib
|
|
|
|
postgresql;
|
2009-12-24 12:49:35 +03:00
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
2010-05-05 22:17:25 +04:00
|
|
|
libXmu libXinerama xineramaproto libXcursor libXext libXi
|
2009-12-24 12:49:35 +03:00
|
|
|
inputproto fixesproto libXfixes;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
2010-01-14 17:51:02 +03:00
|
|
|
|
2010-05-08 00:08:37 +04:00
|
|
|
qt47 = makeOverridable (import ../development/libraries/qt-4.x/4.7) {
|
|
|
|
inherit fetchurl stdenv lib zlib libjpeg libpng which mysql mesa openssl cups dbus
|
|
|
|
fontconfig freetype pkgconfig libtiff perl coreutils sqlite alsaLib
|
|
|
|
postgresql pulseaudio;
|
|
|
|
inherit (gst_all) gstreamer gstPluginsBase;
|
|
|
|
inherit (xlibs) xextproto libXft libXrender libXrandr randrproto
|
|
|
|
libXmu libXinerama xineramaproto libXcursor libXext libXi
|
|
|
|
inputproto fixesproto libXfixes libXv;
|
|
|
|
inherit (gnome) glib;
|
|
|
|
};
|
|
|
|
|
2010-01-14 17:51:02 +03:00
|
|
|
qtscriptgenerator = makeOverridable (import ../development/libraries/qtscriptgenerator) {
|
2009-09-11 16:05:23 +04:00
|
|
|
inherit stdenv fetchurl;
|
2010-03-05 15:00:37 +03:00
|
|
|
qt4 = qt46;
|
2009-09-11 16:05:23 +04:00
|
|
|
};
|
2009-09-23 00:16:38 +04:00
|
|
|
|
2010-05-03 19:38:16 +04:00
|
|
|
quesoglc = import ../development/libraries/quesoglc {
|
|
|
|
inherit stdenv fetchurl mesa glew freetype fontconfig fribidi;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2009-02-24 00:18:55 +03:00
|
|
|
readline = readline6;
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
readline4 = import ../development/libraries/readline/readline4.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
readline5 = import ../development/libraries/readline/readline5.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-04-03 17:02:05 +04:00
|
|
|
|
2009-02-23 21:10:41 +03:00
|
|
|
readline6 = import ../development/libraries/readline/readline6.nix {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-09-21 13:58:21 +04:00
|
|
|
librdf_raptor = import ../development/libraries/librdf/raptor.nix {
|
|
|
|
inherit fetchurl stdenv lib libxml2 curl;
|
|
|
|
};
|
2010-03-16 15:13:40 +03:00
|
|
|
|
2009-09-21 13:58:21 +04:00
|
|
|
librdf_rasqal = import ../development/libraries/librdf/rasqal.nix {
|
|
|
|
inherit fetchurl stdenv lib pcre libxml2 gmp librdf_raptor;
|
|
|
|
};
|
2010-03-16 15:13:40 +03:00
|
|
|
|
2009-09-21 13:58:21 +04:00
|
|
|
librdf = import ../development/libraries/librdf {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig librdf_raptor ladspaH openssl zlib;
|
|
|
|
};
|
|
|
|
|
2010-04-03 13:54:22 +04:00
|
|
|
redland = makeOverridable (import ../development/libraries/redland/1.0.10.nix) {
|
2010-02-11 17:31:49 +03:00
|
|
|
inherit fetchurl stdenv openssl libxml2 pkgconfig perl sqlite
|
2010-02-10 18:06:50 +03:00
|
|
|
mysql libxslt curl pcre librdf_rasqal librdf_raptor;
|
|
|
|
bdb = db4;
|
|
|
|
};
|
|
|
|
|
2009-10-19 18:47:04 +04:00
|
|
|
rhino = import ../development/libraries/java/rhino {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
ant = apacheAntGcj;
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
rte = import ../development/libraries/rte {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-08-24 19:02:30 +04:00
|
|
|
|
2009-09-21 13:58:30 +04:00
|
|
|
rubberband = import ../development/libraries/rubberband {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig libsamplerate libsndfile ladspaH;
|
|
|
|
fftw = fftwSinglePrec;
|
|
|
|
inherit (vamp) vampSDK;
|
|
|
|
};
|
|
|
|
|
2008-03-10 23:13:44 +03:00
|
|
|
schroedinger = import ../development/libraries/schroedinger {
|
|
|
|
inherit fetchurl stdenv liboil pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-08-12 02:23:30 +04:00
|
|
|
SDL = makeOverridable (import ../development/libraries/SDL) {
|
2009-05-11 23:57:42 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig x11 mesa alsaLib pulseaudio;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libXrandr;
|
|
|
|
openglSupport = mesaSupported;
|
|
|
|
alsaSupport = true;
|
2009-08-12 02:23:30 +04:00
|
|
|
pulseaudioSupport = false; # better go through ALSA
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-11-26 02:41:53 +03:00
|
|
|
|
2010-05-02 13:27:45 +04:00
|
|
|
SDL_gfx = import ../development/libraries/SDL_gfx {
|
|
|
|
inherit fetchurl stdenv SDL;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
SDL_image = import ../development/libraries/SDL_image {
|
|
|
|
inherit fetchurl stdenv SDL libjpeg libungif libtiff libpng;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
};
|
2004-08-23 13:35:36 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
SDL_mixer = import ../development/libraries/SDL_mixer {
|
|
|
|
inherit fetchurl stdenv SDL libogg libvorbis;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2008-02-07 00:26:17 +03:00
|
|
|
SDL_net = import ../development/libraries/SDL_net {
|
|
|
|
inherit fetchurl stdenv SDL;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
SDL_ttf = import ../development/libraries/SDL_ttf {
|
|
|
|
inherit fetchurl stdenv SDL freetype;
|
|
|
|
};
|
2005-03-11 13:46:20 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
slang = import ../development/libraries/slang {
|
2009-09-16 21:08:33 +04:00
|
|
|
inherit fetchurl stdenv ncurses pcre libpng zlib readline;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-03-11 13:55:21 +03:00
|
|
|
|
2009-09-30 17:10:58 +04:00
|
|
|
slibGuile = import ../development/libraries/slib {
|
|
|
|
inherit fetchurl stdenv unzip texinfo;
|
|
|
|
scheme = guile;
|
|
|
|
};
|
|
|
|
|
2008-09-24 04:42:06 +04:00
|
|
|
snack = import ../development/libraries/snack {
|
|
|
|
inherit fetchurl stdenv tcl tk pkgconfig x11;
|
|
|
|
# optional
|
|
|
|
inherit alsaLib vorbisTools python;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
speex = import ../development/libraries/speex {
|
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
2007-08-17 01:45:10 +04:00
|
|
|
|
2010-02-04 19:07:15 +03:00
|
|
|
sqlite = lowPrio (import ../development/libraries/sqlite {
|
2010-02-02 18:49:48 +03:00
|
|
|
inherit fetchurl stdenv;
|
2010-02-04 19:07:15 +03:00
|
|
|
});
|
|
|
|
|
2010-02-14 19:21:42 +03:00
|
|
|
sqliteInteractive = lowPrio (appendToName "interactive" (import ../development/libraries/sqlite {
|
2010-02-04 19:07:15 +03:00
|
|
|
inherit fetchurl stdenv readline ncurses;
|
2010-02-14 19:21:42 +03:00
|
|
|
}));
|
2006-04-22 22:08:37 +04:00
|
|
|
|
2008-09-05 21:17:00 +04:00
|
|
|
stlport = import ../development/libraries/stlport {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
t1lib = import ../development/libraries/t1lib {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXaw libXpm;
|
|
|
|
};
|
2005-03-11 14:02:31 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
taglib = import ../development/libraries/taglib {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2009-09-11 16:05:23 +04:00
|
|
|
taglib_extras = import ../development/libraries/taglib-extras {
|
|
|
|
inherit stdenv fetchurl cmake taglib;
|
|
|
|
};
|
|
|
|
|
2010-05-27 23:33:28 +04:00
|
|
|
talloc = import ../development/libraries/talloc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
## tapioca_qt = import ../development/libraries/tapioca-qt {
|
|
|
|
## inherit stdenv fetchurl cmake qt4 telepathy_qt;
|
|
|
|
## };
|
|
|
|
|
2010-02-10 14:28:18 +03:00
|
|
|
tdb = import ../development/libraries/tdb {
|
|
|
|
inherit fetchurl stdenv libxslt libxml2 docbook_xsl;
|
|
|
|
};
|
|
|
|
|
2008-07-15 13:58:30 +04:00
|
|
|
tecla = import ../development/libraries/tecla {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-28 22:49:44 +03: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 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv dbus_glib pkgconfig libxslt python glib;
|
2008-01-28 22:49:44 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
telepathy_qt = import ../development/libraries/telepathy-qt {
|
2009-02-20 19:18:56 +03:00
|
|
|
inherit stdenv fetchurl cmake qt4;
|
2008-01-28 22:49:44 +03:00
|
|
|
};
|
|
|
|
|
2010-02-06 01:00:51 +03:00
|
|
|
tk = import ../development/libraries/tk {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv tcl x11;
|
|
|
|
};
|
2007-12-01 19:20:23 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
unixODBC = import ../development/libraries/unixODBC {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-06-12 03:03:30 +04:00
|
|
|
unixODBCDrivers = recurseIntoAttrs (import ../development/libraries/unixODBCDrivers {
|
|
|
|
inherit fetchurl stdenv unixODBC glibc libtool openssl zlib;
|
2008-06-13 13:44:43 +04:00
|
|
|
inherit postgresql mysql sqlite;
|
2008-06-12 03:03:30 +04:00
|
|
|
});
|
|
|
|
|
2009-09-21 13:58:30 +04:00
|
|
|
vamp = import ../development/libraries/audio/vamp {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig libsndfile;
|
|
|
|
};
|
|
|
|
|
2009-02-09 02:29:27 +03:00
|
|
|
vtk = import ../development/libraries/vtk {
|
2009-02-08 19:27:57 +03:00
|
|
|
inherit stdenv fetchurl cmake mesa;
|
|
|
|
inherit (xlibs) libX11 xproto libXt;
|
|
|
|
};
|
|
|
|
|
2009-01-13 00:12:07 +03:00
|
|
|
vxl = import ../development/libraries/vxl {
|
|
|
|
inherit fetchurl stdenv cmake unzip libtiff expat zlib libpng libjpeg;
|
|
|
|
};
|
|
|
|
|
2009-10-29 17:19:13 +03:00
|
|
|
webkit = builderDefsPackage (import ../development/libraries/webkit) {
|
2009-09-30 09:37:09 +04:00
|
|
|
inherit (gnome28) gtkdoc libsoup;
|
2009-10-29 17:19:13 +03:00
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
2008-07-08 03:11:13 +04:00
|
|
|
inherit freetype fontconfig gettext gperf curl
|
|
|
|
libjpeg libtiff libpng libxml2 libxslt sqlite
|
|
|
|
icu cairo perl intltool automake libtool
|
2009-06-04 15:20:26 +04:00
|
|
|
pkgconfig autoconf bison libproxy enchant;
|
2009-10-06 09:43:51 +04:00
|
|
|
inherit (gst_all) gstreamer gstPluginsBase gstFfmpeg
|
2009-08-03 09:11:30 +04:00
|
|
|
gstPluginsGood;
|
2008-06-29 11:02:11 +04:00
|
|
|
flex = flex2535;
|
2009-06-04 15:20:26 +04:00
|
|
|
inherit (xlibs) libXt;
|
2009-10-29 17:19:13 +03:00
|
|
|
};
|
2008-06-29 11:02:11 +04:00
|
|
|
|
2010-04-16 19:56:28 +04:00
|
|
|
wvstreams = import ../development/libraries/wvstreams {
|
|
|
|
inherit stdenv fetchurl qt4 dbus zlib openssl readline perl;
|
|
|
|
};
|
|
|
|
|
2009-11-05 16:29:52 +03:00
|
|
|
wxGTK = wxGTK28;
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit (gtkLibs216) gtk;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-11-17 18:26:22 +03:00
|
|
|
wxGTK28 = makeOverridable (import ../development/libraries/wxGTK-2.8) {
|
2009-01-25 00:00:53 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig mesa;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit (gtkLibs216) gtk;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libXinerama libSM libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
wtk = import ../development/libraries/wtk {
|
2010-05-03 13:13:17 +04:00
|
|
|
inherit requireFile stdenv unzip xlibs;
|
|
|
|
};
|
2009-03-23 23:36:48 +03:00
|
|
|
|
2008-05-22 04:18:45 +04:00
|
|
|
x264 = import ../development/libraries/x264 {
|
2010-05-01 01:58:47 +04:00
|
|
|
inherit fetchurl stdenv yasm;
|
2008-05-22 04:18:45 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
xapian = makeOverridable (import ../development/libraries/xapian) {
|
2009-08-21 00:18:58 +04:00
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
xapianBindings = (import ../development/libraries/xapian/bindings/1.0.14.nix) {
|
2009-08-21 00:18:58 +04:00
|
|
|
inherit fetchurl stdenv xapian composableDerivation pkgconfig;
|
|
|
|
inherit ruby perl php tcl python; # TODO perl php Java, tcl, C#, python
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
Xaw3d = import ../development/libraries/Xaw3d {
|
|
|
|
inherit fetchurl stdenv x11 bison;
|
|
|
|
flex = flex2533;
|
|
|
|
inherit (xlibs) imake gccmakedep libXmu libXpm libXp;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
xineLib = import ../development/libraries/xine-lib {
|
2009-08-12 00:47:33 +04:00
|
|
|
inherit fetchurl stdenv zlib libdvdcss alsaLib pkgconfig mesa aalib
|
|
|
|
libvorbis libtheora speex xlibs perl ffmpeg;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-07-07 15:54:25 +04:00
|
|
|
xautolock = import ../misc/screensavers/xautolock {
|
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xorg) imake;
|
|
|
|
inherit (xlibs) libXScrnSaver scrnsaverproto;
|
|
|
|
};
|
|
|
|
|
2009-10-01 13:06:59 +04:00
|
|
|
xercesJava = import ../development/libraries/java/xerces {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
ant = apacheAntGcj; # for bootstrap purposes
|
|
|
|
javac = gcj;
|
|
|
|
jvm = gcj;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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-14 01:15:03 +03:00
|
|
|
|
2010-05-01 01:47:09 +04:00
|
|
|
xvidcore = import ../development/libraries/xvidcore {
|
2010-05-01 01:58:47 +04:00
|
|
|
inherit fetchurl stdenv nasm;
|
2010-05-01 01:47:09 +04:00
|
|
|
};
|
|
|
|
|
2009-05-12 08:28:30 +04:00
|
|
|
zangband = builderDefsPackage (import ../games/zangband) {
|
2009-05-12 13:45:24 +04:00
|
|
|
inherit ncurses flex bison autoconf automake m4 coreutils;
|
2009-05-12 08:28:30 +04: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-18 01:58:48 +03:00
|
|
|
zlib = makeOverridable (import ../development/libraries/zlib) {
|
2008-05-27 11:49:55 +04:00
|
|
|
fetchurl = fetchurlBoot;
|
|
|
|
inherit stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-03-11 14:08:38 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
zlibStatic = lowPrio (appendToName "static" (import ../development/libraries/zlib {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
static = true;
|
|
|
|
}));
|
2004-01-21 12:34:19 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
zvbi = import ../development/libraries/zvbi {
|
|
|
|
inherit fetchurl stdenv libpng x11;
|
|
|
|
pngSupport = true;
|
|
|
|
};
|
2006-08-27 23:59:45 +04:00
|
|
|
|
2005-12-26 18:56:00 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DEVELOPMENT / LIBRARIES / JAVA
|
2005-10-12 15:57:24 +04:00
|
|
|
|
2006-07-04 20:58:25 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
atermjava = import ../development/libraries/java/aterm {
|
|
|
|
inherit fetchurl sharedobjects jjtraveler jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
2005-02-15 19:22:20 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
commonsFileUpload = import ../development/libraries/java/jakarta-commons/file-upload {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2003-11-06 18:24:19 +03:00
|
|
|
|
2009-07-27 14:43:20 +04:00
|
|
|
fastjar = import ../development/tools/java/fastjar {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
httpunit = import ../development/libraries/java/httpunit {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-08-18 13:35:54 +04:00
|
|
|
|
2008-02-26 11:48:40 +03:00
|
|
|
gwtdragdrop = import ../development/libraries/java/gwt-dragdrop {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-02-25 15:45:17 +03:00
|
|
|
gwtwidgets = import ../development/libraries/java/gwt-widgets {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jakartabcel = import ../development/libraries/java/jakarta-bcel {
|
|
|
|
regexp = jakartaregexp;
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jakartaregexp = import ../development/libraries/java/jakarta-regexp {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-12-11 05:35:05 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
javaCup = import ../development/libraries/java/cup {
|
|
|
|
inherit stdenv fetchurl jdk;
|
|
|
|
};
|
2004-04-05 18:09:01 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
javasvn = import ../development/libraries/java/javasvn {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-03-05 02:37:34 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jclasslib = import ../development/tools/java/jclasslib {
|
|
|
|
inherit fetchurl stdenv xpf jre;
|
|
|
|
ant = apacheAnt14;
|
|
|
|
};
|
2003-11-06 19:28:57 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jdom = import ../development/libraries/java/jdom {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-03-19 02:58:22 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jflex = import ../development/libraries/java/jflex {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jjtraveler = import ../development/libraries/java/jjtraveler {
|
|
|
|
inherit fetchurl jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
junit = import ../development/libraries/java/junit {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lucene = import ../development/libraries/java/lucene {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mockobjects = import ../development/libraries/java/mockobjects {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
saxon = import ../development/libraries/java/saxon {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
saxonb = import ../development/libraries/java/saxon/default8.nix {
|
|
|
|
inherit fetchurl stdenv unzip jre;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
sharedobjects = import ../development/libraries/java/shared-objects {
|
|
|
|
inherit fetchurl jdk;
|
|
|
|
stdenv = overrideInStdenv stdenv [gnumake380];
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-02-26 12:07:12 +03:00
|
|
|
smack = import ../development/libraries/java/smack {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
swt = import ../development/libraries/java/swt {
|
|
|
|
inherit stdenv fetchurl unzip jdk pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXtst;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-10-01 13:07:17 +04: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-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-07-31 14:24:02 +04:00
|
|
|
zziplib = import ../development/libraries/zziplib {
|
|
|
|
inherit fetchurl stdenv perl python zip xmlto zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DEVELOPMENT / PERL MODULES
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-11-24 13:24:51 +03:00
|
|
|
buildPerlPackage = import ../development/perl-modules/generic perl;
|
2008-08-29 13:05:49 +04:00
|
|
|
|
2009-04-20 16:24:13 +04:00
|
|
|
perlPackages = recurseIntoAttrs (import ./perl-packages.nix {
|
2009-04-20 16:08:09 +04:00
|
|
|
inherit pkgs;
|
2009-04-20 16:24:13 +04:00
|
|
|
});
|
2008-08-29 13:05:49 +04:00
|
|
|
|
2009-04-20 16:49:35 +04:00
|
|
|
perlXMLParser = perlPackages.XMLParser;
|
2008-01-22 19:26:57 +03:00
|
|
|
|
2010-03-30 03:36:38 +04:00
|
|
|
ack = perlPackages.ack;
|
2008-07-21 18:43:33 +04:00
|
|
|
|
2010-03-30 03:36:40 +04:00
|
|
|
perlcritic = perlPackages.PerlCritic;
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DEVELOPMENT / PYTHON MODULES
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-04-21 14:51:15 +04:00
|
|
|
buildPythonPackage =
|
|
|
|
import ../development/python-modules/generic {
|
|
|
|
inherit python setuptools makeWrapper lib;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPython26Package =
|
|
|
|
import ../development/python-modules/generic {
|
|
|
|
inherit makeWrapper lib;
|
|
|
|
python = python26;
|
|
|
|
setuptools = setuptools_python26;
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonPackages = python26Packages;
|
|
|
|
|
|
|
|
python25Packages = recurseIntoAttrs (import ./python-packages.nix {
|
|
|
|
inherit pkgs python buildPythonPackage;
|
2010-01-08 01:47:30 +03:00
|
|
|
});
|
|
|
|
|
2010-04-21 14:51:15 +04:00
|
|
|
python26Packages = recurseIntoAttrs (import ./python-packages.nix {
|
|
|
|
inherit pkgs;
|
2010-01-08 01:47:30 +03:00
|
|
|
python = python26;
|
2010-04-21 14:51:15 +04:00
|
|
|
buildPythonPackage = buildPython26Package;
|
2009-05-25 01:08:39 +04:00
|
|
|
});
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-04-21 14:51:15 +04:00
|
|
|
foursuite = import ../development/python-modules/4suite {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
|
|
|
bsddb3 = import ../development/python-modules/bsddb3 {
|
|
|
|
inherit fetchurl stdenv python db4;
|
|
|
|
};
|
|
|
|
|
|
|
|
flup = builderDefsPackage ../development/python-modules/flup {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
python = python25;
|
|
|
|
setuptools = setuptools.passthru.function {python = python25;};
|
|
|
|
};
|
|
|
|
|
|
|
|
numeric = import ../development/python-modules/numeric {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
|
|
|
pil = import ../development/python-modules/pil {
|
|
|
|
inherit fetchurl stdenv python zlib libjpeg freetype;
|
|
|
|
};
|
|
|
|
|
|
|
|
psyco = import ../development/python-modules/psyco {
|
|
|
|
inherit fetchurl stdenv python;
|
|
|
|
};
|
|
|
|
|
|
|
|
pycairo = import ../development/python-modules/pycairo {
|
|
|
|
inherit fetchurl stdenv python pkgconfig cairo x11;
|
|
|
|
};
|
|
|
|
|
|
|
|
pycrypto = import ../development/python-modules/pycrypto {
|
|
|
|
inherit fetchurl stdenv python gmp;
|
|
|
|
};
|
|
|
|
|
|
|
|
pycups = import ../development/python-modules/pycups {
|
|
|
|
inherit stdenv fetchurl python cups;
|
|
|
|
};
|
|
|
|
|
|
|
|
pygame = import ../development/python-modules/pygame {
|
|
|
|
inherit fetchurl stdenv python pkgconfig SDL SDL_image
|
|
|
|
SDL_mixer SDL_ttf numeric;
|
|
|
|
};
|
|
|
|
|
|
|
|
pygobject = import ../development/python-modules/pygobject {
|
|
|
|
inherit fetchurl stdenv python pkgconfig glib;
|
|
|
|
};
|
|
|
|
|
|
|
|
pygtk = import ../development/python-modules/pygtk {
|
|
|
|
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyGtkGlade = import ../development/python-modules/pygtk {
|
|
|
|
inherit fetchurl stdenv python pkgconfig pygobject pycairo;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyopenssl = builderDefsPackage (import ../development/python-modules/pyopenssl) {
|
|
|
|
inherit python openssl;
|
|
|
|
};
|
|
|
|
|
|
|
|
rhpl = import ../development/python-modules/rhpl {
|
|
|
|
inherit stdenv fetchurl rpm cpio python wirelesstools gettext;
|
|
|
|
};
|
|
|
|
|
|
|
|
sip = import ../development/python-modules/python-sip {
|
|
|
|
inherit stdenv fetchurl python;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyqt4 = import ../development/python-modules/pyqt {
|
|
|
|
inherit stdenv fetchurl python qt4 sip;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyx = import ../development/python-modules/pyx {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyxml = import ../development/python-modules/pyxml {
|
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
|
|
|
};
|
|
|
|
|
|
|
|
setuptools = builderDefsPackage (import ../development/python-modules/setuptools) {
|
|
|
|
inherit python makeWrapper;
|
|
|
|
};
|
|
|
|
|
|
|
|
setuptools_python26 = builderDefsPackage (import ../development/python-modules/setuptools) {
|
|
|
|
inherit makeWrapper;
|
|
|
|
python = python26;
|
|
|
|
};
|
2008-05-30 22:15:25 +04:00
|
|
|
|
2010-04-17 22:28:25 +04:00
|
|
|
wxPython = wxPython26;
|
2010-04-21 14:51:15 +04:00
|
|
|
|
|
|
|
wxPython26 = import ../development/python-modules/wxPython/2.6.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
wxGTK = wxGTK26;
|
|
|
|
};
|
|
|
|
|
|
|
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
|
|
|
inherit fetchurl stdenv pkgconfig python;
|
|
|
|
inherit wxGTK;
|
|
|
|
};
|
|
|
|
|
|
|
|
twisted = pythonPackages.twisted;
|
|
|
|
|
|
|
|
ZopeInterface = pythonPackages.zopeInterface;
|
|
|
|
|
|
|
|
zope = import ../development/python-modules/zope {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
python = python24;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### SERVERS
|
2008-05-30 22:15:25 +04:00
|
|
|
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-08-28 20:45:56 +04:00
|
|
|
apacheHttpd = makeOverridable (import ../servers/http/apache-httpd) {
|
2009-08-31 19:03:31 +04:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv perl openssl zlib apr aprutil pcre;
|
2007-12-31 01:02:04 +03:00
|
|
|
sslSupport = true;
|
2009-02-20 13:56:47 +03:00
|
|
|
};
|
|
|
|
|
2009-11-08 22:55:37 +03:00
|
|
|
sabnzbd = import ../servers/sabnzbd {
|
2009-11-09 02:39:06 +03:00
|
|
|
inherit fetchurl stdenv python cheetahTemplate makeWrapper par2cmdline unzip unrar;
|
2009-11-08 22:55:37 +03:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
bind = builderDefsPackage (import ../servers/dns/bind/9.5.0.nix) {
|
2008-06-12 22:10:08 +04:00
|
|
|
inherit openssl libtool;
|
2009-02-12 18:59:22 +03:00
|
|
|
};
|
|
|
|
|
2009-04-01 21:31:44 +04:00
|
|
|
dico = import ../servers/dico {
|
|
|
|
inherit fetchurl stdenv libtool gettext zlib readline guile python;
|
2009-02-12 18:59:22 +03:00
|
|
|
};
|
|
|
|
|
2010-04-14 14:55:50 +04:00
|
|
|
dict = makeOverridable (import ../servers/dict) {
|
|
|
|
inherit fetchurl stdenv which bison flex;
|
2008-03-06 07:39:05 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
dictdDBs = recurseIntoAttrs (import ../servers/dict/dictd-db.nix {
|
|
|
|
inherit builderDefs;
|
|
|
|
});
|
|
|
|
|
2008-03-07 09:11:08 +03:00
|
|
|
dictDBCollector = import ../servers/dict/dictd-db-collector.nix {
|
|
|
|
inherit stdenv lib dict;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
dovecot = import ../servers/mail/dovecot {
|
2008-07-01 01:11:07 +04:00
|
|
|
inherit fetchurl stdenv openssl pam;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2008-07-01 18:40:53 +04:00
|
|
|
dovecot_1_1_1 = import ../servers/mail/dovecot/1.1.1.nix {
|
|
|
|
inherit fetchurl stdenv openssl pam;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-01-23 13:06:07 +03:00
|
|
|
ejabberd = import ../servers/xmpp/ejabberd {
|
2009-11-17 19:54:04 +03:00
|
|
|
inherit fetchurl stdenv expat erlang zlib openssl pam lib;
|
2008-01-23 13:06:07 +03:00
|
|
|
};
|
|
|
|
|
2009-11-05 17:41:05 +03:00
|
|
|
couchdb = import ../servers/http/couchdb {
|
2009-12-09 15:59:23 +03:00
|
|
|
inherit fetchurl stdenv erlang spidermonkey icu getopt
|
|
|
|
curl;
|
2009-11-05 17:41:05 +03:00
|
|
|
};
|
2010-04-29 12:54:02 +04:00
|
|
|
|
2010-04-22 18:01:57 +04:00
|
|
|
felix = import ../servers/felix {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2010-04-29 12:54:02 +04:00
|
|
|
|
2010-04-22 18:01:57 +04:00
|
|
|
felix_remoteshell = import ../servers/felix/remoteshell.nix {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-11-05 17:41:05 +03:00
|
|
|
|
2008-01-28 22:51:14 +03:00
|
|
|
fingerd_bsd = import ../servers/fingerd/bsd-fingerd {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-01-28 22:51:14 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ircdHybrid = import ../servers/irc/ircd-hybrid {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv openssl zlib;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-01-23 15:25:08 +03:00
|
|
|
jboss = import ../servers/http/jboss {
|
2009-11-11 18:52:26 +03:00
|
|
|
inherit fetchurl stdenv unzip jdk lib;
|
2008-01-23 15:25:08 +03:00
|
|
|
};
|
|
|
|
|
2008-01-29 14:11:26 +03:00
|
|
|
jboss_mysql_jdbc = import ../servers/http/jboss/jdbc/mysql {
|
|
|
|
inherit stdenv jboss mysql_jdbc;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
jetty = import ../servers/http/jetty {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-09-03 16:10:57 +04:00
|
|
|
|
2008-02-26 12:26:17 +03:00
|
|
|
jetty61 = import ../servers/http/jetty/6.1 {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-09-24 04:42:50 +04:00
|
|
|
lighttpd = import ../servers/http/lighttpd {
|
|
|
|
inherit fetchurl stdenv pcre libxml2 zlib attr bzip2;
|
|
|
|
};
|
|
|
|
|
2009-08-31 19:03:31 +04:00
|
|
|
mod_python = makeOverridable (import ../servers/http/apache-modules/mod_python) {
|
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apacheHttpd python;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-11-11 19:19:00 +03:00
|
|
|
|
2010-04-18 23:26:30 +04:00
|
|
|
mpd = import ../servers/mpd {
|
|
|
|
inherit stdenv fetchurl pkgconfig glib alsaLib flac libvorbis libmad
|
|
|
|
libid3tag libmikmod libcue;
|
|
|
|
};
|
|
|
|
|
2009-08-21 14:20:40 +04:00
|
|
|
myserver = import ../servers/http/myserver {
|
|
|
|
inherit fetchurl stdenv libgcrypt libevent libidn gnutls libxml2
|
2010-02-16 13:48:06 +03:00
|
|
|
zlib texinfo cppunit xz;
|
2009-08-21 14:20:40 +04:00
|
|
|
};
|
|
|
|
|
2008-11-30 12:06:53 +03:00
|
|
|
nginx = builderDefsPackage (import ../servers/http/nginx) {
|
|
|
|
inherit openssl pcre zlib libxml2 libxslt;
|
|
|
|
};
|
|
|
|
|
2008-06-13 08:31:31 +04:00
|
|
|
postfix = import ../servers/mail/postfix {
|
2009-02-03 13:39:48 +03:00
|
|
|
inherit fetchurl stdenv db4 openssl cyrus_sasl glibc;
|
2008-06-13 08:31:31 +04:00
|
|
|
};
|
|
|
|
|
2009-10-06 09:43:51 +04:00
|
|
|
pulseaudio = makeOverridable (import ../servers/pulseaudio) {
|
2009-04-02 16:22:18 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig gnum4 gdbm
|
2008-12-19 17:56:37 +03:00
|
|
|
dbus hal avahi liboil libsamplerate libsndfile speex
|
2009-12-13 23:19:19 +03:00
|
|
|
intltool gettext libtool libcap;
|
|
|
|
inherit (xlibs) libX11 libICE libSM libXtst libXi;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-04-21 13:56:02 +04:00
|
|
|
inherit alsaLib; # Needs ALSA >= 1.0.17.
|
2008-12-19 17:56:37 +03:00
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
2008-01-23 17:40:03 +03:00
|
|
|
tomcat_connectors = import ../servers/http/apache-modules/tomcat-connectors {
|
|
|
|
inherit fetchurl stdenv apacheHttpd jdk;
|
|
|
|
};
|
|
|
|
|
2009-03-20 19:17:08 +03:00
|
|
|
portmap = makeOverridable (import ../servers/portmap) {
|
|
|
|
inherit fetchurl stdenv lib tcpWrapper;
|
|
|
|
};
|
2008-03-16 01:51:46 +03:00
|
|
|
|
2009-07-09 07:50:44 +04:00
|
|
|
monetdb = import ../servers/sql/monetdb {
|
2009-07-27 20:05:39 +04:00
|
|
|
inherit composableDerivation getConfig;
|
|
|
|
inherit fetchurl stdenv pcre openssl readline libxml2 geos apacheAnt jdk5;
|
2009-07-09 07:50:44 +04:00
|
|
|
};
|
|
|
|
|
2008-02-25 06:16:07 +03:00
|
|
|
mysql4 = import ../servers/sql/mysql {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv ncurses zlib perl;
|
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
2007-11-11 19:22:29 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mysql5 = import ../servers/sql/mysql5 {
|
2008-02-21 02:02:41 +03:00
|
|
|
inherit fetchurl stdenv ncurses zlib perl openssl;
|
2007-12-31 01:02:04 +03:00
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
2007-11-11 19:17:21 +03:00
|
|
|
|
2009-12-17 21:54:12 +03:00
|
|
|
mysql51 = import ../servers/sql/mysql51 {
|
|
|
|
inherit fetchurl ncurses zlib perl openssl stdenv;
|
|
|
|
ps = procps; /* !!! Linux only */
|
|
|
|
};
|
|
|
|
|
2008-02-25 06:16:07 +03:00
|
|
|
mysql = mysql5;
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mysql_jdbc = import ../servers/sql/mysql/jdbc {
|
|
|
|
inherit fetchurl stdenv ant;
|
|
|
|
};
|
2005-09-07 18:57:30 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
nagios = import ../servers/monitoring/nagios {
|
|
|
|
inherit fetchurl stdenv perl gd libpng zlib;
|
|
|
|
gdSupport = true;
|
|
|
|
};
|
2007-02-27 02:10:25 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
nagiosPluginsOfficial = import ../servers/monitoring/nagios/plugins/official {
|
|
|
|
inherit fetchurl stdenv openssh;
|
|
|
|
};
|
2005-08-14 01:35:49 +04:00
|
|
|
|
2009-04-13 00:15:37 +04:00
|
|
|
openfire = composedArgsAndFun (import ../servers/xmpp/openfire) {
|
2008-02-21 19:24:44 +03:00
|
|
|
inherit builderDefs jre;
|
|
|
|
};
|
|
|
|
|
2009-10-14 18:38:16 +04:00
|
|
|
postgresql = postgresql83;
|
|
|
|
|
|
|
|
postgresql83 = import ../servers/sql/postgresql/8.3.x.nix {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
2009-09-04 16:55:03 +04:00
|
|
|
};
|
|
|
|
|
2009-10-14 18:38:16 +04:00
|
|
|
postgresql84 = import ../servers/sql/postgresql/8.4.x.nix {
|
2009-09-04 16:55:03 +04:00
|
|
|
inherit fetchurl stdenv readline ncurses zlib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-06-18 02:04:42 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
postgresql_jdbc = import ../servers/sql/postgresql/jdbc {
|
|
|
|
inherit fetchurl stdenv ant;
|
|
|
|
};
|
2005-01-20 01:51:27 +03:00
|
|
|
|
2009-04-13 03:27:55 +04:00
|
|
|
pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) {
|
|
|
|
inherit xmpppy pythonIRClib python makeWrapper;
|
|
|
|
};
|
|
|
|
|
|
|
|
pyMAILt = builderDefsPackage (import ../servers/xmpp/pyMAILt) {
|
|
|
|
inherit xmpppy python makeWrapper fetchcvs;
|
|
|
|
};
|
|
|
|
|
2010-04-26 12:45:23 +04:00
|
|
|
radius = import ../servers/radius {
|
|
|
|
inherit fetchurl stdenv m4 groff readline;
|
|
|
|
};
|
|
|
|
|
2009-04-26 15:06:41 +04:00
|
|
|
samba = makeOverridable (import ../servers/samba) {
|
2008-01-28 22:46:27 +03:00
|
|
|
inherit stdenv fetchurl readline openldap pam kerberos popt iniparser
|
2010-04-28 13:39:01 +04:00
|
|
|
libunwind acl fam;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-11-12 17:52:16 +03:00
|
|
|
|
2010-04-26 12:45:23 +04:00
|
|
|
shishi = import ../servers/shishi {
|
|
|
|
inherit fetchurl stdenv libtasn1 libgcrypt gnutls;
|
|
|
|
};
|
|
|
|
|
2008-12-21 19:36:47 +03:00
|
|
|
squids = recurseIntoAttrs( import ../servers/squid/squids.nix {
|
|
|
|
inherit fetchurl stdenv perl lib composableDerivation;
|
|
|
|
});
|
|
|
|
squid = squids.squid3Beta; # has ipv6 support
|
2008-05-15 21:51:41 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
tomcat5 = import ../servers/http/tomcat {
|
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
};
|
2005-03-09 20:49:19 +03:00
|
|
|
|
2008-01-30 12:41:33 +03:00
|
|
|
tomcat6 = import ../servers/http/tomcat/6.0.nix {
|
|
|
|
inherit fetchurl stdenv jdk;
|
|
|
|
};
|
|
|
|
|
2008-08-04 16:04:24 +04:00
|
|
|
tomcat_mysql_jdbc = import ../servers/http/tomcat/jdbc/mysql {
|
|
|
|
inherit stdenv tomcat6 mysql_jdbc;
|
|
|
|
};
|
|
|
|
|
2008-02-04 15:24:41 +03:00
|
|
|
axis2 = import ../servers/http/tomcat/axis2 {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit fetchurl stdenv jdk apacheAnt unzip;
|
2008-02-04 15:24:41 +03:00
|
|
|
};
|
|
|
|
|
2010-04-06 17:27:32 +04:00
|
|
|
virtuoso = makeOverridable (import ../servers/sql/virtuoso) {
|
2010-05-01 11:41:40 +04:00
|
|
|
inherit stdenv fetchurl libxml2 openssl readline gawk;
|
2010-04-06 17:27:32 +04:00
|
|
|
};
|
2010-04-03 21:34:14 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
vsftpd = import ../servers/ftp/vsftpd {
|
2008-01-31 17:08:02 +03:00
|
|
|
inherit fetchurl openssl stdenv libcap pam;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-02-27 02:45:19 +03:00
|
|
|
|
2009-08-20 00:19:17 +04:00
|
|
|
xinetd = import ../servers/xinetd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-08 21:02:48 +04:00
|
|
|
xorg = recurseIntoAttrs (import ../servers/x11/xorg/default.nix {
|
2009-07-11 14:32:27 +04:00
|
|
|
inherit fetchurl fetchsvn stdenv pkgconfig freetype fontconfig
|
2010-01-13 15:43:17 +03:00
|
|
|
libxslt expat libdrm libpng zlib perl mesa
|
2009-07-11 14:32:27 +04:00
|
|
|
xkeyboard_config dbus hal libuuid openssl gperf m4
|
2010-02-18 04:49:53 +03:00
|
|
|
automake autoconf libtool xmlto asciidoc;
|
2009-04-30 12:29:29 +04: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-31 01:02:04 +03:00
|
|
|
});
|
2007-12-01 08:56:58 +03:00
|
|
|
|
2008-10-25 11:19:07 +04:00
|
|
|
xorgReplacements = composedArgsAndFun (import ../servers/x11/xorg/replacements.nix) {
|
|
|
|
inherit fetchurl stdenv automake autoconf libtool xorg composedArgsAndFun;
|
|
|
|
};
|
|
|
|
|
2009-11-06 00:34:31 +03: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 17:20:28 +03:00
|
|
|
zabbix = recurseIntoAttrs (import ../servers/monitoring/zabbix {
|
|
|
|
inherit fetchurl stdenv pkgconfig postgresql curl openssl zlib;
|
|
|
|
});
|
2008-06-04 01:59:35 +04:00
|
|
|
|
2007-11-11 19:15:29 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### OS-SPECIFIC
|
2007-12-06 00:25:47 +03:00
|
|
|
|
2009-12-21 11:55:27 +03:00
|
|
|
afuse = import ../os-specific/linux/afuse {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig fuse;
|
|
|
|
};
|
|
|
|
|
2009-04-30 06:37:00 +04:00
|
|
|
autofs5 = import ../os-specific/linux/autofs/autofs-v5.nix {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit sourceFromHead fetchurl stdenv flex bison linuxHeaders;
|
2009-04-30 06:37:00 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
_915resolution = import ../os-specific/linux/915resolution {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-01-12 00:55:29 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
nfsUtils = import ../os-specific/linux/nfs-utils {
|
2010-04-27 13:43:22 +04:00
|
|
|
inherit fetchurl stdenv tcpWrapper utillinuxng libcap;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-03-08 18:44:23 +03:00
|
|
|
|
2008-02-21 23:13:36 +03:00
|
|
|
acpi = import ../os-specific/linux/acpi {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-02-11 02:12:18 +03:00
|
|
|
acpid = import ../os-specific/linux/acpid {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-21 22:57:40 +03:00
|
|
|
acpitool = import ../os-specific/linux/acpitool {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-21 13:56:02 +04:00
|
|
|
alsaLib = import ../os-specific/linux/alsa-lib {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2009-05-18 17:53:01 +04:00
|
|
|
|
2009-09-21 01:54:23 +04:00
|
|
|
alsaPlugins = import ../os-specific/linux/alsa-plugins {
|
2009-09-21 19:55:26 +04:00
|
|
|
inherit fetchurl stdenv lib pkgconfig alsaLib pulseaudio jackaudio;
|
|
|
|
};
|
|
|
|
alsaPluginWrapper = import ../os-specific/linux/alsa-plugins/wrapper.nix {
|
|
|
|
inherit stdenv alsaPlugins writeScriptBin;
|
2009-09-21 01:54:23 +04:00
|
|
|
};
|
|
|
|
|
2009-04-21 13:56:02 +04:00
|
|
|
alsaUtils = import ../os-specific/linux/alsa-utils {
|
|
|
|
inherit stdenv fetchurl alsaLib gettext ncurses;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2008-02-22 06:06:12 +03:00
|
|
|
|
2009-08-06 00:29:36 +04:00
|
|
|
bluez = import ../os-specific/linux/bluez {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus libusb alsaLib glib;
|
2009-08-06 00:29:36 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
bridge_utils = import ../os-specific/linux/bridge_utils {
|
|
|
|
inherit fetchurl stdenv autoconf automake;
|
|
|
|
};
|
2004-01-21 12:34:19 +03:00
|
|
|
|
2010-05-27 23:33:58 +04:00
|
|
|
conky = import ../os-specific/linux/conky {
|
|
|
|
inherit stdenv fetchurl pkgconfig libxml2 curl wirelesstools openssl;
|
|
|
|
inherit (gtkLibs) glib;
|
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
cpufrequtils = (
|
2009-08-25 10:36:05 +04:00
|
|
|
import ../os-specific/linux/cpufrequtils {
|
2009-01-13 00:12:07 +03:00
|
|
|
inherit fetchurl stdenv libtool gettext;
|
|
|
|
glibc = stdenv.gcc.libc;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = stdenv.gcc.libc.kernelHeaders;
|
2009-08-25 10:36:05 +04:00
|
|
|
});
|
2009-01-13 00:12:07 +03:00
|
|
|
|
2008-11-14 15:34:18 +03:00
|
|
|
cryopid = import ../os-specific/linux/cryopid {
|
|
|
|
inherit fetchurl stdenv zlibStatic;
|
|
|
|
};
|
|
|
|
|
2009-03-01 14:11:21 +03:00
|
|
|
cryptsetup = import ../os-specific/linux/cryptsetup {
|
2009-09-20 13:22:02 +04:00
|
|
|
inherit stdenv fetchurl libuuid popt devicemapper udev;
|
2009-03-01 14:11:21 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cramfsswap = import ../os-specific/linux/cramfsswap {
|
|
|
|
inherit fetchurl stdenv zlib;
|
|
|
|
};
|
2004-01-21 12:34:19 +03:00
|
|
|
|
2009-12-04 18:39:49 +03:00
|
|
|
darwinArchUtility = import ../os-specific/darwin/arch {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
darwinSwVersUtility = import ../os-specific/darwin/sw_vers {
|
|
|
|
inherit stdenv;
|
2009-09-22 12:12:11 +04:00
|
|
|
};
|
|
|
|
|
2010-04-29 18:56:44 +04:00
|
|
|
darwinLipoUtility = import ../os-specific/darwin/lipo {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-07 19:14:10 +03:00
|
|
|
devicemapper = lvm2;
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-08-12 00:43:39 +04:00
|
|
|
dmidecode = import ../os-specific/linux/dmidecode {
|
|
|
|
inherit fetchurl stdenv;
|
2008-01-08 03:18:20 +03:00
|
|
|
};
|
|
|
|
|
2010-02-04 18:41:45 +03:00
|
|
|
dmtcp = import ../os-specific/linux/dmtcp {
|
|
|
|
inherit fetchurl stdenv perl python;
|
|
|
|
};
|
|
|
|
|
2010-02-13 14:02:08 +03:00
|
|
|
dmtcp_devel = import ../os-specific/linux/dmtcp/devel.nix {
|
|
|
|
inherit fetchsvn stdenv perl python;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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 18:32:20 +03:00
|
|
|
stdenv = if stdenv.system == "powerpc-linux" then overrideGCC stdenv gcc34 else stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-11-06 00:08:53 +03:00
|
|
|
directvnc = builderDefsPackage ../os-specific/linux/directvnc {
|
|
|
|
inherit libjpeg pkgconfig zlib directfb;
|
|
|
|
inherit (xlibs) xproto;
|
|
|
|
};
|
|
|
|
|
2009-09-20 12:38:30 +04:00
|
|
|
dmraid = builderDefsPackage ../os-specific/linux/dmraid {
|
|
|
|
inherit devicemapper;
|
|
|
|
};
|
|
|
|
|
2009-12-03 01:19:49 +03:00
|
|
|
libuuid = if ! stdenv.isDarwin then utillinuxng else null;
|
2009-03-25 13:55:28 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
e3cfsprogs = import ../os-specific/linux/e3cfsprogs {
|
|
|
|
inherit stdenv fetchurl gettext;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
eject = import ../os-specific/linux/eject {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-12-08 15:44:42 +03:00
|
|
|
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
2009-10-28 02:49:59 +03:00
|
|
|
inherit fontconfig gpm freetype pkgconfig ncurses;
|
2008-12-08 15:44:42 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
fuse = import ../os-specific/linux/fuse {
|
|
|
|
inherit fetchurl stdenv utillinux;
|
|
|
|
};
|
2003-11-05 15:17:48 +03:00
|
|
|
|
2008-02-03 17:43:19 +03:00
|
|
|
fxload = import ../os-specific/linux/fxload {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
gpm = import ../servers/gpm {
|
2009-11-18 15:47:58 +03:00
|
|
|
inherit fetchurl stdenv ncurses bison;
|
2008-05-21 17:27:41 +04:00
|
|
|
flex = flex2535;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-21 17:27:41 +04:00
|
|
|
|
2009-10-06 09:43:51 +04:00
|
|
|
hal = makeOverridable (import ../os-specific/linux/hal) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig python pciutils usbutils expat
|
2009-08-12 02:23:30 +04:00
|
|
|
libusb dbus dbus_glib libuuid perl perlXMLParser
|
2009-09-26 03:05:53 +04:00
|
|
|
gettext zlib eject libsmbios udev gperf dmidecode utillinuxng
|
2009-10-29 14:43:02 +03:00
|
|
|
consolekit policykit pmutils glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-06 00:25:47 +03:00
|
|
|
|
2009-09-10 20:57:53 +04:00
|
|
|
halevt = import ../os-specific/linux/hal/hal-evt.nix {
|
|
|
|
inherit fetchurl stdenv lib libxml2 pkgconfig boolstuff hal dbus_glib;
|
|
|
|
};
|
|
|
|
|
2009-04-29 01:59:09 +04:00
|
|
|
hal_info = import ../os-specific/linux/hal/info.nix {
|
2009-08-12 01:03:53 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2009-04-29 01:59:09 +04:00
|
|
|
};
|
|
|
|
|
2009-11-09 01:12:55 +03:00
|
|
|
hal_info_synaptics = import ../os-specific/linux/hal/synaptics.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
hdparm = import ../os-specific/linux/hdparm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-04-01 18:02:54 +04:00
|
|
|
|
|
|
|
hibernate = import ../os-specific/linux/hibernate {
|
|
|
|
inherit fetchurl stdenv gawk;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
htop = import ../os-specific/linux/htop {
|
2008-01-29 16:24:40 +03:00
|
|
|
inherit fetchurl stdenv ncurses;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2003-12-04 00:58:16 +03:00
|
|
|
|
2010-05-20 15:54:40 +04:00
|
|
|
hurdCross = forceBuildDrv(import ../os-specific/gnu/hurd {
|
|
|
|
inherit fetchgit stdenv autoconf libtool texinfo machHeaders
|
|
|
|
mig glibcCross;
|
|
|
|
automake = automake111x;
|
|
|
|
headersOnly = false;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
gccCross = gccCrossStageFinal;
|
|
|
|
});
|
|
|
|
|
2010-05-20 01:28:34 +04:00
|
|
|
hurdCrossIntermediate = forceBuildDrv(import ../os-specific/gnu/hurd {
|
|
|
|
inherit fetchgit stdenv autoconf libtool texinfo machHeaders
|
|
|
|
mig glibcCross;
|
|
|
|
automake = automake111x;
|
|
|
|
headersOnly = false;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
|
|
|
|
# The "final" GCC needs glibc and the Hurd libraries (libpthread in
|
|
|
|
# particular) so we first need an intermediate Hurd built with the
|
|
|
|
# intermediate GCC.
|
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
|
|
|
|
# This intermediate Hurd is only needed to build libpthread, which really
|
|
|
|
# only needs libihash.
|
|
|
|
buildTarget = "libihash";
|
|
|
|
installTarget = "libihash-install";
|
|
|
|
});
|
|
|
|
|
2010-05-12 19:46:47 +04:00
|
|
|
hurdHeaders = import ../os-specific/gnu/hurd {
|
2010-05-20 15:54:31 +04:00
|
|
|
inherit fetchgit stdenv autoconf libtool texinfo mig machHeaders;
|
2010-05-12 19:46:47 +04:00
|
|
|
automake = automake111x;
|
|
|
|
headersOnly = true;
|
|
|
|
};
|
|
|
|
|
2010-05-20 01:28:57 +04:00
|
|
|
hurdLibpthreadCross = forceBuildDrv(import ../os-specific/gnu/libpthread {
|
|
|
|
inherit fetchgit stdenv autoconf automake libtool
|
|
|
|
machHeaders hurdHeaders glibcCross;
|
|
|
|
hurd = hurdCrossIntermediate;
|
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
|
|
|
});
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
hwdata = import ../os-specific/linux/hwdata {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-07-17 21:08:38 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ifplugd = import ../os-specific/linux/ifplugd {
|
|
|
|
inherit fetchurl stdenv pkgconfig libdaemon;
|
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
iproute = import ../os-specific/linux/iproute {
|
|
|
|
inherit fetchurl stdenv flex bison db4;
|
|
|
|
};
|
2003-12-04 00:58:16 +03:00
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
iputils = (
|
2009-08-25 10:36:05 +04:00
|
|
|
import ../os-specific/linux/iputils {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
glibc = stdenv.gcc.libc;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = stdenv.gcc.libc.kernelHeaders;
|
2009-08-25 10:36:05 +04:00
|
|
|
});
|
2007-10-01 19:14:50 +04:00
|
|
|
|
2008-08-15 13:49:43 +04:00
|
|
|
iptables = import ../os-specific/linux/iptables {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2003-12-04 00:58:16 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ipw2200fw = import ../os-specific/linux/firmware/ipw2200 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2003-12-04 00:58:16 +03:00
|
|
|
|
2009-12-26 19:22:51 +03:00
|
|
|
iwlwifi1000ucode = import ../os-specific/linux/firmware/iwlwifi-1000-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-01-13 01:38:37 +03:00
|
|
|
iwlwifi3945ucode = import ../os-specific/linux/firmware/iwlwifi-3945-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-11-26 16:15:38 +03: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 19:15:51 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-29 18:50:59 +04:00
|
|
|
iwlwifi5000ucode = import ../os-specific/linux/firmware/iwlwifi-5000-ucode {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
kbd = import ../os-specific/linux/kbd {
|
2010-01-18 13:19:11 +03:00
|
|
|
inherit fetchurl stdenv bison flex autoconf automake;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-08-09 21:33:18 +04:00
|
|
|
|
2010-01-20 13:56:40 +03:00
|
|
|
linuxHeaders = linuxHeaders_2_6_28;
|
2006-06-29 16:41:25 +04:00
|
|
|
|
2010-03-10 23:44:48 +03:00
|
|
|
linuxHeaders26Cross = forceBuildDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
2010-03-07 02:36:55 +03:00
|
|
|
inherit stdenv fetchurl perl;
|
2010-03-07 03:05:51 +03: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 22:51:45 +03: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 11:11:30 +03:00
|
|
|
|
2010-03-10 23:44:48 +03: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 17:04:45 +03:00
|
|
|
linuxHeaders_2_6_18 = import ../os-specific/linux/kernel-headers/2.6.18.5.nix {
|
2008-10-06 17:18:02 +04:00
|
|
|
inherit fetchurl stdenv unifdef;
|
|
|
|
};
|
|
|
|
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders_2_6_28 = import ../os-specific/linux/kernel-headers/2.6.28.nix {
|
2009-01-13 15:40:58 +03:00
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2010-01-19 21:02:37 +03:00
|
|
|
linuxHeaders_2_6_32 = import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
};
|
|
|
|
|
2009-12-14 18:28:55 +03:00
|
|
|
kernelPatches = import ../os-specific/linux/kernel/patches.nix {
|
|
|
|
inherit fetchurl;
|
2009-11-01 20:17:40 +03:00
|
|
|
};
|
2009-01-15 18:54:24 +03:00
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
linux_2_6_25 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.25.nix) {
|
2008-08-07 18:57:10 +04:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2009-12-14 22:08:20 +03:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_25
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-08-28 10:29:21 +04:00
|
|
|
};
|
2008-08-07 18:57:10 +04:00
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
linux_2_6_27 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.27.nix) {
|
2008-10-29 15:34:54 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2009-12-14 18:28:55 +03:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_27
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-08-28 10:29:21 +04:00
|
|
|
};
|
2008-10-29 15:34:54 +03:00
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
linux_2_6_28 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.28.nix) {
|
2009-01-12 16:11:18 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2009-12-14 18:28:55 +03:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_28
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
2009-12-14 21:34:46 +03:00
|
|
|
kernelPatches.ext4_softlockups_2_6_28
|
2009-12-14 18:28:55 +03:00
|
|
|
];
|
2009-09-02 01:56:46 +04:00
|
|
|
};
|
2009-01-12 16:11:18 +03:00
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
linux_2_6_29 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.29.nix) {
|
2009-06-07 03:09:38 +04:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2009-12-14 18:28:55 +03:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_29
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-11-01 20:17:40 +03:00
|
|
|
};
|
2009-06-07 03:09:38 +04:00
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
linux_2_6_31 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31.nix) {
|
2009-11-08 03:32:12 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools platform;
|
2009-09-12 11:13:20 +04:00
|
|
|
kernelPatches = [];
|
|
|
|
};
|
|
|
|
|
2010-01-14 17:49:31 +03: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 20:35:47 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
2009-12-14 18:28:55 +03:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_31
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
2009-09-11 17:16:18 +04:00
|
|
|
};
|
|
|
|
|
2010-05-05 23:48:46 +04:00
|
|
|
linux_2_6_32_systemtap = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.32.nix) {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
|
|
|
systemtap = true;
|
2010-05-05 23:48:52 +04:00
|
|
|
dontStrip = true;
|
2010-05-05 23:48:46 +04:00
|
|
|
kernelPatches =
|
|
|
|
[ kernelPatches.fbcondecor_2_6_31
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
kernelPatches.tracehook_2_6_32
|
|
|
|
kernelPatches.utrace_2_6_32
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2010-01-14 17:49:31 +03:00
|
|
|
linux_2_6_32_zen4 = makeOverridable (import ../os-specific/linux/zen-kernel/2.6.32-zen4.nix) {
|
2010-01-13 18:46:38 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools runCommand xz;
|
2009-11-06 02:32:48 +03:00
|
|
|
};
|
|
|
|
|
2010-01-14 17:49:31 +03:00
|
|
|
linux_2_6_32_zen4_oldi686 = linux_2_6_32_zen4.override {
|
2010-01-13 18:46:38 +03:00
|
|
|
features = {
|
|
|
|
oldI686 = true;
|
|
|
|
};
|
2009-11-06 02:32:48 +03:00
|
|
|
};
|
|
|
|
|
2010-01-14 17:49:31 +03:00
|
|
|
linux_2_6_32_zen4_bfs = linux_2_6_32_zen4.override {
|
2010-01-13 18:46:38 +03:00
|
|
|
features = {
|
|
|
|
ckSched = true;
|
|
|
|
};
|
2009-12-14 13:15:52 +03:00
|
|
|
};
|
|
|
|
|
2010-02-25 15:40:03 +03: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 20:35:47 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
2010-02-25 15:40:03 +03:00
|
|
|
kernelPatches =
|
2010-02-25 17:15:42 +03:00
|
|
|
[ kernelPatches.fbcondecor_2_6_33
|
2010-02-25 15:40:03 +03:00
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2010-03-17 09:42:21 +03: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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-05-27 23:44:23 +04:00
|
|
|
linux_2_6_34 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.34.nix) {
|
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
|
|
|
|
kernelPatches =
|
|
|
|
[ /*kernelPatches.fbcondecor_2_6_33*/
|
|
|
|
kernelPatches.sec_perm_2_6_24
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
/* Linux kernel modules are inherently tied to a specific kernel. So
|
2008-05-22 16:01:24 +04: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-19 02:48:34 +04:00
|
|
|
|
2009-12-21 17:12:00 +03:00
|
|
|
linuxPackagesFor = kernel: rec {
|
2008-05-22 16:01:24 +04:00
|
|
|
|
|
|
|
inherit kernel;
|
|
|
|
|
2010-05-18 23:36:55 +04:00
|
|
|
ati_drivers_x11 = import ../os-specific/linux/ati-drivers {
|
|
|
|
inherit stdenv fetchurl kernel xlibs which mesa xorg makeWrapper
|
|
|
|
patchelf glibc;
|
|
|
|
inherit (xorg) imake libXxf86vm xf86vidmodeproto;
|
|
|
|
};
|
|
|
|
|
2008-05-22 16:01:24 +04:00
|
|
|
aufs = import ../os-specific/linux/aufs {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
2009-09-14 18:23:22 +04:00
|
|
|
# Currently it is broken
|
|
|
|
# Build requires exporting some symbols from kernel
|
2009-09-23 00:16:38 +04:00
|
|
|
# Go to package homepage to learn about the needed
|
2009-09-14 18:23:22 +04:00
|
|
|
# patch. Feel free to take over the package.
|
2009-09-08 13:35:21 +04:00
|
|
|
aufs2 = import ../os-specific/linux/aufs2 {
|
2009-09-13 14:25:58 +04:00
|
|
|
inherit fetchgit stdenv kernel perl;
|
2009-09-08 13:35:21 +04:00
|
|
|
};
|
|
|
|
|
2009-09-16 17:54:11 +04:00
|
|
|
aufs2Utils = if lib.attrByPath ["features" "aufs"] false kernel then
|
2009-09-15 14:28:40 +04:00
|
|
|
builderDefsPackage ../os-specific/linux/aufs2-utils {
|
|
|
|
inherit kernel;
|
2009-09-23 00:16:38 +04:00
|
|
|
}
|
2009-09-15 14:28:40 +04:00
|
|
|
else null;
|
2009-09-15 11:58:44 +04:00
|
|
|
|
2010-04-15 16:08:08 +04:00
|
|
|
blcr = import ../os-specific/linux/blcr/0.8.2.nix {
|
|
|
|
inherit fetchurl stdenv kernel perl makeWrapper;
|
|
|
|
};
|
|
|
|
|
2008-09-13 00:00:00 +04:00
|
|
|
exmap = import ../os-specific/linux/exmap {
|
|
|
|
inherit fetchurl stdenv kernel boost pcre pkgconfig;
|
|
|
|
inherit (gtkLibs) gtkmm;
|
|
|
|
};
|
|
|
|
|
2008-05-22 16:01:24 +04:00
|
|
|
iwlwifi = import ../os-specific/linux/iwlwifi {
|
|
|
|
inherit fetchurl stdenv kernel;
|
|
|
|
};
|
|
|
|
|
2008-11-26 16:15:38 +03: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 12:39:59 +03:00
|
|
|
atheros = composedArgsAndFun (import ../os-specific/linux/atheros/0.9.4.nix) {
|
2008-06-03 11:41:52 +04:00
|
|
|
inherit fetchurl stdenv builderDefs kernel lib;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-22 23:29:23 +04:00
|
|
|
|
2009-03-30 18:54:06 +04:00
|
|
|
nvidia_x11 = import ../os-specific/linux/nvidia-x11 {
|
2009-12-18 14:36:36 +03:00
|
|
|
inherit stdenv fetchurl kernel xlibs gtkLibs zlib perl;
|
2008-05-22 16:01:24 +04:00
|
|
|
};
|
|
|
|
|
2009-09-20 02:09:08 +04:00
|
|
|
nvidia_x11_legacy = import ../os-specific/linux/nvidia-x11/legacy.nix {
|
|
|
|
inherit stdenv fetchurl kernel xlibs gtkLibs zlib;
|
|
|
|
};
|
|
|
|
|
2010-02-01 19:27:35 +03:00
|
|
|
openafsClient = import ../servers/openafs-client {
|
|
|
|
inherit stdenv fetchurl autoconf automake flex yacc;
|
|
|
|
inherit kernel glibc ncurses perl krb5;
|
|
|
|
};
|
|
|
|
|
2008-05-22 16:01:24 +04:00
|
|
|
wis_go7007 = import ../os-specific/linux/wis-go7007 {
|
|
|
|
inherit fetchurl stdenv kernel ncurses fxload;
|
|
|
|
};
|
|
|
|
|
2009-11-23 15:21:34 +03:00
|
|
|
kqemu = builderDefsPackage ../os-specific/linux/kqemu/1.4.0pre1.nix {
|
|
|
|
inherit kernel perl;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-22 23:29:23 +04:00
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
splashutils =
|
2010-01-27 17:35:38 +03:00
|
|
|
if kernel.features ? fbConDecor then pkgs.splashutils else null;
|
2008-06-10 20:09:53 +04:00
|
|
|
|
2008-05-22 16:01:24 +04:00
|
|
|
ext3cowtools = import ../os-specific/linux/ext3cow-tools {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
kernel_ext3cowpatched = kernel;
|
|
|
|
};
|
|
|
|
|
2008-06-15 15:39:54 +04: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 21:30:22 +04:00
|
|
|
inherit kernel perl;
|
2008-06-15 15:39:54 +04:00
|
|
|
};
|
|
|
|
|
2008-05-22 16:01:24 +04: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 17:25:07 +04:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl bison;
|
2008-05-22 16:01:24 +04:00
|
|
|
inherit libtool automake autoconf docbook5 docbook5_xsl libxslt docbook_xml_dtd_43 w3m;
|
|
|
|
|
2009-12-10 17:50:50 +03:00
|
|
|
aterm = aterm25;
|
2008-05-22 16:01:24 +04:00
|
|
|
db4 = db45;
|
|
|
|
|
|
|
|
flex = flex2533;
|
|
|
|
|
|
|
|
inherit ext3cowtools e3cfsprogs rsync;
|
|
|
|
ext3cow_kernel = kernel;
|
|
|
|
};
|
|
|
|
|
2008-09-05 11:26:37 +04:00
|
|
|
sysprof = import ../development/tools/profiling/sysprof {
|
|
|
|
inherit fetchurl stdenv binutils pkgconfig kernel;
|
|
|
|
inherit (gnome) gtk glib pango libglade;
|
|
|
|
};
|
2009-01-25 23:09:17 +03:00
|
|
|
|
2010-05-04 17:32:09 +04:00
|
|
|
systemtap = import ../development/tools/profiling/systemtap {
|
|
|
|
inherit fetchurl stdenv elfutils latex2html xmlto pkgconfig boost
|
|
|
|
texLive texLiveExtra ghostscript perl docbook_xml_dtd_412 libxml2
|
|
|
|
docbook_xsl libxslt sqlite;
|
|
|
|
linux = kernel;
|
|
|
|
inherit (gnome) gtkmm libglademm;
|
|
|
|
};
|
|
|
|
|
2009-04-15 18:34:02 +04:00
|
|
|
virtualbox = import ../applications/virtualization/virtualbox {
|
2009-04-15 16:37:57 +04:00
|
|
|
stdenv = stdenv_32bit;
|
2009-10-08 16:57:05 +04:00
|
|
|
inherit fetchurl lib iasl dev86 libxslt libxml2 SDL hal
|
2010-03-05 15:00:37 +03:00
|
|
|
libcap libpng zlib kernel python which alsaLib curl glib qt4;
|
2009-01-25 23:09:17 +03:00
|
|
|
inherit (xlibs) xproto libX11 libXext libXcursor;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
};
|
2009-11-03 18:57:22 +03:00
|
|
|
|
2009-10-13 17:32:00 +04:00
|
|
|
virtualboxGuestAdditions = import ../applications/virtualization/virtualbox/guest-additions {
|
|
|
|
inherit stdenv fetchurl lib patchelf cdrkit kernel;
|
2009-10-14 01:19:07 +04:00
|
|
|
inherit (xlibs) libX11 libXt libXext libXmu libXcomposite libXfixes;
|
2009-10-13 17:32:00 +04:00
|
|
|
};
|
2008-05-22 16:01:24 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
# Build the kernel modules for the some of the kernels.
|
2009-12-21 17:12:00 +03: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-05-05 23:48:46 +04:00
|
|
|
linuxPackages_2_6_32_systemtap =
|
|
|
|
recurseIntoAttrs (linuxPackagesFor linux_2_6_32_systemtap);
|
2010-02-25 15:40:03 +03:00
|
|
|
linuxPackages_2_6_33 = recurseIntoAttrs (linuxPackagesFor linux_2_6_33);
|
2010-05-27 23:44:23 +04:00
|
|
|
linuxPackages_2_6_34 = recurseIntoAttrs (linuxPackagesFor linux_2_6_34);
|
2009-12-21 17:12:00 +03:00
|
|
|
|
2008-05-22 16:01:24 +04:00
|
|
|
# The current default kernel / kernel modules.
|
2010-01-14 17:49:31 +03:00
|
|
|
linux = linux_2_6_32;
|
|
|
|
linuxPackages = linuxPackagesFor linux;
|
2008-05-22 16:01:24 +04:00
|
|
|
|
2009-01-15 18:54:24 +03:00
|
|
|
customKernel = composedArgsAndFun (lib.sumTwoArgs (import ../os-specific/linux/kernel/generic.nix) {
|
2009-01-17 16:40:12 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
2008-08-15 02:04:30 +04:00
|
|
|
});
|
2008-03-24 22:40:15 +03:00
|
|
|
|
2010-01-25 13:34:47 +03:00
|
|
|
keyutils = import ../os-specific/linux/keyutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libselinux = import ../os-specific/linux/libselinux {
|
|
|
|
inherit fetchurl stdenv libsepol;
|
|
|
|
};
|
2008-01-12 04:26:04 +03:00
|
|
|
|
|
|
|
libraw1394 = import ../development/libraries/libraw1394 {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libsexy = import ../development/libraries/libsexy {
|
|
|
|
inherit stdenv fetchurl pkgconfig libxml2;
|
|
|
|
inherit (gtkLibs) glib gtk pango;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-05-20 18:25:09 +04:00
|
|
|
librsvg = gnome.librsvg;
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libsepol = import ../os-specific/linux/libsepol {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libsmbios = import ../os-specific/linux/libsmbios {
|
2009-09-28 19:33:42 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 perl;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2008-09-14 23:05:59 +04:00
|
|
|
lm_sensors = import ../os-specific/linux/lm_sensors {
|
|
|
|
inherit fetchurl stdenv bison flex perl;
|
|
|
|
};
|
|
|
|
|
2009-06-22 18:14:58 +04:00
|
|
|
klibc = makeOverridable (import ../os-specific/linux/klibc) {
|
2009-01-29 18:44:37 +03:00
|
|
|
inherit fetchurl stdenv perl bison mktemp;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-01-29 18:44:37 +03:00
|
|
|
};
|
|
|
|
|
2009-06-25 12:22:51 +04: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 18:44:37 +03:00
|
|
|
inherit fetchurl stdenv perl bison mktemp;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-01-29 18:44:37 +03:00
|
|
|
};
|
|
|
|
|
2009-06-22 18:14:58 +04:00
|
|
|
klibcShrunk = makeOverridable (import ../os-specific/linux/klibc/shrunk.nix) {
|
2009-01-29 18:44:37 +03:00
|
|
|
inherit stdenv klibc;
|
|
|
|
};
|
|
|
|
|
2009-09-23 18:24:37 +04:00
|
|
|
kvm = kvm76;
|
|
|
|
|
|
|
|
kvm76 = import ../os-specific/linux/kvm/76.nix {
|
|
|
|
inherit fetchurl stdenv zlib e2fsprogs SDL alsaLib pkgconfig rsync;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-09-23 18:24:37 +04:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-06-02 19:59:42 +04:00
|
|
|
kvm86 = import ../os-specific/linux/kvm/86.nix {
|
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-01-13 15:40:58 +03:00
|
|
|
};
|
|
|
|
|
2009-11-09 14:55:31 +03:00
|
|
|
kvm88 = import ../os-specific/linux/kvm/88.nix {
|
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils;
|
2009-12-21 17:04:45 +03:00
|
|
|
linuxHeaders = glibc.kernelHeaders;
|
2009-11-09 14:55:31 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libcap = import ../os-specific/linux/libcap {
|
2008-02-29 12:42:12 +03:00
|
|
|
inherit fetchurl stdenv attr;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libnscd = import ../os-specific/linux/libnscd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-08-30 11:39:38 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libnotify = import ../development/libraries/libnotify {
|
|
|
|
inherit stdenv fetchurl pkgconfig dbus dbus_glib;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
2007-10-27 21:55:13 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
libvolume_id = import ../os-specific/linux/libvolume_id {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-05-31 17:43:13 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lvm2 = import ../os-specific/linux/lvm2 {
|
2010-05-15 22:43:10 +04:00
|
|
|
inherit fetchurl stdenv udev;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-10-27 21:55:13 +04:00
|
|
|
|
2010-05-26 12:55:55 +04:00
|
|
|
# In theory GNU Mach doesn't have to be cross-compiled. However, since it
|
|
|
|
# has to be built for i586 (it doesn't work on x86_64), one needs a cross
|
|
|
|
# compiler for that host.
|
|
|
|
mach = import ../os-specific/gnu/mach {
|
|
|
|
inherit fetchgit stdenv autoconf texinfo mig;
|
|
|
|
automake = automake111x;
|
|
|
|
};
|
|
|
|
|
2010-05-12 19:46:38 +04:00
|
|
|
machHeaders = import ../os-specific/gnu/mach {
|
|
|
|
inherit fetchgit stdenv autoconf texinfo;
|
|
|
|
automake = automake111x;
|
|
|
|
headersOnly = true;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mdadm = import ../os-specific/linux/mdadm {
|
|
|
|
inherit fetchurl stdenv groff;
|
|
|
|
};
|
2005-12-19 13:34:01 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mingetty = import ../os-specific/linux/mingetty {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-01-26 17:01:08 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
module_init_tools = import ../os-specific/linux/module-init-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-11 12:45:01 +04:00
|
|
|
|
2008-08-06 19:43:03 +04:00
|
|
|
mount_cifs = import ../os-specific/linux/mount-cifs {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
aggregateModules = modules:
|
2008-03-17 12:41:28 +03:00
|
|
|
import ../os-specific/linux/module-init-tools/aggregator.nix {
|
2009-04-20 23:13:40 +04:00
|
|
|
inherit stdenv module_init_tools modules buildEnv;
|
2008-03-17 12:41:28 +03:00
|
|
|
};
|
2008-01-04 20:02:12 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
modutils = import ../os-specific/linux/modutils {
|
|
|
|
inherit fetchurl bison flex;
|
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
nettools = import ../os-specific/linux/net-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2009-03-04 20:28:25 +03:00
|
|
|
neverball = import ../games/neverball {
|
|
|
|
inherit stdenv fetchurl SDL mesa libpng libjpeg SDL_ttf libvorbis
|
2009-11-06 22:25:45 +03:00
|
|
|
gettext physfs;
|
2009-03-04 20:28:25 +03:00
|
|
|
};
|
|
|
|
|
2008-04-18 18:38:27 +04:00
|
|
|
numactl = import ../os-specific/linux/numactl {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-03-28 18:22:52 +03:00
|
|
|
gw6c = builderDefsPackage (import ../os-specific/linux/gw6c) {
|
2008-04-13 12:23:58 +04:00
|
|
|
inherit fetchurl stdenv nettools openssl procps iproute;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
nss_ldap = import ../os-specific/linux/nss_ldap {
|
|
|
|
inherit fetchurl stdenv openldap;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pam = import ../os-specific/linux/pam {
|
|
|
|
inherit stdenv fetchurl cracklib flex;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-01-03 14:13:05 +03:00
|
|
|
# pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pam_console = import ../os-specific/linux/pam_console {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit stdenv fetchurl pam autoconf automake pkgconfig bison glib;
|
2009-03-30 19:31:47 +04:00
|
|
|
libtool = libtool_1_5;
|
2007-12-31 01:02:04 +03:00
|
|
|
flex = if stdenv.system == "i686-linux" then flex else flex2533;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pam_devperm = import ../os-specific/linux/pam_devperm {
|
|
|
|
inherit stdenv fetchurl pam;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pam_ldap = import ../os-specific/linux/pam_ldap {
|
|
|
|
inherit stdenv fetchurl pam openldap;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pam_login = import ../os-specific/linux/pam_login {
|
|
|
|
inherit stdenv fetchurl pam;
|
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pam_unix2 = import ../os-specific/linux/pam_unix2 {
|
2010-02-04 12:35:51 +03:00
|
|
|
inherit stdenv fetchurl pam libxcrypt;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2010-01-03 14:13:05 +03: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 17:59:33 +04:00
|
|
|
pcmciaUtils = composedArgsAndFun (import ../os-specific/linux/pcmciautils) {
|
2008-07-25 19:54:19 +04:00
|
|
|
inherit stdenv fetchurl udev yacc flex;
|
|
|
|
inherit sysfsutils module_init_tools;
|
|
|
|
|
2008-08-27 17:59:33 +04:00
|
|
|
firmware = getConfig ["pcmciaUtils" "firmware"] [];
|
2008-07-25 19:54:19 +04:00
|
|
|
config = getConfig ["pcmciaUtils" "config"] null;
|
2008-08-27 17:59:33 +04:00
|
|
|
inherit lib;
|
2008-07-25 19:54:19 +04:00
|
|
|
};
|
|
|
|
|
2010-01-03 14:13:05 +03:00
|
|
|
pmount = import ../os-specific/linux/pmount {
|
|
|
|
inherit fetchurl stdenv cryptsetup dbus dbus_glib hal intltool ntfs3g utillinuxng;
|
|
|
|
};
|
|
|
|
|
2009-09-26 01:43:25 +04:00
|
|
|
pmutils = import ../os-specific/linux/pm-utils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
powertop = import ../os-specific/linux/powertop {
|
2009-03-09 16:53:48 +03:00
|
|
|
inherit fetchurl stdenv ncurses gettext;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-12-14 01:15:03 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
procps = import ../os-specific/linux/procps {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
2006-09-11 13:17:28 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
pwdutils = import ../os-specific/linux/pwdutils {
|
2010-04-25 01:02:42 +04:00
|
|
|
inherit fetchurl stdenv pam gnutls libnscd;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2009-08-04 20:02:27 +04:00
|
|
|
qemu_kvm = import ../os-specific/linux/qemu-kvm {
|
2010-02-01 21:44:08 +03:00
|
|
|
inherit fetchurl stdenv zlib SDL alsaLib pkgconfig pciutils libuuid;
|
2009-08-04 20:02:27 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
radeontools = import ../os-specific/linux/radeontools {
|
|
|
|
inherit pciutils;
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 19:38:59 +04:00
|
|
|
|
2010-04-21 15:21:15 +04:00
|
|
|
rfkill = import ../os-specific/linux/rfkill {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-09-19 00:45:10 +04:00
|
|
|
rt73fw = import ../os-specific/linux/firmware/rt73 {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-04-16 16:23:53 +04:00
|
|
|
sdparm = import ../os-specific/linux/sdparm {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-09-11 19:38:59 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
shadowutils = import ../os-specific/linux/shadow {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 19:38:59 +04:00
|
|
|
|
2010-01-27 17:35:38 +03:00
|
|
|
splashutils = import ../os-specific/linux/splashutils/default.nix {
|
2009-01-29 18:56:01 +03:00
|
|
|
inherit fetchurl stdenv klibc;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
libjpeg = libjpegStatic;
|
|
|
|
};
|
|
|
|
|
2009-07-10 01:34:29 +04:00
|
|
|
statifier = builderDefsPackage (import ../os-specific/linux/statifier) {
|
|
|
|
};
|
|
|
|
|
2008-07-25 19:53:23 +04:00
|
|
|
sysfsutils = import ../os-specific/linux/sysfsutils {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Provided with sysfsutils.
|
|
|
|
libsysfs = sysfsutils;
|
|
|
|
systool = sysfsutils;
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
sysklogd = import ../os-specific/linux/sysklogd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2005-09-11 19:38:59 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
syslinux = import ../os-specific/linux/syslinux {
|
|
|
|
inherit fetchurl stdenv nasm perl;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
sysstat = import ../os-specific/linux/sysstat {
|
|
|
|
inherit fetchurl stdenv gettext;
|
|
|
|
};
|
2005-12-20 03:48:38 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
sysvinit = import ../os-specific/linux/sysvinit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
sysvtools = import ../os-specific/linux/sysvinit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
withoutInitTools = true;
|
|
|
|
};
|
|
|
|
|
2008-03-16 01:41:31 +03:00
|
|
|
# FIXME: `tcp-wrapper' is actually not OS-specific.
|
|
|
|
tcpWrapper = import ../os-specific/linux/tcp-wrapper {
|
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-05-17 03:14:37 +04:00
|
|
|
trackballs = import ../games/trackballs {
|
|
|
|
inherit stdenv fetchurl SDL mesa SDL_ttf gettext zlib SDL_mixer SDL_image guile;
|
|
|
|
debug = false;
|
|
|
|
};
|
|
|
|
|
2009-03-02 00:34:39 +03:00
|
|
|
tunctl = import ../os-specific/linux/tunctl {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-02-21 21:59:15 +03: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 20:35:47 +03: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-02 02:22:48 +03:00
|
|
|
inherit fetchurl stdenv unzip;
|
2009-11-08 03:32:12 +03:00
|
|
|
};
|
|
|
|
|
2010-02-18 00:09:27 +03:00
|
|
|
ubootSheevaplug = makeOverridable (import ../misc/uboot/sheevaplug.nix) {
|
2010-02-17 23:53:01 +03:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2010-02-06 02:08:11 +03:00
|
|
|
/*
|
2009-11-08 03:32:12 +03:00
|
|
|
uclibc = import ../os-specific/linux/uclibc {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchurl stdenv linuxHeaders;
|
2009-11-08 03:32:12 +03:00
|
|
|
};
|
2010-02-06 02:08:11 +03:00
|
|
|
*/
|
2009-11-08 03:32:12 +03:00
|
|
|
|
2010-03-09 18:48:25 +03:00
|
|
|
uclibcCross = import ../os-specific/linux/uclibc {
|
2009-12-04 16:35:58 +03:00
|
|
|
inherit fetchurl stdenv;
|
2010-03-09 18:48:25 +03:00
|
|
|
linuxHeaders = linuxHeadersCross;
|
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
cross = assert crossSystem != null; crossSystem;
|
2009-12-04 16:35:58 +03:00
|
|
|
};
|
|
|
|
|
2009-10-06 09:43:51 +04:00
|
|
|
udev = makeOverridable (import ../os-specific/linux/udev) {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv gperf pkgconfig acl libusb usbutils pciutils glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-12-12 16:51:07 +03:00
|
|
|
uml = import ../os-specific/linux/kernel/linux-2.6.29.nix {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
|
|
|
userModeLinux = true;
|
|
|
|
};
|
2007-09-11 23:27:25 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
umlutilities = import ../os-specific/linux/uml-utilities {
|
2009-12-21 17:04:45 +03:00
|
|
|
inherit fetchurl linuxHeaders stdenv readline lib;
|
2008-07-26 05:02:27 +04:00
|
|
|
tunctl = true; mconsole = true;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2005-10-04 18:25:13 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
upstart = import ../os-specific/linux/upstart {
|
2010-02-15 18:55:39 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus libnih;
|
2009-10-30 21:12:28 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
upstartJobControl = import ../os-specific/linux/upstart/jobcontrol.nix {
|
|
|
|
inherit stdenv;
|
|
|
|
};
|
2007-07-02 00:11:32 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
usbutils = import ../os-specific/linux/usbutils {
|
2009-08-12 00:48:56 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libusb;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-11-11 19:52:29 +03:00
|
|
|
|
2009-03-31 13:26:47 +04:00
|
|
|
utillinux = utillinuxng;
|
2007-12-12 01:58:44 +03:00
|
|
|
|
2009-03-31 13:26:47 +04:00
|
|
|
utillinuxCurses = utillinuxngCurses;
|
2007-03-17 16:29:15 +03:00
|
|
|
|
2009-03-31 13:26:47 +04:00
|
|
|
utillinuxng = makeOverridable (import ../os-specific/linux/util-linux-ng) {
|
2009-12-10 18:05:26 +03:00
|
|
|
inherit fetchurl stdenv;
|
2009-01-06 12:28:45 +03:00
|
|
|
};
|
|
|
|
|
2009-03-31 13:26:47 +04:00
|
|
|
utillinuxngCurses = utillinuxng.override {
|
|
|
|
inherit ncurses;
|
2009-01-07 02:22:29 +03:00
|
|
|
};
|
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
windows = rec {
|
|
|
|
w32api = makeOverridable (import ../os-specific/windows/w32api) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
gccCross = gccCrossStageStatic;
|
|
|
|
binutilsCross = binutilsCross;
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
w32api_headers = w32api.override {
|
|
|
|
onlyHeaders = true;
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
mingw_runtime = makeOverridable (import ../os-specific/windows/mingwrt) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
gccCross = gccCrossMingw2;
|
|
|
|
binutilsCross = binutilsCross;
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
mingw_runtime_headers = mingw_runtime.override {
|
|
|
|
onlyHeaders = true;
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
mingw_headers1 = buildEnv {
|
|
|
|
name = "mingw-headers-1";
|
|
|
|
paths = [ w32api_headers mingw_runtime_headers ];
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
mingw_headers2 = buildEnv {
|
|
|
|
name = "mingw-headers-2";
|
|
|
|
paths = [ w32api mingw_runtime_headers ];
|
|
|
|
};
|
|
|
|
|
|
|
|
mingw_headers3 = buildEnv {
|
|
|
|
name = "mingw-headers-3";
|
|
|
|
paths = [ w32api mingw_runtime ];
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
|
2010-05-06 23:19:22 +04:00
|
|
|
wxMSW = makeOverridable (import ../os-specific/windows/wxMSW-2.8) {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2010-05-06 22:22:51 +04:00
|
|
|
};
|
|
|
|
|
2008-02-07 00:26:17 +03:00
|
|
|
wesnoth = import ../games/wesnoth {
|
2009-12-25 23:56:37 +03:00
|
|
|
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_net SDL_ttf
|
|
|
|
gettext zlib boost freetype libpng pkgconfig;
|
|
|
|
inherit (gtkLibs) pango;
|
2008-02-07 00:26:17 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
wirelesstools = import ../os-specific/linux/wireless-tools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2010-04-27 08:38:41 +04:00
|
|
|
wpa_supplicant = makeOverridable (import ../os-specific/linux/wpa_supplicant) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv openssl;
|
2010-04-27 08:38:41 +04:00
|
|
|
inherit qt4;
|
|
|
|
guiSupport = false;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2010-04-27 08:38:41 +04:00
|
|
|
# prebuild binaries:
|
|
|
|
wpa_supplicant_gui = wpa_supplicant.override { guiSupport = true; };
|
2007-07-17 23:29:53 +04:00
|
|
|
|
2010-04-27 08:38:41 +04:00
|
|
|
# deprecated, but contains icon ? Does no longer build
|
|
|
|
/* didn't build Sun Apr 25 20:34:18 CEST 2010
|
|
|
|
wpa_supplicant_gui_qt4_old = import ../os-specific/linux/wpa_supplicant/gui-qt4.nix {
|
2009-05-13 14:56:53 +04:00
|
|
|
inherit fetchurl stdenv qt4 imagemagick inkscape;
|
2009-05-12 22:52:48 +04:00
|
|
|
};
|
2010-04-27 08:38:41 +04:00
|
|
|
*/
|
2009-05-12 22:52:48 +04:00
|
|
|
|
2010-04-12 02:42:28 +04: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 19:50:05 +03: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-31 01:02:04 +03:00
|
|
|
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
|
|
|
|
inherit stdenv xlibs expat libdrm;
|
|
|
|
};
|
2007-08-20 17:48:56 +04:00
|
|
|
|
2008-02-20 11:53:42 +03:00
|
|
|
zd1211fw = import ../os-specific/linux/firmware/zd1211 {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
2005-05-27 00:09:29 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
### DATA
|
2005-08-30 11:39:38 +04:00
|
|
|
|
2008-07-05 09:26:58 +04:00
|
|
|
arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) {
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2006-09-15 19:28:53 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
bakoma_ttf = import ../data/fonts/bakoma-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-20 17:10:26 +03:00
|
|
|
cacert = import ../data/misc/cacert {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
corefonts = import ../data/fonts/corefonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
2007-12-06 00:25:47 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
wrapFonts = paths : ((import ../data/fonts/fontWrap) {
|
2008-03-02 22:19:34 +03:00
|
|
|
inherit fetchurl stdenv builderDefs paths ttmkfdir;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
});
|
2007-11-22 07:23:27 +03:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
clearlyU = composedArgsAndFun (import ../data/fonts/clearlyU/1.9.nix) {
|
2008-03-02 21:41:32 +03:00
|
|
|
inherit builderDefs;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
};
|
|
|
|
|
|
|
|
dejavu_fonts = import ../data/fonts/dejavu-fonts {
|
2009-04-20 16:08:09 +04:00
|
|
|
inherit fetchurl stdenv fontforge perl fontconfig;
|
2009-04-20 16:49:35 +04:00
|
|
|
inherit (perlPackages) FontTTF;
|
2008-03-02 21:41:32 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
docbook5 = import ../data/sgml+xml/schemas/docbook-5.0 {
|
2008-06-11 19:39:04 +04:00
|
|
|
inherit fetchurl stdenv unzip;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2007-11-22 07:23:27 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
docbook_xml_dtd_412 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.1.2.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-09-03 16:10:57 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
docbook_xml_dtd_42 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.2.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2005-10-22 15:51:30 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
docbook_xml_dtd_43 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.3.nix {
|
2007-12-14 01:15:03 +03:00
|
|
|
inherit fetchurl stdenv unzip;
|
2007-03-05 16:44:27 +03:00
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-11-03 18:57:27 +03:00
|
|
|
docbook_xml_dtd_45 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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 19:02:56 +04:00
|
|
|
docbook_xsl = import ../data/sgml+xml/stylesheets/xslt/docbook-xsl {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-14 19:02:56 +04:00
|
|
|
docbook5_xsl = docbook_xsl_ns;
|
|
|
|
|
|
|
|
docbook_xsl_ns = import ../data/sgml+xml/stylesheets/xslt/docbook-xsl-ns {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
junicode = composedArgsAndFun (import ../data/fonts/junicode/0.6.15.nix) {
|
2008-03-03 01:02:28 +03:00
|
|
|
inherit builderDefs fontforge unzip;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
freefont_ttf = import ../data/fonts/freefont-ttf {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 21:41:32 +03:00
|
|
|
liberation_ttf = import ../data/fonts/redhat-liberation-fonts {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
libertine = builderDefsPackage (import ../data/fonts/libertine/2.7.nix) {
|
2008-04-28 14:10:44 +04:00
|
|
|
inherit fontforge;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2009-11-18 12:39:59 +03:00
|
|
|
libertineBin = builderDefsPackage (import ../data/fonts/libertine/2.7.bin.nix) {
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-04-28 14:10:44 +04:00
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
lmodern = import ../data/fonts/lmodern {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-26 19:23:46 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
manpages = import ../data/documentation/man-pages {
|
2009-01-12 16:11:18 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-10-27 02:03:36 +03:00
|
|
|
miscfiles = import ../data/misc/miscfiles {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 21:41:32 +03:00
|
|
|
mph_2b_damase = import ../data/fonts/mph-2b-damase {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2009-04-02 18:30:34 +04:00
|
|
|
pthreadmanpages = lowPrio (import ../data/documentation/pthread-man-pages {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
});
|
|
|
|
|
2009-02-16 17:57:35 +03:00
|
|
|
shared_mime_info = import ../data/misc/shared-mime-info {
|
2009-03-23 23:31:12 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext
|
2009-10-29 14:43:02 +03:00
|
|
|
intltool perl perlXMLParser libxml2 glib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2010-03-16 15:13:40 +03:00
|
|
|
|
2010-02-10 19:01:55 +03:00
|
|
|
shared_desktop_ontologies = import ../data/misc/shared-desktop-ontologies {
|
|
|
|
inherit stdenv fetchurl cmake;
|
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-03-30 12:14:19 +04:00
|
|
|
stdmanpages = import ../data/documentation/std-man-pages {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
iana_etc = import ../data/misc/iana-etc {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-07-18 11:45:48 +04:00
|
|
|
popplerData = import ../data/misc/poppler-data {
|
2008-01-29 16:24:40 +03:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2008-03-27 17:40:08 +03: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-09 01:21:32 +03:00
|
|
|
themes = name: import (../data/misc/themes + ("/" + name + ".nix")) {
|
|
|
|
inherit fetchurl;
|
|
|
|
};
|
|
|
|
|
2010-02-07 01:28:39 +03:00
|
|
|
terminus_font = import ../data/fonts/terminus-font {
|
|
|
|
inherit fetchurl stdenv perl;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale bdftopcf;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
ttf_bitstream_vera = import ../data/fonts/ttf-bitstream-vera {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-03-02 22:19:34 +03:00
|
|
|
ucsFonts = import ../data/fonts/ucs-fonts {
|
|
|
|
inherit fetchurl stdenv wrapFonts;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
unifont = import ../data/fonts/unifont {
|
2008-03-02 21:41:32 +03:00
|
|
|
inherit debPackage perl;
|
|
|
|
inherit (xorg) mkfontdir mkfontscale bdftopcf fontutil;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
vistafonts = import ../data/fonts/vista-fonts {
|
|
|
|
inherit fetchurl stdenv cabextract;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
wqy_zenhei = composedArgsAndFun (import ../data/fonts/wqy_zenhei/0.4.23-1.nix) {
|
2008-03-02 21:41:32 +03:00
|
|
|
inherit builderDefs;
|
|
|
|
};
|
|
|
|
|
2009-09-16 16:25:22 +04:00
|
|
|
xhtml1 = import ../data/sgml+xml/schemas/xml-dtd/xhtml1 {
|
|
|
|
inherit fetchurl stdenv libxml2;
|
|
|
|
};
|
|
|
|
|
2008-10-09 16:12:58 +04:00
|
|
|
xkeyboard_config = import ../data/misc/xkeyboard-config {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser gettext intltool;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) xkbcomp;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
### APPLICATIONS
|
|
|
|
|
|
|
|
|
|
|
|
aangifte2005 = import ../applications/taxes/aangifte-2005 {
|
2010-03-25 22:40:19 +03:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
aangifte2006 = import ../applications/taxes/aangifte-2006 {
|
2010-03-25 22:40:19 +03:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2008-03-16 00:45:57 +03:00
|
|
|
aangifte2007 = import ../applications/taxes/aangifte-2007 {
|
2010-03-25 22:40:19 +03:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
2008-03-16 00:45:57 +03:00
|
|
|
};
|
|
|
|
|
2009-03-24 12:00:34 +03:00
|
|
|
aangifte2008 = import ../applications/taxes/aangifte-2008 {
|
2010-03-25 22:40:19 +03:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
|
|
|
};
|
|
|
|
|
|
|
|
aangifte2009 = import ../applications/taxes/aangifte-2009 {
|
2010-03-25 23:39:01 +03:00
|
|
|
inherit (pkgsi686Linux) stdenv fetchurl makeWrapper xdg_utils;
|
2010-03-25 22:40:19 +03:00
|
|
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
2008-03-16 00:45:57 +03:00
|
|
|
};
|
|
|
|
|
2008-05-27 00:54:34 +04:00
|
|
|
abcde = import ../applications/audio/abcde {
|
|
|
|
inherit fetchurl stdenv libcdio cddiscid wget bash vorbisTools
|
|
|
|
makeWrapper;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
abiword = import ../applications/office/abiword {
|
2009-12-25 18:45:06 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig fribidi libpng popt libgsf enchant wv librsvg bzip2;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
2009-12-25 18:45:06 +03:00
|
|
|
inherit (gnome) libglade libgnomecanvas;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-10-14 17:08:04 +04:00
|
|
|
adobeReader = import ../applications/misc/adobe-reader {
|
|
|
|
inherit fetchurl stdenv zlib libxml2 cups;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
|
|
|
|
amsn = import ../applications/networking/instant-messengers/amsn {
|
|
|
|
inherit fetchurl stdenv which tcl tk x11;
|
|
|
|
libstdcpp = gcc33.gcc;
|
|
|
|
};
|
|
|
|
|
2009-09-21 13:58:41 +04: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 19:32:37 +04:00
|
|
|
inherit (gnome) libgnomecanvas;
|
2009-09-21 13:58:41 +04:00
|
|
|
};
|
|
|
|
|
2010-04-16 23:26:15 +04:00
|
|
|
audacious = import ../applications/audio/audacious {
|
|
|
|
inherit fetchurl stdenv gettext pkgconfig libmowgli libmcs
|
|
|
|
dbus_glib libxml2 libmad xlibs alsaLib libogg libvorbis libcdio
|
2010-04-17 00:19:22 +04:00
|
|
|
libcddb flac ffmpeg;
|
2008-03-03 13:55:20 +03:00
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
audacity = import ../applications/audio/audacity {
|
2009-05-18 17:53:01 +04:00
|
|
|
inherit fetchurl stdenv gettext pkgconfig zlib perl intltool libogg
|
2009-05-12 08:28:30 +04:00
|
|
|
libvorbis libmad;
|
2008-01-29 16:24:40 +03:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit wxGTK;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2008-02-12 00:45:52 +03:00
|
|
|
aumix = import ../applications/audio/aumix {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig gettext;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
gtkGUI = false;
|
|
|
|
};
|
|
|
|
|
2009-04-07 23:15:53 +04:00
|
|
|
autopanosiftc = import ../applications/graphics/autopanosiftc {
|
2009-12-12 21:48:07 +03:00
|
|
|
inherit fetchurl stdenv cmake libpng libtiff libjpeg panotools libxml2;
|
2009-04-07 23:15:53 +04:00
|
|
|
};
|
|
|
|
|
2009-11-24 11:27:18 +03:00
|
|
|
avidemux = import ../applications/video/avidemux {
|
2010-03-16 23:49:26 +03:00
|
|
|
inherit fetchurl cmake pkgconfig libxml2 qt4 gettext SDL libxslt x264
|
2009-11-24 17:01:48 +03:00
|
|
|
alsaLib lame faac faad2 libvorbis;
|
2009-11-24 11:27:18 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libXv pixman libpthreadstubs libXau libXdmcp;
|
2010-03-17 00:53:48 +03:00
|
|
|
stdenv = stdenv2;
|
2009-11-24 11:27:18 +03:00
|
|
|
};
|
|
|
|
|
2010-03-04 17:44:56 +03:00
|
|
|
awesome = import ../applications/window-managers/awesome {
|
|
|
|
inherit fetchurl stdenv xz cmake gperf imagemagick pkgconfig imlib2 libxdg_basedir
|
2010-03-05 12:52:53 +03:00
|
|
|
libstartup_notification libev asciidoc libxslt xmlto dbus docbook_xsl
|
2010-05-09 15:01:29 +04:00
|
|
|
docbook_xml_dtd_45 coreutils;
|
2010-03-04 17:44:56 +03:00
|
|
|
inherit (gtkLibs) glib pango;
|
|
|
|
inherit (xorg) libxcb xcbutil;
|
|
|
|
lua = lua5;
|
|
|
|
cairo = cairo.override { xcbSupport = true; };
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
batik = import ../applications/graphics/batik {
|
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
|
|
|
|
2008-01-18 13:29:58 +03:00
|
|
|
bazaar = import ../applications/version-management/bazaar {
|
2008-10-16 00:01:39 +04:00
|
|
|
inherit fetchurl stdenv makeWrapper;
|
|
|
|
python = pythonFull;
|
2008-01-18 13:29:58 +03:00
|
|
|
};
|
|
|
|
|
2008-05-26 15:39:08 +04:00
|
|
|
bazaarTools = builderDefsPackage (import ../applications/version-management/bazaar/tools.nix) {
|
|
|
|
inherit bazaar;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-26 15:39:08 +04:00
|
|
|
|
2008-08-18 14:50:16 +04: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 18:33:04 +03:00
|
|
|
bitlbee = import ../applications/networking/instant-messengers/bitlbee {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv gnutls pkgconfig glib;
|
2008-02-17 18:33:04 +03:00
|
|
|
};
|
|
|
|
|
2008-09-26 13:03:22 +04:00
|
|
|
bitlbeeOtr = import ../applications/networking/instant-messengers/bitlbee-otr {
|
2008-09-26 16:32:06 +04:00
|
|
|
inherit fetchbzr stdenv gnutls pkgconfig libotr libgcrypt
|
2009-10-29 14:43:02 +03:00
|
|
|
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl glib;
|
2008-09-26 13:03:22 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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-21 02:02:41 +03:00
|
|
|
|
2010-05-10 14:20:51 +04:00
|
|
|
blender = import ../applications/misc/blender/2.49.nix {
|
|
|
|
inherit fetchurl cmake mesa gettext libjpeg libpng zlib openal SDL openexr
|
|
|
|
libsamplerate libtiff ilmbase freetype;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
python = python26Base;
|
|
|
|
stdenv = stdenv2;
|
|
|
|
};
|
|
|
|
|
|
|
|
blender_2_50 = lowPrio (import ../applications/misc/blender {
|
2010-05-09 01:25:56 +04:00
|
|
|
inherit fetchurl cmake mesa gettext libjpeg libpng zlib openal SDL openexr
|
|
|
|
libsamplerate libtiff ilmbase;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
python = python31Base;
|
|
|
|
stdenv = stdenv2;
|
2010-05-10 14:20:51 +04:00
|
|
|
});
|
2007-12-31 01:02:04 +03: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-21 01:47:08 +03:00
|
|
|
bvi = import ../applications/editors/bvi {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2010-04-11 22:58:43 +04:00
|
|
|
calibre = makeOverridable (import ../applications/misc/calibre) {
|
2010-01-08 01:47:30 +03:00
|
|
|
inherit stdenv fetchurl libpng imagemagick pkgconfig libjpeg fontconfig podofo
|
2010-04-12 01:03:51 +04:00
|
|
|
qt4 makeWrapper unrar pil chmlib popplerQt4 pyqt4 sip;
|
2010-01-08 01:47:30 +03:00
|
|
|
python = python26Full;
|
2010-03-01 01:55:08 +03:00
|
|
|
inherit (python26Packages) mechanize lxml dateutil cssutils beautifulsoap;
|
2010-01-08 01:47:30 +03:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
carrier = builderDefsPackage (import ../applications/networking/instant-messengers/carrier/2.5.0.nix) {
|
2008-06-16 17:15:55 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss
|
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib python
|
2008-07-01 12:31:48 +04:00
|
|
|
libtool automake autoconf;
|
2008-06-16 17:15:55 +04:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) startupnotification GConf ;
|
|
|
|
inherit (xlibs) libXScrnSaver scrnsaverproto libX11 xproto kbproto;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-06-16 17:15:55 +04:00
|
|
|
funpidgin = carrier;
|
|
|
|
|
2008-05-27 00:18:45 +04:00
|
|
|
cddiscid = import ../applications/audio/cd-discid {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-02-22 06:06:12 +03:00
|
|
|
cdparanoia = cdparanoiaIII;
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cdparanoiaIII = import ../applications/audio/cdparanoia {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
cdrtools = import ../applications/misc/cdrtools {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
chatzilla =
|
2007-12-31 01:02:04 +03:00
|
|
|
xulrunnerWrapper {
|
|
|
|
launcher = "chatzilla";
|
|
|
|
application = import ../applications/networking/irc/chatzilla {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv unzip;
|
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-10-30 11:45:58 +03:00
|
|
|
chrome = import ../applications/networking/browsers/chromium {
|
2010-05-18 16:36:23 +04:00
|
|
|
inherit stdenv fetchurl ffmpeg cairo nspr nss fontconfig freetype alsaLib makeWrapper unzip expat zlib bzip2 libpng dbus dbus_glib;
|
2010-02-25 13:01:33 +03:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt libXScrnSaver;
|
2009-10-30 11:45:58 +03:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
|
|
|
inherit (gnome) GConf;
|
2010-05-18 16:36:23 +04:00
|
|
|
patchelf = patchelf06;
|
2010-01-04 10:47:32 +03:00
|
|
|
libjpeg = libjpeg62;
|
2009-10-30 11:45:58 +03:00
|
|
|
};
|
|
|
|
|
2009-10-30 15:28:44 +03:00
|
|
|
chromeWrapper = wrapFirefox chrome "chrome" "";
|
|
|
|
|
2008-10-14 18:01:50 +04:00
|
|
|
cinelerra = import ../applications/video/cinelerra {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit lib fetchurl sourceFromHead stdenv
|
2008-10-14 18:01:50 +04:00
|
|
|
automake autoconf libtool
|
|
|
|
a52dec alsaLib lame libavc1394 libiec61883 libraw1394 libsndfile
|
|
|
|
libvorbis libogg libjpeg libtiff freetype mjpegtools x264
|
2009-04-18 16:47:11 +04:00
|
|
|
gettext faad2 faac libtheora libpng libdv perl nasm e2fsprogs
|
2008-10-14 18:01:50 +04:00
|
|
|
pkgconfig;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
fftw = fftwSinglePrec;
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit (xorg) libXxf86vm libXv libXi libX11 xextproto;
|
2008-10-14 18:01:50 +04:00
|
|
|
inherit (gnome) esound;
|
|
|
|
};
|
|
|
|
|
2009-08-26 21:04:15 +04:00
|
|
|
compizBase = (builderDefsPackage (import ../applications/window-managers/compiz/0.8.0.nix)) {
|
2009-08-25 09:46:48 +04:00
|
|
|
inherit lib stringsWithDeps builderDefs;
|
2009-02-27 16:44:31 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt gettext
|
2009-08-22 13:33:38 +04:00
|
|
|
intltool binutils;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xorg) libXcomposite libXfixes libXdamage libXrandr
|
|
|
|
libXinerama libICE libSM libXrender xextproto compositeproto fixesproto
|
2008-06-19 02:48:34 +04:00
|
|
|
damageproto randrproto xineramaproto renderproto kbproto xproto libX11
|
2008-04-11 13:32:27 +04:00
|
|
|
libxcb;
|
2007-12-31 01:02:04 +03: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 18:50:18 +04:00
|
|
|
compiz = compizBase.passthru.function (x : x // {
|
2007-12-31 01:02:04 +03:00
|
|
|
extraConfigureFlags = getConfig ["compiz" "extraConfigureFlags"] [];
|
2009-08-22 18:50:18 +04:00
|
|
|
});
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-04-21 02:06:12 +04:00
|
|
|
compizFusion = import ../applications/window-managers/compiz-fusion {
|
2008-10-26 14:58:42 +03:00
|
|
|
version = getConfig ["compizFusion" "version"] "0.7.8";
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit compiz;
|
|
|
|
inherit stringsWithDeps lib builderDefs;
|
2008-10-26 14:58:42 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt libxml2;
|
2007-12-31 01:02:04 +03: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-19 02:48:34 +04:00
|
|
|
|
2007-12-31 01:02:04 +03: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 19:20:19 +04:00
|
|
|
cinepaint = import ../applications/graphics/cinepaint {
|
2009-05-29 01:57:05 +04:00
|
|
|
inherit stdenv fetchcvs cmake pkgconfig freetype fontconfig lcms flex libtiff
|
2009-04-02 19:20:19 +04:00
|
|
|
libjpeg libpng libexif zlib perl mesa perlXMLParser python pygtk gettext
|
2009-05-29 01:57:05 +04:00
|
|
|
intltool babl gegl automake autoconf libtool;
|
2009-04-02 19:20:19 +04: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 12:39:59 +03:00
|
|
|
codeville = builderDefsPackage (import ../applications/version-management/codeville/0.8.0.nix) {
|
2008-10-16 00:01:39 +04:00
|
|
|
inherit makeWrapper;
|
|
|
|
python = pythonFull;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-26 11:47:07 +04:00
|
|
|
|
2009-02-09 23:44:26 +03:00
|
|
|
comical = import ../applications/graphics/comical {
|
|
|
|
inherit stdenv fetchurl utillinux zlib;
|
2009-11-05 16:29:52 +03:00
|
|
|
wxGTK = wxGTK26;
|
2009-02-09 23:44:26 +03:00
|
|
|
};
|
|
|
|
|
2010-04-24 21:34:58 +04:00
|
|
|
conkeror = xulrunnerWrapper {
|
|
|
|
launcher = "conkeror";
|
|
|
|
application = import ../applications/networking/browsers/conkeror {
|
2010-04-24 23:09:33 +04:00
|
|
|
inherit stdenv fetchurl unzip;
|
2010-04-24 21:34:58 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-02-09 23:37:11 +03:00
|
|
|
cuneiform = builderDefsPackage (import ../tools/graphics/cuneiform) {
|
|
|
|
inherit cmake patchelf;
|
|
|
|
imagemagick=imagemagick;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cvs = import ../applications/version-management/cvs {
|
2008-03-13 13:01:21 +03:00
|
|
|
inherit fetchurl stdenv nano;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2008-03-13 13:02:57 +03:00
|
|
|
cvsps = import ../applications/version-management/cvsps {
|
|
|
|
inherit fetchurl stdenv cvs zlib;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
cvs2svn = import ../applications/version-management/cvs2svn {
|
2008-01-18 14:28:41 +03:00
|
|
|
inherit fetchurl stdenv python makeWrapper;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
d4x = import ../applications/misc/d4x {
|
|
|
|
inherit fetchurl stdenv pkgconfig openssl boost;
|
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2010-01-05 20:46:14 +03:00
|
|
|
darcs = haskellPackages_ghc6104.darcs;
|
2008-02-09 16:52:41 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
dia = import ../applications/graphics/dia {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig perl perlXMLParser
|
|
|
|
libxml2 gettext python libxml2Python docbook5 docbook_xsl
|
2009-12-25 19:13:58 +03:00
|
|
|
libxslt intltool;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
};
|
|
|
|
|
2010-04-11 00:26:54 +04:00
|
|
|
djvulibre = makeOverridable (import ../applications/misc/djvulibre) {
|
2010-04-01 16:34:50 +04:00
|
|
|
inherit stdenv fetchurl lib libjpeg libtiff libungif qt3 zlib
|
|
|
|
ghostscript libpng mesa x11;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
djview4 = import ../applications/graphics/djview {
|
|
|
|
inherit fetchurl stdenv qt4 djvulibre;
|
|
|
|
};
|
|
|
|
|
2008-08-07 00:39:01 +04:00
|
|
|
dmenu = import ../applications/misc/dmenu {
|
2010-03-06 00:42:24 +03:00
|
|
|
inherit fetchurl stdenv;
|
2008-08-07 00:39:01 +04:00
|
|
|
inherit (xlibs) libX11 libXinerama;
|
|
|
|
};
|
|
|
|
|
2008-11-13 16:31:10 +03:00
|
|
|
dmtx = builderDefsPackage (import ../tools/graphics/dmtx) {
|
2009-03-24 13:31:39 +03:00
|
|
|
inherit libpng libtiff libjpeg imagemagick librsvg
|
2010-03-16 15:13:40 +03:00
|
|
|
pkgconfig bzip2 zlib libtool freetype fontconfig
|
2010-05-19 01:15:13 +04:00
|
|
|
ghostscript jasper;
|
2009-03-19 16:59:00 +03:00
|
|
|
inherit (xlibs) libX11;
|
2008-11-13 16:31:10 +03:00
|
|
|
};
|
|
|
|
|
2009-01-14 19:23:06 +03:00
|
|
|
dvdauthor = import ../applications/video/dvdauthor {
|
|
|
|
inherit fetchurl stdenv freetype libpng fribidi libxml2 libdvdread imagemagick;
|
|
|
|
};
|
|
|
|
|
2008-08-22 00:44:08 +04:00
|
|
|
dwm = import ../applications/window-managers/dwm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXinerama;
|
2010-03-06 00:49:29 +03:00
|
|
|
patches = getConfig [ "dwm" "patches" ] [];
|
2008-10-09 14:10:49 +04:00
|
|
|
};
|
2008-08-22 00:44:08 +04:00
|
|
|
|
2009-04-29 20:42:41 +04:00
|
|
|
eaglemode = import ../applications/misc/eaglemode {
|
|
|
|
inherit fetchurl stdenv perl xineLib libjpeg libpng libtiff;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2008-10-26 20:45:14 +03:00
|
|
|
|
2010-05-09 18:17:21 +04:00
|
|
|
eclipse = makeOverridable (import ../applications/editors/eclipse) {
|
2009-11-20 18:19:00 +03: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 14:00:18 +03:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXtst;
|
|
|
|
};
|
2010-05-09 18:17:21 +04:00
|
|
|
eclipseLatest = eclipse.override { version = "latest"; };
|
2009-11-03 14:00:18 +03:00
|
|
|
|
2008-04-25 20:13:36 +04:00
|
|
|
ed = import ../applications/editors/ed {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
elinks = import ../applications/networking/browsers/elinks {
|
|
|
|
inherit stdenv fetchurl python perl ncurses x11 zlib openssl spidermonkey
|
2010-04-11 00:27:02 +04:00
|
|
|
guile bzip2 gpm;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-04-16 23:28:42 +04:00
|
|
|
elvis = import ../applications/editors/elvis {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2009-11-19 20:36:43 +03:00
|
|
|
emacs = emacs23;
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-11-22 19:29:15 +03: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;
|
|
|
|
};
|
|
|
|
|
2010-05-19 16:26:21 +04:00
|
|
|
emacs23 = makeOverridable (import ../applications/editors/emacs-23) {
|
|
|
|
inherit fetchurl stdenv ncurses pkgconfig x11 libpng libjpeg
|
|
|
|
libungif libtiff texinfo dbus;
|
|
|
|
inherit (xlibs) libXpm libXft;
|
|
|
|
# use override to select the appropriate gui toolkit
|
|
|
|
libXaw = if stdenv.isDarwin then xlibs.libXaw else null;
|
|
|
|
Xaw3d = null;
|
|
|
|
gtk = if stdenv.isDarwin then gtkLibs.gtk else null;
|
|
|
|
# TODO: these packages don't build on Darwin.
|
|
|
|
gconf = if stdenv.isDarwin then null else gnome.GConf;
|
|
|
|
librsvg = if stdenv.isDarwin then null else librsvg;
|
2009-08-01 02:25:05 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
emacsSnapshot = lowPrio (import ../applications/editors/emacs-snapshot {
|
2009-02-18 00:05:52 +03:00
|
|
|
inherit fetchcvs stdenv ncurses pkgconfig x11 Xaw3d
|
2009-02-23 19:06:59 +03:00
|
|
|
libpng libjpeg libungif libtiff texinfo dbus
|
2009-02-18 00:05:52 +03:00
|
|
|
autoconf automake;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libXaw libXpm libXft;
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-09-26 01:38:16 +04:00
|
|
|
xawSupport = getPkgConfig "emacs" "xawSupport" false;
|
|
|
|
xaw3dSupport = getPkgConfig "emacs" "xaw3dSupport" false;
|
|
|
|
gtkGUI = getPkgConfig "emacs" "gtkSupport" true;
|
|
|
|
xftSupport = getPkgConfig "emacs" "xftSupport" true;
|
2009-02-23 19:06:59 +03:00
|
|
|
dbusSupport = getPkgConfig "emacs" "dbusSupport" true;
|
2008-09-26 01:38:16 +04:00
|
|
|
});
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-07-13 15:53:06 +04:00
|
|
|
emacsPackages = emacs: recurseIntoAttrs (rec {
|
2009-07-10 20:17:06 +04:00
|
|
|
bbdb = import ../applications/editors/emacs-modes/bbdb {
|
|
|
|
inherit fetchurl stdenv emacs texinfo ctags;
|
|
|
|
};
|
2009-06-28 03:09:21 +04:00
|
|
|
|
2009-07-10 20:17:06 +04: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;
|
|
|
|
};
|
|
|
|
|
2010-05-17 00:32:21 +04:00
|
|
|
jabber = import ../applications/editors/emacs-modes/jabber {
|
|
|
|
inherit stdenv fetchurl emacs;
|
|
|
|
};
|
|
|
|
|
2009-07-10 20:17:06 +04:00
|
|
|
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 19:56:40 +04:00
|
|
|
|
2009-07-10 20:17:06 +04:00
|
|
|
jdee = import ../applications/editors/emacs-modes/jdee {
|
|
|
|
# Requires Emacs 23, for `avl-tree'.
|
|
|
|
inherit fetchsvn stdenv cedet ant emacs;
|
|
|
|
};
|
|
|
|
|
2009-09-01 18:27:24 +04:00
|
|
|
stratego = import ../applications/editors/emacs-modes/stratego {
|
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-10 20:17:06 +04:00
|
|
|
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
|
|
|
inherit fetchurl stdenv emacs;
|
|
|
|
};
|
|
|
|
|
2010-02-15 14:00:02 +03:00
|
|
|
hol_light_mode = import ../applications/editors/emacs-modes/hol_light {
|
|
|
|
inherit fetchsvn stdenv;
|
|
|
|
};
|
|
|
|
|
2009-07-10 20:17:06 +04:00
|
|
|
magit = import ../applications/editors/emacs-modes/magit {
|
2010-05-12 13:09:55 +04:00
|
|
|
inherit fetchurl stdenv emacs texinfo;
|
2009-07-10 20:17:06 +04: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 20:40:56 +03:00
|
|
|
prologMode = import ../applications/editors/emacs-modes/prolog {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-12-11 19:18:27 +03:00
|
|
|
proofgeneral = import ../applications/editors/emacs-modes/proofgeneral {
|
|
|
|
inherit stdenv fetchurl emacs perl;
|
|
|
|
};
|
|
|
|
|
2009-07-10 20:17:06 +04: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 19:12:29 +04:00
|
|
|
|
|
|
|
scalaMode = import ../applications/editors/emacs-modes/scala-mode {
|
|
|
|
inherit fetchsvn stdenv emacs;
|
|
|
|
};
|
2009-07-13 15:53:06 +04:00
|
|
|
});
|
2008-08-21 12:58:51 +04:00
|
|
|
|
2009-11-22 19:29:15 +03:00
|
|
|
emacs22Packages = emacsPackages emacs22;
|
2009-07-10 20:17:06 +04:00
|
|
|
emacs23Packages = emacsPackages emacs23;
|
|
|
|
|
2010-01-17 04:39:29 +03:00
|
|
|
epdfview = import ../applications/misc/epdfview {
|
|
|
|
inherit stdenv fetchurl pkgconfig poppler;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-09-21 01:54:11 +04:00
|
|
|
evince = makeOverridable (import ../applications/misc/evince) {
|
2009-02-23 01:59:47 +03:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser gettext intltool
|
2008-07-27 14:24:08 +04:00
|
|
|
pkgconfig poppler libspectre djvulibre libxslt
|
2009-03-26 15:55:50 +03:00
|
|
|
dbus dbus_glib shared_mime_info which makeWrapper;
|
2008-07-27 14:24:08 +04:00
|
|
|
inherit (gnome) gnomedocutils gnomeicontheme libgnome
|
2009-11-05 00:44:01 +03:00
|
|
|
libgnomeui libglade glib gtk scrollkeeper gnome_keyring;
|
2008-07-27 14:24:08 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
exrdisplay = import ../applications/graphics/exrdisplay {
|
|
|
|
inherit fetchurl stdenv pkgconfig mesa which openexr_ctl;
|
|
|
|
fltk = fltk20;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
fbpanel = composedArgsAndFun (import ../applications/window-managers/fbpanel/4.12.nix) {
|
2007-12-31 01:02:04 +03: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 13:12:01 +03:00
|
|
|
inherit stdenv fetchurl openssl;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2010-05-12 17:17:19 +04:00
|
|
|
fossil = import ../applications/version-management/fossil {
|
|
|
|
inherit stdenv fetchurl zlib openssl;
|
|
|
|
};
|
|
|
|
|
2009-09-20 21:01:31 +04:00
|
|
|
grip = import ../applications/misc/grip {
|
2009-09-20 21:33:12 +04:00
|
|
|
inherit fetchurl stdenv lib grip pkgconfig curl cdparanoia libid3tag;
|
2009-09-20 21:01:31 +04:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libgnome libgnomeui vte;
|
|
|
|
};
|
|
|
|
|
2008-09-24 04:42:06 +04:00
|
|
|
wavesurfer = import ../applications/misc/audio/wavesurfer {
|
|
|
|
inherit fetchurl stdenv tcl tk snack makeWrapper;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
wireshark = import ../applications/networking/sniffers/wireshark {
|
2008-04-12 16:44:56 +04:00
|
|
|
inherit fetchurl stdenv perl pkgconfig libpcap flex bison;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
2010-04-29 12:54:02 +04:00
|
|
|
|
2010-04-16 19:56:28 +04:00
|
|
|
wvdial = import ../os-specific/linux/wvdial {
|
|
|
|
inherit stdenv fetchurl wvstreams pkgconfig;
|
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-08-04 11:14:43 +04:00
|
|
|
fbida = builderDefsPackage ../applications/graphics/fbida {
|
|
|
|
inherit libjpeg libexif giflib libtiff libpng
|
|
|
|
imagemagick ghostscript which curl pkgconfig
|
|
|
|
freetype fontconfig;
|
|
|
|
};
|
|
|
|
|
2008-10-28 14:56:43 +03:00
|
|
|
fdupes = import ../tools/misc/fdupes {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
feh = import ../applications/graphics/feh {
|
2009-09-03 02:56:33 +04:00
|
|
|
inherit fetchurl stdenv x11 imlib2 libjpeg libpng giblib;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-08-04 12:11:33 +04:00
|
|
|
firefox = firefox35;
|
2008-07-18 14:41:27 +04:00
|
|
|
|
2009-08-04 12:11:33 +04:00
|
|
|
firefoxWrapper = firefox35Wrapper;
|
2008-07-18 14:41:27 +04:00
|
|
|
|
2010-01-22 01:23:59 +03:00
|
|
|
firefox35Pkgs = import ../applications/networking/browsers/firefox/3.5.nix {
|
2009-05-05 19:46:24 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2009-07-04 16:25:35 +04:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs file alsaLib
|
2009-07-06 15:42:21 +04:00
|
|
|
nspr nss;
|
2009-05-05 19:46:24 +04:00
|
|
|
inherit (gtkLibs) gtk pango;
|
|
|
|
inherit (gnome) libIDL;
|
2010-01-22 01:23:59 +03:00
|
|
|
};
|
2009-05-05 19:46:24 +04:00
|
|
|
|
2009-07-06 15:42:21 +04:00
|
|
|
firefox35 = firefox35Pkgs.firefox;
|
|
|
|
xulrunner35 = firefox35Pkgs.xulrunner;
|
|
|
|
firefox35Wrapper = wrapFirefox firefox35 "firefox" "";
|
|
|
|
|
2010-01-22 01:23:59 +03: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 17:53:03 +03:00
|
|
|
|
2009-02-09 19:51:03 +03:00
|
|
|
flac = import ../applications/audio/flac {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit fetchurl stdenv libogg;
|
|
|
|
};
|
|
|
|
|
2008-10-30 16:00:50 +03:00
|
|
|
flashplayer = flashplayer10;
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
flashplayer9 = (
|
2009-08-25 10:11:22 +04:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
2009-10-30 15:28:44 +03:00
|
|
|
inherit fetchurl stdenv zlib alsaLib nss nspr fontconfig freetype expat;
|
2010-01-22 01:23:59 +03:00
|
|
|
inherit (xlibs) libX11 libXext libXrender libXt;
|
2009-10-30 15:28:44 +03:00
|
|
|
inherit (gtkLibs) gtk glib pango atk;
|
2009-08-25 10:11:22 +04:00
|
|
|
});
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
flashplayer10 = (
|
2009-08-25 10:11:22 +04:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
2009-10-30 15:28:44 +03: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 10:44:24 +03:00
|
|
|
debug = getConfig ["flashplayer" "debug"] false;
|
2009-08-25 10:11:22 +04:00
|
|
|
});
|
2008-10-16 17:36:27 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
flite = import ../applications/misc/flite {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
freemind = import ../applications/misc/freemind {
|
2008-09-08 01:17:49 +04:00
|
|
|
inherit fetchurl stdenv ant coreutils gnugrep;
|
2007-12-31 01:02:04 +03:00
|
|
|
jdk = jdk;
|
|
|
|
jre = jdk;
|
|
|
|
};
|
|
|
|
|
2009-04-09 00:05:59 +04:00
|
|
|
freepv = import ../applications/graphics/freepv {
|
2009-12-12 21:48:07 +03:00
|
|
|
inherit fetchurl stdenv mesa freeglut libjpeg zlib cmake libxml2 libpng;
|
2009-04-09 00:05:59 +04:00
|
|
|
inherit (xlibs) libX11 libXxf86vm;
|
|
|
|
};
|
|
|
|
|
2009-12-24 17:48:36 +03:00
|
|
|
xfontsel = import ../applications/misc/xfontsel {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
2009-12-24 17:55:11 +03:00
|
|
|
inherit (xlibs) libX11 libXaw;
|
2009-12-24 17:48:36 +03:00
|
|
|
};
|
2009-12-24 17:59:57 +03:00
|
|
|
xlsfonts = import ../applications/misc/xlsfonts {
|
|
|
|
inherit fetchurl stdenv pkgconfig;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2009-12-24 17:48:36 +03:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
fspot = import ../applications/graphics/f-spot {
|
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig mono
|
|
|
|
libexif libjpeg sqlite lcms libgphoto2 monoDLLFixer;
|
|
|
|
inherit (gnome) libgnome libgnomeui;
|
|
|
|
gtksharp = gtksharp1;
|
|
|
|
};
|
|
|
|
|
|
|
|
gimp = import ../applications/graphics/gimp {
|
|
|
|
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
|
|
|
libtiff libjpeg libpng libexif zlib perl perlXMLParser
|
2008-10-10 03:21:39 +04:00
|
|
|
python pygtk gettext xlibs intltool babl gegl;
|
2009-11-05 00:28:11 +03:00
|
|
|
inherit (gnome) gtk libart_lgpl;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
2009-11-27 20:40:56 +03:00
|
|
|
|
2010-02-11 18:08:05 +03:00
|
|
|
gimpPlugins = recurseIntoAttrs (import ../applications/graphics/gimp/plugins {
|
|
|
|
inherit pkgs gimp;
|
|
|
|
});
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-01-21 01:15:42 +03:00
|
|
|
gitAndTools = recurseIntoAttrs (import ../applications/version-management/git-and-tools {
|
|
|
|
inherit pkgs;
|
|
|
|
});
|
|
|
|
git = gitAndTools.git;
|
2010-01-18 19:07:44 +03:00
|
|
|
gitFull = gitAndTools.gitFull;
|
2008-07-07 15:48:24 +04:00
|
|
|
|
2009-09-30 17:11:17 +04: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 05:25:03 +03:00
|
|
|
qcad = import ../applications/misc/qcad {
|
|
|
|
inherit fetchurl stdenv qt3 libpng;
|
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
};
|
|
|
|
|
2008-08-18 20:03:21 +04:00
|
|
|
qjackctl = import ../applications/audio/qjackctl {
|
|
|
|
inherit fetchurl stdenv alsaLib jackaudio;
|
|
|
|
qt4 = qt4;
|
|
|
|
};
|
|
|
|
|
2008-02-13 19:38:33 +03:00
|
|
|
gkrellm = import ../applications/misc/gkrellm {
|
|
|
|
inherit fetchurl stdenv gettext pkgconfig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
inherit (xlibs) libX11 libICE libSM;
|
|
|
|
};
|
|
|
|
|
2009-04-21 02:06:12 +04:00
|
|
|
gnash = import ../applications/video/gnash {
|
2008-03-10 12:48:17 +03:00
|
|
|
inherit fetchurl stdenv SDL SDL_mixer libogg libxml2 libjpeg mesa libpng
|
2008-10-14 12:26:00 +04:00
|
|
|
boost freetype agg dbus curl pkgconfig x11 libtool lib libungif
|
2008-11-12 11:37:39 +03:00
|
|
|
gettext makeWrapper ming dejagnu python;
|
2008-03-10 12:48:17 +03:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2008-11-12 11:37:39 +03:00
|
|
|
inherit (gst_all) gstreamer gstPluginsBase gstFfmpeg;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-07-16 00:34:08 +04: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 22:48:09 +04:00
|
|
|
gnunet = import ../applications/networking/p2p/gnunet {
|
|
|
|
inherit fetchurl stdenv libextractor libmicrohttpd libgcrypt
|
|
|
|
gmp curl libtool guile adns sqlite gettext zlib pkgconfig
|
2008-09-05 00:24:03 +04:00
|
|
|
libxml2 ncurses findutils makeWrapper;
|
2008-08-24 22:48:09 +04:00
|
|
|
inherit (gnome) gtk libglade;
|
|
|
|
gtkSupport = getConfig [ "gnunet" "gtkSupport" ] true;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
gocr = composedArgsAndFun (import ../applications/graphics/gocr/0.44.nix) {
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit builderDefs fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
gphoto2 = import ../applications/misc/gphoto2 {
|
2008-09-22 21:06:31 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt gettext
|
|
|
|
libjpeg readline libtool;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-08-25 01:35:45 +04:00
|
|
|
gphoto2fs = builderDefsPackage ../applications/misc/gphoto2/gphotofs.nix {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit libgphoto2 fuse pkgconfig glib;
|
2009-08-25 01:35:45 +04:00
|
|
|
};
|
|
|
|
|
2010-03-04 17:44:47 +03: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 19:41:14 +03: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 19:41:10 +04:00
|
|
|
gtkpod = import ../applications/audio/gtkpod {
|
2009-10-20 02:05:34 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig libgpod gettext perl perlXMLParser flex libid3tag libvorbis;
|
2009-04-13 19:41:10 +04:00
|
|
|
inherit (gtkLibs) gtk glib;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
};
|
|
|
|
|
2008-11-15 20:54:09 +03:00
|
|
|
qrdecode = builderDefsPackage (import ../tools/graphics/qrdecode) {
|
|
|
|
inherit libpng libcv;
|
|
|
|
};
|
|
|
|
|
|
|
|
qrencode = builderDefsPackage (import ../tools/graphics/qrencode) {
|
|
|
|
inherit libpng pkgconfig;
|
|
|
|
};
|
|
|
|
|
2009-07-16 00:34:08 +04:00
|
|
|
gecko_mediaplayer = import ../applications/networking/browsers/mozilla-plugins/gecko-mediaplayer {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig dbus dbus_glib x11 gnome_mplayer MPlayer glib;
|
2009-07-16 00:34:08 +04:00
|
|
|
inherit (gnome) GConf;
|
|
|
|
browser = firefox35;
|
|
|
|
};
|
|
|
|
|
2009-11-25 11:58:42 +03:00
|
|
|
geeqie = import ../applications/graphics/geeqie {
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng lcms exiv2
|
|
|
|
intltool gettext;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gqview = import ../applications/graphics/gqview {
|
|
|
|
inherit fetchurl stdenv pkgconfig libpng;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
googleearth = import ../applications/misc/googleearth {
|
2010-02-05 22:22:26 +03: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 19:40:51 +04:00
|
|
|
|
2009-06-02 02:43:36 +04: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 15:29:42 +04:00
|
|
|
gpsd = import ../servers/gpsd {
|
2009-06-01 04:03:08 +04: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 15:29:42 +04:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
gv = import ../applications/misc/gv {
|
|
|
|
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2009-08-28 20:45:56 +04:00
|
|
|
hello = makeOverridable (import ../applications/misc/hello/ex-2) {
|
2008-06-17 18:19:59 +04:00
|
|
|
inherit fetchurl stdenv;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2010-01-27 01:22:11 +03:00
|
|
|
homebank = import ../applications/office/homebank {
|
|
|
|
inherit fetchurl stdenv pkgconfig libofx intltool;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-04-06 01:41:38 +04:00
|
|
|
hugin = import ../applications/graphics/hugin {
|
2009-12-12 21:48:07 +03:00
|
|
|
inherit fetchurl stdenv cmake panotools libtiff libpng boost pkgconfig
|
2009-12-12 21:58:40 +03:00
|
|
|
exiv2 gettext ilmbase enblendenfuse autopanosiftc mesa freeglut
|
|
|
|
glew;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit wxGTK;
|
2009-12-12 21:58:40 +03:00
|
|
|
inherit (xlibs) libXi libXmu;
|
2009-04-06 01:41:38 +04:00
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
i810switch = import ../applications/misc/i810 {
|
|
|
|
inherit fetchurl stdenv pciutils;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2008-07-28 19:55:11 +04:00
|
|
|
icecat3 = lowPrio (import ../applications/networking/browsers/icecat-3 {
|
2009-02-10 17:35:11 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2010-02-01 12:16:56 +03:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib libnotify
|
|
|
|
wirelesstools;
|
2008-07-29 00:41:14 +04:00
|
|
|
inherit (gnome) libIDL libgnomeui gnomevfs gtk pango;
|
2009-07-19 16:34:14 +04:00
|
|
|
inherit (pythonPackages) ply;
|
2008-07-28 19:55:11 +04:00
|
|
|
});
|
|
|
|
|
2008-09-30 01:58:25 +04:00
|
|
|
icecatXulrunner3 = lowPrio (import ../applications/networking/browsers/icecat-3 {
|
|
|
|
application = "xulrunner";
|
2009-02-10 17:35:11 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
|
2010-02-01 12:16:56 +03:00
|
|
|
python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib libnotify
|
|
|
|
wirelesstools;
|
2008-09-30 01:58:25 +04:00
|
|
|
inherit (gnome) libIDL libgnomeui gnomevfs gtk pango;
|
2009-07-20 18:14:28 +04:00
|
|
|
inherit (pythonPackages) ply;
|
2008-09-30 01:58:25 +04:00
|
|
|
});
|
|
|
|
|
|
|
|
icecat3Xul =
|
2009-07-14 19:22:31 +04:00
|
|
|
(symlinkJoin "icecat-with-xulrunner-${icecat3.version}"
|
|
|
|
[ icecat3 icecatXulrunner3 ])
|
2008-12-12 12:38:31 +03:00
|
|
|
// { inherit (icecat3) gtk isFirefox3Like meta; };
|
2008-09-30 01:58:25 +04:00
|
|
|
|
|
|
|
icecatWrapper = wrapFirefox icecat3Xul "icecat" "";
|
2008-07-28 19:55:11 +04:00
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
icewm = import ../applications/window-managers/icewm {
|
2010-01-06 01:48:10 +03:00
|
|
|
inherit fetchurl stdenv gettext libjpeg libtiff libungif libpng imlib xlibs;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-10-16 10:39:29 +04:00
|
|
|
ikiwiki = makeOverridable (import ../applications/misc/ikiwiki) {
|
|
|
|
inherit fetchurl stdenv perl gettext makeWrapper lib;
|
2009-11-03 18:57:22 +03:00
|
|
|
inherit (perlPackages) TextMarkdown URI HTMLParser HTMLScrubber
|
2010-04-29 13:35:20 +04:00
|
|
|
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder LocaleGettext
|
2010-04-30 14:49:43 +04:00
|
|
|
RpcXML XMLSimple PerlMagick;
|
2010-04-29 12:53:58 +04:00
|
|
|
git = if getPkgConfig "ikiwiki" "git" true then git else null;
|
|
|
|
monotone = if getPkgConfig "ikiwiki" "monotone" false then monotone else null;
|
2009-10-16 12:38:25 +04:00
|
|
|
extraUtils = [];
|
2009-10-15 01:00:54 +04:00
|
|
|
};
|
|
|
|
|
2008-05-16 15:26:23 +04:00
|
|
|
imagemagick = import ../applications/graphics/ImageMagick {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz ghostscript
|
2010-04-30 14:49:33 +04:00
|
|
|
libjpeg libpng libtiff libxml2 zlib libtool jasper;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libX11;
|
2008-05-16 15:26:23 +04:00
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2008-05-16 15:26:23 +04:00
|
|
|
imagemagickBig = import ../applications/graphics/ImageMagick {
|
|
|
|
inherit stdenv fetchurl bzip2 freetype graphviz ghostscript
|
2010-04-30 14:49:33 +04:00
|
|
|
libjpeg libpng libtiff libxml2 zlib tetex librsvg libtool
|
|
|
|
jasper;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libX11;
|
2008-05-16 15:26:23 +04:00
|
|
|
};
|
2007-12-31 01:02:04 +03:00
|
|
|
|
2009-03-19 19:40:28 +03:00
|
|
|
# Impressive, formerly known as "KeyJNote".
|
|
|
|
impressive = import ../applications/office/impressive {
|
2010-03-01 20:08:25 +03:00
|
|
|
inherit fetchurl stdenv xpdf pil pygame makeWrapper lib python;
|
2009-03-19 19:40:28 +03:00
|
|
|
|
|
|
|
# XXX These are the PyOpenGL dependencies, which we need here.
|
|
|
|
inherit setuptools mesa freeglut;
|
2010-03-01 20:08:25 +03:00
|
|
|
|
|
|
|
inherit (pythonPackages) pyopengl;
|
2009-03-19 19:40:28 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
inkscape = import ../applications/graphics/inkscape {
|
2009-11-26 15:39:22 +03: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 08:43:40 +04:00
|
|
|
inherit (pythonPackages) lxml;
|
2008-02-03 16:18:37 +03:00
|
|
|
inherit (gtkLibs) gtk glib glibmm gtkmm;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libXft;
|
|
|
|
};
|
|
|
|
|
|
|
|
ion3 = import ../applications/window-managers/ion-3 {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv x11 gettext groff;
|
|
|
|
lua = lua5;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-10-12 14:52:47 +04:00
|
|
|
iptraf = import ../applications/networking/iptraf {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
irssi = import ../applications/networking/irc/irssi {
|
2010-05-17 13:21:42 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig ncurses openssl glib perl;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-09-21 13:58:33 +04:00
|
|
|
jackmeter = import ../applications/audio/jackmeter {
|
|
|
|
inherit fetchurl stdenv lib jackaudio pkgconfig;
|
|
|
|
};
|
|
|
|
|
2008-06-04 15:59:42 +04:00
|
|
|
jedit = import ../applications/editors/jedit {
|
2008-02-21 02:02:41 +03:00
|
|
|
inherit fetchurl stdenv ant;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-09-10 20:57:31 +04:00
|
|
|
jigdo = import ../applications/misc/jigdo {
|
|
|
|
inherit fetchurl stdenv db45 libwpd bzip2;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
joe = import ../applications/editors/joe {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-03-25 12:50:54 +03:00
|
|
|
jwm = import ../applications/window-managers/jwm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXext libXinerama libXpm libXft;
|
|
|
|
};
|
|
|
|
|
2009-09-14 22:50:17 +04:00
|
|
|
kermit = import ../tools/misc/kermit {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2008-01-13 18:21:21 +03:00
|
|
|
kino = import ../applications/video/kino {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig libxml2 perl perlXMLParser
|
2008-01-13 21:08:51 +03:00
|
|
|
libdv libraw1394 libavc1394 libiec61883 x11 gettext cairo; /* libavformat */
|
2008-01-13 18:21:21 +03:00
|
|
|
inherit libsamplerate ffmpeg;
|
2008-01-13 21:08:51 +03:00
|
|
|
inherit (gnome) libglade gtk glib;
|
2008-01-13 18:21:21 +03:00
|
|
|
inherit (xlibs) libXv libX11;
|
2008-01-13 21:08:51 +03:00
|
|
|
inherit (gtkLibs) pango;
|
2008-02-21 02:02:41 +03:00
|
|
|
# # optional
|
|
|
|
# inherit ffmpeg2theora sox, vorbis-tools lame mjpegtools dvdauthor 'Q'dvdauthor growisofs mencoder;
|
2008-01-13 18:21:21 +03:00
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lame = import ../applications/audio/lame {
|
2010-05-06 00:38:13 +04:00
|
|
|
inherit fetchurl stdenv nasm;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2010-05-12 23:31:18 +04:00
|
|
|
larswm = import ../applications/window-managers/larswm {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) imake libX11 libXext libXmu;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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 15:22:26 +04:00
|
|
|
ldcpp = composedArgsAndFun (import ../applications/networking/p2p/ldcpp/1.0.3.nix) {
|
2008-03-15 09:11:45 +03:00
|
|
|
inherit builderDefs scons pkgconfig bzip2 openssl;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
links = import ../applications/networking/browsers/links {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-05-19 11:50:45 +04:00
|
|
|
ledger = makeOverridable (import ../applications/office/ledger) {
|
2009-11-10 14:02:45 +03:00
|
|
|
inherit stdenv fetchurl emacs gmp pcre;
|
|
|
|
};
|
|
|
|
|
2009-10-24 19:39:54 +04:00
|
|
|
links2 = (builderDefsPackage ../applications/networking/browsers/links2) {
|
2009-11-06 00:08:53 +03:00
|
|
|
inherit fetchurl stdenv bzip2 zlib libjpeg libpng libtiff
|
2009-10-24 19:39:54 +04:00
|
|
|
gpm openssl SDL SDL_image SDL_net pkgconfig;
|
|
|
|
inherit (xlibs) libX11 libXau xproto libXt;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
lynx = import ../applications/networking/browsers/lynx {
|
|
|
|
inherit fetchurl stdenv ncurses openssl;
|
|
|
|
};
|
|
|
|
|
2008-01-30 22:38:07 +03:00
|
|
|
lyx = import ../applications/misc/lyx {
|
2010-04-19 23:41:38 +04:00
|
|
|
inherit fetchurl stdenv texLive python makeWrapper;
|
|
|
|
inherit (xlibs) libX11;
|
2008-01-30 22:38:07 +03:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2010-04-06 23:39:29 +04:00
|
|
|
meld = import ../applications/version-management/meld {
|
|
|
|
inherit fetchurl stdenv python intltool makeWrapper;
|
|
|
|
inherit (gnome) scrollkeeper;
|
|
|
|
pygtk = pyGtkGlade;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03:00
|
|
|
mercurial = import ../applications/version-management/mercurial {
|
2009-11-14 23:14:09 +03:00
|
|
|
inherit fetchurl stdenv makeWrapper getConfig tk;
|
2008-10-18 16:01:24 +04:00
|
|
|
guiSupport = getConfig ["mercurial" "guiSupport"] false; # for hgk (gitk gui for hg)
|
2009-11-14 23:14:09 +03:00
|
|
|
python = # allow cloning sources from https servers.
|
|
|
|
if getConfig ["mercurial" "httpsSupport"] true
|
|
|
|
then pythonFull
|
|
|
|
else pythonBase;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2009-05-13 14:21:29 +04:00
|
|
|
meshlab = import ../applications/graphics/meshlab {
|
2010-01-21 17:39:53 +03:00
|
|
|
inherit fetchurl stdenv bzip2 lib3ds levmar muparser unzip;
|
2009-05-13 14:21:29 +04:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-09-07 16:58:56 +04:00
|
|
|
midori = builderDefsPackage (import ../applications/networking/browsers/midori) {
|
2008-10-09 14:10:49 +04:00
|
|
|
inherit imagemagick intltool python pkgconfig webkit libxml2
|
2009-06-04 15:20:26 +04:00
|
|
|
which gettext makeWrapper file libidn sqlite docutils libnotify;
|
2009-10-29 17:19:13 +03:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 09:37:09 +04:00
|
|
|
inherit (gnome28) gtksourceview libsoup;
|
2008-09-07 16:58:56 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
minicom = import ../tools/misc/minicom {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
2008-04-11 13:32:27 +04:00
|
|
|
};
|
|
|
|
|
2010-01-26 00:40:52 +03:00
|
|
|
mmex = import ../applications/office/mmex {
|
|
|
|
inherit fetchsvn stdenv wxGTK;
|
|
|
|
};
|
|
|
|
|
2007-12-31 01:02:04 +03: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 14:57:27 +03: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-31 01:02:04 +03: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 20:23:22 +03:00
|
|
|
mozplugger = builderDefsPackage (import ../applications/networking/browsers/mozilla-plugins/mozplugger) {
|
2009-02-11 13:02:10 +03:00
|
|
|
inherit firefox;
|
2009-02-08 20:23:22 +03:00
|
|
|
inherit (xlibs) libX11 xproto;
|
|
|
|
};
|
|
|
|
|
2010-01-29 01:34:27 +03:00
|
|
|
mpc123 = import ../applications/audio/mpc123 {
|
|
|
|
inherit stdenv fetchurl gettext libao libmpcdec;
|
|
|
|
};
|
|
|
|
|
2008-02-12 00:02:38 +03:00
|
|
|
mpg321 = import ../applications/audio/mpg321 {
|
|
|
|
inherit stdenv fetchurl libao libmad libid3tag zlib;
|
|
|
|
};
|
|
|
|
|
2009-03-11 00:03:51 +03:00
|
|
|
MPlayer = import ../applications/video/MPlayer {
|
2010-04-14 16:13:01 +04:00
|
|
|
inherit fetchurl stdenv freetype fontconfig x11 zlib libtheora libcaca libdvdnav
|
2010-05-25 22:39:29 +04:00
|
|
|
cdparanoia mesa pkgconfig unzip amrnb amrwb jackaudio x264 xvidcore lame yasm;
|
2007-12-31 01:02:04 +03:00
|
|
|
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
|
|
|
alsaSupport = true;
|
|
|
|
alsa = alsaLib;
|
|
|
|
theoraSupport = true;
|
|
|
|
cacaSupport = true;
|
|
|
|
xineramaSupport = true;
|
|
|
|
randrSupport = true;
|
2008-03-06 12:34:36 +03:00
|
|
|
cddaSupport = true;
|
2009-10-05 01:31:34 +04:00
|
|
|
amrSupport = getConfig [ "MPlayer" "amr" ] false;
|
2010-04-30 12:33:47 +04:00
|
|
|
x264Support = true;
|
2010-05-01 01:47:09 +04:00
|
|
|
xvidSupport = true;
|
2007-12-31 01:02:04 +03:00
|
|
|
};
|
|
|
|
|
2008-10-30 16:00:50 +03:00
|
|
|
MPlayerPlugin = browser:
|
2008-07-28 19:55:11 +04:00
|
|
|
import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
|
2008-10-30 16:00:50 +03:00
|
|
|
inherit browser;
|
2008-07-28 19:55:11 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
# !!! should depend on MPlayer
|
|
|
|
};
|
2003-11-13 16:11:38 +03:00
|
|
|
|
2008-03-17 12:41:28 +03:00
|
|
|
mrxvt = import ../applications/misc/mrxvt {
|
2009-04-12 12:42:04 +04:00
|
|
|
inherit lib fetchurl stdenv freetype pkgconfig which;
|
|
|
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE libXft
|
|
|
|
libXi inputproto;
|
2008-03-17 12:41:28 +03:00
|
|
|
};
|
2007-09-05 00:06:18 +04:00
|
|
|
|
2008-12-02 15:25:56 +03:00
|
|
|
multisync = import ../applications/misc/multisync {
|
|
|
|
inherit fetchurl stdenv autoconf automake libtool pkgconfig;
|
|
|
|
inherit (gnome) gtk glib ORBit2 libbonobo libgnomeui GConf;
|
|
|
|
};
|
|
|
|
|
2007-08-06 19:09:38 +04:00
|
|
|
mutt = import ../applications/networking/mailreaders/mutt {
|
2010-04-13 02:21:01 +04:00
|
|
|
inherit fetchurl stdenv ncurses which openssl gdbm perl cyrus_sasl;
|
2007-08-06 19:09:38 +04:00
|
|
|
};
|
|
|
|
|
2007-09-03 16:10:57 +04:00
|
|
|
msmtp = import ../applications/networking/msmtp {
|
2010-05-27 23:33:33 +04:00
|
|
|
inherit fetchurl stdenv openssl;
|
2007-09-03 16:10:57 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
mythtv = import ../applications/video/mythtv {
|
2008-06-26 02:01:33 +04:00
|
|
|
inherit fetchurl stdenv which x11 xlibs lame zlib mesa freetype perl alsaLib;
|
2008-06-23 13:01:04 +04:00
|
|
|
qt3 = qt3mysql;
|
2004-12-11 02:16:23 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
nano = import ../applications/editors/nano {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv ncurses gettext;
|
2006-01-20 14:30:24 +03:00
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
nedit = import ../applications/editors/nedit {
|
2009-08-25 10:36:05 +04:00
|
|
|
inherit fetchurl stdenv x11;
|
|
|
|
inherit (xlibs) libXpm;
|
|
|
|
motif = lesstif;
|
2009-08-28 10:29:21 +04:00
|
|
|
};
|
2004-01-21 12:34:19 +03:00
|
|
|
|
2009-09-13 12:54:47 +04:00
|
|
|
netsurfBrowser = netsurf.browser;
|
2009-09-21 14:09:20 +04:00
|
|
|
netsurf = recurseIntoAttrs (import ../applications/networking/browsers/netsurf { inherit pkgs; });
|
2009-09-13 12:54:47 +04:00
|
|
|
|
2009-04-16 23:28:57 +04:00
|
|
|
nvi = import ../applications/editors/nvi {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2010-05-12 02:19:37 +04:00
|
|
|
openjump = import ../applications/misc/openjump {
|
|
|
|
inherit stdenv fetchurl unzip;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
openoffice = import ../applications/office/openoffice {
|
2010-05-19 00:57:00 +04:00
|
|
|
inherit fetchurl pam python tcsh libxslt perl zlib libjpeg
|
2009-04-20 16:08:09 +04:00
|
|
|
expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron
|
2010-04-28 12:40:19 +04:00
|
|
|
curl libsndfile flex zip unzip libmspack getopt file cairo
|
2009-04-20 17:50:07 +04:00
|
|
|
which icu jdk ant cups openssl bison boost gperf cppunit;
|
2007-09-19 12:31:23 +04:00
|
|
|
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
|
2004-04-05 17:34:13 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
2009-04-20 16:49:35 +04:00
|
|
|
inherit (perlPackages) ArchiveZip CompressZlib;
|
2009-11-04 03:39:27 +03:00
|
|
|
inherit (gnome) GConf ORBit2;
|
2010-04-28 12:40:19 +04:00
|
|
|
neon = neon026;
|
2010-05-19 00:57:00 +04:00
|
|
|
stdenv = stdenv2;
|
2003-11-11 19:13:13 +03:00
|
|
|
};
|
2007-07-19 14:32:09 +04:00
|
|
|
|
2010-05-25 21:05:52 +04:00
|
|
|
go_oo = import ../applications/office/openoffice/go-oo.nix {
|
|
|
|
inherit fetchurl pam python tcsh libxslt perl zlib libjpeg
|
|
|
|
expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron
|
|
|
|
curl libsndfile flex zip unzip libmspack getopt file cairo
|
2010-05-26 11:03:25 +04:00
|
|
|
which icu jdk ant cups openssl bison boost gperf cppunit bash;
|
2010-05-25 21:05:52 +04:00
|
|
|
inherit (xlibs) libXaw libXext libX11 libXtst libXi libXinerama;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (perlPackages) ArchiveZip CompressZlib;
|
|
|
|
inherit (gnome) GConf ORBit2;
|
|
|
|
neon = neon026;
|
|
|
|
stdenv = stdenv2;
|
|
|
|
|
|
|
|
inherit autoconf openldap postgresql;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
opera = import ../applications/networking/browsers/opera {
|
2009-05-13 18:47:10 +04:00
|
|
|
inherit fetchurl zlib glibc stdenv makeDesktopItem;
|
2006-09-29 13:06:56 +04:00
|
|
|
inherit (xlibs) libX11 libSM libICE libXt libXext;
|
2009-09-02 17:24:08 +04:00
|
|
|
qt = qt3;
|
2006-08-13 13:46:54 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
pan = import ../applications/networking/newsreaders/pan {
|
2007-04-28 02:41:35 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig perl pcre gmime gettext;
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
spellChecking = false;
|
2005-09-07 18:57:30 +04:00
|
|
|
};
|
|
|
|
|
2009-04-06 01:41:24 +04:00
|
|
|
panotools = import ../applications/graphics/panotools {
|
|
|
|
inherit stdenv fetchsvn libpng libjpeg libtiff automake libtool autoconf;
|
|
|
|
};
|
2009-05-18 17:53:01 +04:00
|
|
|
|
2009-04-03 19:58:18 +04:00
|
|
|
pavucontrol = import ../applications/audio/pavucontrol {
|
|
|
|
inherit fetchurl stdenv pkgconfig pulseaudio libsigcxx
|
2009-04-04 01:04:13 +04:00
|
|
|
libcanberra intltool gettext;
|
2009-04-03 19:58:18 +04:00
|
|
|
inherit (gtkLibs) gtkmm;
|
|
|
|
inherit (gnome) libglademm;
|
|
|
|
};
|
|
|
|
|
2009-03-31 00:06:31 +04:00
|
|
|
paraview = import ../applications/graphics/paraview {
|
2010-03-16 23:49:26 +03:00
|
|
|
inherit fetchurl cmake qt4;
|
2010-03-17 00:53:48 +03:00
|
|
|
stdenv = stdenv2;
|
2009-03-31 00:06:31 +04:00
|
|
|
};
|
|
|
|
|
2009-09-10 20:57:34 +04:00
|
|
|
partitionManager = import ../tools/misc/partition-manager {
|
|
|
|
inherit fetchurl stdenv lib cmake pkgconfig gettext parted libuuid perl;
|
2010-03-05 15:00:37 +03:00
|
|
|
kde = kde44;
|
2009-09-10 20:57:34 +04:00
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-04-26 03:40:18 +04:00
|
|
|
pidgin = import ../applications/networking/instant-messengers/pidgin {
|
2010-01-11 16:25:05 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 nss nspr farsight2 python
|
2009-12-24 00:05:29 +03:00
|
|
|
gtkspell aspell gettext ncurses avahi dbus dbus_glib lib intltool libidn;
|
2008-09-06 14:30:55 +04:00
|
|
|
openssl = if (getConfig ["pidgin" "openssl"] true) then openssl else null;
|
|
|
|
gnutls = if (getConfig ["pidgin" "gnutls"] false) then gnutls else null;
|
2008-04-26 03:40:18 +04:00
|
|
|
GStreamer = gst_all.gstreamer;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) startupnotification;
|
|
|
|
inherit (xlibs) libXScrnSaver;
|
2009-12-27 19:49:08 +03:00
|
|
|
inherit (gst_all) gstPluginsBase;
|
2008-04-26 03:40:18 +04:00
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
pidginlatex = composedArgsAndFun (import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex) {
|
2008-04-26 03:40:18 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig ghostscript pidgin texLive;
|
|
|
|
imagemagick = imagemagickBig;
|
|
|
|
inherit (gtkLibs) glib gtk;
|
|
|
|
};
|
2009-03-10 15:01:22 +03:00
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
pidginlatexSF = builderDefsPackage
|
2008-06-19 02:48:34 +04:00
|
|
|
(import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/pidgin-latex-sf.nix)
|
2008-04-26 03:40:18 +04: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;
|
|
|
|
};
|
|
|
|
|
2010-05-11 21:28:54 +04:00
|
|
|
pidginsipe = import ../applications/networking/instant-messengers/pidgin-plugins/sipe {
|
|
|
|
inherit fetchurl stdenv pidgin intltool libxml2;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
pinfo = import ../applications/misc/pinfo {
|
2008-01-01 02:38:10 +03:00
|
|
|
inherit fetchurl stdenv ncurses readline;
|
2005-09-07 18:57:30 +04:00
|
|
|
};
|
|
|
|
|
2008-05-27 19:05:16 +04:00
|
|
|
pqiv = import ../applications/graphics/pqiv {
|
|
|
|
inherit fetchurl stdenv getopt which pkgconfig;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2007-09-03 16:10:57 +04: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 23:58:39 +04:00
|
|
|
pythonmagick = import ../applications/graphics/PythonMagick {
|
2008-09-24 12:50:32 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig imagemagick boost python;
|
2007-08-09 23:58:39 +04:00
|
|
|
};
|
|
|
|
|
2010-03-07 02:37:01 +03:00
|
|
|
qemu = import ../applications/virtualization/qemu/0.12.3.nix {
|
2009-11-09 12:15:58 +03:00
|
|
|
inherit stdenv fetchurl SDL zlib which;
|
2007-12-31 11:49:41 +03:00
|
|
|
};
|
|
|
|
|
2009-02-24 15:22:15 +03:00
|
|
|
qemuSVN = import ../applications/virtualization/qemu/svn-6642.nix {
|
|
|
|
inherit fetchsvn SDL zlib which stdenv;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
qemuImage = composedArgsAndFun (import ../applications/virtualization/qemu/linux-img/0.2.nix) {
|
2007-12-31 11:49:41 +03:00
|
|
|
inherit builderDefs fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-04-06 01:41:13 +04:00
|
|
|
qtpfsgui = import ../applications/graphics/qtpfsgui {
|
|
|
|
inherit fetchurl stdenv exiv2 libtiff fftw qt4 ilmbase;
|
|
|
|
openexr = openexr_1_6_1;
|
|
|
|
};
|
|
|
|
|
2010-03-10 23:44:40 +03:00
|
|
|
rapidsvn = import ../applications/version-management/rapidsvn {
|
|
|
|
inherit fetchurl stdenv wxGTK subversion apr aprutil python;
|
|
|
|
};
|
|
|
|
|
2007-08-04 02:38:36 +04:00
|
|
|
ratpoison = import ../applications/window-managers/ratpoison {
|
2010-02-08 18:33:18 +03:00
|
|
|
inherit fetchurl stdenv fontconfig readline pkgconfig autoconf automake;
|
2007-08-04 02:38:36 +04:00
|
|
|
inherit (xlibs) libX11 inputproto libXt libXpm libXft
|
2009-11-06 00:53:37 +03:00
|
|
|
libXtst xextproto libXi;
|
2007-08-04 02:38:36 +04:00
|
|
|
};
|
|
|
|
|
2010-01-17 20:49:35 +03:00
|
|
|
rawtherapee = import ../applications/graphics/rawtherapee {
|
2010-01-25 21:52:07 +03:00
|
|
|
inherit fetchsvn stdenv pkgconfig cmake lcms libiptcdata;
|
2010-01-17 20:49:35 +03:00
|
|
|
inherit (gtkLibs) gtk gtkmm;
|
|
|
|
inherit (xlibs) libXau libXdmcp pixman libpthreadstubs;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
rcs = import ../applications/version-management/rcs {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
2005-03-11 13:46:20 +03:00
|
|
|
};
|
|
|
|
|
2008-01-28 15:28:23 +03:00
|
|
|
rdesktop = import ../applications/networking/remote/rdesktop {
|
|
|
|
inherit fetchurl stdenv openssl;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2009-09-23 00:16:38 +04:00
|
|
|
RealPlayer =
|
2009-08-25 10:04:13 +04:00
|
|
|
(import ../applications/video/RealPlayer {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (gtkLibs) glib pango atk gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
libstdcpp5 = gcc33.gcc;
|
|
|
|
});
|
2005-09-12 02:39:06 +04:00
|
|
|
|
2010-05-15 13:47:32 +04:00
|
|
|
rekonq = makeOverridable (import ../applications/networking/browsers/rekonq) {
|
|
|
|
inherit fetchurl fetchgit stdenv cmake perl;
|
|
|
|
inherit (kde4) qt4 kdelibs automoc4 phonon;
|
|
|
|
};
|
|
|
|
|
|
|
|
rekonqScm = rekonq.override { v = "scm"; };
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
rsync = import ../applications/networking/sync/rsync {
|
2010-01-05 15:29:58 +03:00
|
|
|
inherit fetchurl stdenv acl perl;
|
2009-12-03 01:19:49 +03:00
|
|
|
enableACLs = !stdenv.isDarwin;
|
2005-08-30 23:41:10 +04:00
|
|
|
};
|
|
|
|
|
2007-09-05 12:25:23 +04:00
|
|
|
rxvt = import ../applications/misc/rxvt {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXt libX11;
|
2007-09-12 19:49:28 +04:00
|
|
|
};
|
2007-09-12 14:56:56 +04:00
|
|
|
|
2007-10-31 15:17:14 +03:00
|
|
|
# = urxvt
|
2009-09-10 20:57:47 +04:00
|
|
|
rxvt_unicode = makeOverridable (import ../applications/misc/rxvt_unicode) {
|
2009-07-01 01:45:15 +04:00
|
|
|
inherit lib fetchurl stdenv perl ncurses;
|
2007-10-31 15:17:14 +03:00
|
|
|
inherit (xlibs) libXt libX11 libXft;
|
2009-09-10 20:57:47 +04:00
|
|
|
perlSupport = false;
|
2007-10-31 15:17:14 +03:00
|
|
|
};
|
|
|
|
|
2010-02-21 14:36:49 +03:00
|
|
|
sakura = import ../applications/misc/sakura {
|
2010-04-24 04:12:51 +04:00
|
|
|
inherit stdenv fetchurl cmake pkgconfig gettext perl;
|
2010-02-21 14:36:49 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) vte;
|
|
|
|
inherit (xlibs) pixman;
|
|
|
|
};
|
|
|
|
|
2007-09-12 14:56:56 +04:00
|
|
|
sbagen = import ../applications/misc/sbagen {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2009-10-18 08:44:01 +04: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 13:45:22 +04:00
|
|
|
inherit (xlibs) libXau libXaw libXdmcp libXext libX11 libXtst libXi libXinerama libXrender;
|
|
|
|
inherit (xorg) pixman libpthreadstubs;
|
2009-10-18 08:44:01 +04:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2010-03-02 02:31:35 +03:00
|
|
|
seg3d = import ../applications/graphics/seg3d {
|
2010-03-04 17:44:43 +03:00
|
|
|
inherit fetchurl stdenv cmake itk mesa zlib libuuid;
|
2010-03-02 02:31:35 +03:00
|
|
|
inherit (xlibs) libXft libXext libXi libXmu;
|
2010-03-04 17:44:43 +03:00
|
|
|
wxGTK = wxGTK28.override {
|
|
|
|
unicode = false;
|
|
|
|
};
|
2010-03-02 02:31:35 +03:00
|
|
|
};
|
|
|
|
|
2007-09-12 14:56:56 +04:00
|
|
|
skype_linux = import ../applications/networking/skype {
|
|
|
|
inherit fetchurl stdenv;
|
2010-02-13 02:19:37 +03: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 12:25:23 +04:00
|
|
|
};
|
|
|
|
|
2007-02-26 01:25:25 +03:00
|
|
|
slim = import ../applications/display-managers/slim {
|
2007-06-05 15:25:59 +04:00
|
|
|
inherit fetchurl stdenv x11 libjpeg libpng freetype pam;
|
2007-02-26 01:25:25 +03:00
|
|
|
inherit (xlibs) libXmu;
|
|
|
|
};
|
|
|
|
|
2009-10-28 17:06:56 +03:00
|
|
|
sndBase = builderDefsPackage (import ../applications/audio/snd) {
|
2008-08-19 09:54:09 +04:00
|
|
|
inherit fetchurl stdenv stringsWithDeps lib fftw;
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit pkgconfig gmp gettext;
|
2008-06-16 20:33:11 +04:00
|
|
|
inherit (xlibs) libXpm libX11;
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2007-11-03 07:15:13 +03:00
|
|
|
};
|
|
|
|
|
2008-11-05 00:24:10 +03:00
|
|
|
snd = sndBase.passthru.function {
|
2008-08-18 20:03:38 +04:00
|
|
|
inherit guile mesa libtool jackaudio alsaLib;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2007-11-03 07:15:13 +03:00
|
|
|
|
2009-09-21 13:58:36 +04:00
|
|
|
sonicVisualizer = import ../applications/audio/sonic-visualizer {
|
|
|
|
inherit fetchurl stdenv lib libsndfile libsamplerate bzip2 librdf
|
2009-09-23 00:16:38 +04:00
|
|
|
rubberband jackaudio pulseaudio libmad
|
2009-09-21 13:58:36 +04:00
|
|
|
libogg liblo alsaLib librdf_raptor librdf_rasqal redland fftw;
|
|
|
|
inherit (vamp) vampSDK;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-03-17 12:41:28 +03:00
|
|
|
sox = import ../applications/misc/audio/sox {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
2008-06-19 02:48:34 +04:00
|
|
|
# optional features
|
2009-03-11 00:03:51 +03:00
|
|
|
inherit alsaLib libao ffmpeg;
|
2007-10-22 04:51:40 +04:00
|
|
|
inherit libsndfile libogg flac libmad lame libsamplerate;
|
2008-03-17 12:41:28 +03: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-19 02:48:34 +04:00
|
|
|
|
2008-08-10 00:21:33 +04:00
|
|
|
stumpwm = builderDefsPackage (import ../applications/window-managers/stumpwm) {
|
2009-05-31 10:07:25 +04:00
|
|
|
inherit texinfo;
|
|
|
|
clisp = clisp_2_44_1;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-08-10 00:21:33 +04:00
|
|
|
|
2009-10-02 16:36:04 +04:00
|
|
|
subversion = makeOverridable (import ../applications/version-management/subversion/default.nix) {
|
2009-10-02 15:49:21 +04:00
|
|
|
inherit (pkgsOverriden) fetchurl stdenv apr aprutil expat swig zlib jdk python perl sqlite;
|
2010-04-28 12:40:19 +04:00
|
|
|
neon = neon029;
|
2008-06-19 19:29:25 +04:00
|
|
|
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 16:44:54 +04:00
|
|
|
javahlBindings = supportsJDK && getConfig ["subversion" "javahlBindings"] false;
|
2008-06-19 19:29:25 +04:00
|
|
|
compressionSupport = getConfig ["subversion" "compressionSupport"] true;
|
2009-08-31 19:03:31 +04:00
|
|
|
httpd = pkgsOverriden.apacheHttpd;
|
2008-06-19 19:29:25 +04:00
|
|
|
};
|
|
|
|
|
2009-04-20 16:49:35 +04:00
|
|
|
svk = perlPackages.SVK;
|
2008-05-30 22:15:25 +04:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
sylpheed = import ../applications/networking/mailreaders/sylpheed {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig openssl gpgme;
|
2007-05-14 04:29:30 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
2006-09-15 19:28:53 +04:00
|
|
|
sslSupport = true;
|
|
|
|
gpgSupport = true;
|
2006-01-26 23:45:11 +03:00
|
|
|
};
|
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
# linux only by now
|
2007-11-11 11:16:23 +03:00
|
|
|
synergy = import ../applications/misc/synergy {
|
2009-12-21 11:55:31 +03:00
|
|
|
inherit fetchurl sourceFromHead stdenv x11 automake autoconf;
|
2009-11-12 19:11:44 +03:00
|
|
|
inherit (xlibs) xextproto libXtst inputproto libXi;
|
2007-11-11 11:16:23 +03:00
|
|
|
};
|
|
|
|
|
2009-11-01 01:34:24 +03:00
|
|
|
tahoelafs = import ../tools/networking/p2p/tahoe-lafs {
|
2009-08-11 12:11:13 +04:00
|
|
|
inherit fetchurl lib unzip nettools buildPythonPackage;
|
2009-06-29 01:03:00 +04:00
|
|
|
inherit (pythonPackages) twisted foolscap simplejson nevow zfec
|
2010-02-03 16:38:03 +03:00
|
|
|
pycryptopp pysqlite darcsver setuptoolsTrial setuptoolsDarcs
|
|
|
|
numpy;
|
2009-06-29 01:03:00 +04:00
|
|
|
};
|
|
|
|
|
2009-04-25 15:19:42 +04:00
|
|
|
tailor = builderDefsPackage (import ../applications/version-management/tailor) {
|
2008-09-24 12:50:32 +04:00
|
|
|
inherit makeWrapper python;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-05-07 11:23:20 +04:00
|
|
|
|
2009-06-03 17:52:38 +04:00
|
|
|
tangogps = import ../applications/misc/tangogps {
|
2009-12-26 00:30:46 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig gettext curl libexif sqlite libxml2;
|
2009-06-03 17:52:38 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
gconf = gnome.GConf;
|
|
|
|
};
|
|
|
|
|
2007-12-14 04:50:19 +03: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 23:12:53 +04: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 17:34:36 +04:00
|
|
|
inherit (kde3) kdelibs kdebase;
|
|
|
|
withKde = getPkgConfig "taskJuggler" "kde" false;
|
2008-05-29 23:12:53 +04:00
|
|
|
};
|
|
|
|
|
2009-02-06 06:14:30 +03:00
|
|
|
thinkingRock = import ../applications/misc/thinking-rock {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2010-01-02 16:21:50 +03:00
|
|
|
thunderbird = thunderbird2;
|
|
|
|
|
|
|
|
thunderbird2 = import ../applications/networking/mailreaders/thunderbird/2.x.nix {
|
2009-09-12 09:53:25 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo;
|
2007-06-03 00:32:24 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libIDL;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
};
|
|
|
|
|
2010-01-01 19:35:43 +03:00
|
|
|
thunderbird3 = lowPrio (import ../applications/networking/mailreaders/thunderbird/3.x.nix {
|
2010-01-02 16:21:50 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig perl python dbus_glib zip bzip2 alsaLib nspr;
|
|
|
|
inherit (gtkLibs) gtk;
|
2009-03-08 15:29:34 +03:00
|
|
|
inherit (gnome) libIDL;
|
2010-01-02 16:21:50 +03:00
|
|
|
});
|
2009-03-08 15:29:34 +03:00
|
|
|
|
2007-09-23 20:28:56 +04:00
|
|
|
timidity = import ../tools/misc/timidity {
|
2009-09-10 20:57:58 +04:00
|
|
|
inherit fetchurl stdenv lib alsaLib composableDerivation jackaudio ncurses;
|
2007-09-23 20:28:56 +04:00
|
|
|
};
|
2007-09-23 18:47:11 +04:00
|
|
|
|
2009-06-19 13:02:48 +04:00
|
|
|
tkcvs = import ../applications/version-management/tkcvs {
|
|
|
|
inherit stdenv fetchurl tcl tk;
|
|
|
|
};
|
|
|
|
|
2008-02-17 16:44:30 +03:00
|
|
|
tla = import ../applications/version-management/arch {
|
|
|
|
inherit fetchurl stdenv diffutils gnutar gnupatch which;
|
|
|
|
};
|
|
|
|
|
2010-03-28 04:06:30 +04:00
|
|
|
transmission = import ../applications/networking/p2p/transmission {
|
|
|
|
inherit stdenv fetchurl pkgconfig openssl curl intltool;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2009-09-20 21:01:19 +04: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 12:21:31 +04:00
|
|
|
unison = import ../applications/networking/sync/unison {
|
|
|
|
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
|
|
|
|
inherit (xorg) xset fontschumachermisc;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
uucp = import ../tools/misc/uucp {
|
|
|
|
inherit fetchurl stdenv;
|
2008-04-11 13:32:27 +04:00
|
|
|
};
|
|
|
|
|
2009-06-19 12:05:21 +04:00
|
|
|
uzbl = builderDefsPackage (import ../applications/networking/browsers/uzbl) {
|
2009-08-03 10:27:20 +04:00
|
|
|
inherit pkgconfig webkit makeWrapper;
|
2009-10-29 17:19:13 +03:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 09:37:09 +04:00
|
|
|
libsoup = gnome28.libsoup;
|
2009-06-19 12:05:21 +04:00
|
|
|
};
|
|
|
|
|
2009-09-23 00:16:38 +04:00
|
|
|
uzblExperimental = builderDefsPackage
|
2009-09-22 07:51:04 +04:00
|
|
|
(import ../applications/networking/browsers/uzbl/experimental.nix) {
|
|
|
|
inherit pkgconfig webkit makeWrapper;
|
2009-10-29 17:19:13 +03:00
|
|
|
inherit (gtkLibs) gtk glib;
|
2009-09-30 09:37:09 +04:00
|
|
|
libsoup = gnome28.libsoup;
|
2009-09-22 07:51:04 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
valknut = import ../applications/networking/p2p/valknut {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv perl x11 libxml2 libjpeg libpng openssl dclib;
|
|
|
|
qt = qt3;
|
|
|
|
};
|
2006-02-25 00:42:57 +03:00
|
|
|
|
2009-12-29 14:57:27 +03:00
|
|
|
viewMtn = builderDefsPackage (import ../applications/version-management/viewmtn/0.10.nix)
|
|
|
|
{
|
|
|
|
inherit monotone flup cheetahTemplate highlight ctags
|
|
|
|
makeWrapper graphviz which python;
|
|
|
|
};
|
|
|
|
|
2010-02-23 21:29:11 +03:00
|
|
|
vim = makeOverridable (import ../applications/editors/vim) {
|
2007-08-10 23:53:30 +04:00
|
|
|
inherit fetchurl stdenv ncurses lib;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
2005-11-08 02:02:17 +03:00
|
|
|
|
2010-02-23 21:29:11 +03:00
|
|
|
vimHugeX = vim.override {
|
|
|
|
inherit pkgconfig
|
2008-03-17 12:41:28 +03:00
|
|
|
perl python tcl;
|
2007-08-10 23:53:30 +04:00
|
|
|
inherit (xlibs) libX11 libXext libSM libXpm
|
2008-03-17 12:41:28 +03:00
|
|
|
libXt libXaw libXau;
|
2007-08-10 23:53:30 +04:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2008-01-12 03:22:52 +03:00
|
|
|
|
|
|
|
# Looks like python and perl can conflict
|
|
|
|
flags = ["hugeFeatures" "gtkGUI" "x11Support"
|
2008-03-17 12:41:28 +03:00
|
|
|
/*"perlSupport"*/ "pythonSupport" "tclSupport"];
|
2007-08-10 23:53:30 +04:00
|
|
|
};
|
|
|
|
|
2007-12-14 01:30:31 +03:00
|
|
|
vim_configurable = import ../applications/editors/vim/configurable.nix {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig composableDerivation lib;
|
2007-12-12 10:20:41 +03: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-19 02:48:34 +04:00
|
|
|
# python
|
2007-12-12 10:20:41 +03:00
|
|
|
# TODO mzschemeinterp perlinterp
|
2009-02-12 23:27:54 +03:00
|
|
|
inherit python perl tcl ruby /*x11*/;
|
2007-12-12 10:20:41 +03:00
|
|
|
|
|
|
|
# optional features by flags
|
|
|
|
flags = [ "X11" ]; # only flag "X11" by now
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
vlc = import ../applications/video/vlc {
|
2009-03-11 02:28:06 +03:00
|
|
|
inherit fetchurl stdenv perl xlibs zlib a52dec libmad faad2
|
2010-04-14 14:52:20 +04:00
|
|
|
ffmpeg libdvdnav pkgconfig hal fribidi qt4 freefont_ttf
|
|
|
|
libvorbis libtheora speex;
|
2009-03-11 00:03:51 +03:00
|
|
|
dbus = dbus.libs;
|
2006-09-15 19:28:53 +04:00
|
|
|
alsa = alsaLib;
|
2005-02-27 02:45:19 +03:00
|
|
|
};
|
|
|
|
|
2009-10-12 15:08:52 +04:00
|
|
|
vnstat = import ../applications/networking/vnstat {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2008-02-12 01:39:54 +03:00
|
|
|
vorbisTools = import ../applications/audio/vorbis-tools {
|
|
|
|
inherit fetchurl stdenv libogg libvorbis libao pkgconfig curl glibc
|
2008-03-17 12:41:28 +03:00
|
|
|
speex flac;
|
2008-02-12 01:39:54 +03:00
|
|
|
};
|
|
|
|
|
2009-04-23 01:33:24 +04:00
|
|
|
vwm = import ../applications/window-managers/vwm {
|
2009-11-05 01:38:26 +03:00
|
|
|
inherit fetchurl stdenv ncurses pkgconfig libviper libpseudo gpm glib libvterm;
|
2009-04-23 01:33:24 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
w3m = import ../applications/networking/browsers/w3m {
|
2009-10-28 18:06:18 +03:00
|
|
|
inherit fetchurl stdenv ncurses openssl boehmgc gettext zlib imlib2 x11;
|
2006-09-15 19:28:53 +04:00
|
|
|
graphicsSupport = false;
|
2005-02-27 02:45:19 +03:00
|
|
|
};
|
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
# I'm keen on wmiimenu only >wmii-3.5 no longer has it...
|
2007-09-03 16:10:57 +04:00
|
|
|
wmiimenu = import ../applications/window-managers/wmii31 {
|
2008-06-09 01:41:07 +04:00
|
|
|
libixp = libixp_for_wmii;
|
2007-09-03 16:10:57 +04:00
|
|
|
inherit fetchurl /* fetchhg */ stdenv gawk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
|
|
|
wmiiSnap = import ../applications/window-managers/wmii {
|
|
|
|
libixp = libixp_for_wmii;
|
2010-05-17 17:35:38 +04:00
|
|
|
inherit fetchurl /* fetchhg */ stdenv gawk;
|
|
|
|
inherit (xlibs) libX11 xextproto libXt libXext;
|
2008-06-09 01:41:07 +04:00
|
|
|
includeUnpack = getConfig ["stdenv" "includeUnpack"] false;
|
2007-03-19 02:58:22 +03:00
|
|
|
};
|
|
|
|
|
2008-02-13 17:26:01 +03:00
|
|
|
wordnet = import ../applications/misc/wordnet {
|
|
|
|
inherit stdenv fetchurl tcl tk x11 makeWrapper;
|
|
|
|
};
|
|
|
|
|
2009-07-02 18:26:24 +04:00
|
|
|
wrapFirefox = browser: browserName: nameSuffix: import ../applications/networking/browsers/firefox/wrapper.nix {
|
2009-05-10 16:03:53 +04:00
|
|
|
inherit stdenv nameSuffix makeWrapper makeDesktopItem browser browserName;
|
2008-03-10 18:13:06 +03:00
|
|
|
plugins =
|
2009-03-04 14:04:16 +03:00
|
|
|
let enableAdobeFlash = getConfig [ browserName "enableAdobeFlash" ] true;
|
2008-03-10 18:13:06 +03:00
|
|
|
in
|
|
|
|
([]
|
2008-03-17 12:41:28 +03:00
|
|
|
++ lib.optional (!enableAdobeFlash) gnash
|
2009-07-16 00:34:08 +04:00
|
|
|
++ lib.optional enableAdobeFlash flashplayer
|
2008-03-17 12:41:28 +03:00
|
|
|
# RealPlayer is disabled by default for legal reasons.
|
2008-09-19 13:46:21 +04:00
|
|
|
++ lib.optional (system != "i686-linux" && getConfig [browserName "enableRealPlayer"] false) RealPlayer
|
2009-07-10 16:10:58 +04:00
|
|
|
++ lib.optional (getConfig [browserName "enableMPlayer"] false) (MPlayerPlugin browser)
|
2009-07-16 00:34:08 +04:00
|
|
|
++ lib.optional (getConfig [browserName "enableGeckoMediaPlayer"] false) gecko_mediaplayer
|
2008-09-19 13:46:21 +04:00
|
|
|
++ lib.optional (supportsJDK && getConfig [browserName "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin
|
2008-03-17 12:41:28 +03:00
|
|
|
);
|
2004-10-06 15:32:20 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
x11vnc = composedArgsAndFun (import ../tools/X11/x11vnc/0.9.3.nix) {
|
2008-02-22 06:06:12 +03:00
|
|
|
inherit builderDefs openssl zlib libjpeg ;
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit (xlibs) libXfixes fixesproto libXdamage damageproto
|
2008-02-22 06:06:12 +03:00
|
|
|
libX11 xproto libXtst libXinerama xineramaproto libXrandr randrproto
|
2009-11-06 01:27:46 +03:00
|
|
|
libXext xextproto inputproto recordproto libXi renderproto
|
|
|
|
libXrender;
|
2008-02-22 06:06:12 +03:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
x2vnc = composedArgsAndFun (import ../tools/X11/x2vnc/1.7.2.nix) {
|
2008-03-17 09:29:32 +03:00
|
|
|
inherit builderDefs;
|
|
|
|
inherit (xlibs) libX11 xproto xextproto libXext libXrandr randrproto;
|
|
|
|
};
|
|
|
|
|
2009-02-08 17:17:05 +03: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 14:32:45 +04:00
|
|
|
xara = import ../applications/graphics/xara {
|
2009-11-06 00:34:44 +03:00
|
|
|
inherit fetchurl stdenv autoconf automake libtool gettext cvs
|
2007-12-03 17:33:54 +03:00
|
|
|
pkgconfig libxml2 zip libpng libjpeg shebangfix perl freetype;
|
2005-12-13 03:13:01 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
2009-11-06 00:34:44 +03:00
|
|
|
wxGTK = wxGTK26;
|
2005-12-13 03:13:01 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xawtv = import ../applications/video/xawtv {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv ncurses libjpeg perl;
|
|
|
|
inherit (xlibs) libX11 libXt libXft xproto libFS fontsproto libXaw libXpm libXext libSM libICE xextproto;
|
2005-12-22 13:49:43 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xchat = import ../applications/networking/irc/xchat {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig tcl;
|
2007-05-14 04:13:48 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
2003-12-08 14:56:50 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xchm = import ../applications/misc/xchm {
|
2009-11-09 14:55:31 +03:00
|
|
|
inherit fetchurl stdenv chmlib wxGTK;
|
2004-10-06 16:06:23 +04:00
|
|
|
};
|
|
|
|
|
2010-01-06 23:45:43 +03:00
|
|
|
xcompmgr = import ../applications/window-managers/xcompmgr {
|
|
|
|
inherit stdenv fetchurl pkgconfig;
|
|
|
|
inherit (xlibs) libXcomposite libXfixes libXdamage libXrender;
|
|
|
|
};
|
|
|
|
|
2010-03-25 22:48:06 +03:00
|
|
|
xdg_utils = import ../tools/X11/xdg-utils {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2008-10-04 19:24:08 +04:00
|
|
|
/* Doesn't work yet
|
2008-10-09 14:10:49 +04:00
|
|
|
|
2008-10-04 19:24:08 +04: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 04:17:21 +03:00
|
|
|
xfig = import ../applications/graphics/xfig {
|
2006-12-27 21:14:57 +03:00
|
|
|
stdenv = overrideGCC stdenv gcc34;
|
2006-12-08 04:17:21 +03:00
|
|
|
inherit fetchurl makeWrapper x11 Xaw3d libpng libjpeg;
|
|
|
|
inherit (xlibs) imake libXpm libXmu libXi libXp;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xineUI = import ../applications/video/xine-ui {
|
2009-04-09 19:27:48 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig xlibs xineLib libpng readline ncurses curl;
|
2004-12-06 10:36:56 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xmms = import ../applications/audio/xmms {
|
2006-09-15 19:28:53 +04: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 17:17:06 +04:00
|
|
|
};
|
|
|
|
|
2008-03-20 12:52:40 +03:00
|
|
|
xneur = import ../applications/misc/xneur {
|
2009-08-05 14:25:17 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig pcre libxml2 aspell imlib2
|
|
|
|
xosd libnotify cairo;
|
2008-03-20 12:52:40 +03:00
|
|
|
GStreamer=gst_all.gstreamer;
|
2009-08-05 14:25:17 +04:00
|
|
|
inherit (xlibs) libX11 libXpm libXt libXext libXi;
|
|
|
|
inherit (gtkLibs) glib gtk pango atk;
|
2008-06-19 02:48:34 +04:00
|
|
|
};
|
2008-03-20 12:52:40 +03:00
|
|
|
|
2009-01-12 09:14:13 +03:00
|
|
|
xneur_0_8 = import ../applications/misc/xneur/0.8.nix {
|
2009-10-29 14:43:02 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig pcre libxml2 aspell imlib2 xosd glib;
|
|
|
|
GStreamer = gst_all.gstreamer;
|
2009-01-12 09:14:13 +03:00
|
|
|
inherit (xlibs) libX11 libXpm libXt libXext;
|
2008-06-19 02:48:34 +04:00
|
|
|
};
|
2008-03-20 12:52:40 +03:00
|
|
|
|
2010-05-27 23:44:17 +04:00
|
|
|
xournal = import ../applications/graphics/xournal {
|
|
|
|
inherit stdenv fetchurl;
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit ghostscript fontconfig freetype zlib
|
2009-08-03 01:47:10 +04:00
|
|
|
poppler popplerData autoconf automake
|
|
|
|
libtool pkgconfig;
|
|
|
|
inherit (xlibs) xproto libX11;
|
|
|
|
inherit (gtkLibs) gtk atk pango glib;
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit (gnome) libgnomeprint libgnomeprintui
|
2009-08-03 01:47:10 +04:00
|
|
|
libgnomecanvas;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xpdf = import ../applications/misc/xpdf {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv x11 freetype t1lib;
|
|
|
|
motif = lesstif;
|
2007-10-03 16:16:48 +04:00
|
|
|
base14Fonts = "${ghostscript}/share/ghostscript/fonts";
|
2006-08-30 03:40:29 +04:00
|
|
|
};
|
|
|
|
|
2008-03-17 16:45:50 +03:00
|
|
|
xpra = import ../tools/X11/xpra {
|
|
|
|
inherit stdenv fetchurl pkgconfig python pygtk xlibs makeWrapper;
|
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
pyrex = pyrex095;
|
|
|
|
};
|
|
|
|
|
2010-01-27 00:40:32 +03:00
|
|
|
xscreensaver = makeOverridable (import ../applications/graphics/xscreensaver) {
|
|
|
|
inherit stdenv fetchurl pkgconfig bc perl xlibs libjpeg mesa libxml2;
|
2007-11-26 16:24:56 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) libglade;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2007-11-22 23:26:00 +03:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
xterm = import ../applications/misc/xterm {
|
2008-02-22 06:06:12 +03:00
|
|
|
inherit fetchurl stdenv ncurses freetype pkgconfig;
|
|
|
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE libXext libXft luit;
|
2004-07-30 16:57:27 +04:00
|
|
|
};
|
2004-02-13 17:42:28 +03:00
|
|
|
|
2009-12-17 14:58:05 +03:00
|
|
|
xtrace = import ../tools/X11/xtrace {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2007-12-31 11:49:41 +03:00
|
|
|
xlaunch = import ../tools/X11/xlaunch {
|
|
|
|
inherit stdenv;
|
|
|
|
inherit (xorg) xorgserver;
|
|
|
|
};
|
|
|
|
|
2007-08-10 22:54:44 +04:00
|
|
|
xmacro = import ../tools/X11/xmacro {
|
|
|
|
inherit fetchurl stdenv;
|
2009-10-28 16:07:44 +03:00
|
|
|
inherit (xlibs) libX11 libXi libXtst xextproto inputproto;
|
2007-08-10 22:54:44 +04:00
|
|
|
};
|
|
|
|
|
2007-06-26 01:46:18 +04:00
|
|
|
xmove = import ../applications/misc/xmove {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXi imake libXau;
|
|
|
|
inherit (xorg) xauth;
|
|
|
|
};
|
2007-12-31 11:49:41 +03:00
|
|
|
|
2008-08-14 13:25:26 +04:00
|
|
|
xnee = builderDefsPackage (import ../tools/X11/xnee) {
|
|
|
|
inherit (gtkLibs) gtk;
|
2008-08-25 17:25:07 +04:00
|
|
|
inherit (xlibs) libX11 libXtst xextproto libXext
|
2008-08-14 13:25:26 +04:00
|
|
|
inputproto libXi xproto recordproto;
|
|
|
|
inherit pkgconfig;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-08-14 13:25:26 +04:00
|
|
|
|
2006-12-01 19:44:26 +03:00
|
|
|
xvidcap = import ../applications/video/xvidcap {
|
2009-05-03 17:24:31 +04:00
|
|
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig gettext lame;
|
2006-12-01 19:44:26 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (gnome) scrollkeeper libglade;
|
2009-05-03 17:24:31 +04:00
|
|
|
inherit (xlibs) libXmu libXext libXfixes libXdamage libX11;
|
2006-12-01 19:44:26 +03:00
|
|
|
};
|
|
|
|
|
2009-10-18 08:43:48 +04:00
|
|
|
yate = import ../applications/misc/yate {
|
|
|
|
inherit sox speex openssl automake autoconf pkgconfig;
|
|
|
|
inherit fetchurl stdenv lib composableDerivation;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
# doesn't compile yet - in case someone else want's to continue ..
|
2009-11-18 12:39:59 +03:00
|
|
|
qgis = (import ../applications/misc/qgis/1.0.1-2.nix) {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit composableDerivation fetchsvn stdenv flex lib
|
2007-12-11 01:36:52 +03:00
|
|
|
ncurses fetchurl perl cmake gdal geos proj x11
|
2008-08-25 17:25:07 +04:00
|
|
|
gsl libpng zlib bison
|
2008-12-20 04:20:35 +03:00
|
|
|
sqlite glibc fontconfig freetype /* use libc from stdenv ? - to lazy now - Marc */;
|
2007-12-11 01:36:52 +03: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 14:32:45 +04:00
|
|
|
zapping = import ../applications/video/zapping {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit fetchurl stdenv pkgconfig perl python
|
2006-09-15 19:28:53 +04: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 03:04:13 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-04-01 20:02:53 +04:00
|
|
|
### GAMES
|
|
|
|
|
2008-10-04 14:08:59 +04:00
|
|
|
ballAndPaddle = import ../games/ball-and-paddle {
|
|
|
|
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_ttf guile gettext;
|
|
|
|
};
|
|
|
|
|
2009-10-27 02:03:36 +03:00
|
|
|
bsdgames = import ../games/bsdgames {
|
|
|
|
inherit fetchurl stdenv ncurses openssl flex bison miscfiles;
|
|
|
|
};
|
|
|
|
|
2008-10-07 02:49:37 +04:00
|
|
|
castleCombat = import ../games/castle-combat {
|
|
|
|
inherit fetchurl stdenv python pygame twisted lib numeric makeWrapper;
|
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
construoBase = composedArgsAndFun (import ../games/construo/0.2.2.nix) {
|
2007-12-03 07:48:44 +03:00
|
|
|
inherit stdenv fetchurl builderDefs
|
|
|
|
zlib;
|
|
|
|
inherit (xlibs) libX11 xproto;
|
|
|
|
};
|
|
|
|
|
2008-11-05 00:24:10 +03:00
|
|
|
construo = construoBase.passthru.function {
|
2007-12-03 07:48:44 +03:00
|
|
|
inherit mesa freeglut;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2004-04-01 20:02:53 +04:00
|
|
|
|
2009-05-14 17:48:45 +04:00
|
|
|
eduke32 = import ../games/eduke32 {
|
2010-02-11 16:34:28 +03:00
|
|
|
inherit stdenv fetchsvn SDL SDL_mixer unzip libvorbis mesa pkgconfig nasm makeDesktopItem;
|
2009-05-14 17:48:45 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
exult = import ../games/exult {
|
2009-10-02 17:01:31 +04:00
|
|
|
inherit fetchurl SDL SDL_mixer zlib libpng unzip;
|
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2006-08-09 03:39:03 +04:00
|
|
|
};
|
|
|
|
|
2009-07-10 16:44:34 +04:00
|
|
|
/*
|
2008-07-12 21:00:57 +04:00
|
|
|
exultSnapshot = lowPrio (import ../games/exult/snapshot.nix {
|
|
|
|
inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip
|
2008-08-25 17:25:07 +04:00
|
|
|
autoconf automake libtool flex bison;
|
2008-07-12 21:00:57 +04:00
|
|
|
});
|
2009-07-10 16:44:34 +04:00
|
|
|
*/
|
2008-07-12 21:00:57 +04:00
|
|
|
|
2010-05-02 13:27:51 +04:00
|
|
|
freedink = import ../games/freedink {
|
|
|
|
inherit stdenv fetchurl SDL SDL_mixer SDL_image SDL_ttf SDL_gfx
|
|
|
|
pkgconfig fontconfig libzip zip zlib;
|
|
|
|
};
|
|
|
|
|
2007-10-27 21:55:13 +04:00
|
|
|
fsg = import ../games/fsg {
|
2009-01-30 09:26:40 +03:00
|
|
|
inherit stdenv fetchurl pkgconfig mesa;
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit (gtkLibs) glib gtk;
|
2009-01-30 09:26:40 +03:00
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-11-17 18:26:22 +03:00
|
|
|
wxGTK = wxGTK28.override {unicode = false;};
|
2007-10-27 21:55:13 +04:00
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2007-10-29 13:52:04 +03:00
|
|
|
fsgAltBuild = import ../games/fsg/alt-builder.nix {
|
2009-01-30 09:26:40 +03:00
|
|
|
inherit stdenv fetchurl mesa;
|
2009-11-17 18:26:22 +03:00
|
|
|
wxGTK = wxGTK28.override {unicode = false;};
|
2009-01-30 09:26:40 +03:00
|
|
|
inherit (xlibs) libX11 xproto;
|
2009-05-25 22:22:19 +04:00
|
|
|
inherit stringsWithDeps builderDefs;
|
2007-10-29 13:52:04 +03:00
|
|
|
};
|
2007-10-27 21:55:13 +04:00
|
|
|
|
2007-05-15 01:47:11 +04:00
|
|
|
gemrb = import ../games/gemrb {
|
|
|
|
inherit fetchurl stdenv SDL openal freealut zlib libpng python;
|
|
|
|
};
|
|
|
|
|
2009-01-31 23:09:54 +03:00
|
|
|
gnuchess = builderDefsPackage (import ../games/gnuchess) {
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2010-05-17 13:21:42 +04:00
|
|
|
gnugo = import ../games/gnugo {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
};
|
|
|
|
|
2009-09-10 20:57:21 +04: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-15 02:25:14 +04:00
|
|
|
hexen = import ../games/hexen {
|
|
|
|
inherit stdenv fetchurl SDL;
|
|
|
|
};
|
|
|
|
|
2009-04-15 02:25:03 +04:00
|
|
|
kobodeluxe = import ../games/kobodeluxe {
|
|
|
|
inherit stdenv fetchurl SDL SDL_image;
|
|
|
|
};
|
|
|
|
|
2008-08-08 11:16:34 +04:00
|
|
|
lincity = builderDefsPackage (import ../games/lincity) {
|
2008-08-25 17:25:07 +04:00
|
|
|
inherit (xlibs) libX11 libXext xextproto
|
2008-08-08 11:16:34 +04:00
|
|
|
libICE libSM xproto;
|
|
|
|
inherit libpng zlib;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-08-08 11:16:34 +04:00
|
|
|
|
2008-08-07 00:39:01 +04:00
|
|
|
micropolis = import ../games/micropolis {
|
|
|
|
inherit lib fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXpm libXext xextproto;
|
|
|
|
inherit byacc bash;
|
|
|
|
};
|
|
|
|
|
2008-04-11 02:12:20 +04:00
|
|
|
openttd = import ../games/openttd {
|
|
|
|
inherit fetchurl stdenv SDL libpng;
|
|
|
|
zlib = zlibStatic;
|
|
|
|
};
|
|
|
|
|
2010-02-03 01:21:56 +03:00
|
|
|
pioneers = import ../games/pioneers {
|
|
|
|
inherit stdenv fetchurl pkgconfig intltool;
|
|
|
|
inherit (gtkLibs) gtk /*glib gtkmm*/;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
quake3demo = import ../games/quake3/wrapper {
|
2008-06-15 00:55:48 +04:00
|
|
|
name = "quake3-demo-${quake3game.name}";
|
2006-10-11 20:45:55 +04:00
|
|
|
description = "Demo of Quake 3 Arena, a classic first-person shooter";
|
2008-06-15 00:55:48 +04:00
|
|
|
inherit fetchurl stdenv mesa makeWrapper;
|
2006-09-15 19:28:53 +04:00
|
|
|
game = quake3game;
|
|
|
|
paks = [quake3demodata];
|
2006-01-26 17:43:05 +03:00
|
|
|
};
|
|
|
|
|
2006-01-28 02:51:36 +03:00
|
|
|
quake3demodata = import ../games/quake3/demo {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-09-15 19:28:53 +04:00
|
|
|
quake3game = import ../games/quake3/game {
|
|
|
|
inherit fetchurl stdenv x11 SDL mesa openal;
|
|
|
|
};
|
|
|
|
|
2007-01-09 00:19:15 +03:00
|
|
|
rogue = import ../games/rogue {
|
|
|
|
inherit fetchurl stdenv ncurses;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
scummvm = import ../games/scummvm {
|
2007-05-03 20:13:14 +04:00
|
|
|
inherit fetchurl stdenv SDL zlib mpeg2dec;
|
2004-06-09 22:06:29 +04:00
|
|
|
};
|
|
|
|
|
2009-04-17 02:50:36 +04:00
|
|
|
scorched3d = import ../games/scorched3d {
|
|
|
|
inherit stdenv fetchurl mesa openal autoconf automake libtool freealut freetype fftw SDL SDL_net zlib libpng libjpeg;
|
2009-11-06 00:34:44 +03:00
|
|
|
wxGTK = wxGTK26;
|
2009-04-17 02:50:36 +04:00
|
|
|
};
|
|
|
|
|
2009-01-03 16:44:04 +03:00
|
|
|
sgtpuzzles = builderDefsPackage (import ../games/sgt-puzzles) {
|
2010-02-18 13:29:40 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
2010-01-15 15:00:12 +03:00
|
|
|
inherit pkgconfig fetchsvn perl;
|
2009-01-03 16:44:04 +03:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2010-05-17 13:21:42 +04:00
|
|
|
six = import ../games/six {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit perl zlib qt3;
|
|
|
|
inherit (kde3) arts kdelibs;
|
|
|
|
inherit (xlibs) libX11 libXt libXext;
|
|
|
|
};
|
|
|
|
|
2008-01-22 20:56:53 +03:00
|
|
|
# You still can override by passing more arguments.
|
2009-11-18 12:39:59 +03:00
|
|
|
spaceOrbit = composedArgsAndFun (import ../games/orbit/1.01.nix) {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv builderDefs mesa freeglut;
|
2008-01-22 20:56:53 +03:00
|
|
|
inherit (gnome) esound;
|
|
|
|
inherit (xlibs) libXt libX11 libXmu libXi libXext;
|
|
|
|
};
|
|
|
|
|
2010-05-17 13:21:42 +04:00
|
|
|
superTux = import ../games/super-tux {
|
|
|
|
inherit fetchurl stdenv SDL SDL_image SDL_mixer curl gettext libogg libvorbis mesa openal;
|
|
|
|
};
|
|
|
|
|
2008-10-12 18:28:51 +04:00
|
|
|
superTuxKart = import ../games/super-tux-kart {
|
|
|
|
inherit fetchurl stdenv plib SDL openal freealut mesa
|
|
|
|
libvorbis libogg gettext;
|
|
|
|
};
|
|
|
|
|
2009-01-13 22:44:11 +03:00
|
|
|
teeworlds = import ../games/teeworlds {
|
2009-01-14 03:23:11 +03:00
|
|
|
inherit fetchurl stdenv python alsaLib mesa SDL;
|
2009-01-13 22:44:11 +03:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2010-02-01 22:55:03 +03:00
|
|
|
tennix = import ../games/tennix {
|
|
|
|
inherit stdenv fetchurl SDL SDL_mixer SDL_image SDL_ttf;
|
|
|
|
};
|
|
|
|
|
2007-08-09 21:33:18 +04:00
|
|
|
/*tpm = import ../games/thePenguinMachine {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit stdenv fetchurl pil pygame SDL;
|
2007-08-09 21:33:18 +04:00
|
|
|
python24 = python;
|
|
|
|
};*/
|
|
|
|
|
2009-12-24 01:28:50 +03:00
|
|
|
ultimatestunts = import ../games/ultimatestunts {
|
|
|
|
inherit stdenv fetchurl SDL mesa SDL_image freealut;
|
|
|
|
};
|
|
|
|
|
2010-02-03 03:46:43 +03:00
|
|
|
urbanterror = import ../games/urbanterror {
|
2010-04-24 16:39:10 +04:00
|
|
|
inherit fetchurl stdenv unzip SDL mesa openal curl;
|
2010-02-03 03:46:43 +03:00
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
ut2004demo = import ../games/ut2004demo {
|
2004-06-09 22:06:29 +04:00
|
|
|
inherit fetchurl stdenv xlibs mesa;
|
2009-08-28 10:29:21 +04:00
|
|
|
};
|
2004-06-09 21:59:46 +04:00
|
|
|
|
2010-01-28 01:22:35 +03:00
|
|
|
warsow = import ../games/warsow {
|
2010-02-10 02:12:47 +03:00
|
|
|
inherit stdenv fetchurl unzip pkgconfig zlib curl libvorbis SDL
|
2010-01-28 01:22:35 +03:00
|
|
|
mesa openal;
|
|
|
|
inherit (xlibs) libXxf86dga libXxf86vm libXinerama;
|
2010-02-10 02:12:47 +03:00
|
|
|
libjpeg = libjpeg62;
|
2010-01-28 01:22:35 +03:00
|
|
|
};
|
|
|
|
|
2010-05-03 20:07:01 +04:00
|
|
|
warzone2100 = import ../games/warzone2100 {
|
|
|
|
inherit stdenv fetchurl bison gettext pkgconfig SDL libpng libtheora
|
|
|
|
openal popt physfs mesa quesoglc zip unzip which;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2009-01-31 23:09:54 +03:00
|
|
|
xboard = builderDefsPackage (import ../games/xboard) {
|
2009-02-05 19:50:45 +03:00
|
|
|
inherit (xlibs) libX11 xproto libXt libXaw libSM
|
2009-12-10 09:55:12 +03:00
|
|
|
libICE libXmu libXext libXpm;
|
|
|
|
inherit gnuchess texinfo;
|
2009-01-31 23:09:54 +03:00
|
|
|
};
|
|
|
|
|
2009-01-12 01:05:19 +03:00
|
|
|
xsokoban = builderDefsPackage (import ../games/xsokoban) {
|
|
|
|
inherit (xlibs) libX11 xproto libXpm libXt;
|
|
|
|
};
|
|
|
|
|
2009-02-23 01:06:34 +03:00
|
|
|
zdoom = import ../games/zdoom {
|
|
|
|
inherit cmake stdenv fetchsvn SDL nasm p7zip zlib flac fmod libjpeg;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
zoom = import ../games/zoom {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv perl expat freetype;
|
|
|
|
inherit (xlibs) xlibs;
|
2006-09-12 03:06:26 +04:00
|
|
|
};
|
|
|
|
|
2006-10-29 02:28:35 +04:00
|
|
|
keen4 = import ../games/keen4 {
|
|
|
|
inherit fetchurl stdenv dosbox unzip;
|
|
|
|
};
|
|
|
|
|
2004-04-01 20:02:53 +04:00
|
|
|
|
2007-02-28 19:18:58 +03:00
|
|
|
### DESKTOP ENVIRONMENTS
|
|
|
|
|
|
|
|
|
2009-01-23 01:46:39 +03:00
|
|
|
enlightenment = import ../desktops/enlightenment {
|
|
|
|
inherit stdenv fetchurl pkgconfig x11 xlibs dbus imlib2 freetype;
|
|
|
|
};
|
|
|
|
|
2010-04-16 09:26:27 +04:00
|
|
|
gnome28 = recurseIntoAttrs (import ../desktops/gnome-2.28 pkgs);
|
2007-02-28 19:18:58 +03:00
|
|
|
|
2009-10-31 15:59:33 +03:00
|
|
|
gnome = gnome28;
|
2009-09-30 09:29:08 +04:00
|
|
|
|
2010-04-03 14:59:26 +04:00
|
|
|
kde3 = recurseIntoAttrs {
|
2009-03-10 10:58:12 +03:00
|
|
|
|
|
|
|
kdelibs = import ../desktops/kde-3/kdelibs {
|
|
|
|
inherit
|
2009-11-30 02:27:35 +03:00
|
|
|
fetchurl xlibs zlib perl openssl pcre pkgconfig
|
2009-03-10 10:58:12 +03:00
|
|
|
libjpeg libpng libtiff libxml2 libxslt libtool
|
|
|
|
expat freetype bzip2 cups attr acl;
|
2009-11-30 02:27:35 +03:00
|
|
|
stdenv = overrideGCC stdenv gcc43;
|
2009-03-10 10:58:12 +03:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
|
|
|
kdebase = import ../desktops/kde-3/kdebase {
|
|
|
|
inherit
|
2009-11-30 02:27:35 +03:00
|
|
|
fetchurl pkgconfig x11 xlibs zlib libpng libjpeg perl
|
2010-04-01 17:34:36 +04:00
|
|
|
openssl bzip2 fontconfig pam hal dbus glib;
|
2009-11-30 02:27:35 +03:00
|
|
|
stdenv = overrideGCC stdenv gcc43;
|
2010-04-01 17:34:36 +04:00
|
|
|
inherit (kde3) kdelibs;
|
2009-03-10 10:58:12 +03:00
|
|
|
qt = qt3;
|
|
|
|
};
|
|
|
|
|
2010-04-01 17:34:36 +04: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 19:18:58 +03:00
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2010-04-11 19:50:41 +04:00
|
|
|
kde4 = kde44;
|
2010-03-16 15:13:40 +03:00
|
|
|
|
2010-02-10 18:06:50 +03:00
|
|
|
kde44 = makeOverridable (import ../desktops/kde-4.4) (pkgs // {
|
|
|
|
openexr = openexr_1_6_1;
|
2010-05-05 22:17:55 +04:00
|
|
|
stdenv = stdenv2;
|
2010-02-10 18:06:50 +03:00
|
|
|
});
|
2010-03-16 15:13:40 +03:00
|
|
|
|
2010-05-17 20:16:39 +04:00
|
|
|
xfce = xfce4;
|
|
|
|
xfce4 = recurseIntoAttrs (import ../desktops/xfce-4 pkgs);
|
|
|
|
|
2009-09-11 18:06:51 +04:00
|
|
|
### SCIENCE
|
2009-09-23 00:16:38 +04:00
|
|
|
|
2009-09-11 18:06:51 +04:00
|
|
|
xplanet = import ../applications/science/xplanet {
|
|
|
|
inherit stdenv fetchurl lib pkgconfig freetype libpng libjpeg giflib libtiff;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
};
|
2009-03-17 17:03:03 +03:00
|
|
|
|
2008-10-05 13:04:30 +04:00
|
|
|
### SCIENCE/GEOMETRY
|
2008-04-15 13:35:52 +04:00
|
|
|
|
2008-06-27 23:15:01 +04:00
|
|
|
drgeo = builderDefsPackage (import ../applications/science/geometry/drgeo) {
|
|
|
|
inherit (gnome) libglade gtk;
|
|
|
|
inherit libxml2 guile perl intltool libtool pkgconfig;
|
2008-08-15 02:04:30 +04:00
|
|
|
};
|
2008-06-27 23:15:01 +04:00
|
|
|
|
2009-04-17 17:48:22 +04:00
|
|
|
|
2008-10-05 13:04:30 +04:00
|
|
|
### SCIENCE/BIOLOGY
|
|
|
|
|
2009-02-08 19:28:31 +03:00
|
|
|
alliance = import ../applications/science/electronics/alliance {
|
|
|
|
inherit fetchurl stdenv bison flex;
|
|
|
|
inherit (xlibs) xproto libX11 libXt libXpm;
|
|
|
|
motif = lesstif;
|
|
|
|
};
|
|
|
|
|
2008-10-05 13:04:30 +04:00
|
|
|
arb = import ../applications/science/biology/arb {
|
2009-11-10 20:16:06 +03:00
|
|
|
inherit fetchurl readline libpng zlib x11 lesstif93 freeglut perl;
|
2008-10-06 17:18:02 +04:00
|
|
|
inherit (xlibs) libXpm libXaw libX11 libXext libXt;
|
2008-10-07 18:35:11 +04:00
|
|
|
inherit mesa glew libtiff lynx rxp sablotron jdk transfig gv gnuplot;
|
2008-10-06 19:11:36 +04:00
|
|
|
lesstif = lesstif93;
|
2009-11-10 20:16:06 +03:00
|
|
|
stdenv = overrideGCC stdenv gcc42;
|
2008-10-05 13:04:30 +04:00
|
|
|
};
|
2008-08-07 19:01:21 +04:00
|
|
|
|
|
|
|
biolib = import ../development/libraries/science/biology/biolib {
|
|
|
|
inherit fetchurl stdenv readline perl cmake rLang zlib;
|
|
|
|
};
|
|
|
|
|
2008-06-05 21:15:27 +04:00
|
|
|
emboss = import ../applications/science/biology/emboss {
|
|
|
|
inherit fetchurl stdenv readline perl libpng zlib;
|
2008-07-23 17:40:03 +04:00
|
|
|
inherit (xorg) libX11 libXt;
|
2008-06-05 21:15:27 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
mrbayes = import ../applications/science/biology/mrbayes {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2009-12-13 23:24:23 +03:00
|
|
|
ncbiCTools = builderDefsPackage ../development/libraries/ncbi {
|
|
|
|
inherit tcsh mesa lesstif;
|
2010-01-21 18:39:11 +03:00
|
|
|
inherit (xlibs) libX11 libXaw xproto libXt libSM libICE
|
2009-12-13 23:24:23 +03:00
|
|
|
libXmu libXext;
|
|
|
|
};
|
|
|
|
|
2008-06-07 10:34:02 +04:00
|
|
|
ncbi_tools = import ../applications/science/biology/ncbi-tools {
|
2008-06-06 23:42:00 +04:00
|
|
|
inherit fetchurl stdenv cpio;
|
|
|
|
};
|
|
|
|
|
2008-06-06 12:23:49 +04:00
|
|
|
paml = import ../applications/science/biology/paml {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2008-10-05 16:55:00 +04:00
|
|
|
/* slr = import ../applications/science/biology/slr {
|
2008-10-05 13:04:30 +04:00
|
|
|
inherit fetchurl stdenv liblapack;
|
2008-10-05 16:55:00 +04:00
|
|
|
}; */
|
2008-10-05 13:04:30 +04:00
|
|
|
|
2008-09-19 17:39:17 +04:00
|
|
|
pal2nal = import ../applications/science/biology/pal2nal {
|
|
|
|
inherit fetchurl stdenv perl paml;
|
|
|
|
};
|
|
|
|
|
2009-04-17 17:48:22 +04:00
|
|
|
|
2008-10-05 13:04:30 +04:00
|
|
|
### SCIENCE/MATH
|
|
|
|
|
|
|
|
atlas = import ../development/libraries/science/math/atlas {
|
|
|
|
inherit fetchurl stdenv gfortran;
|
|
|
|
};
|
|
|
|
|
2010-01-26 17:53:08 +03:00
|
|
|
blas = import ../development/libraries/science/math/blas {
|
|
|
|
inherit fetchurl stdenv gfortran;
|
|
|
|
};
|
|
|
|
|
2009-12-14 03:00:34 +03:00
|
|
|
content = builderDefsPackage ../applications/science/math/content {
|
|
|
|
inherit mesa lesstif;
|
2010-01-21 18:39:11 +03:00
|
|
|
inherit (xlibs) libX11 libXaw xproto libXt libSM libICE
|
2009-12-14 03:14:43 +03:00
|
|
|
libXmu libXext libXcursor;
|
2009-12-14 03:00:34 +03:00
|
|
|
};
|
|
|
|
|
2010-01-26 17:53:13 +03:00
|
|
|
liblapack = import ../development/libraries/science/math/liblapack {
|
|
|
|
inherit fetchurl stdenv gfortran blas;
|
|
|
|
};
|
2008-10-05 13:04:30 +04:00
|
|
|
|
2009-04-17 17:48:22 +04:00
|
|
|
|
2008-06-04 19:10:05 +04:00
|
|
|
### SCIENCE/LOGIC
|
|
|
|
|
|
|
|
coq = import ../applications/science/logic/coq {
|
2009-11-02 14:44:27 +03:00
|
|
|
inherit stdenv fetchurl ocaml lablgtk ncurses;
|
2010-05-12 00:14:46 +04:00
|
|
|
camlp5 = camlp5_transitional;
|
|
|
|
};
|
|
|
|
|
|
|
|
coq_beta = import ../applications/science/logic/coq/beta.nix {
|
|
|
|
inherit stdenv fetchurl ocaml lablgtk ncurses;
|
2009-11-02 14:44:27 +03:00
|
|
|
camlp5 = camlp5_transitional;
|
2008-06-04 19:10:05 +04:00
|
|
|
};
|
2008-04-15 13:35:52 +04:00
|
|
|
|
2010-02-15 14:00:02 +03: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 20:00:52 +03:00
|
|
|
isabelle = import ../applications/science/logic/isabelle {
|
|
|
|
inherit (pkgs) stdenv fetchurl nettools perl polyml emacs emacsPackages;
|
|
|
|
};
|
|
|
|
|
2009-11-05 18:08:12 +03:00
|
|
|
ssreflect = import ../applications/science/logic/ssreflect {
|
|
|
|
inherit stdenv fetchurl ocaml coq;
|
|
|
|
camlp5 = camlp5_transitional;
|
|
|
|
};
|
|
|
|
|
2008-08-22 00:43:53 +04:00
|
|
|
### SCIENCE / ELECTRONICS
|
|
|
|
|
|
|
|
ngspice = import ../applications/science/electronics/ngspice {
|
|
|
|
inherit fetchurl stdenv readline;
|
|
|
|
};
|
|
|
|
|
2009-12-21 13:35:50 +03:00
|
|
|
gtkwave = import ../applications/science/electronics/gtkwave {
|
2010-03-25 18:07:53 +03:00
|
|
|
inherit fetchurl stdenv gperf pkgconfig bzip2 xz;
|
2009-12-21 13:35:50 +03:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
};
|
2009-04-17 17:48:22 +04:00
|
|
|
|
2008-09-05 21:12:04 +04:00
|
|
|
### SCIENCE / MATH
|
|
|
|
|
2008-09-05 21:21:45 +04:00
|
|
|
maxima = import ../applications/science/math/maxima {
|
|
|
|
inherit fetchurl stdenv clisp;
|
|
|
|
};
|
|
|
|
|
2009-10-29 14:57:58 +03:00
|
|
|
wxmaxima = import ../applications/science/math/wxmaxima {
|
|
|
|
inherit fetchurl stdenv maxima;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit wxGTK;
|
2009-10-29 14:57:58 +03:00
|
|
|
};
|
|
|
|
|
2008-09-05 21:12:04 +04:00
|
|
|
scilab = (import ../applications/science/math/scilab) {
|
2009-04-09 19:24:33 +04:00
|
|
|
inherit stdenv fetchurl lib gfortran;
|
2008-09-05 21:12:04 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit ncurses Xaw3d tcl tk ocaml x11;
|
|
|
|
|
|
|
|
withXaw3d = false;
|
|
|
|
withTk = true;
|
|
|
|
withGtk = false;
|
|
|
|
withOCaml = true;
|
|
|
|
withX = true;
|
|
|
|
};
|
|
|
|
|
2009-04-17 17:48:22 +04:00
|
|
|
|
2004-02-13 17:42:28 +03:00
|
|
|
### MISC
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
atari800 = import ../misc/emulators/atari800 {
|
2006-08-13 02:33:51 +04:00
|
|
|
inherit fetchurl stdenv unzip zlib SDL;
|
2004-11-04 00:28:03 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
ataripp = import ../misc/emulators/atari++ {
|
2004-11-04 00:28:03 +03:00
|
|
|
inherit fetchurl stdenv x11 SDL;
|
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2007-09-20 15:31:31 +04:00
|
|
|
auctex = import ../misc/tex/auctex {
|
2008-03-25 14:33:20 +03:00
|
|
|
inherit stdenv fetchurl emacs texLive;
|
2007-09-20 15:31:31 +04:00
|
|
|
};
|
2004-11-04 00:28:03 +03:00
|
|
|
|
2010-03-10 01:44:45 +03:00
|
|
|
busybox = makeOverridable (import ../misc/busybox) {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv;
|
2010-03-10 01:44:45 +03:00
|
|
|
enableStatic = true;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
cups = import ../misc/cups {
|
2009-10-30 15:33:34 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig zlib libjpeg libpng libtiff pam openssl dbus;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
2009-08-28 03:32:13 +04:00
|
|
|
gutenprint = import ../misc/drivers/gutenprint {
|
|
|
|
inherit fetchurl stdenv lib pkgconfig composableDerivation cups libtiff libpng
|
|
|
|
openssl git gimp;
|
|
|
|
};
|
|
|
|
|
2009-09-23 00:16:38 +04:00
|
|
|
gutenprintBin = import ../misc/drivers/gutenprint/bin.nix {
|
2009-08-28 03:32:13 +04:00
|
|
|
inherit fetchurl stdenv rpm cpio zlib;
|
|
|
|
};
|
|
|
|
|
2010-04-14 23:27:04 +04:00
|
|
|
cupsBjnp = import ../misc/cups/drivers/cups-bjnp {
|
2009-08-28 03:32:10 +04:00
|
|
|
inherit fetchurl stdenv cups;
|
|
|
|
};
|
|
|
|
|
2007-11-01 17:37:23 +03:00
|
|
|
dblatex = import ../misc/tex/dblatex {
|
|
|
|
inherit fetchurl stdenv python libxslt tetex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
dosbox = import ../misc/emulators/dosbox {
|
2009-05-14 15:17:41 +04:00
|
|
|
inherit fetchurl stdenv SDL makeDesktopItem;
|
2006-09-15 19:28:53 +04:00
|
|
|
};
|
|
|
|
|
2008-03-12 23:46:47 +03:00
|
|
|
dpkg = import ../tools/package-management/dpkg {
|
|
|
|
inherit fetchurl stdenv perl zlib bzip2;
|
|
|
|
};
|
2008-06-08 07:56:32 +04:00
|
|
|
|
2009-04-30 21:41:19 +04:00
|
|
|
electricsheep = import ../misc/screensavers/electricsheep {
|
|
|
|
inherit fetchurl stdenv pkgconfig expat zlib libpng libjpeg xlibs;
|
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
foldingathome = import ../misc/foldingathome {
|
2010-02-06 01:00:51 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2009-04-18 00:36:54 +04:00
|
|
|
|
2008-06-08 07:56:32 +04:00
|
|
|
freestyle = import ../misc/freestyle {
|
|
|
|
inherit fetchurl freeglut qt4 libpng lib3ds libQGLViewer swig;
|
|
|
|
inherit (xlibs) libXi;
|
|
|
|
#stdenv = overrideGCC stdenv gcc41;
|
2008-09-24 12:50:32 +04:00
|
|
|
inherit stdenv python;
|
2008-06-08 07:56:32 +04:00
|
|
|
};
|
|
|
|
|
2009-04-12 23:34:20 +04:00
|
|
|
gajim = builderDefsPackage (import ../applications/networking/instant-messengers/gajim) {
|
|
|
|
inherit perl intltool pyGtkGlade gettext pkgconfig makeWrapper pygobject
|
2009-04-17 17:48:22 +04:00
|
|
|
pyopenssl gtkspell libsexy pycrypto aspell pythonDBus pythonSexy
|
2009-04-12 23:34:20 +04:00
|
|
|
docutils;
|
|
|
|
dbus = dbus.libs;
|
|
|
|
inherit (gnome) gtk libglade;
|
2009-04-17 17:48:22 +04:00
|
|
|
inherit (xlibs) libXScrnSaver libXt xproto libXext xextproto libX11
|
2009-04-12 23:34:20 +04:00
|
|
|
scrnsaverproto;
|
|
|
|
python = pythonFull;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
generator = import ../misc/emulators/generator {
|
2007-06-10 00:45:01 +04:00
|
|
|
inherit fetchurl stdenv SDL nasm zlib bzip2 libjpeg;
|
2005-12-03 04:33:18 +03:00
|
|
|
inherit (gtkLibs1x) gtk;
|
|
|
|
};
|
|
|
|
|
2009-03-11 00:03:51 +03:00
|
|
|
ghostscript = makeOverridable (import ../misc/ghostscript) {
|
2009-01-17 16:08:51 +03:00
|
|
|
inherit fetchurl stdenv libjpeg libpng libtiff zlib x11 pkgconfig
|
|
|
|
fontconfig cups openssl;
|
2006-09-15 19:28:53 +04:00
|
|
|
x11Support = false;
|
2009-02-27 16:44:31 +03:00
|
|
|
cupsSupport = getPkgConfig "ghostscript" "cups" true;
|
2005-12-03 05:32:02 +03:00
|
|
|
};
|
|
|
|
|
2009-03-11 00:03:51 +03:00
|
|
|
ghostscriptX = lowPrio (appendToName "with-X" (ghostscript.override {
|
2007-08-14 18:09:58 +04:00
|
|
|
x11Support = true;
|
|
|
|
}));
|
2007-09-03 16:10:57 +04:00
|
|
|
|
2008-03-17 12:41:28 +03:00
|
|
|
gxemul = (import ../misc/gxemul) {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit lib stdenv fetchurl composableDerivation;
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
2007-10-04 02:38:09 +04:00
|
|
|
|
2007-10-06 22:17:47 +04:00
|
|
|
# using the new configuration style proposal which is unstable
|
2007-10-04 02:38:09 +04:00
|
|
|
jackaudio = import ../misc/jackaudio {
|
2008-12-20 04:20:35 +03:00
|
|
|
inherit composableDerivation
|
2008-08-18 20:03:04 +04:00
|
|
|
ncurses lib stdenv fetchurl alsaLib pkgconfig;
|
|
|
|
flags = [ "posix_shm" "timestamps" "alsa"];
|
2007-10-06 22:17:47 +04:00
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2007-08-04 19:12:14 +04:00
|
|
|
keynav = import ../tools/X11/keynav {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit stdenv fetchurl;
|
2009-10-28 17:06:56 +03:00
|
|
|
inherit (xlibs) libX11 xextproto libXtst imake libXi libXext;
|
2007-08-04 19:12:14 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
lazylist = import ../misc/tex/lazylist {
|
2006-01-27 23:51:41 +03:00
|
|
|
inherit fetchurl stdenv tetex;
|
|
|
|
};
|
|
|
|
|
2009-09-10 20:57:56 +04:00
|
|
|
lilypond = import ../misc/lilypond {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib automake autoconf
|
2009-09-10 20:57:56 +04:00
|
|
|
ghostscript texinfo imagemagick texi2html guile python gettext
|
|
|
|
perl bison pkgconfig texLive fontconfig freetype fontforge help2man;
|
|
|
|
inherit (gtkLibs) pango;
|
|
|
|
flex = flex2535;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
martyr = import ../development/libraries/martyr {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit stdenv fetchurl apacheAnt;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
maven = import ../misc/maven/maven-1.0.nix {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit stdenv fetchurl jdk;
|
2005-04-29 17:23:15 +04:00
|
|
|
};
|
|
|
|
|
2009-11-25 10:51:06 +03:00
|
|
|
maven2 = import ../misc/maven {
|
|
|
|
inherit stdenv fetchurl jdk makeWrapper;
|
2007-12-19 03:17:40 +03:00
|
|
|
};
|
|
|
|
|
2010-05-05 23:48:32 +04:00
|
|
|
nix = nixUnstable;
|
|
|
|
|
|
|
|
nixStable = makeOverridable (import ../tools/package-management/nix) {
|
2010-02-23 19:14:21 +03:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl aterm;
|
2009-11-06 16:30:06 +03:00
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2006-05-01 23:16:41 +04:00
|
|
|
};
|
|
|
|
|
2009-03-09 18:49:58 +03:00
|
|
|
nixUnstable = makeOverridable (import ../tools/package-management/nix/unstable.nix) {
|
2010-05-14 12:57:16 +04:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl;
|
2008-09-24 12:50:05 +04:00
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
2008-09-24 21:38:40 +04:00
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2006-11-17 15:49:46 +03:00
|
|
|
};
|
2006-10-18 18:04:55 +04:00
|
|
|
|
2010-03-04 17:39:47 +03:00
|
|
|
# The SQLite branch.
|
2010-03-09 11:45:20 +03:00
|
|
|
nixSqlite = lowPrio (makeOverridable (import ../tools/package-management/nix/sqlite.nix) {
|
2010-05-14 12:57:16 +04:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl sqlite;
|
2010-03-04 17:39:47 +03:00
|
|
|
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
|
|
|
stateDir = getPkgConfig "nix" "stateDir" "/nix/var";
|
2010-03-09 11:45:20 +03:00
|
|
|
});
|
2010-03-04 17:39:47 +03:00
|
|
|
|
2008-05-06 11:03:41 +04:00
|
|
|
nixCustomFun = src: preConfigure: enableScripts: configureFlags:
|
2008-02-21 16:44:06 +03:00
|
|
|
import ../tools/package-management/nix/custom.nix {
|
2008-06-19 02:48:34 +04:00
|
|
|
inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake
|
2009-10-30 15:42:48 +03:00
|
|
|
autoconf libtool configureFlags enableScripts lib bison libxml2;
|
2008-02-21 16:44:06 +03:00
|
|
|
flex = flex2533;
|
2009-12-10 17:50:50 +03:00
|
|
|
aterm = aterm25;
|
2008-02-21 16:44:06 +03:00
|
|
|
db4 = db45;
|
2009-09-19 16:35:52 +04:00
|
|
|
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m;
|
2008-02-21 16:44:06 +03:00
|
|
|
};
|
2007-11-13 18:52:16 +03:00
|
|
|
|
2008-07-06 19:44:46 +04:00
|
|
|
disnix = import ../tools/package-management/disnix {
|
2010-04-01 18:49:05 +04:00
|
|
|
inherit stdenv fetchurl pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable;
|
2008-07-06 19:44:46 +04:00
|
|
|
};
|
2009-09-23 00:16:38 +04:00
|
|
|
|
2009-09-02 14:03:45 +04:00
|
|
|
disnix_activation_scripts = import ../tools/package-management/disnix/activation-scripts {
|
2010-04-01 18:49:05 +04:00
|
|
|
inherit stdenv fetchurl;
|
2009-09-02 14:03:45 +04:00
|
|
|
};
|
2008-07-08 03:11:13 +04:00
|
|
|
|
2008-07-07 01:38:12 +04:00
|
|
|
DisnixService = import ../tools/package-management/disnix/DisnixService {
|
2010-04-01 18:49:05 +04:00
|
|
|
inherit stdenv fetchurl apacheAnt jdk axis2 dbus_java;
|
2008-07-07 01:38:12 +04:00
|
|
|
};
|
2008-07-08 03:11:13 +04:00
|
|
|
|
2010-01-27 15:12:35 +03:00
|
|
|
latex2html = import ../misc/tex/latex2html/default.nix {
|
|
|
|
inherit fetchurl stdenv perl ghostscript netpbm;
|
|
|
|
tex = tetex;
|
|
|
|
};
|
|
|
|
|
2008-01-29 04:24:54 +03:00
|
|
|
pgadmin = import ../applications/misc/pgadmin {
|
|
|
|
inherit fetchurl stdenv postgresql libxml2 libxslt openssl;
|
2009-11-05 16:29:52 +03:00
|
|
|
inherit wxGTK;
|
2008-01-29 04:24:54 +03:00
|
|
|
};
|
|
|
|
|
2008-10-08 18:03:44 +04: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-11 02:51:59 +03:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
polytable = import ../misc/tex/polytable {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv tetex lazylist;
|
2005-10-21 17:06:43 +04:00
|
|
|
};
|
|
|
|
|
2009-11-18 12:39:59 +03:00
|
|
|
psi = (import ../applications/networking/instant-messengers/psi) {
|
2010-03-05 15:00:37 +03:00
|
|
|
inherit stdenv fetchurl zlib aspell sox pkgconfig qt4;
|
2009-11-18 12:39:59 +03:00
|
|
|
inherit (xlibs) xproto libX11 libSM libICE;
|
|
|
|
qca2 = kde4.qca2;
|
|
|
|
};
|
2008-03-20 12:52:40 +03:00
|
|
|
|
2007-05-28 18:10:46 +04:00
|
|
|
putty = import ../applications/networking/remote/putty {
|
2010-05-07 18:18:00 +04:00
|
|
|
inherit stdenv fetchsvn ncurses pkgconfig autoconf automake perl halibut;
|
|
|
|
inherit (gtkLibs) gtk;
|
2007-05-28 18:10:46 +04:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
rssglx = import ../misc/screensavers/rss-glx {
|
2008-06-15 00:55:48 +04:00
|
|
|
inherit fetchurl stdenv x11 mesa pkgconfig imagemagick libtiff bzip2;
|
2006-03-02 21:17:45 +03:00
|
|
|
};
|
|
|
|
|
2008-02-15 13:40:20 +03:00
|
|
|
xlockmore = import ../misc/screensavers/xlockmore {
|
2009-09-23 00:16:38 +04:00
|
|
|
inherit fetchurl stdenv x11 freetype;
|
|
|
|
pam = if getPkgConfig "xlockmore" "pam" true then pam else null;
|
2008-02-15 13:40:20 +03:00
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
saneBackends = import ../misc/sane-backends {
|
2007-08-09 00:33:36 +04:00
|
|
|
inherit fetchurl stdenv libusb;
|
2008-03-17 12:41:28 +03:00
|
|
|
gt68xxFirmware = getConfig ["sane" "gt68xxFirmware"] null;
|
2007-08-09 00:33:36 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
saneFrontends = import ../misc/sane-front {
|
2008-03-17 12:41:28 +03:00
|
|
|
inherit fetchurl stdenv pkgconfig libusb saneBackends;
|
2007-08-09 00:33:36 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
2005-11-03 23:00:43 +03:00
|
|
|
};
|
|
|
|
|
2008-06-15 15:54:22 +04:00
|
|
|
sourceAndTags = import ../misc/source-and-tags {
|
2008-08-21 15:07:44 +04:00
|
|
|
inherit pkgs stdenv unzip lib ctags;
|
2009-07-10 02:23:51 +04:00
|
|
|
hasktags = haskellPackages.myhasktags;
|
2008-06-15 15:54:22 +04:00
|
|
|
};
|
|
|
|
|
2010-04-14 23:27:15 +04:00
|
|
|
splix = import ../misc/cups/drivers/splix {
|
|
|
|
inherit stdenv fetchurl cups zlib;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
tetex = import ../misc/tex/tetex {
|
2006-09-15 19:28:53 +04:00
|
|
|
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
2006-01-31 18:18:27 +03:00
|
|
|
};
|
|
|
|
|
2010-01-31 15:13:33 +03:00
|
|
|
tex4ht = import ../misc/tex/tex4ht {
|
|
|
|
inherit fetchurl stdenv tetex;
|
|
|
|
};
|
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
texFunctions = import ../misc/tex/nix {
|
2009-07-17 19:10:01 +04:00
|
|
|
inherit stdenv perl tetex graphviz ghostscript makeFontsConf imagemagick runCommand lib;
|
2009-07-23 18:13:09 +04:00
|
|
|
inherit (haskellPackages) lhs2tex;
|
2006-01-28 05:10:26 +03:00
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLive = builderDefsPackage (import ../misc/tex/texlive) {
|
2008-03-20 12:52:40 +03:00
|
|
|
inherit builderDefs zlib bzip2 ncurses libpng ed
|
2008-07-08 22:23:15 +04:00
|
|
|
gd t1lib freetype icu perl ruby expat curl
|
2010-02-10 23:43:59 +03:00
|
|
|
libjpeg bison python fontconfig;
|
2008-03-20 12:52:40 +03:00
|
|
|
inherit (xlibs) libXaw libX11 xproto libXt libXpm
|
2008-08-25 18:52:53 +04:00
|
|
|
libXmu libXext xextproto libSM libICE;
|
2008-03-20 12:52:40 +03:00
|
|
|
flex = flex2535;
|
|
|
|
ghostscript = ghostscriptX;
|
|
|
|
};
|
|
|
|
|
2008-06-19 02:48:34 +04:00
|
|
|
/* Look in configurations/misc/raskin.nix for usage example (around revisions
|
|
|
|
where TeXLive was added)
|
|
|
|
|
2008-03-22 16:04:04 +03:00
|
|
|
(texLiveAggregationFun {
|
2008-06-19 02:48:34 +04:00
|
|
|
paths = [texLive texLiveExtra texLiveCMSuper
|
2008-03-22 16:04:04 +03:00
|
|
|
texLiveBeamer
|
|
|
|
];
|
2008-08-15 02:04:30 +04:00
|
|
|
})
|
2008-05-16 08:52:47 +04: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 16:04:04 +03:00
|
|
|
*/
|
2008-08-25 17:25:07 +04:00
|
|
|
texLiveAggregationFun =
|
2008-08-15 02:04:30 +04:00
|
|
|
(builderDefsPackage (import ../misc/tex/texlive/aggregate.nix));
|
2008-03-22 16:04:04 +03:00
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLiveContext = builderDefsPackage (import ../misc/tex/texlive/context.nix) {
|
2008-04-28 14:10:44 +04:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLiveExtra = builderDefsPackage (import ../misc/tex/texlive/extra.nix) {
|
2008-03-22 16:04:04 +03:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLiveCMSuper = builderDefsPackage (import ../misc/tex/texlive/cm-super.nix) {
|
2008-03-22 16:04:04 +03:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLiveLatexXColor = builderDefsPackage (import ../misc/tex/texlive/xcolor.nix) {
|
2008-03-22 16:04:04 +03:00
|
|
|
inherit texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLivePGF = builderDefsPackage (import ../misc/tex/texlive/pgf.nix) {
|
2008-03-22 16:04:04 +03:00
|
|
|
inherit texLiveLatexXColor texLive;
|
|
|
|
};
|
|
|
|
|
2008-08-15 02:04:30 +04:00
|
|
|
texLiveBeamer = builderDefsPackage (import ../misc/tex/texlive/beamer.nix) {
|
2008-03-22 16:04:04 +03:00
|
|
|
inherit texLiveLatexXColor texLivePGF texLive;
|
|
|
|
};
|
2008-03-20 12:52:40 +03:00
|
|
|
|
2006-10-18 14:32:45 +04:00
|
|
|
toolbuslib = import ../development/libraries/toolbuslib {
|
2006-02-02 19:31:23 +03:00
|
|
|
inherit stdenv fetchurl aterm;
|
|
|
|
};
|
|
|
|
|
2009-08-28 10:29:21 +04:00
|
|
|
trac = import ../misc/trac {
|
2008-06-19 19:46:43 +04:00
|
|
|
inherit stdenv fetchurl python clearsilver makeWrapper
|
2009-07-08 02:34:03 +04:00
|
|
|
sqlite subversion;
|
|
|
|
inherit (pythonPackages) pysqlite;
|
2009-08-28 10:29:21 +04:00
|
|
|
};
|
2008-06-19 02:48:34 +04:00
|
|
|
|
2010-03-25 22:40:19 +03: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-19 02:48:34 +04:00
|
|
|
|
2009-03-19 14:03:32 +03:00
|
|
|
wine =
|
2010-03-25 22:40:19 +03: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-26 01:46:18 +04:00
|
|
|
|
2010-05-16 20:23:17 +04:00
|
|
|
x2x = import ../tools/X11/x2x {
|
|
|
|
inherit stdenv fetchurl;
|
|
|
|
inherit (xlibs) imake libX11 libXtst libXext;
|
|
|
|
};
|
|
|
|
|
2008-03-29 03:49:26 +03:00
|
|
|
xosd = import ../misc/xosd {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libX11 libXext libXt xextproto xproto;
|
|
|
|
};
|
|
|
|
|
2007-08-09 00:33:36 +04:00
|
|
|
xsane = import ../misc/xsane {
|
|
|
|
inherit fetchurl stdenv pkgconfig libusb
|
2008-03-17 12:41:28 +03:00
|
|
|
saneBackends saneFrontends;
|
2007-08-09 00:33:36 +04:00
|
|
|
inherit (gtkLibs) gtk;
|
|
|
|
inherit (xlibs) libX11;
|
|
|
|
};
|
|
|
|
|
2009-01-25 17:31:51 +03:00
|
|
|
yafc = import ../applications/networking/yafc {
|
|
|
|
inherit fetchurl stdenv readline openssh;
|
|
|
|
};
|
|
|
|
|
2008-10-10 02:57:20 +04:00
|
|
|
myEnvFun = import ../misc/my-env {
|
|
|
|
inherit substituteAll pkgs;
|
|
|
|
inherit (stdenv) mkDerivation;
|
|
|
|
};
|
2008-06-15 15:54:22 +04:00
|
|
|
|
2009-07-08 00:53:16 +04:00
|
|
|
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
|
2009-04-17 17:48:22 +04:00
|
|
|
|
2008-03-17 20:29:07 +03:00
|
|
|
}; in pkgs
|