2006-02-08 18:37:45 +01:00
/* T h i s f i l e c o m p o s e s t h e N i x P a c k a g e s c o l l e c t i o n . T h a t i s , i t
imports the functions that build the various packages , and calls
them with appropriate arguments . The result is a set of all the
packages in the Nix Packages collection for some particular
platform . * /
2006-08-23 17:58:54 +02:00
{ # The system (e.g., `i686-linux') for which to build the packages.
2006-02-08 18:37:45 +01:00
system ? __currentSystem
2003-11-02 18:42:19 +01:00
2006-08-23 17:58:54 +02: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 18:37:45 +01: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 19:23:18 +02:00
, gccWithCC ? true
, gccWithProfiling ? true
2004-03-11 18:26:14 +01:00
2006-02-08 18:37:45 +01:00
} :
2003-11-03 11:22:00 +01:00
2003-11-25 19:02:05 +01:00
2006-02-08 18:37:45 +01:00
rec {
2003-11-25 19:02:05 +01:00
2006-09-15 17:28:53 +02:00
2004-03-27 22:59:31 +01:00
### Symbolic names.
2006-09-15 17:28:53 +02:00
x11 = xlibsWrapper ;
2005-11-12 18:05:51 +01: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 14:46:39 +02:00
xlibs = xorg // { xlibs = xlibsWrapper ; } ;
2005-11-12 18:05:51 +01:00
2006-02-08 18:37:45 +01:00
2006-02-09 18:04:18 +01:00
### Helper functions.
2006-03-23 17:47:34 +01:00
2006-06-23 22:11:36 +02:00
# Override the compiler in stdenv for specific packages.
overrideGCC = stdenv : gcc : stdenv //
{ mkDerivation = args : stdenv . mkDerivation ( args // { NIX_GCC = gcc ; } ) ;
} ;
# Add some arbitrary packages to buildInputs for specific packages.
# Used to override packages in stenv like Make. Should not be used
# for other dependencies.
overrideInStdenv = stdenv : pkgs : stdenv //
{ mkDerivation = args : stdenv . mkDerivation ( args //
{ buildInputs = ( if args ? buildInputs then args . buildInputs else [ ] ) ++ pkgs ; }
) ;
} ;
2006-10-18 14:50:04 +02:00
addAttrsToDerivation = extraAttrs : stdenv : stdenv //
{ mkDerivation = args : stdenv . mkDerivation ( args // extraAttrs ) ; } ;
2006-08-07 15:31:18 +02:00
# Override the setup script of stdenv. Useful for testing new
# versions of the setup script without causing a rebuild of
# everything.
#
# Example:
2006-10-18 12:32:45 +02:00
# randomPkg = import ../bla { ...
2006-08-07 15:31:18 +02:00
# stdenv = overrideSetup stdenv ../stdenv/generic/setup-latest.sh;
# };
overrideSetup = stdenv : setup : stdenv . regenerate setup ;
2006-10-18 14:50:04 +02:00
# Return a modified stdenv that uses dietlibc to create small
# statically linked binaries.
useDietLibC = stdenv : stdenv //
{ mkDerivation = args : stdenv . mkDerivation ( args // {
NIX_CFLAGS_LINK = " - s t a t i c " ;
2006-10-19 13:03:20 +02:00
# libcompat.a contains some commonly used functions.
NIX_LDFLAGS = " - l c o m p a t " ;
2006-10-18 14:50:04 +02:00
# These are added *after* the command-line flags, so we'll
# always optimise for size.
2006-10-18 17:16:53 +02:00
NIX_CFLAGS_COMPILE =
( if args ? NIX_CFLAGS_COMPILE then args . NIX_CFLAGS_COMPILE else " " )
2006-10-18 18:16:07 +02:00
+ " - O s - s - D _ B S D _ S O U R C E = 1 " ;
2006-10-18 14:50:04 +02:00
configureFlags =
( if args ? configureFlags then args . configureFlags else " " )
+ " - - d i s a b l e - s h a r e d " ; # brrr...
NIX_GCC = import ../build-support/gcc-wrapper {
2006-10-23 19:43:55 +02:00
inherit stdenv ;
2006-10-24 20:26:23 +02:00
libc = dietlibc ;
2006-10-23 19:43:55 +02:00
inherit ( gcc ) gcc binutils name nativeTools nativePrefix ;
2006-10-24 20:26:23 +02:00
nativeLibc = false ;
2006-10-18 14:50:04 +02:00
} ;
} ) ;
2006-10-18 17:16:53 +02:00
isDietLibC = true ;
2006-10-18 14:50:04 +02:00
} ;
2006-10-20 13:49:47 +02:00
# Return a modified stdenv that tries to build statically linked
# binaries.
makeStaticBinaries = stdenv : stdenv //
{ mkDerivation = args : stdenv . mkDerivation ( args // {
NIX_CFLAGS_LINK = " - s t a t i c " ;
configureFlags =
( if args ? configureFlags then args . configureFlags else " " )
+ " - - d i s a b l e - s h a r e d " ; # brrr...
} ) ;
} ;
2006-09-15 17:28:53 +02:00
# Applying this to an attribute set will cause nix-env to look
# inside the set for derivations.
recurseIntoAttrs = attrs : attrs // { recurseForDerivations = true ; } ;
useFromStdenv = hasIt : it : alternative : if hasIt then it else alternative ;
2008-02-12 09:42:56 +01:00
lib = import ../lib ;
2006-09-25 12:07:59 +02:00
2008-02-12 17:24:02 +01:00
annotatedDerivations = ( import ../lib/annotatedDerivations.nix ) { inherit lib ; } ;
# optional srcDir
annotatedWithSourceAndTagInfo = x : ( x ? sourceWithTags ) ;
# example arguments see annotatedGhcCabalDerivation
# tag command must create file named $TAG_FILE
sourceWithTagsDerivation = args : with args ;
let createTagFiles = ( lib . maybeAttr " c r e a t e T a g F i l e s " [ ] args ) ; in
stdenv . mkDerivation {
phases = " u n p a c k P h a s e b u i l d P h a s e " ;
inherit ( args ) src name ;
srcDir = ( lib . maybeAttr " s r c D i r " " . " args ) ;
# using separate tag directory so that you don't have to glob that much files when starting your editor
# is this a good choice?
buildPhase = "
SRC_DEST = \ $ out/src / \ $ name
t = \ $ out/tags / \ $ name
ensureDir \ $ SRC_DEST \ $ t
cp - r \ $ srcDir \ $ SRC_DEST "
+ lib . defineShList " s h _ l i s t _ n a m e s " ( lib . catAttrs " n a m e " createTagFiles )
+ lib . defineShList " s h _ l i s t _ c m d s " ( lib . catAttrs " t a g C m d " createTagFiles )
+ " c d \$ S R C _ D E S T
for a in ` seq 0 \ $ { #sh_list}`; do
TAG_FILE = \ " \$ S R C _ D E S T / \" \$ { s h _ l i s t _ n a m e s [ \$ a ] }
cmd = \ " \$ { s h _ l i s t _ c m d s [ \$ a ] } \"
echo running tag cmd \ " \$ c m d \" i n ` p w d `
eval \ " \$ c m d \" ;
ln - s \ $ TAG_FILE \ " \$ t / \" \$ { s h _ l i s t _ n a m e s [ \$ a ] }
done
" ;
} ;
# example usage
testSourceWithTags = sourceWithTagsDerivation ( ghc68_extra_libs ghcsAndLibs . ghc68 ) . mtl . sourceWithTags ;
2006-09-24 20:38:12 +02:00
# Return an attribute from the Nixpkgs configuration file, or
# a default value if the attribute doesn't exist.
2008-02-12 09:42:56 +01:00
getConfig = attrPath : default : lib . getAttr attrPath default config ;
2006-09-24 20:38:12 +02:00
2007-09-01 20:26:13 +02:00
# Return user-choosen version of given package. If you define package as
#
# pkgname_alts =
# {
# v_0_1 = ();
# v_0_2 = ();
# default = v_0_1;
# recurseForDerivations = true;
# };
# pkgname = getVersion "name" pkgname_alts;
#
# user will be able to write in his configuration.nix something like
2008-01-28 20:29:28 +01:00
# name = { version = "0.2"; }; and pkgname will be equal
# to getAttr pkgname_alts "0.2". Using alts.default by default.
2007-09-01 20:26:13 +02:00
getVersion = name : alts : builtins . getAttr
2008-01-28 20:29:28 +01:00
( getConfig [ name " v e r s i o n " ] " d e f a u l t " ) alts ;
2007-09-01 20:26:13 +02:00
2007-11-14 22:57:26 +01:00
# The same, another syntax.
# Warning: syntax for configuration.nix changed too
2008-01-29 14:24:40 +01:00
useVersion = name : f : f {
version = getConfig [ " e n v i r o n m e n t " " v e r s i o n s " name ] ;
2007-11-14 22:57:26 +01:00
} ;
2006-09-24 20:38:12 +02:00
# The contents of the configuration file found at $NIXPKGS_CONFIG or
# $HOME/.nixpkgs/config.nix.
config =
let {
toPath = builtins . toPath ;
2006-09-24 23:49:07 +02:00
getEnv = x : if builtins ? getEnv then builtins . getEnv x else " " ;
2006-09-24 20:38:12 +02:00
pathExists = name :
builtins ? pathExists && builtins . pathExists ( toPath name ) ;
2006-09-24 23:49:07 +02:00
configFile = getEnv " N I X P K G S _ C O N F I G " ;
homeDir = getEnv " H O M E " ;
2006-09-24 20:38:12 +02:00
configFile2 = homeDir + " / . n i x p k g s / c o n f i g . n i x " ;
body =
if configFile != " " && pathExists configFile
then import ( toPath configFile )
else if homeDir != " " && pathExists configFile2
then import ( toPath configFile2 )
else { } ;
} ;
2007-04-26 15:02:30 +02:00
# Change the symbolic name of a package for presentation purposes
# (i.e., so that nix-env users can tell them apart).
setName = name : drv : drv // { inherit name ; } ;
updateName = updater : drv : drv // { name = updater ( drv . name ) ; } ;
# !!! the suffix should really be appended *before* the version, at
# least most of the time.
appendToName = suffix : updateName ( name : " ${ name } - ${ suffix } " ) ;
2007-05-01 22:35:58 +02:00
# Decrease the priority of the package, i.e., other
# versions/variants will be preferred.
lowPrio = drv : drv // {
meta = ( if drv ? meta then drv . meta else { } ) // { priority = " 1 0 " ; } ;
} ;
2007-05-16 16:34:27 +02:00
2007-11-23 17:58:42 +01:00
mkDerivationByConfiguration =
assert builtins ? isAttrs ;
{ flagConfig ? { } , optionals ? [ ] , defaults ? [ ]
, extraAttrs , collectExtraPhaseActions ? [ ]
} :
2007-11-05 22:30:59 +01:00
args : with args . lib ; with args ;
2007-11-23 17:58:42 +01:00
if ( builtins . isAttrs extraAttrs ) then builtins . throw " t h e a r g u m e n t e x t r a A t t r s n e e d s t o b e a f u n c t i o n b e e i n g p a s s e d c o , b u t a t t r i b u t e s e t p a s s e d "
2007-09-09 20:14:19 +02:00
else
2008-01-16 04:29:56 +01:00
let co = lib . chooseOptionsByFlags { inherit args flagConfig optionals defaults collectExtraPhaseActions ; } ; in
2007-09-09 20:14:19 +02:00
args . stdenv . mkDerivation (
{
2007-11-05 22:30:59 +01:00
inherit ( co ) configureFlags buildInputs /* f l a g s */ ;
} // extraAttrs co // co . pass // co . flags_prefixed ) ;
2007-10-05 09:26:23 +02:00
2006-02-09 18:04:18 +01:00
2007-09-25 21:03:07 +02:00
# Check absence of non-used options
checker = x : flag : opts : config :
( if flag then let result = (
( import ../build-support/checker )
opts config ) ; in
2007-11-10 14:35:50 +01:00
( if ( result == " " ) then x else
2008-01-15 21:12:17 +01:00
abort ( " U n k n o w n o p t i o n s p e c i f i e d : " + result ) )
2007-09-25 21:03:07 +02:00
else x ) ;
2007-10-29 11:52:04 +01:00
builderDefs = lib . sumArgs ( import ./builder-defs.nix ) {
2008-01-24 00:39:06 +01:00
inherit stringsWithDeps lib stdenv writeScript fetchurl ;
2007-10-29 11:52:04 +01:00
} ;
stringsWithDeps = import ../lib/strings-with-deps.nix {
inherit stdenv lib ;
} ;
2007-11-26 14:24:56 +01:00
# Call a specific version of a Nix expression, that is,
# `selectVersion ./foo {version = "0.1.2"; args...}' evaluates to
# `import ./foo/0.1.2.nix args'.
selectVersion = dir : args : import ( dir + " / ${ args . version } . n i x " ) args ;
2006-02-08 18:37:45 +01:00
### STANDARD ENVIRONMENT
defaultStdenv =
2006-02-09 16:55:20 +01:00
( import ../stdenv {
2006-08-23 17:58:54 +02:00
inherit system stdenvType ;
2006-02-08 18:39:57 +01:00
allPackages = import ./all-packages.nix ;
2006-02-08 18:37:45 +01:00
} ) . stdenv ;
2007-08-20 16:26:32 +02:00
stdenv =
if bootStdenv != null then bootStdenv else
let changer = getConfig [ " r e p l a c e S t d e n v " ] null ;
in if changer != null then
changer {
stdenv = defaultStdenv ;
overrideSetup = overrideSetup ;
}
else defaultStdenv ;
2004-03-27 22:59:31 +01:00
2007-11-05 10:27:36 +01:00
stdenvUsingSetupNew2 = overrideSetup stdenv ../stdenv/generic/setup-new-2.sh ;
2008-02-14 11:50:24 +01:00
2003-11-03 19:21:30 +01:00
2006-09-15 17:28:53 +02:00
### BUILD SUPPORT
2003-11-02 18:42:19 +01:00
2003-11-25 19:02:05 +01:00
2006-11-28 17:46:12 +01:00
buildEnv = import ../build-support/buildenv {
inherit stdenv perl ;
} ;
2006-10-18 12:32:45 +02:00
fetchcvs = import ../build-support/fetchcvs {
2006-05-11 14:36:16 +02:00
inherit stdenv cvs nix ;
} ;
2006-10-18 12:32:45 +02:00
fetchdarcs = import ../build-support/fetchdarcs {
2006-01-30 12:18:38 +01:00
inherit stdenv darcs nix ;
} ;
2006-10-18 12:32:45 +02:00
fetchsvn = import ../build-support/fetchsvn {
2006-09-15 17:28:53 +02:00
inherit stdenv subversion nix openssh ;
sshSupport = true ;
} ;
2007-09-03 14:10:57 +02:00
# TODO do some testing
fetchhg = import ../build-support/fetchhg {
inherit stdenv mercurial nix ;
} ;
2006-09-15 17:28:53 +02:00
# Allow the stdenv to determine fetchurl, to cater for strange
# requirements.
fetchurl = useFromStdenv ( stdenv ? fetchurl ) stdenv . fetchurl
( import ../build-support/fetchurl {
inherit stdenv curl ;
} ) ;
2005-04-22 14:14:55 +02:00
2008-01-18 11:29:58 +01:00
makeSetupHook = script : runCommand " h o o k " { } ''
ensureDir $ out/nix-support
cp $ { script } $ out/nix-support/setup-hook
'' ;
2008-01-18 12:28:41 +01:00
makeWrapper = makeSetupHook ../build-support/make-wrapper/make-wrapper.sh ;
2008-01-18 11:29:58 +01:00
2006-12-13 15:23:24 +01:00
# Run the shell command `buildCommand' to produce a store object
# named `name'. The attributes in `env' are added to the
# environment prior to running the command.
2006-12-27 19:14:57 +01:00
runCommand = name : env : buildCommand : stdenv . mkDerivation ( {
2006-12-10 23:24:42 +01:00
inherit name buildCommand ;
} // env ) ;
2006-09-15 17:28:53 +02:00
2006-12-13 15:23:24 +01:00
# Write a plain text file to the Nix store. (The advantage over
# plain sources is that `text' can refer to the output paths of
# derivations, e.g., "... ${somePkg}/bin/foo ...".
2007-06-09 21:47:20 +02:00
writeText = name : text : runCommand name { inherit text ; } " e c h o - n \" $ t e x t \" > $ o u t " ;
2006-12-13 15:23:24 +01:00
2007-08-14 18:41:41 +02:00
writeScript = name : text : runCommand name { inherit text ; } " e c h o - n \" $ t e x t \" > $ o u t ; c h m o d + x $ o u t " ;
2007-12-18 23:56:12 +01:00
writeScriptBin = name : text : runCommand name { inherit text ; } " m k d i r - p \$ o u t / b i n ; e c h o - n \" \$ t e x t \" > \$ o u t / b i n / \$ n a m e ; c h m o d + x \$ o u t / b i n / \$ n a m e " ;
2007-07-15 13:16:12 +02:00
stdenvNewSetupScript = overrideSetup stdenv ../stdenv/generic/setup-new.sh ;
2006-12-10 23:24:42 +01:00
substituteAll = import ../build-support/substitute/substitute-all.nix {
2007-07-15 13:16:12 +02:00
stdenv = stdenvNewSetupScript ;
2006-11-02 23:44:32 +01:00
} ;
2006-11-03 14:33:24 +01:00
nukeReferences = import ../build-support/nuke-references/default.nix {
inherit stdenv ;
} ;
2003-11-03 19:21:30 +01:00
### TOOLS
2006-09-15 17:28:53 +02:00
2007-04-08 01:38:01 +02:00
aefs = import ../tools/security/aefs {
inherit fetchurl stdenv fuse ;
} ;
2007-10-06 17:59:35 +02:00
amule = import ../tools/networking/p2p/amule {
inherit fetchurl stdenv zlib wxGTK ;
} ;
2008-02-06 20:36:12 +01:00
avahi = import ../development/libraries/avahi {
inherit stdenv fetchurl pkgconfig libdaemon dbus ;
} ;
2007-08-16 21:50:59 +02:00
axel = import ../tools/networking/axel {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
azureus = import ../tools/networking/p2p/azureus {
inherit fetchurl stdenv jdk swt ;
} ;
2006-10-18 12:32:45 +02:00
bc = import ../tools/misc/bc {
2005-10-10 02:55:07 +02:00
inherit fetchurl stdenv flex ;
} ;
2006-10-18 16:04:55 +02:00
bibtextools = import ../tools/typesetting/bibtex-tools {
inherit fetchurl stdenv aterm tetex hevea sdf strategoxt ;
} ;
2006-10-18 12:32:45 +02:00
bittorrent = import ../tools/networking/p2p/bittorrent {
2007-05-31 15:43:13 +02:00
inherit fetchurl stdenv makeWrapper python pycrypto twisted ;
wxPython = wxPython26 ;
2006-12-13 21:30:09 +01:00
gui = true ;
2006-09-15 17:28:53 +02:00
} ;
2007-06-20 01:38:01 +02:00
bittornado = import ../tools/networking/p2p/bit-tornado {
inherit fetchurl stdenv python wxPython26 ;
} ;
2006-10-18 12:32:45 +02:00
bsdiff = import ../tools/compression/bsdiff {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
} ;
bzip2 = useFromStdenv ( stdenv ? bzip2 ) stdenv . bzip2
( import ../tools/compression/bzip2 {
inherit fetchurl stdenv ;
} ) ;
cabextract = import ../tools/archivers/cabextract {
inherit fetchurl stdenv ;
} ;
2008-01-14 15:43:24 +01:00
chkrootkit = import ../tools/security/chkrootkit {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
cksfv = import ../tools/networking/cksfv {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
} ;
2006-02-09 18:04:18 +01:00
coreutils = useFromStdenv ( stdenv ? coreutils ) stdenv . coreutils
2006-10-27 22:08:53 +02:00
( ( if stdenv ? isDietLibC
then import ../tools/misc/coreutils-5
else import ../tools/misc/coreutils )
{
2006-03-08 16:00:18 +01:00
inherit fetchurl stdenv ;
} ) ;
2003-11-02 18:42:19 +01:00
2006-10-18 12:32:45 +02:00
cpio = import ../tools/archivers/cpio {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
} ;
2003-11-02 18:42:19 +01:00
2007-01-10 16:44:58 +01:00
cron = import ../tools/system/cron {
2007-05-24 17:29:32 +02:00
inherit fetchurl stdenv ;
2007-01-10 16:44:58 +01:00
} ;
2006-09-15 17:28:53 +02:00
curl = if stdenv ? curl then stdenv . curl else ( assert false ; null ) ;
2007-10-25 16:07:50 +02:00
curlftpfs = import ../tools/networking/curlftpfs {
inherit fetchurl stdenv fuse curl pkgconfig zlib ;
inherit ( gtkLibs ) glib ;
} ;
2007-09-03 14:10:57 +02:00
dnsmasq = import ../tools/networking/dnsmasq {
# TODO i18n can be installed as well, implement it?
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
dhcp = import ../tools/networking/dhcp {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv groff nettools coreutils iputils gnused bash ;
2006-08-26 11:44:39 +02:00
} ;
2006-09-15 17:28:53 +02:00
diffutils = useFromStdenv ( stdenv ? diffutils ) stdenv . diffutils
( import ../tools/text/diffutils {
inherit fetchurl stdenv coreutils ;
} ) ;
2008-02-04 05:41:55 +01:00
dosfstoolsFun = lib . sumArgs ( selectVersion ../tools/misc/dosfstools )
{
inherit builderDefs ;
version = " 2 . 1 1 d e b " ;
} ;
dosfstools = dosfstoolsFun null ;
2006-10-18 12:32:45 +02:00
ed = import ../tools/text/ed {
2005-07-21 13:26:51 +02:00
inherit fetchurl stdenv ;
2005-08-13 21:06:03 +02:00
} ;
2006-10-18 12:32:45 +02:00
enscript = import ../tools/text/enscript {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2005-07-21 13:26:51 +02:00
} ;
2007-10-07 15:37:08 +02:00
eprover = import ../tools/misc/eProver {
inherit fetchurl stdenv which tetex ;
} ;
2006-10-18 12:32:45 +02:00
exif = import ../tools/graphics/exif {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv pkgconfig libexif popt ;
2005-08-23 16:19:16 +02:00
} ;
2006-10-18 12:32:45 +02:00
file = import ../tools/misc/file {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2006-08-08 02:09:27 +02:00
} ;
2007-07-14 16:41:06 +02:00
filelight = import ../tools/system/filelight {
inherit fetchurl stdenv kdelibs x11 zlib
perl libpng ;
qt = qt3 ;
} ;
2006-09-15 17:28:53 +02:00
findutils = useFromStdenv ( stdenv ? findutils ) stdenv . findutils
2006-10-29 01:17:39 +02:00
( if system == " i 6 8 6 - d a r w i n " then findutils4227 else
import ../tools/misc/findutils {
inherit fetchurl stdenv coreutils ;
}
) ;
2006-09-15 17:28:53 +02:00
2006-10-28 00:50:58 +02:00
findutils4227 = import ../tools/misc/findutils/4.2.27.nix {
inherit fetchurl stdenv coreutils ;
} ;
2007-05-01 22:35:58 +02:00
findutilsWrapper = lowPrio ( appendToName " w r a p p e r " ( import ../tools/misc/findutils-wrapper {
2006-09-15 17:28:53 +02:00
inherit stdenv findutils ;
2007-05-01 22:35:58 +02:00
} ) ) ;
2005-07-31 22:11:36 +02:00
2008-01-28 20:51:14 +01:00
finger_bsd = import ../tools/networking/bsd-finger {
inherit fetchurl stdenv ;
} ;
2007-08-21 14:31:33 +02:00
fontforge = import ../tools/misc/fontforge {
inherit fetchurl stdenv gettext freetype zlib
libungif libpng libjpeg libtiff libxml2 ;
} ;
2006-09-15 17:28:53 +02:00
gawk = useFromStdenv ( stdenv ? gawk ) stdenv . gawk
( import ../tools/text/gawk {
inherit fetchurl stdenv ;
} ) ;
2007-12-01 17:20:23 +01:00
gdmapFun = lib . sumArgs ( selectVersion ../tools/system/gdmap ) {
inherit stdenv fetchurl builderDefs pkgconfig libxml2
intltool ;
inherit ( gtkLibs ) gtk ;
} ;
gdmap = gdmapFun {
version = " 0 . 7 . 5 " ;
} null ;
2006-10-18 12:32:45 +02:00
getopt = import ../tools/misc/getopt {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2005-10-08 01:02:58 +02:00
} ;
2007-05-16 16:49:28 +02:00
glxinfo = assert mesaSupported ; import ../tools/graphics/glxinfo {
2007-04-18 16:21:24 +02:00
inherit fetchurl stdenv x11 mesa ;
2007-05-28 16:10:46 +02:00
inherit ( xlibs ) libXext ;
2007-04-18 16:21:24 +02:00
} ;
2006-09-15 17:28:53 +02:00
gnugrep = useFromStdenv ( stdenv ? gnugrep ) stdenv . gnugrep
( import ../tools/text/gnugrep {
inherit fetchurl stdenv pcre ;
2006-03-08 16:00:18 +01:00
} ) ;
2003-11-02 19:14:24 +01:00
2007-04-26 15:02:30 +02:00
gnupatch = useFromStdenv ( stdenv ? patch ) stdenv . patch ( import ../tools/text/gnupatch {
2004-02-13 15:42:28 +01:00
inherit fetchurl stdenv ;
2007-04-26 15:02:30 +02:00
} ) ;
2004-02-13 15:42:28 +01:00
2006-09-15 17:28:53 +02:00
gnupg = import ../tools/security/gnupg {
inherit fetchurl stdenv readline ;
ideaSupport = true ; # enable for IDEA crypto support
} ;
2008-01-28 20:45:57 +01:00
gnupg2 = import ../tools/security/gnupg2 {
inherit fetchurl stdenv readline openldap bzip2 zlib libgpgerror pth
libgcrypt libassuan libksba libusb curl ;
} ;
2006-10-18 12:32:45 +02:00
gnuplot = import ../tools/graphics/gnuplot {
2007-09-21 22:43:43 +02:00
inherit fetchurl stdenv zlib gd texinfo ;
2006-09-15 17:28:53 +02:00
} ;
2004-08-09 16:33:14 +02:00
2007-08-04 17:12:14 +02:00
gnuplotX = import ../tools/graphics/gnuplot {
2007-09-23 01:18:55 +02:00
inherit fetchurl stdenv zlib gd texinfo ;
inherit ( xlibs ) libX11 libXt libXaw libXpm ;
x11Support = true ;
2007-08-04 17:12:14 +02:00
} ;
2006-03-08 16:00:18 +01:00
gnused = useFromStdenv ( stdenv ? gnused ) stdenv . gnused
( import ../tools/text/gnused {
inherit fetchurl stdenv ;
} ) ;
2003-11-02 18:42:19 +01:00
2006-10-20 22:05:26 +02:00
gnused412 = import ../tools/text/gnused/4.1.2.nix {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
gnutar = useFromStdenv ( stdenv ? gnutar ) stdenv . gnutar
2006-10-28 00:50:58 +02:00
( import ../tools/archivers/gnutar {
2006-03-08 16:00:18 +01:00
inherit fetchurl stdenv ;
} ) ;
2003-11-02 19:14:24 +01:00
2006-10-28 00:50:58 +02:00
gnutar151 = import ../tools/archivers/gnutar/1.15.1.nix {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
graphviz = import ../tools/graphics/graphviz {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv libpng libjpeg expat x11 yacc libtool ;
inherit ( xlibs ) libXaw ;
} ;
2006-10-18 12:32:45 +02:00
groff = import ../tools/text/groff {
2005-08-21 15:59:04 +02:00
inherit fetchurl stdenv ;
} ;
2007-01-22 20:57:12 +01:00
grub =
if system == " x 8 6 _ 6 4 - l i n u x " then
( import ./all-packages.nix { system = " i 6 8 6 - l i n u x " ; } ) . grub
else
import ../tools/misc/grub {
2008-01-03 17:56:03 +01:00
inherit fetchurl stdenv autoconf automake ;
2007-01-22 20:57:12 +01:00
} ;
2004-06-03 19:16:16 +02:00
2006-10-18 12:32:45 +02:00
gtkgnutella = import ../tools/networking/p2p/gtk-gnutella {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv pkgconfig libxml2 ;
inherit ( gtkLibs ) glib gtk ;
} ;
2005-06-20 22:35:07 +02:00
2006-09-15 17:28:53 +02:00
gzip = useFromStdenv ( stdenv ? gzip ) stdenv . gzip
( import ../tools/compression/gzip {
inherit fetchurl stdenv ;
} ) ;
2007-12-10 23:36:52 +01:00
hddtemp = import ../tools/hddtemp {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
hevea = import ../tools/typesetting/hevea {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ocaml ;
2004-08-21 00:06:36 +02:00
} ;
2007-12-01 17:20:23 +01:00
/* h y p p o c a m p u s F u n = l i b . s u m A r g s ( s e l e c t V e r s i o n . . / t o o l s / m i s c / h y p p o c a m p u s ) {
inherit builderDefs stdenv fetchurl libdbi libdbiDrivers fuse
pkgconfig perl gettext dbus dbus_glib pcre libscd ;
inherit ( gtkLibs ) glib ;
bison = bison23 ;
flex = flex2533 ;
} ;
hyppocampus = hyppocampusFun {
version = " 0 . 3 r c 1 " ;
} null ; * /
2006-10-18 12:32:45 +02:00
jdiskreport = import ../tools/misc/jdiskreport {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv unzip jdk ;
2005-10-26 23:10:31 +02:00
} ;
2006-10-18 12:32:45 +02:00
jing = import ../tools/text/xml/jing {
2005-10-24 16:01:08 +02:00
inherit fetchurl stdenv unzip ;
} ;
2006-10-18 12:32:45 +02:00
jing_tools = import ../tools/text/xml/jing/jing-script.nix {
2007-03-05 16:10:05 +01:00
inherit fetchurl stdenv unzip jre ;
2004-09-26 15:03:59 +02:00
} ;
2007-08-28 16:45:00 +02:00
jwhois = import ../tools/networking/jwhois {
inherit fetchurl stdenv ;
} ;
2007-08-09 18:55:14 +02:00
ktorrent = import ../tools/networking/p2p/ktorrent {
inherit fetchurl stdenv pkgconfig kdelibs
xlibs zlib libpng libjpeg perl gmp ;
} ;
2006-10-18 12:32:45 +02:00
less = import ../tools/misc/less {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ncurses ;
2006-07-04 21:17:34 +02:00
} ;
2007-08-04 14:41:00 +02:00
lftp = import ../tools/networking/lftp {
inherit fetchurl stdenv readline ;
} ;
2006-10-18 12:32:45 +02:00
lhs2tex = import ../tools/typesetting/lhs2tex {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ghc tetex polytable ;
2005-08-30 15:56:15 +02:00
} ;
2008-02-12 10:58:57 +01:00
lout = import ../tools/typesetting/lout {
2008-02-15 14:42:24 +01:00
inherit fetchurl stdenv ghostscript ;
2008-02-12 10:58:57 +01:00
} ;
2008-02-06 14:52:41 +01:00
lzma = import ../tools/compression/lzma {
inherit fetchurl stdenv ;
} ;
2008-02-12 11:51:44 +01:00
lsh = import ../tools/networking/lsh {
inherit stdenv fetchurl gperf guile gmp zlib liboop gnum4 ;
} ;
2008-02-07 15:39:07 +01:00
man = import ../tools/misc/man {
inherit fetchurl stdenv groff less ;
} ;
2008-02-07 14:38:44 +01:00
man_db = import ../tools/misc/man-db {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv db4 groff ;
2006-06-01 23:25:40 +02:00
} ;
2008-01-03 16:14:37 +01:00
memtest86 = import ../tools/misc/memtest86 {
inherit fetchurl stdenv ;
} ;
2008-01-23 10:57:11 +01:00
mc = import ../tools/misc/mc {
2008-02-04 00:33:54 +01:00
inherit fetchurl stdenv pkgconfig ncurses shebangfix perl zip ;
2008-01-23 10:57:11 +01:00
inherit ( gtkLibs ) glib ;
inherit ( xlibs ) libX11 ;
} ;
2006-10-18 12:32:45 +02:00
mjpegtools = import ../tools/video/mjpegtools {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv libjpeg ;
inherit ( xlibs ) libX11 ;
2003-11-07 12:18:47 +01:00
} ;
2006-10-18 12:32:45 +02:00
mktemp = import ../tools/security/mktemp {
2005-03-21 15:48:48 +01:00
inherit fetchurl stdenv ;
} ;
2008-01-30 18:08:38 +01:00
mssys = import ../tools/misc/mssys {
inherit fetchurl stdenv gettext ;
} ;
2008-02-03 09:53:47 +01:00
nc6Fun = lib . sumArgs ( selectVersion ../tools/networking/nc6 ) {
version = " 1 . 0 " ;
inherit builderDefs ;
} ;
nc6 = nc6Fun null ;
2007-07-09 09:23:16 +02:00
ncat = import ../tools/networking/ncat {
inherit fetchurl stdenv openssl ;
} ;
2006-10-18 12:32:45 +02:00
netcat = import ../tools/networking/netcat {
2006-08-27 15:00:20 +02:00
inherit fetchurl stdenv ;
} ;
2007-08-31 13:14:05 +02:00
netselect = import ../tools/networking/netselect {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
nmap = import ../tools/security/nmap {
2007-08-04 14:50:12 +02:00
inherit fetchurl stdenv libpcap pkgconfig ;
inherit ( xlibs ) libX11 ;
inherit ( gtkLibs ) gtk ;
2004-11-29 22:17:29 +01:00
} ;
2006-12-21 23:23:17 +01:00
ntp = import ../tools/networking/ntp {
2006-12-22 20:22:57 +01:00
inherit fetchurl stdenv libcap ;
2006-12-21 23:23:17 +01:00
} ;
2006-10-18 12:32:45 +02:00
openssh = import ../tools/networking/openssh {
2006-12-11 04:24:35 +01:00
inherit fetchurl stdenv zlib openssl pam perl ;
pamSupport = true ;
2003-11-03 19:21:30 +01:00
} ;
2007-09-04 13:55:19 +02:00
p7zip = import ../tools/archivers/p7zip {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
par2cmdline = import ../tools/networking/par2cmdline {
2006-09-15 17:28:53 +02:00
inherit fetchurl ;
stdenv = overrideGCC stdenv gcc34 ;
2003-12-23 21:51:58 +01:00
} ;
2006-10-18 12:32:45 +02:00
parted = import ../tools/misc/parted {
2007-05-14 00:44:31 +02:00
inherit fetchurl stdenv e2fsprogs readline ;
2003-11-04 09:44:46 +01:00
} ;
2007-04-26 15:02:30 +02: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 17:53:04 +01:00
2007-02-19 21:18:20 +01:00
pciutils = import ../tools/system/pciutils {
inherit fetchurl stdenv zlib ;
} ;
2007-03-21 13:53:01 +01:00
pdfjam = import ../tools/typesetting/pdfjam {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
ploticus = import ../tools/graphics/ploticus {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv zlib libpng ;
inherit ( xlibs ) libX11 ;
2005-09-05 13:35:13 +02:00
} ;
2005-09-01 18:38:31 +02:00
2007-12-11 12:47:23 +01:00
psmisc = import ../tools/misc/psmisc {
inherit stdenv fetchurl ncurses ;
} ;
2007-06-28 11:53:12 +02:00
pwgen = import ../tools/security/pwgen {
inherit stdenv fetchurl ;
} ;
2006-10-18 12:32:45 +02:00
qtparted = import ../tools/misc/qtparted {
2007-03-26 15:39:50 +02:00
inherit fetchurl stdenv e2fsprogs ncurses readline parted zlib qt3 ;
2006-09-15 17:28:53 +02:00
inherit ( xlibs ) libX11 libXext ;
2003-12-14 21:36:43 +01:00
} ;
2007-04-26 18:14:01 +02:00
realCurl = import ../tools/networking/curl {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv zlib ;
2006-10-19 23:36:51 +02:00
zlibSupport = ! stdenv ? isDietLibC ;
2007-04-26 18:14:01 +02:00
} ;
2004-01-25 09:59:20 +01:00
2007-12-06 01:32:21 +01:00
relfsFun = lib . sumArgs ( selectVersion ../tools/misc/relfs ) {
inherit fetchcvs stdenv ocaml postgresql fuse pcre
builderDefs e2fsprogs pkgconfig ;
inherit ( gnome ) gnomevfs GConf ;
2007-12-04 23:06:13 +01:00
} ;
relfs = relfsFun {
version = " c v s . 2 0 0 7 . 1 2 . 0 1 " ;
2007-12-06 01:32:21 +01:00
} null ;
2007-12-04 23:06:13 +01:00
2007-07-15 13:59:33 +02:00
replace = import ../tools/text/replace {
inherit fetchurl stdenv ;
} ;
2007-09-10 16:29:45 +02:00
/*
2007-09-08 22:45:23 +02:00
rdiff_backup = import ../tools/backup/rdiff-backup {
inherit fetchurl stdenv librsync gnused ;
python = python ;
} ;
2007-09-10 16:29:45 +02:00
* /
2007-09-08 22:45:23 +02:00
2008-01-24 00:39:06 +01:00
rlwrapFun = lib . sumArgs ( selectVersion ../tools/misc/rlwrap ) {
version = " 0 . 2 8 " ;
inherit builderDefs readline ;
} ;
rlwrap = rlwrapFun null ;
2007-03-21 20:25:58 +01:00
rpm = import ../tools/package-management/rpm {
inherit fetchurl stdenv cpio zlib bzip2 file sqlite beecrypt neon elfutils ;
} ;
2006-10-18 12:32:45 +02:00
sablotron = import ../tools/text/xml/sablotron {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv expat ;
2004-02-17 21:03:12 +01:00
} ;
2006-10-18 12:32:45 +02:00
screen = import ../tools/misc/screen {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ncurses ;
2005-12-26 01:51:24 +01:00
} ;
2007-11-14 20:07:38 +01:00
shebangfix = import ../tools/misc/shebangfix {
inherit perl ;
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new-2.sh ;
} ;
2007-10-18 15:05:43 +02:00
smartmontools = import ../tools/system/smartmontools {
inherit fetchurl stdenv ;
} ;
2008-01-25 11:15:19 +01:00
smbfsFuseFun = lib . sumArgs ( selectVersion ../tools/networking/smbfs-fuse ) {
version = " 0 . 8 . 7 " ;
inherit builderDefs samba fuse ;
} ;
smbfsFuse = smbfsFuseFun null ;
2008-02-03 12:03:54 +01:00
socatFun = lib . sumArgs ( selectVersion ../tools/networking/socat ) {
version = " 1 . 6 . 0 . 0 " ;
inherit builderDefs openssl ;
} ;
socat = socatFun null ;
2007-06-20 01:55:02 +02:00
sudo = import ../tools/security/sudo {
2007-06-29 00:14:25 +02:00
inherit fetchurl stdenv coreutils pam ;
2007-06-20 01:55:02 +02:00
} ;
2007-09-11 13:39:06 +02:00
superkaramba = import ../desktops/superkaramba {
inherit stdenv fetchurl kdebase kdelibs zlib libjpeg
perl qt3 python libpng freetype expat ;
inherit ( xlibs ) libX11 libXext libXt libXaw libXpm ;
} ;
2007-01-06 18:36:03 +01:00
sshfsFuse = import ../tools/networking/sshfs-fuse {
inherit fetchurl stdenv pkgconfig fuse ;
inherit ( gtkLibs ) glib ;
} ;
2007-08-08 00:22:31 +02:00
ssmtp = import ../tools/networking/ssmtp {
2007-11-08 18:48:52 +01:00
inherit fetchurl stdenv openssl ;
tlsSupport = true ;
2007-08-08 00:22:31 +02:00
} ;
2007-01-11 16:22:59 +01:00
su = import ../tools/misc/su {
inherit fetchurl stdenv pam ;
} ;
2007-01-16 15:35:08 +01:00
tcpdump = import ../tools/networking/tcpdump {
inherit fetchurl stdenv libpcap ;
} ;
2007-10-09 11:56:39 +02:00
telnet = import ../tools/networking/telnet {
inherit fetchurl stdenv ncurses ;
} ;
2008-02-10 22:54:01 +01:00
vpnc = import ../tools/networking/vpnc {
inherit fetchurl stdenv libgcrypt perl ;
} ;
2007-09-12 17:49:28 +02:00
testdisk = import ../tools/misc/testdisk {
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl ;
} ;
2006-09-15 17:28:53 +02:00
tightvnc = import ../tools/admin/tightvnc {
2007-10-05 07:55:44 +02:00
inherit fetchurl stdenv x11 zlib libjpeg perl ;
2007-11-08 15:34:54 +01:00
inherit ( xlibs ) imake gccmakedep libXmu libXaw libXpm libXp xauth ;
2006-04-18 20:46:36 +02:00
} ;
2007-04-20 10:50:26 +02:00
time = import ../tools/misc/time {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
trang = import ../tools/text/xml/trang {
2007-03-05 18:13:53 +01:00
inherit fetchurl stdenv unzip jre ;
2005-08-21 15:59:04 +02:00
} ;
2006-10-18 12:32:45 +02:00
transfig = import ../tools/graphics/transfig {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv libpng libjpeg zlib ;
inherit ( xlibs ) imake ;
2005-08-21 21:46:16 +02:00
} ;
2007-06-20 17:15:51 +02:00
units = import ../tools/misc/units {
inherit fetchurl stdenv ;
} ;
2007-06-24 17:34:44 +02:00
unrar = import ../tools/archivers/unrar {
inherit fetchurl stdenv ;
} ;
2007-05-28 19:09:30 +02:00
unshield = import ../tools/archivers/unshield {
inherit fetchurl stdenv zlib ;
} ;
2006-09-15 17:28:53 +02:00
unzip = import ../tools/archivers/unzip {
2006-08-15 15:22:45 +02:00
inherit fetchurl stdenv ;
} ;
2005-03-11 11:46:20 +01:00
2006-10-18 12:32:45 +02:00
wget = import ../tools/networking/wget {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv gettext ;
2006-07-17 22:35:02 +02:00
} ;
2006-10-18 12:32:45 +02:00
which = import ../tools/system/which {
2008-01-20 19:23:55 +01:00
inherit fetchurl stdenv readline ;
2006-01-27 21:51:41 +01:00
} ;
2007-08-18 10:32:12 +02:00
wv = import ../tools/misc/wv {
inherit fetchurl stdenv libpng zlib imagemagick
2007-11-16 04:45:42 +01:00
pkgconfig libgsf libxml2 bzip2 ;
2007-08-18 10:32:12 +02:00
inherit ( gtkLibs ) glib ;
} ;
2007-04-02 15:46:56 +02:00
x11_ssh_askpass = import ../tools/networking/x11-ssh-askpass {
inherit fetchurl stdenv x11 ;
inherit ( xorg ) imake ;
} ;
2007-09-21 23:40:23 +02:00
xclip = import ../tools/misc/xclip {
inherit fetchurl stdenv x11 ;
inherit ( xlibs ) libXmu ;
} ;
2006-10-18 12:32:45 +02:00
xmlroff = import ../tools/typesetting/xmlroff {
2005-08-13 23:35:49 +02:00
inherit fetchurl stdenv pkgconfig libxml2 libxslt popt ;
inherit ( gtkLibs ) glib pango gtk ;
inherit ( gnome ) libgnomeprint ;
inherit pangoxsl ;
2005-08-13 20:12:10 +02:00
} ;
2005-01-22 01:19:27 +01:00
xmltv = import ../tools/misc/xmltv {
inherit fetchurl perl perlTermReadKey perlXMLTwig perlXMLWriter
perlDateManip perlHTMLTree perlHTMLParser perlHTMLTagset
perlURI perlLWP ;
} ;
2006-10-18 12:32:45 +02:00
xpf = import ../tools/text/xml/xpf {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv python ;
2004-08-02 14:27:01 +02:00
2006-10-18 12:32:45 +02:00
libxml2 = import ../development/libraries/libxml2 {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv zlib python ;
pythonSupport = true ;
} ;
2004-08-03 17:41:08 +02:00
} ;
2006-10-18 12:32:45 +02:00
xsel = import ../tools/misc/xsel {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv x11 ;
2004-08-06 12:01:15 +02:00
} ;
2006-10-18 12:32:45 +02:00
zdelta = import ../tools/compression/zdelta {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2005-12-18 23:14:31 +01:00
} ;
2006-10-18 12:32:45 +02:00
zip = import ../tools/archivers/zip {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2005-03-16 16:13:30 +01:00
} ;
2005-07-29 12:06:49 +02:00
2006-07-13 16:54:24 +02:00
2003-11-03 19:21:30 +01:00
### SHELLS
2006-09-15 17:28:53 +02:00
2007-05-01 22:35:58 +02:00
bash = lowPrio ( useFromStdenv ( stdenv ? bash ) stdenv . bash
2006-03-08 16:00:18 +01:00
( import ../shells/bash {
inherit fetchurl stdenv ;
2006-10-25 14:38:57 +02:00
bison = bison23 ;
2007-05-01 22:35:58 +02:00
} ) ) ;
2003-11-02 18:42:19 +01:00
2007-05-24 17:44:03 +02:00
bashInteractive = appendToName " i n t e r a c t i v e " ( import ../shells/bash {
2008-01-07 10:34:00 +01:00
inherit fetchurl ncurses ;
2007-03-06 23:46:03 +01:00
bison = bison23 ;
interactive = true ;
2008-01-07 10:34:00 +01:00
stdenv = stdenvUsingSetupNew2 ;
2007-04-26 15:02:30 +02:00
} ) ;
2007-03-06 23:46:03 +01:00
2006-10-18 12:32:45 +02:00
tcsh = import ../shells/tcsh {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ncurses ;
} ;
2008-02-03 12:03:54 +01:00
zshFun = lib . sumArgs ( selectVersion ../shells/zsh ) {
2007-06-20 12:02:10 +02:00
inherit fetchurl stdenv ncurses coreutils ;
2008-02-03 12:03:54 +01:00
version = " 4 . 3 . 5 " ;
2007-06-20 12:02:10 +02:00
} ;
2008-02-03 12:03:54 +01:00
zsh = zshFun null ;
2003-11-03 19:21:30 +01:00
2006-10-18 16:04:55 +02:00
### DEVELOPMENT / COMPILERS
2003-11-03 19:21:30 +01:00
2003-11-02 18:42:19 +01:00
2006-09-15 17:28:53 +02:00
abc =
abcPatchable [ ] ;
2006-08-05 13:02:17 +02:00
2006-09-15 17:28:53 +02:00
abcPatchable = patches :
2006-10-18 12:32:45 +02:00
import ../development/compilers/abc/default.nix {
2006-09-15 17:28:53 +02:00
inherit stdenv fetchurl patches jre apacheAnt ;
javaCup = import ../development/libraries/java/cup {
2007-03-05 18:13:53 +01:00
inherit stdenv fetchurl jdk ;
2006-09-15 17:28:53 +02:00
} ;
} ;
2005-12-31 04:46:20 +01:00
2006-09-15 17:28:53 +02:00
aspectj =
2006-10-18 12:32:45 +02:00
import ../development/compilers/aspectj {
2006-09-15 17:28:53 +02:00
inherit stdenv fetchurl jre ;
} ;
2004-09-25 21:32:23 +02:00
2008-02-08 02:35:01 +01:00
bigloo = import ../development/compilers/bigloo {
inherit fetchurl mkDerivationByConfiguration lib ;
stdenv = overrideGCC stdenv gcc34 ;
} ;
2006-10-18 16:04:55 +02: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 11:10:06 +01:00
} ;
2007-08-11 22:55:40 +02:00
fpc = import ../development/compilers/fpc {
inherit fetchurl stdenv gawk ;
} ;
2006-10-18 12:32:45 +02:00
g77 = import ../build-support/gcc-wrapper {
2006-09-15 17:28:53 +02:00
name = " g 7 7 " ;
2005-08-28 02:19:42 +02:00
nativeTools = false ;
2006-10-24 20:26:23 +02:00
nativeLibc = false ;
2006-10-18 12:32:45 +02:00
gcc = import ../development/compilers/gcc-3.3 {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv noSysDirs ;
langF77 = true ;
langCC = false ;
2005-08-28 02:19:42 +02:00
} ;
2006-10-27 15:52:37 +02:00
inherit ( stdenv . gcc ) binutils libc ;
2005-08-28 02:19:42 +02:00
inherit stdenv ;
} ;
2007-10-27 19:55:13 +02:00
g77_40 = import ../build-support/gcc-wrapper {
name = " g 7 7 - 4 . 0 " ;
nativeTools = false ;
nativeLibc = false ;
gcc = import ../development/compilers/gcc-4.0 {
inherit fetchurl stdenv noSysDirs ;
langF77 = true ;
langCC = false ;
inherit gmp mpfr ;
} ;
inherit ( stdenv . gcc ) binutils libc ;
inherit stdenv ;
} ;
g77_41 = import ../build-support/gcc-wrapper {
name = " g 7 7 - 4 . 1 " ;
nativeTools = false ;
nativeLibc = false ;
gcc = import ../development/compilers/gcc-4.1 {
inherit fetchurl stdenv noSysDirs ;
langF77 = true ;
langCC = false ;
langC = false ;
inherit gmp mpfr ;
} ;
inherit ( stdenv . gcc ) binutils libc ;
inherit stdenv ;
} ;
2007-04-26 15:02:30 +02:00
gcc = gcc41 ;
2004-06-29 10:25:55 +02:00
2006-07-10 17:42:19 +02:00
gcc295 = wrapGCC ( import ../development/compilers/gcc-2.95 {
inherit fetchurl stdenv noSysDirs ;
} ) ;
gcc33 = wrapGCC ( import ../development/compilers/gcc-3.3 {
inherit fetchurl stdenv noSysDirs ;
} ) ;
gcc34 = wrapGCC ( import ../development/compilers/gcc-3.4 {
inherit fetchurl stdenv noSysDirs ;
} ) ;
gcc40 = wrapGCC ( import ../development/compilers/gcc-4.0 {
inherit fetchurl stdenv noSysDirs ;
profiledCompiler = true ;
} ) ;
2007-05-24 17:35:14 +02:00
gcc41 = useFromStdenv ( stdenv ? gcc ) stdenv . gcc ( wrapGCC ( import ../development/compilers/gcc-4.1 {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv noSysDirs ;
2006-10-26 22:23:49 +02:00
profiledCompiler = false ;
2007-05-24 17:35:14 +02:00
} ) ) ;
2007-05-02 16:59:40 +02:00
2007-08-19 01:58:30 +02:00
gcc41NPTL = wrapGCCWithGlibc gcc41 . gcc glibcNPTL ;
2007-06-03 22:17:07 +02:00
gcc42 = lowPrio ( wrapGCC ( import ../development/compilers/gcc-4.2 {
2007-05-19 21:44:15 +02:00
inherit fetchurl stdenv noSysDirs ;
2007-05-21 23:48:06 +02:00
profiledCompiler = true ;
2007-06-03 22:17:07 +02:00
} ) ) ;
2007-05-19 21:44:15 +02:00
2006-09-15 17:28:53 +02:00
gccApple = wrapGCC ( import ../development/compilers/gcc-apple {
inherit fetchurl stdenv noSysDirs ;
profiledCompiler = true ;
} ) ;
2008-02-09 15:08:37 +01:00
# This new ghc stuff is under heavy development and will change !
# ========= =======================================================
2007-11-05 10:27:36 +01:00
# usage: see ghcPkgUtil.sh - use setup-new2 because of PATH_DELIMITER
2008-01-22 15:34:23 +01:00
# depreceated -> use functions defined in builderDefs
2007-11-05 10:27:36 +01:00
ghcPkgUtil = runCommand " g h c P k g U t i l - i n t e r n a l "
{ ghcPkgUtil = ../development/libraries/haskell/generic/ghcPkgUtil.sh ; }
" m k d i r - p $ o u t / n i x - s u p p o r t ; c p $ g h c P k g U t i l \$ o u t / n i x - s u p p o r t / s e t u p - h o o k ; " ;
2007-11-23 17:58:42 +01:00
ghcsAndLibs =
assert builtins ? listToAttrs ;
recurseIntoAttrs ( import ../development/compilers/ghcs {
2008-01-16 04:29:56 +01:00
inherit ghcboot fetchurl recurseIntoAttrs perl gnum4 gmp readline lib ;
2008-02-14 15:41:17 +01:00
inherit ghcPkgUtil annotatedDerivations hasktags ctags ;
2007-11-05 10:27:36 +01:00
stdenv = stdenvUsingSetupNew2 ;
2007-11-23 17:58:42 +01:00
} ) ;
2007-11-05 10:27:36 +01:00
# creates ghc-X-wl wich adds the passed libraries to the env var GHC_PACKAGE_PATH
createGhcWrapper = { ghcPackagedLibs ? false , ghc , libraries , name , suffix ? " g h c _ w r a p p e r _ ${ ghc . name } " } :
import ../development/compilers/ghc/createGhcWrapper {
2008-02-12 17:24:02 +01:00
inherit ghcPackagedLibs ghc name suffix libraries ghcPkgUtil
annotatedDerivations lib sourceWithTagsDerivation annotatedWithSourceAndTagInfo ;
2007-11-05 10:27:36 +01:00
stdenv = stdenvUsingSetupNew2 ;
2008-02-12 17:24:02 +01:00
installSourceAndTags = true ;
2007-11-05 10:27:36 +01:00
} ;
2008-02-09 15:08:37 +01:00
# args must contain src name buildInputs
# classic expression style.. seems to work fine
# used now
2008-02-12 17:24:02 +01:00
#
# args must contain: src name buildInputs propagatedBuildInputs
# classic expression style.. seems to work fine
# used now
# goSrc contains source directory (containing the .cabal file)
ghcCabalDerivation = args : null_ : with lib ; with args ;
stdenvUsingSetupNew2 . mkDerivation ( {
goSrcDir = " c d ${ srcDir } " ;
inherit name src propagatedBuildInputs ;
phases = " u n p a c k P h a s e p a t c h P h a s e b u i l d P h a s e " ;
2008-02-09 15:08:37 +01:00
buildInputs = ( if ( args ? buildInputs ) then args . buildInputs else [ ] )
++ [ ghcPkgUtil ] ;
2008-02-12 17:24:02 +01:00
# TODO remove echo line
2008-02-09 15:08:37 +01:00
buildPhase = "
createEmptyPackageDatabaseAndSetupHook
export GHC_PACKAGE_PATH
\ $ goSrcDir
ghc - - make Setup . * hs - o setup
CABAL_SETUP = ./setup
nix_ghc_pkg_tool join local-pkg-db
\ $ CABAL_SETUP configure - - package-db = local-pkg-db
\ $ CABAL_SETUP build
\ $ CABAL_SETUP copy - - destdir = \ $ out
\ $ CABAL_SETUP register - - gen-script
sed - e \ " s = / u s r / l o c a l / l i b = \$ o u t / u s r / l o c a l / l i b = g \" \\
- e \ " s # b i n / g h c - p k g - - p a c k a g e - c o n f . * # b i n / g h c - p k g - - p a c k a g e - c o n f = \$ P A C K A G E _ D B r e g i s t e r - # \" \\
- i register . sh
./register.sh
rm \ $ { PACKAGE_DB } . old
ensureDir \ " \$ o u t / n i x - s u p p o r t \"
2008-02-12 17:24:02 +01:00
2008-02-09 15:08:37 +01:00
echo \ " \$ p r o p a g a t e d B u i l d I n p u t s \" > \" \$ o u t / n i x - s u p p o r t / p r o p a g a t e d - b u i l d - i n p u t s \"
" ;
2008-02-12 17:24:02 +01:00
} // ( subsetmap id args [ " p a t c h P h a s e " ] ) ) ;
# creates annotated derivation (comments see above
annotatedGhcCabalDerivation = args : null_ : with lib ; with args ;
rec {
inherit name ;
#aDeps = concatLists ( catAttrs ( subsetmap id args [ "buildInputs" "propagatedBuildInputs" ] ) );
aDeps = [ ] ; #TODO
aDeriv = ghcCabalDerivation ( args // ( annotatedDerivations . delAnnotationsFromInputs args ) ) null ;
# annotation data
sourceWithTags = {
inherit src srcDir ;
name = name + " - s r c - w i t h - t a g s " ;
createTagFiles = [
{ name = " ${ name } _ h a s k e l l _ t a g s " ;
2008-02-13 12:15:08 +01:00
# tagCmd = "${toString ghcsAndLibs.ghc68.ghc}/bin/hasktags --ctags `find . -type f -name \"*.*hs\"`; sort tags > \$TAG_FILE"; }
tagCmd = " ${ toString hasktags } / b i n / h a s k t a g s - m o d i f i e d - - c t a g s ` f i n d . - t y p e f - n a m e \" * . * h s \" ` ; s o r t t a g s > \$ T A G _ F I L E " ; }
2008-02-12 17:24:02 +01:00
] ;
} ;
2008-02-09 15:08:37 +01:00
} ;
2008-01-22 15:34:23 +01:00
# this will change in the future
2008-02-09 15:08:37 +01:00
# TODO enhance speed ! ?
ghc68_extra_libs = ghc : rec {
# name (using lowercase letters everywhere because using installing packages having different capitalization is discouraged) - this way there is not that much to remember?
2008-02-12 17:24:02 +01:00
cabal_darcs_name = " c a b a l - d a r c s " ;
2008-02-09 15:08:37 +01:00
# introducing p here to speed things up.
# It merges derivations (defined below) and additional inputs. I hope that using as few nix functions as possible results in greates speed?
# unfortunately with x; won't work because it forces nix to evaluate all attributes of x which would lead to infinite recursion
2008-02-14 15:41:17 +01:00
pkgs = let x = ghc . core_libs // derivations ; in {
2008-02-09 15:08:37 +01:00
# ghc extra packages
2008-02-12 17:24:02 +01:00
mtl = { name = " m t l - 1 . 1 . 0 . 0 " ; srcDir = " l i b r a r i e s / m t l " ; p_deps = [ x . base ] ; src = ghc . extra_src ; } ;
parsec = { name = " p a r s e c - 2 . 1 . 0 . 0 " ; srcDir = " l i b r a r i e s / p a r s e c " ; p_deps = [ x . base ] ; src = ghc . extra_src ; } ;
network = { name = " n e t w o r k - 2 . 1 . 0 . 0 " ; srcDir = " l i b r a r i e s / n e t w o r k " ; p_deps = [ x . base x . parsec x . haskell98 ] ; src = ghc . extra_src ; } ;
regex_base = { name = " r e g e x - b a s e - 0 . 7 2 . 0 . 1 " ; srcDir = " l i b r a r i e s / r e g e x - b a s e " ; p_deps = [ x . base x . array x . bytestring x . haskell98 ] ; src = ghc . extra_src ; } ;
regex_posix = { name = " r e g e x - p o s i x - 0 . 7 2 . 0 . 2 " ; srcDir = " l i b r a r i e s / r e g e x - p o s i x " ; p_deps = [ x . regex_base x . haskell98 ] ; src = ghc . extra_src ; } ;
regex_compat = { name = " r e g e x - c o m p a t - 0 . 7 1 . 0 . 1 " ; srcDir = " l i b r a r i e s / r e g e x - c o m p a t " ; p_deps = [ x . base x . regex_posix x . regex_base x . haskell98 ] ; src = ghc . extra_src ; } ;
stm = { name = " s t m - 2 . 1 . 1 . 0 " ; srcDir = " l i b r a r i e s / s t m " ; p_deps = [ x . base x . array ] ; src = ghc . extra_src ; } ;
hunit = { name = " H U n i t - 1 . 2 . 0 . 0 " ; srcDir = " l i b r a r i e s / H U n i t " ; p_deps = [ x . base ] ; src = ghc . extra_src ; } ;
quickcheck = { name = " Q u i c k C h e c k - 1 . 1 . 0 . 0 " ; srcDir = " l i b r a r i e s / Q u i c k C h e c k " ; p_deps = [ x . base x . random ] ; src = ghc . extra_src ; } ;
2008-02-09 15:08:37 +01:00
# other pacakges (hackage etc)
binary = rec { name = " b i n a r y - 0 . 4 . 1 " ; p_deps = [ x . base x . bytestring x . containers x . array ] ;
src = fetchurl { url = " h t t p : / / h a c k a g e . h a s k e l l . o r g / p a c k a g e s / a r c h i v e / b i n a r y / 0 . 4 . 1 / b i n a r y - 0 . 4 . 1 . t a r . g z " ;
sha256 = " 0 j g 5 i 1 k 5 f z 0 x p 1 p i a a f 5 b z h a g q v f l 3 i 7 3 h l p d m g s 4 g c 4 0 r 1 q 4 x 5 v " ; } ;
} ;
# 1.13 is stable. There are more recent non stable versions
haxml = rec { name = " H a X m l - 1 . 1 3 . 3 " ; p_deps = [ x . base x . rts x . directory x . process x . pretty x . containers x . filepath x . haskell98 ] ;
src = fetchurl { url = " h t t p : / / w w w . h a s k e l l . o r g / H a X m l / ${ name } . t a r . g z " ;
sha256 = " 0 8 d 9 w y 0 r g 9 m 6 6 d d 1 0 x 0 z v k l 7 4 l 2 5 v x d a k z 7 x p 3 j 8 8 s 2 g d 3 1 j p 1 v 0 " ; } ;
} ;
xhtml = rec { name = " x h t m l - 3 0 0 0 . 0 . 2 . 2 " ; p_deps = [ x . base ] ;
src = fetchurl { url = " h t t p : / / h a c k a g e . h a s k e l l . o r g / p a c k a g e s / a r c h i v e / x h t m l / 3 0 0 0 . 0 . 2 . 2 / x h t m l - 3 0 0 0 . 0 . 2 . 2 . t a r . g z " ;
sha256 = " 1 1 2 m b q 2 6 k s h 7 r 2 2 y 0 9 h 0 x v m 3 4 7 k b a 3 p 4 n s 1 2 v j 5 4 9 8 f q q j 3 3 3 8 7 8 " ; } ;
} ;
html = rec { name = " h t m l - 1 . 0 . 1 . 1 " ; p_deps = [ x . base ] ;
src = fetchurl { url = " h t t p : / / h a c k a g e . h a s k e l l . o r g / p a c k a g e s / a r c h i v e / h t m l / 1 . 0 . 1 . 1 / h t m l - 1 . 0 . 1 . 1 . t a r . g z " ;
sha256 = " 1 0 f a y f m 1 8 p 8 3 z l k r 9 i k x l q g n z x g 1 c k d q a q v z 6 w p 1 x j 9 5 f y 3 p 6 y l 1 " ; } ;
} ;
crypto = rec { name = " c r y p t o - 4 . 1 . 0 " ; p_deps = [ x . base x . array x . pretty x . quickcheck x . random x . hunit ] ;
src = fetchurl { url = " h t t p : / / h a c k a g e . h a s k e l l . o r g / p a c k a g e s / a r c h i v e / C r y p t o / 4 . 1 . 0 / C r y p t o - 4 . 1 . 0 . t a r . g z " ;
sha256 = " 1 3 r b p b n 6 p 1 d a 6 q a 9 m 6 f 7 d m k z d k m p n x 6 j i y y n d z a z 9 9 n z q l r w i 1 0 9 " ; } ;
} ;
hslogger = rec { name = " h s l o g g e r - 1 . 0 . 4 " ; p_deps = [ x . containers x . directory x . mtl x . network x . process ] ;
src = fetchurl { url = " h t t p : / / h a c k a g e . h a s k e l l . o r g / p a c k a g e s / a r c h i v e / h s l o g g e r / 1 . 0 . 4 / h s l o g g e r - 1 . 0 . 4 . t a r . g z " ;
sha256 = " 0 k m z 8 x s 1 q 4 1 r g 2 x w k 2 2 f a d y h x d g 5 m i z h w 0 r 4 d 7 4 y 4 3 a k k j w j 9 6 a r " ; } ;
} ;
2008-02-12 17:24:02 +01:00
parsep = { name = " p a r s e p - 0 . 1 " ; p_deps = [ x . base x . mtl x . bytestring ] ;
src = fetchurl { url = " h t t p : / / t w a n . h o m e . f m f . n l / p a r s e p / p a r s e p - 0 . 1 . t a r . g z " ;
sha256 = " 1 y 5 p b s 5 m z a a 2 1 1 2 7 c i x s a m a h l b v m q z y h z p w h 6 x 0 n z n s g m g 2 d p c 9 q " ; } ;
patchPhase = " p w d ; s e d - i ' s / f p s / b y t e s t r i n g / ' * . c a b a l " ;
} ;
2008-02-09 15:08:37 +01:00
# HAPPS - Libraries
http_darcs = { name = " h t t p - d a r c s " ; p_deps = [ x . network x . parsec ] ;
src = fetchdarcs { url = " h t t p : / / d a r c s . h a s k e l l . o r g / h t t p / " ; md5 = " 4 4 7 5 f 8 5 8 c f 9 4 f 4 5 5 1 b 7 7 9 6 3 d 0 8 d 7 2 5 7 c " ; } ;
} ;
syb_with_class_darcs = { name = " s y b - w i t h - c l a s s - d a r c s " ; p_deps = [ x . template_haskell x . bytestring ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / H A p p S / s y b - w i t h - c l a s s " ; md5 = " b 4 2 3 3 6 9 0 7 f 7 b f e f 8 b e a 7 3 b c 3 6 2 8 2 d 6 a c " ; } ;
} ;
happs_data_darcs = { name = " H A p p S - D a t a - d a r c s " ; p_deps = [ x . base x . mtl x . template_haskell x . syb_with_class_darcs x . haxml x . happs_util_darcs x . regex_compat x . bytestring x . pretty ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / r e p o s / H A p p S - D a t a " ; md5 = " 1 0 c 5 0 5 d d 6 8 7 e 9 d c 9 9 9 c b 1 8 7 0 9 0 a f 9 b a 7 " ; } ;
} ;
happs_util_darcs = { name = " H A p p S - U t i l - d a r c s " ; p_deps = [ x . base x . mtl x . hslogger x . template_haskell x . array x . bytestring x . old_time x . process x . directory ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / r e p o s / H A p p S - U t i l " ; md5 = " 6 9 3 c b 7 9 0 1 7 e 5 2 2 0 3 1 c 3 0 7 e e 5 e 5 9 f c 2 5 0 " ; } ;
} ;
happs_state_darcs = { name = " H A p p S - S t a t e - d a r c s " ; p_deps = [ x . base x . haxml
x . mtl x . network x . stm x . template_haskell x . hslogger
x . happs_util_darcs x . happs_data_darcs x . bytestring x . containers
x . random x . old_time x . old_locale x . unix x . directory x . binary ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / r e p o s / H A p p S - S t a t e " ;
md5 = " 9 5 6 e 5 c 2 9 3 b 6 0 f 4 a 9 8 1 4 8 f e d c 5 f a 3 8 a c c " ;
} ;
} ;
happs_plugins_darcs = { name = " H A p p S - p l u g i n s - d a r c s " ; p_deps = [ x . base x . mtl x . hslogger x . happs_util_darcs x . happs_data_darcs x . happs_state_darcs ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / r e p o s / H A p p S - U t i l " ; md5 = " 6 9 3 c b 7 9 0 1 7 e 5 2 2 0 3 1 c 3 0 7 e e 5 e 5 9 f c 2 5 0 " ; } ;
} ;
# there is no .cabal yet
#happs_smtp_darcs = { name="HAppS-smtp-darcs"; p_deps=[];
#src = fetchdarcs { url = "http://happs.org/repos/HAppS-smtp"; md5 = "5316917e271ea1ed8ad261080bcb47db"; };
#};
happs_ixset_darcs = { name = " H A p p S - I x S e t - d a r c s " ; p_deps = [ x . base x . mtl
x . hslogger x . happs_util_darcs x . happs_state_darcs x . happs_data_darcs
x . template_haskell x . syb_with_class_darcs x . containers ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / r e p o s / H A p p S - I x S e t " ;
#md5 = "fa6b24517f09aa16e972f087430967fd";
#tag = "0.9.2";
# no tag
md5 = " f a 6 b 2 4 5 1 7 f 0 9 a a 1 6 e 9 7 2 f 0 8 7 4 3 0 9 6 7 f d " ;
} ;
} ;
2008-02-13 12:15:08 +01:00
happs_server_darcs = { name = " H A p p S - S e r v e r - d a r c s " ; p_deps = [ x . haxml x . parsec x . mtl
2008-02-09 15:08:37 +01:00
x . network x . regex_compat x . hslogger x . happs_data_darcs
x . happs_util_darcs x . happs_state_darcs x . happs_ixset_darcs x . http_darcs
x . template_haskell x . xhtml x . html x . bytestring x . random
x . containers x . old_time x . old_locale x . directory x . unix ] ;
src = fetchdarcs { url = " h t t p : / / h a p p s . o r g / r e p o s / H A p p S - H T T P " ; md5 = " e 1 b b 1 7 e b 3 0 a 3 9 d 3 0 b 8 c 3 4 d f f b f 8 0 e d c 2 " ; } ;
} ;
# we need recent version of cabal (because only this supports --pkg-config propably) Thu Feb 7 14:54:07 CET 2008
# is be added to buildInputs automatically
2008-02-13 12:15:08 +01:00
cabal_darcs = { name = cabal_darcs_name ; p_deps = with ghc . core_libs ; [ base rts directory process pretty containers filepath ] ;
2008-02-09 15:08:37 +01:00
src = fetchdarcs { url = " h t t p : / / d a r c s . h a s k e l l . o r g / c a b a l " ; md5 = " 8 b 0 b c 3 c 7 f 2 6 7 6 c e 6 4 2 f 9 8 b 1 5 6 8 7 9 4 c d 6 " ; } ;
} ;
} ;
toDerivation = attrs : with attrs ;
2008-02-12 17:24:02 +01:00
# result is { mtl = <deriv>;
annotatedGhcCabalDerivation ( {
2008-02-09 15:08:37 +01:00
inherit name src ;
propagatedBuildInputs = p_deps ++ ( lib . optional ( attrs . name != cabal_darcs_name ) derivations . cabal_darcs ) ;
2008-02-12 17:24:02 +01:00
srcDir = if attrs ? srcDir then attrs . srcDir else " . " ;
2008-02-09 15:08:37 +01:00
patches = if attrs ? patches then attrs . patches else [ ] ;
# add cabal, take deps either from this list or from ghc.core_libs
2008-02-12 17:24:02 +01:00
} // ( lib . subsetmap lib . id attrs [ " p a t c h P h a s e " ] ) ) null ;
2008-02-09 15:08:37 +01:00
derivations = with lib ; builtins . listToAttrs ( lib . concatLists ( lib . mapRecordFlatten
( n : attrs : let d = ( toDerivation attrs ) ; in [ ( nv n d ) ( nv attrs . name d ) ] ) pkgs ) ) ;
} . derivations ;
2008-01-22 15:34:23 +01:00
2007-11-05 10:27:36 +01:00
# the wrappers basically does one thing: It defines GHC_PACKAGE_PATH before calling ghc{i,-pkg}
# So you can have different wrappers with different library combinations
2008-02-12 17:24:02 +01:00
# So installing ghc libraries isn't done by nix-env -i package but by adding
2008-02-09 15:08:37 +01:00
# the lib to the libraries list below
# Doesn't create that much useless symlinks (you seldomly want to read the
# .hi and .o files, right?
2007-11-05 10:27:36 +01:00
ghcLibraryWrapper68 =
let ghc = ghcsAndLibs . ghc68 . ghc ; in
createGhcWrapper rec {
ghcPackagedLibs = true ;
2008-01-22 15:34:23 +01:00
name = " g h c ${ ghc . version } _ w r a p p e r " ;
suffix = " ${ ghc . version } w r a p p e r " ;
2008-02-12 17:24:02 +01:00
libraries = # map ( a : __getAttr a (ghc68_extra_libs ghcsAndLibs.ghc68 ) ) [ "mtl" ];
2008-02-09 15:08:37 +01:00
# core_libs distributed with this ghc version
2008-02-12 17:24:02 +01:00
#(lib.flattenAttrs ghcsAndLibs.ghc68.core_libs)
2008-02-13 12:15:08 +01:00
map ( a : __getAttr a ghcsAndLibs . ghc68 . core_libs ) [
2008-02-09 15:08:37 +01:00
" c a b a l " " a r r a y " " b a s e " " b y t e s t r i n g " " c o n t a i n e r s " " c o n t a i n e r s " " d i r e c t o r y "
" f i l e p a t h " " g h c - ${ ghc . version } " " h a s k e l l 9 8 " " h p c " " o l d _ l o c a l e " " o l d _ t i m e "
" o l d _ t i m e " " p a c k e d s t r i n g " " p r e t t y " " p r o c e s s " " r a n d o m " " r e a d l i n e " " r t s "
2008-02-13 12:15:08 +01:00
" t e m p l a t e _ h a s k e l l " " u n i x " " t e m p l a t e _ h a s k e l l " ]
2008-02-09 15:08:37 +01:00
# some extra libs
++ ( lib . flattenAttrs ( ghc68_extra_libs ghcsAndLibs . ghc68 ) ) ;
# or specify the ones you want to install using this list (possible values see attributes in ghc68_extra_libs
#++ map ( a : __getAttr a (ghc68_extra_libs ghcsAndLibs.ghc68 ) )
#[ "mtl" "parsec" "cabal_darcs" "haxml" "network" "regex_base"
#"regex_compat" "regex_posix" "stm" "hunit" "quickcheck" "crypto"
#"hslogger" "http_darcs" "syb_with_class_darcs"
#];
# some additional libs
2007-11-05 10:27:36 +01:00
inherit ghc ;
} ;
2006-12-15 14:32:55 +01:00
# ghc66boot = import ../development/compilers/ghc-6.6-boot {
# inherit fetchurl stdenv perl readline;
# m4 = gnum4;
#};
2008-01-22 23:43:38 +01:00
ghc = ghc68 ;
2007-01-24 15:26:16 +01:00
2007-12-10 11:50:59 +01:00
ghc68 = import ../development/compilers/ghc-6.8 {
2007-10-19 15:24:29 +02:00
inherit fetchurl stdenv readline perl gmp ncurses ;
m4 = gnum4 ;
ghc = ghcboot ;
2007-12-10 11:50:59 +01:00
} ;
2007-10-19 15:24:29 +02:00
2007-05-06 17:39:39 +02:00
ghc661 = import ../development/compilers/ghc-6.6.1 {
2007-08-15 13:25:20 +02:00
inherit fetchurl stdenv readline perl gmp ncurses ;
2007-05-06 17:39:39 +02:00
m4 = gnum4 ;
ghc = ghcboot ;
} ;
2006-12-15 14:32:55 +01:00
ghc66 = import ../development/compilers/ghc-6.6 {
2007-08-15 13:25:20 +02:00
inherit fetchurl stdenv readline perl gmp ncurses ;
2006-12-15 14:32:55 +01:00
m4 = gnum4 ;
ghc = ghcboot ;
} ;
2007-01-24 15:26:16 +01:00
ghc64 = import ../development/compilers/ghc {
2007-08-15 13:25:20 +02:00
inherit fetchurl stdenv perl ncurses readline m4 gmp ;
2006-09-15 17:28:53 +02:00
gcc = stdenv . gcc ;
ghc = ghcboot ;
} ;
2007-05-01 22:35:58 +02:00
ghcboot = lowPrio ( appendToName " b o o t " ( import ../development/compilers/ghc/boot.nix {
2007-08-15 13:25:20 +02:00
inherit fetchurl stdenv perl ncurses gmp ;
2007-08-08 01:59:08 +02:00
readline = if stdenv . system == " i 6 8 6 - l i n u x " then readline4 else readline ;
2007-05-01 22:35:58 +02:00
} ) ) ;
2006-09-15 17:28:53 +02:00
2007-01-24 22:08:54 +01:00
/*
2006-09-15 17:28:53 +02:00
ghcWrapper = assert uulib . ghc == ghc ;
2006-10-18 12:32:45 +02:00
import ../development/compilers/ghc-wrapper {
2006-09-15 17:28:53 +02:00
inherit stdenv ghc ;
2006-12-14 00:25:36 +01:00
libraries = [ ] ;
2005-08-17 16:29:04 +02:00
} ;
2007-01-24 22:08:54 +01:00
* /
2008-02-13 09:43:38 +01:00
gwt = import ../development/compilers/gwt {
inherit stdenv fetchurl ;
inherit ( gtkLibs ) glib gtk pango atk ;
inherit ( xlibs ) libX11 libXt ;
libstdcpp5 = gcc33 . gcc ;
} ;
2006-09-15 17:28:53 +02:00
2006-10-18 12:32:45 +02:00
helium = import ../development/compilers/helium {
2008-01-22 23:43:38 +01:00
inherit fetchurl stdenv ;
ghc = ghc661 ;
2005-09-07 12:08:00 +02:00
} ;
2008-01-29 10:47:34 +01:00
javafront = import ../development/compilers/java-front {
inherit stdenv fetchurl pkgconfig ;
sdf = sdf24 ;
aterm = aterm25 ;
strategoxt = strategoxt017 ;
} ;
2007-08-20 12:34:49 +02:00
#TODO add packages http://cvs.haskell.org/Hugs/downloads/2006-09/packages/ and test
# commented out because it's using the new configuration style proposal which is unstable
#hugs = import ../development/compilers/hugs {
#inherit lib fetchurl stdenv;
#};
2007-04-16 12:07:06 +02:00
j2sdk14x =
assert system == " i 6 8 6 - l i n u x " ;
import ../development/compilers/jdk/default-1.4.nix {
inherit fetchurl stdenv ;
} ;
2007-03-05 18:13:53 +01:00
2008-01-23 13:25:08 +01:00
jdk5 =
2008-01-24 11:14:33 +01:00
assert system == " i 6 8 6 - l i n u x " || system == " x 8 6 _ 6 4 - l i n u x " ;
2008-01-23 13:25:08 +01:00
import ../development/compilers/jdk/default-5.nix {
inherit fetchurl stdenv unzip ;
} ;
2008-01-24 11:14:33 +01:00
2007-03-28 20:55:57 +02:00
jdk = jdkdistro true false ;
jre = jdkdistro false false ;
2007-03-28 17:31:00 +02:00
jdkPlugin = jdkdistro true true ;
2007-03-28 20:55:57 +02:00
jrePlugin = jdkdistro false true ;
2007-03-28 17:21:43 +02:00
2007-04-16 12:22:20 +02:00
supportsJDK =
system == " i 6 8 6 - l i n u x " ||
system == " x 8 6 _ 6 4 - l i n u x " ||
system == " p o w e r p c - l i n u x " ;
2007-04-16 12:07:06 +02:00
jdkdistro = installjdk : pluginSupport :
2007-05-16 16:49:28 +02:00
assert supportsJDK ;
( if pluginSupport then appendToName " p l u g i n " else x : x ) ( import ../development/compilers/jdk {
inherit fetchurl stdenv unzip installjdk xlibs pluginSupport ;
libstdcpp5 = gcc33 . gcc ;
} ) ;
2003-12-21 21:52:13 +01:00
2006-10-18 12:32:45 +02:00
jikes = import ../development/compilers/jikes {
2004-05-12 17:06:23 +02:00
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
mono = import ../development/compilers/mono {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv bison pkgconfig ;
inherit ( gtkLibs ) glib ;
} ;
monoDLLFixer = import ../build-support/mono-dll-fixer {
inherit stdenv perl ;
} ;
2008-01-25 12:56:36 +01:00
monotone = import ../applications/version-management/monotone {
inherit stdenv fetchurl boost zlib ;
} ;
2006-10-18 12:32:45 +02:00
nasm = import ../development/compilers/nasm {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
} ;
2007-11-14 23:39:58 +01:00
ocaml = getVersion " o c a m l " ocaml_alts ;
2004-07-17 00:58:15 +02:00
2007-11-14 23:39:58 +01:00
ocaml_alts = import ../development/compilers/ocaml {
inherit fetchurl stdenv x11 ncurses stdenvUsingSetupNew2 ;
stdenv34 = overrideGCC stdenv gcc34 ;
2006-03-01 10:18:22 +01:00
} ;
2006-09-15 17:28:53 +02:00
/*
2006-10-18 12:32:45 +02:00
gcj = import ../build-support/gcc-wrapper/default2.nix {
2006-09-15 17:28:53 +02:00
name = " g c j " ;
nativeTools = false ;
2006-10-24 20:26:23 +02:00
nativeLibc = false ;
2006-10-18 12:32:45 +02:00
gcc = import ../development/compilers/gcc-4.0 {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv noSysDirs ;
langJava = true ;
langCC = false ;
langC = false ;
langF77 = false ;
} ;
2006-10-27 15:52:37 +02:00
inherit ( stdenv . gcc ) binutils libc ;
2006-09-15 17:28:53 +02:00
inherit stdenv ;
} ;
* /
2006-10-18 12:32:45 +02:00
opencxx = import ../development/compilers/opencxx {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv libtool ;
gcc = gcc33 ;
} ;
2006-10-18 12:32:45 +02:00
qcmm = import ../development/compilers/qcmm {
2006-03-01 10:18:22 +01:00
lua = lua4 ;
2008-01-28 20:32:59 +01:00
ocaml = builtins . getAttr " 3 . 0 8 . 0 " ocaml_alts ;
2006-03-01 10:18:22 +01:00
inherit fetchurl stdenv mk noweb groff ;
2006-02-02 18:07:07 +01:00
} ;
2008-02-08 02:57:31 +01:00
roadsend = import ../development/compilers/roadsend {
inherit fetchurl stdenv flex bison mkDerivationByConfiguration bigloo lib curl ;
# optional features
# all features pcre, fcgi xml mysql, sqlite3, (not implemented: odbc gtk gtk2)
flags = [ " p c r e " " f c g i " " x m l " " m y s q l " ] ;
inherit mysql ;
inherit libxml2 ;
} ;
2006-10-18 12:32:45 +02:00
strategoLibraries = import ../development/compilers/strategoxt/libraries/stratego-libraries-0.17pre.nix {
2006-09-15 17:28:53 +02:00
inherit stdenv fetchurl pkgconfig aterm ;
2005-03-03 18:19:58 +01:00
} ;
2006-10-18 12:32:45 +02:00
strategoxt = import ../development/compilers/strategoxt {
2006-06-23 22:11:36 +02:00
inherit fetchurl pkgconfig sdf aterm ;
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
2005-10-31 15:28:11 +01:00
} ;
2008-01-29 10:42:20 +01:00
strategoxt017 = import ../development/compilers/strategoxt/strategoxt-0.17.nix {
inherit fetchurl pkgconfig ;
sdf = sdf24 ;
aterm = aterm25 ;
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
} ;
2006-10-18 12:32:45 +02:00
strategoxtUtils = import ../development/compilers/strategoxt/utils {
2005-11-04 20:20:51 +01:00
inherit fetchurl pkgconfig stdenv aterm sdf strategoxt ;
2005-06-30 18:54:25 +02:00
} ;
2006-10-18 12:32:45 +02:00
transformers = import ../development/compilers/transformers {
2006-06-24 13:16:29 +02:00
inherit fetchurl pkgconfig sdf ;
2005-12-22 08:39:06 +01:00
aterm = aterm23x ;
2006-06-24 13:16:29 +02:00
stdenv = overrideGCC ( overrideInStdenv stdenv [ gnumake380 ] ) gcc34 ;
2006-10-18 12:32:45 +02:00
strategoxt = import ../development/compilers/strategoxt/strategoxt-0.14.nix {
2006-06-24 00:47:19 +02:00
inherit fetchurl pkgconfig sdf ;
2005-12-22 08:39:06 +01:00
aterm = aterm23x ;
2006-06-24 12:28:50 +02:00
stdenv = overrideGCC ( overrideInStdenv stdenv [ gnumake380 ] ) gcc34 ;
2005-12-22 08:39:06 +01:00
} ;
2006-10-18 12:32:45 +02:00
stlport = import ../development/libraries/stlport {
2005-12-22 08:39:06 +01:00
inherit fetchurl stdenv ;
} ;
} ;
2006-06-02 11:56:10 +02:00
visualcpp = import ../development/compilers/visual-c++ {
2006-06-05 21:26:11 +02:00
inherit fetchurl stdenv cabextract ;
2006-06-02 11:56:10 +02:00
} ;
2008-01-29 12:46:34 +01:00
webdsl = import ../development/compilers/webdsl {
inherit stdenv fetchurl pkgconfig javafront ;
aterm = aterm25 ;
sdf = sdf24 ;
strategoxt = strategoxt017 ;
} ;
2006-09-15 17:28:53 +02:00
win32hello = import ../development/compilers/visual-c++/test {
inherit fetchurl stdenv visualcpp windowssdk ;
} ;
2007-08-19 01:58:30 +02:00
wrapGCC = baseGCC : wrapGCCWithGlibc baseGCC glibc ;
wrapGCCWithGlibc = baseGCC : glibc : import ../build-support/gcc-wrapper {
2007-05-16 17:15:46 +02:00
nativeTools = stdenv ? gcc && stdenv . gcc . nativeTools ;
nativeLibc = stdenv ? gcc && stdenv . gcc . nativeLibc ;
2006-09-15 17:28:53 +02:00
gcc = baseGCC ;
2006-10-24 22:53:54 +02:00
libc = glibc ;
inherit stdenv binutils ;
2006-06-02 12:09:19 +02:00
} ;
2006-10-18 16:04:55 +02:00
### DEVELOPMENT / INTERPRETERS
clisp = import ../development/interpreters/clisp {
2007-08-10 20:54:44 +02:00
inherit fetchurl stdenv libsigsegv gettext
readline ncurses coreutils pcre zlib ;
inherit ( xlibs ) libX11 libXau libXt ;
2006-10-18 16:04:55 +02:00
} ;
2008-01-23 11:06:07 +01:00
erlang = import ../development/interpreters/erlang {
stdenv = overrideGCC stdenv gcc41NPTL ;
inherit fetchurl perl gnum4 ncurses openssl ;
} ;
2006-10-18 16:04:55 +02:00
guile = import ../development/interpreters/guile {
2008-02-12 11:41:00 +01:00
inherit fetchurl stdenv ncurses readline libtool gmp gawk makeWrapper ;
2006-10-18 16:04:55 +02: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 18:43:06 +02:00
inherit fetchurl stdenv ncurses readline ;
2006-10-18 16:04:55 +02:00
} ;
octave = import ../development/interpreters/octave {
2007-10-27 19:55:13 +02:00
inherit stdenv fetchurl readline ncurses perl flex ;
g77 = g77_41 ;
2006-10-18 16:04:55 +02:00
} ;
2007-01-23 10:55:25 +01:00
perl = if ! stdenv . isLinux then sysPerl else realPerl ;
2006-10-18 16:04:55 +02:00
# FIXME: unixODBC needs patching on Darwin (see darwinports)
2007-11-23 17:58:42 +01:00
phpOld = import ../development/interpreters/php {
inherit stdenv fetchurl flex bison libxml2 apacheHttpd ;
unixODBC =
if stdenv . isDarwin then null else unixODBC ;
} ;
2006-10-18 16:04:55 +02:00
2007-11-05 22:13:16 +01:00
# FIXME somehow somewhen: We need to recompile php if the ini file changes because the only way to
# tell the apache module where to look for this file is using a compile time flag ;-(
# perhaps this can be done setting php_value in apache don't have time to investigate any further ?
# This expression is a quick hack now. But perhaps it helps you adding the configuration flags you need?
2007-12-13 23:15:03 +01:00
php = php_unstable ;
2008-01-03 11:46:18 +01:00
# compiling without xdebug is currenlty broken (should be easy to fix though
2007-12-13 23:15:03 +01:00
php_unstable = ( import ../development/interpreters/php_configurable ) {
2008-01-16 04:29:56 +01:00
inherit mkDerivationByConfiguration autoconf automake lib ;
2007-12-13 23:15:03 +01:00
stdenv = stdenvUsingSetupNew2 ;
# optional features
inherit fetchurl flex bison apacheHttpd mysql ; # gettext;
inherit libxml2 ;
2008-02-05 20:58:28 +01:00
inherit postgresql ;
2008-02-15 12:12:56 +01:00
inherit zlib ;
2008-01-03 11:46:18 +01:00
flags = [ " x d e b u g " " m y s q l " " m y s q l i " " p d o _ m y s q l " " l i b x m l 2 " " a p x s 2 " ] ;
} ;
2007-11-05 22:13:16 +01:00
2007-12-30 23:02:04 +01:00
python = getVersion " p y t h o n " python_alts ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
python_alts = import ../development/interpreters/python {
inherit fetchurl stdenv zlib bzip2 ;
} ;
2007-11-05 09:32:20 +01:00
2007-12-30 23:02:04 +01:00
pyrexFun = lib . sumArgs ( selectVersion ../development/interpreters/pyrex ) {
inherit fetchurl stdenv stringsWithDeps lib builderDefs ;
2008-01-28 20:32:59 +01:00
python = builtins . getAttr " 2 . 5 " python_alts ;
2007-12-30 23:02:04 +01:00
} ;
2007-11-05 09:32:20 +01:00
2007-12-30 23:02:04 +01:00
pyrex = pyrexFun { version = " 0 . 9 . 6 " ; } null ;
2007-11-08 15:34:54 +01:00
2007-12-30 23:02:04 +01:00
QiFun = lib . sumArgs ( selectVersion ../development/compilers/qi ) {
inherit clisp stdenv fetchurl builderDefs unzip ;
} ;
2007-11-08 15:34:54 +01:00
2007-12-30 23:02:04 +01:00
Qi = QiFun {
version = getConfig [ " Q i " " v e r s i o n " ] " 9 . 1 " ;
} null ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
realPerl = import ../development/interpreters/perl {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
ruby = import ../development/interpreters/ruby {
inherit fetchurl stdenv readline ncurses ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
spidermonkey = import ../development/interpreters/spidermonkey {
inherit fetchurl stdenv readline ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
sysPerl = import ../development/interpreters/sys-perl {
inherit stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
tcl = import ../development/interpreters/tcl {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
xulrunner = import ../development/interpreters/xulrunner {
inherit fetchurl stdenv pkgconfig perl zip ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libIDL ;
inherit ( xlibs ) libXi ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
xulrunnerWrapper = { application , launcher }:
import ../development/interpreters/xulrunner/wrapper {
inherit stdenv xulrunner application launcher ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / MISC
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
/*
toolbus = import ../development/interpreters/toolbus {
inherit stdenv fetchurl atermjava toolbuslib aterm yacc flex ;
} ;
* /
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
ecj = import ../development/eclipse/ecj {
inherit fetchurl stdenv unzip jre ant ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
jdtsdk = import ../development/eclipse/jdt-sdk {
inherit fetchurl stdenv unzip ;
} ;
2006-10-18 16:04:55 +02:00
2008-02-12 12:16:53 +01:00
guileLib = import ../development/guile-modules/guile-lib {
inherit fetchurl stdenv guile ;
} ;
2007-12-30 23:02:04 +01:00
windowssdk = import ../development/misc/windows-sdk {
inherit fetchurl stdenv cabextract ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / TOOLS
2006-10-18 16:04:55 +02:00
2008-01-16 11:35:49 +01:00
alex = import ../development/tools/parsing/alex {
2008-01-22 23:43:38 +01:00
inherit cabal perl ;
2008-01-16 11:35:49 +01:00
} ;
2007-12-30 23:02:04 +01:00
antlr = import ../development/tools/parsing/antlr/antlr-2.7.6.nix {
inherit fetchurl stdenv jre ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
antlr3 = import ../development/tools/parsing/antlr {
inherit fetchurl stdenv jre ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
ant = apacheAnt ;
apacheAnt = import ../development/tools/build-managers/apache-ant {
inherit fetchurl stdenv jdk ;
name = " a n t - " + jdk . name ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
apacheAnt14 = import ../development/tools/build-managers/apache-ant {
inherit fetchurl stdenv ;
jdk = j2sdk14x ;
name = " a n t - " + j2sdk14x . name ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
autoconf = autoconf261 ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
autoconf261 = import ../development/tools/misc/autoconf {
inherit fetchurl stdenv perl m4 ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
automake = automake19x ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
automake17x = import ../development/tools/misc/automake/automake-1.7.x.nix {
inherit fetchurl stdenv perl autoconf ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
automake19x = import ../development/tools/misc/automake/automake-1.9.x.nix {
inherit fetchurl stdenv perl autoconf ;
} ;
2007-12-13 23:15:03 +01:00
2008-02-12 15:00:26 +01:00
automake110x = import ../development/tools/misc/automake/automake-1.10.x.nix {
inherit fetchurl stdenv perl autoconf ;
} ;
2007-12-30 23:02:04 +01:00
# commented out because it's using the new configuration style proposal which is unstable
#avrdude = import ../development/tools/misc/avrdude {
# inherit lib fetchurl stdenv flex yacc;
#};
2007-09-03 14:10:57 +02:00
2007-12-30 23:02:04 +01:00
binutils = useFromStdenv ( stdenv ? binutils ) stdenv . binutils
( import ../development/tools/misc/binutils {
2006-10-18 16:04:55 +02:00
inherit fetchurl stdenv noSysDirs ;
2007-12-30 23:02:04 +01:00
} ) ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
bison = bison1875 ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
bison1875 = import ../development/tools/parsing/bison/bison-1.875.nix {
inherit fetchurl stdenv m4 ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
bison23 = import ../development/tools/parsing/bison/bison-2.3.nix {
inherit fetchurl stdenv m4 ;
} ;
2006-10-18 16:04:55 +02:00
2008-02-12 14:32:37 +01:00
ccache = import ../development/tools/misc/ccache {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
ctags = import ../development/tools/misc/ctags {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
cmake = import ../development/tools/build-managers/cmake {
inherit fetchurl stdenv replace ;
} ;
2007-07-08 00:31:37 +02:00
2008-01-01 16:44:27 +01:00
elfutilsFun = lib . sumArgs
( selectVersion ../development/tools/misc/elfutils ) {
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ;
2007-03-21 20:25:58 +01:00
2008-01-01 16:44:27 +01:00
elfutils = elfutilsFun {
version = " 0 . 1 3 1 " ;
} null ;
2007-12-30 23:02:04 +01:00
epm = import ../development/tools/misc/epm {
inherit fetchurl stdenv rpm ;
} ;
2007-09-06 17:00:33 +02:00
2007-12-30 23:02:04 +01:00
flex = flex254a ;
2006-10-18 16:04:55 +02:00
2008-02-16 20:12:55 +01:00
flex2534 = import ../development/tools/parsing/flex/flex-2.5.34.nix {
inherit fetchurl stdenv yacc m4 ;
} ;
2007-12-30 23:02:04 +01:00
flex2533 = import ../development/tools/parsing/flex/flex-2.5.33.nix {
inherit fetchurl stdenv yacc m4 ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
flex254a = import ../development/tools/parsing/flex/flex-2.5.4a.nix {
inherit fetchurl stdenv yacc ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
frown = import ../development/tools/parsing/frown {
inherit fetchurl stdenv ghc ;
} ;
2007-05-09 15:10:31 +02:00
2007-12-30 23:02:04 +01:00
m4 = gnum4 ;
2006-12-13 23:29:40 +01:00
2007-12-30 23:02:04 +01:00
gnum4 = import ../development/tools/misc/gnum4 {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
gnumake = useFromStdenv ( stdenv ? gnumake ) stdenv . gnumake
( import ../development/tools/build-managers/gnumake {
2006-10-18 16:04:55 +02:00
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ) ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
gnumake380 = import ../development/tools/build-managers/gnumake-3.80 {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
gperf = import ../development/tools/misc/gperf {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2008-01-19 18:05:54 +01:00
haddock = import ../development/tools/documentation/haddock {
2008-01-22 23:43:38 +01:00
inherit cabal ;
2008-01-19 18:05:54 +01:00
} ;
2008-02-15 17:30:33 +01:00
guileLint = import ../development/tools/guile/guile-lint {
inherit fetchurl stdenv guile ;
} ;
2008-01-22 23:43:38 +01:00
# happy = import ../development/tools/parsing/happy {
# inherit fetchurl stdenv perl ghc;
# };
2006-10-18 16:04:55 +02:00
2008-01-22 23:43:38 +01:00
happy = import ../development/tools/parsing/happy/happy-1.17.nix {
inherit cabal perl ;
2008-01-17 19:21:50 +01:00
} ;
2008-02-13 12:15:08 +01:00
hasktags = import ../development/tools/misc/hasktags {
inherit fetchurl ;
stdenv = stdenvUsingSetupNew2 ;
ghc = ghcsAndLibs . ghc68 . ghc ;
} ;
2007-12-30 23:02:04 +01:00
help2man = import ../development/tools/misc/help2man {
inherit fetchurl stdenv perl gettext perlLocaleGettext ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
iconnamingutils = import ../development/tools/misc/icon-naming-utils {
inherit fetchurl stdenv perl perlXMLSimple ;
} ;
2007-03-05 19:52:31 +01:00
2007-12-30 23:02:04 +01:00
indentFun = lib . sumArgs ( selectVersion ../development/tools/misc/indent ) {
inherit fetchurl stdenv builderDefs ;
} ;
2007-11-25 19:35:33 +01:00
2007-12-30 23:02:04 +01:00
indent = indentFun {
version = " 2 . 2 . 9 " ;
} null ;
2007-11-25 19:35:33 +01:00
2007-12-30 23:02:04 +01:00
jikespg = import ../development/tools/parsing/jikespg {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
kcachegrind = import ../development/tools/misc/kcachegrind {
inherit fetchurl stdenv kdelibs zlib perl expat libpng libjpeg ;
inherit ( xlibs ) libX11 libXext libSM ;
qt = qt3 ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
lcov = import ../development/tools/misc/lcov {
inherit fetchurl stdenv perl ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
libtool = import ../development/tools/misc/libtool {
inherit fetchurl stdenv perl m4 ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
lsof = import ../development/tools/misc/lsof {
inherit fetchurl stdenv ;
} ;
2007-06-18 00:44:30 +02:00
2007-12-30 23:02:04 +01:00
ltrace = import ../development/tools/misc/ltrace {
2008-01-01 16:44:27 +01:00
inherit fetchurl stdenv builderDefs stringsWithDeps lib ;
elfutils = elfutilsFun { version = " 0 . 1 2 7 " ; } null ;
2007-12-30 23:02:04 +01:00
} ;
2007-11-03 09:19:00 +01:00
2007-12-30 23:02:04 +01:00
mk = import ../development/tools/build-managers/mk {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
noweb = import ../development/tools/literate-programming/noweb {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
patchelf = useFromStdenv ( stdenv ? patchelf ) stdenv . patchelf
( import ../development/tools/misc/patchelf {
2007-11-06 00:59:55 +01:00
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ) ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
/* *
* pkgconfig is optionally taken from the stdenv to allow bootstrapping
* of glib and pkgconfig itself on MinGW .
* /
pkgconfig = useFromStdenv ( stdenv ? pkgconfig ) stdenv . pkgconfig
( import ../development/tools/misc/pkgconfig {
2006-10-18 16:04:55 +02:00
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ) ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
# couldn't find the source yet
selenium_rc_binary = import ../development/tools/selenium/remote-control {
inherit fetchurl stdenv unzip ;
} ;
2007-12-03 15:33:54 +01:00
2007-12-30 23:02:04 +01:00
scons = import ../development/tools/build-managers/scons {
inherit fetchurl stdenv python ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
sdf = import ../development/tools/parsing/sdf {
inherit fetchurl aterm getopt pkgconfig ;
# Note: sdf2-bundle currently requires GNU make 3.80; remove
# explicit dependency when this is fixed.
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
} ;
2006-10-18 16:04:55 +02:00
2008-01-29 10:37:15 +01:00
sdf24 = import ../development/tools/parsing/sdf/sdf2-bundle-2.4.nix {
inherit fetchurl getopt pkgconfig ;
aterm = aterm25 ;
# Note: sdf2-bundle currently requires GNU make 3.80; remove
# explicit dependency when this is fixed.
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
} ;
2007-12-30 23:02:04 +01:00
strace = import ../development/tools/misc/strace {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
swig = import ../development/tools/misc/swig {
inherit fetchurl stdenv perl python ;
perlSupport = true ;
pythonSupport = true ;
javaSupport = false ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
swigWithJava = lowPrio ( appendToName " w i t h - j a v a " ( import ../development/tools/misc/swig {
inherit fetchurl stdenv jdk ;
perlSupport = false ;
pythonSupport = false ;
javaSupport = true ;
} ) ) ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
texinfo = import ../development/tools/misc/texinfo {
inherit fetchurl stdenv ncurses ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
uisp = import ../development/tools/misc/uisp {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
uuagc = import ../development/tools/haskell/uuagc {
2008-01-23 09:36:03 +01:00
inherit cabal uulib ;
2007-12-30 23:02:04 +01:00
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
gdb = import ../development/tools/misc/gdb {
inherit fetchurl stdenv ncurses ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
valgrind = import ../development/tools/misc/valgrind {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
yacc = bison ;
2007-09-03 14:10:57 +02:00
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / LIBRARIES
2007-02-22 17:07:51 +01:00
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
a52dec = import ../development/libraries/a52dec {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
aalib = import ../development/libraries/aalib {
inherit fetchurl stdenv ncurses ;
} ;
2006-06-02 11:56:10 +02:00
2007-12-30 23:02:04 +01:00
acl = import ../development/libraries/acl {
inherit stdenv fetchurl autoconf libtool gettext attr ;
} ;
2007-12-23 16:09:12 +01:00
2007-12-30 23:02:04 +01:00
/*
agg = import ../development/libraries/agg {
inherit fetchurl stdenv autoconf automake libtool pkgconfig ;
} ;
* /
2005-11-22 13:05:36 +01:00
2007-12-30 23:02:04 +01:00
apr = import ../development/libraries/apr {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
aprutil = import ../development/libraries/apr-util {
inherit fetchurl stdenv apr expat db4 ;
bdbSupport = true ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
arts = import ../development/libraries/arts {
inherit fetchurl stdenv pkgconfig ;
inherit ( xlibs ) libX11 libXext ;
inherit kdelibs zlib libjpeg libpng perl ;
qt = qt3 ;
inherit ( gnome ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
aspell = import ../development/libraries/aspell {
inherit fetchurl stdenv perl ;
} ;
2007-12-23 16:09:12 +01:00
2007-12-30 23:02:04 +01:00
aspellDicts = recurseIntoAttrs ( import ../development/libraries/aspell/dictionaries.nix {
inherit fetchurl stdenv aspell which ;
} ) ;
2007-12-23 16:09:12 +01:00
2007-12-30 23:02:04 +01:00
aterm = lowPrio ( import ../development/libraries/aterm {
inherit fetchurl stdenv ;
} ) ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
aterm242fixes = import ../development/libraries/aterm/2.4.2-fixes.nix {
inherit fetchurl stdenv ;
} ;
2005-11-22 13:05:36 +01:00
2007-12-30 23:02:04 +01:00
aterm23x = import ../development/libraries/aterm/2.3.nix {
inherit fetchurl stdenv ;
} ;
2006-06-02 11:56:10 +02:00
2008-01-29 10:32:56 +01:00
aterm25 = import ../development/libraries/aterm/2.5.nix {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
attr = import ../development/libraries/attr {
inherit stdenv fetchurl autoconf libtool gettext ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
audiofile = import ../development/libraries/audiofile {
inherit fetchurl stdenv ;
} ;
2004-01-24 23:50:47 +01:00
2007-12-30 23:02:04 +01:00
axis = import ../development/libraries/axis {
inherit fetchurl stdenv ;
} ;
2005-05-05 01:36:28 +02:00
2007-12-30 23:02:04 +01:00
beecrypt = import ../development/libraries/beecrypt {
inherit fetchurl stdenv m4 ;
} ;
2006-04-26 16:47:16 +02:00
2007-12-30 23:02:04 +01:00
boehmgc = import ../development/libraries/boehm-gc {
inherit fetchurl stdenv ;
} ;
2006-02-02 18:07:07 +01:00
2007-12-30 23:02:04 +01:00
boost = import ../development/libraries/boost {
inherit fetchurl stdenv icu zlib bzip2 python ;
} ;
2006-11-14 16:55:57 +01:00
2007-12-30 23:02:04 +01:00
cairo = import ../development/libraries/cairo {
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
chmlib = import ../development/libraries/chmlib {
inherit fetchurl stdenv ;
} ;
2007-05-13 16:22:24 +02:00
2007-12-30 23:02:04 +01:00
cil = import ../development/libraries/cil {
inherit stdenv fetchurl ocaml perl ;
} ;
2007-10-23 18:33:11 +02:00
2007-12-30 23:02:04 +01:00
cilaterm = import ../development/libraries/cil-aterm {
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
inherit fetchurl perl ocaml ;
} ;
2006-02-02 18:07:07 +01:00
2007-12-30 23:02:04 +01:00
clanlib = import ../development/libraries/clanlib {
inherit fetchurl stdenv zlib libpng libjpeg libvorbis libogg mesa ;
inherit ( xlibs ) libX11 xf86vidmodeproto libXmu libXxf86vm ;
} ;
2005-11-22 13:05:36 +01:00
2007-12-30 23:02:04 +01:00
clearsilver = import ../development/libraries/clearsilver {
inherit fetchurl stdenv python ;
} ;
2004-11-19 18:47:17 +01:00
2007-12-30 23:02:04 +01:00
cluceneCore = ( import ../development/libraries/clucene-core ) {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
coredumper = import ../development/libraries/coredumper {
inherit fetchurl stdenv ;
} ;
2007-06-12 17:35:57 +02:00
2007-12-30 23:02:04 +01:00
ctl = import ../development/libraries/ctl {
inherit fetchurl stdenv ilmbase ;
} ;
2004-08-23 12:44:21 +02:00
2007-12-30 23:02:04 +01:00
cppunit = import ../development/libraries/cppunit {
inherit fetchurl stdenv ;
} ;
2005-09-12 00:39:06 +02:00
2007-12-30 23:02:04 +01:00
cracklib = import ../development/libraries/cracklib {
inherit fetchurl stdenv ;
} ;
2005-02-27 00:45:19 +01:00
2007-12-30 23:02:04 +01:00
cyrus_sasl = import ../development/libraries/cyrus-sasl {
inherit fetchurl stdenv openssl db4 gettext ;
} ;
2004-01-25 00:46:00 +01:00
2007-12-30 23:02:04 +01:00
db4 = db45 ;
2007-07-22 20:22:46 +02:00
2007-12-30 23:02:04 +01:00
db44 = import ../development/libraries/db4/db4-4.4.nix {
inherit fetchurl stdenv ;
} ;
2004-08-23 19:06:50 +02:00
2007-12-30 23:02:04 +01:00
db45 = import ../development/libraries/db4/db4-4.5.nix {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
# I think, this is a bad practice to use getVersion for various build
# variants, but it's 5 o'clock now...
dbus = getVersion " d b u s " dbus_alts ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
dbus_alts = rec
{
noX11 = import ../development/libraries/dbus {
inherit fetchurl stdenv pkgconfig expat ;
} ;
withX11 = import ../development/libraries/dbus_x {
inherit fetchurl stdenv pkgconfig expat ;
inherit ( xlibs ) libX11 libICE libSM ;
} ;
default = noX11 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
dbus_glib = import ../development/libraries/dbus-glib {
inherit fetchurl stdenv pkgconfig gettext dbus expat ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
dclib = import ../development/libraries/dclib {
inherit fetchurl stdenv libxml2 openssl bzip2 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
directfb = import ../development/libraries/directfb {
inherit fetchurl stdenv perl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
enchant = import ../development/libraries/enchant {
inherit fetchurl stdenv aspell pkgconfig ;
inherit ( gnome ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
exiv2 = import ../development/libraries/exiv2 {
inherit fetchurl stdenv zlib ;
} ;
2007-08-05 15:54:42 +02:00
2007-12-30 23:02:04 +01:00
expat = import ../development/libraries/expat {
inherit fetchurl stdenv ;
} ;
2004-08-10 13:07:50 +02:00
2007-12-30 23:02:04 +01:00
facile = import ../development/libraries/facile {
inherit fetchurl ;
# Actually, we don't need this version but we need native-code compilation
2008-01-28 20:32:38 +01:00
ocaml = builtins . getAttr " 3 . 1 0 . 0 " ocaml_alts ;
2007-12-30 23:02:04 +01:00
stdenv = stdenvUsingSetupNew2 ;
} ;
2007-12-05 22:25:47 +01:00
2008-02-08 11:54:56 +01:00
fcgi = import ../development/libraries/fcgi {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
ffmpeg = import ../development/libraries/ffmpeg {
inherit fetchurl stdenv ;
} ;
2007-10-01 17:09:29 +02:00
2007-12-30 23:02:04 +01:00
ffmpeg_svn = import ../development/libraries/ffmpeg_svn_snapshot {
2008-02-11 00:00:58 +01:00
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
fftw = import ../development/libraries/fftw {
inherit fetchurl stdenv builderDefs stringsWithDeps ;
} ;
2007-10-01 17:11:38 +02:00
2007-12-30 23:02:04 +01:00
fltk20 = ( import ../development/libraries/fltk ) {
2008-01-16 04:29:56 +01:00
inherit mkDerivationByConfiguration x11 lib ;
2007-12-30 23:02:04 +01:00
inherit fetchurl stdenv mesa mesaHeaders libpng libjpeg zlib ;
flags = [ " u s e N i x L i b s " " t h r e a d s " " s h a r e d " " g l " ] ;
} ;
2006-10-13 14:58:13 +02:00
2008-01-28 20:46:59 +01:00
cfitsio = import ../development/libraries/cfitsio {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
fontconfig = import ../development/libraries/fontconfig {
inherit fetchurl stdenv freetype expat ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
freealut = import ../development/libraries/freealut {
inherit fetchurl stdenv openal ;
} ;
2007-09-20 21:40:22 +02:00
2007-12-30 23:02:04 +01:00
freeglut = assert mesaSupported ; import ../development/libraries/freeglut {
inherit fetchurl stdenv x11 mesa ;
} ;
2007-03-04 22:28:24 +01:00
2007-12-30 23:02:04 +01:00
freetype = import ../development/libraries/freetype {
inherit fetchurl stdenv ;
} ;
2007-03-04 22:28:24 +01:00
2007-12-30 23:02:04 +01:00
fribidi = import ../development/libraries/fribidi {
inherit fetchurl stdenv ;
} ;
2004-08-24 13:26:26 +02:00
2008-01-28 20:44:39 +01:00
fam = gamin ;
2008-01-28 20:41:55 +01:00
gamin = import ../development/libraries/gamin {
inherit fetchurl stdenv python pkgconfig ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-30 23:02:04 +01:00
geos = import ../development/libraries/geos {
2008-01-16 04:29:56 +01:00
inherit fetchurl fetchsvn stdenv mkDerivationByConfiguration autoconf automake libtool swig which lib ;
2007-12-30 23:02:04 +01:00
use_svn = stdenv . system == " x 8 6 _ 6 4 - l i n u x " ;
python = python ;
# optional features:
# python / ruby support
} ;
2006-11-14 23:23:33 +01:00
2007-12-30 23:02:04 +01:00
gettext = getVersion " g e t t e x t " gettext_alts ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gettext_alts = import ../development/libraries/gettext {
2008-01-28 20:30:57 +01:00
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gd = import ../development/libraries/gd {
inherit fetchurl stdenv zlib libpng freetype libjpeg fontconfig ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gdal = stdenv . mkDerivation {
name = " g d a l - 1 . 4 . 2 " ;
src = fetchurl {
url = http://download.osgeo.org/gdal/gdal-1.4.2.tar.gz ;
sha256 = " 1 v l 8 y m 9 y 7 s c m 0 y d 4 v g h j f q i m s 6 9 b 9 h 1 g n 9 l 4 z v y 2 j y g l h 3 5 p 8 v p f " ;
} ;
} ;
2007-10-12 22:27:15 +02:00
2008-01-16 03:20:46 +01:00
glew = import ../development/libraries/glew {
2008-01-16 11:28:47 +01:00
inherit fetchurl stdenv mesa x11 libtool ;
2008-01-16 03:20:46 +01:00
inherit ( xlibs ) libXmu libXi ;
} ;
2007-12-30 23:02:04 +01:00
glibc = useFromStdenv ( stdenv ? glibc ) stdenv . glibc
( import ../development/libraries/glibc {
inherit fetchurl stdenv kernelHeaders ;
#installLocales = false;
} ) ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
glibcNPTL = import ../development/libraries/glibc-nptl {
inherit fetchurl kernelHeaders perl ;
stdenv = overrideGCC stdenv gcc34 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
glibmm = import ../development/libraries/gtk-libs-2.6/glibmm {
inherit fetchurl stdenv pkgconfig libsigcxx ;
inherit ( gtkLibs26 ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gmime = import ../development/libraries/gmime {
inherit fetchurl stdenv pkgconfig zlib ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gmp = import ../development/libraries/gmp {
inherit fetchurl stdenv m4 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
#GMP ex-satellite, so better keep it near gmp
mpfr = import ../development/libraries/mpfr {
inherit fetchurl stdenv gmp ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gnet = import ../development/libraries/gnet {
inherit fetchurl stdenv pkgconfig ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gnutls = import ../development/libraries/gnutls {
inherit fetchurl stdenv libgcrypt zlib lzo ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gpgme = import ../development/libraries/gpgme {
2008-01-28 20:46:13 +01:00
inherit fetchurl stdenv libgpgerror pkgconfig pth gnupg gnupg2 ;
inherit ( gtkLibs ) glib ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
# gnu scientific library
gsl = import ../development/libraries/gsl {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs = recurseIntoAttrs gtkLibs210 ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs1x = import ../development/libraries/gtk-libs-1.x {
inherit fetchurl stdenv x11 libtiff libjpeg libpng ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs210 = import ../development/libraries/gtk-libs-2.10 {
inherit fetchurl stdenv pkgconfig gettext perl x11
libtiff libjpeg libpng cairo ;
inherit ( xlibs ) libXinerama libXrandr ;
xineramaSupport = true ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs22 = import ../development/libraries/gtk-libs-2.2 {
inherit fetchurl stdenv pkgconfig gettext perl x11
libtiff libjpeg libpng ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs24 = import ../development/libraries/gtk-libs-2.4 {
inherit fetchurl stdenv pkgconfig gettext perl x11
libtiff libjpeg libpng ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs26 = import ../development/libraries/gtk-libs-2.6 {
inherit fetchurl stdenv pkgconfig gettext perl x11
libtiff libjpeg libpng ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkLibs28 = import ../development/libraries/gtk-libs-2.8 {
inherit fetchurl stdenv pkgconfig gettext perl x11
libtiff libjpeg libpng cairo ;
inherit ( xlibs ) libXinerama ;
xineramaSupport = true ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkmm = import ../development/libraries/gtk-libs-2.6/gtkmm {
inherit fetchurl stdenv pkgconfig libsigcxx ;
inherit ( gtkLibs26 ) gtk atk ;
inherit glibmm ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
inherit fetchurl stdenv mono pkgconfig monoDLLFixer ;
inherit ( gnome ) gtk ;
gtksharp = gtksharp2 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtksharp1 = import ../development/libraries/gtk-sharp-1 {
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer ;
inherit ( gnome ) gtk glib pango libglade libgtkhtml gtkhtml
libgnomecanvas libgnomeui libgnomeprint
libgnomeprintui GConf ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtksharp2 = import ../development/libraries/gtk-sharp-2 {
inherit fetchurl stdenv mono pkgconfig libxml2 monoDLLFixer ;
inherit ( gnome ) gtk glib pango libglade libgtkhtml gtkhtml
libgnomecanvas libgnomeui libgnomeprint
libgnomeprintui GConf gnomepanel ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtksourceviewsharp = import ../development/libraries/gtksourceview-sharp {
inherit fetchurl stdenv mono pkgconfig monoDLLFixer ;
inherit ( gnome ) gtksourceview ;
gtksharp = gtksharp2 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gtkspell = import ../development/libraries/gtkspell {
inherit fetchurl stdenv pkgconfig ;
inherit ( gtkLibs ) gtk ;
inherit aspell ;
} ;
2007-12-13 23:15:03 +01:00
2008-01-28 20:44:39 +01:00
# TODO : Add MIT Kerberos and let admin choose.
kerberos = heimdal ;
2008-01-28 20:41:25 +01:00
heimdal = import ../development/libraries/kerberos/heimdal.nix {
inherit fetchurl stdenv readline db4 openssl openldap cyrus_sasl ;
} ;
2007-12-30 23:02:04 +01:00
hsqldb = import ../development/libraries/java/hsqldb {
inherit stdenv fetchurl unzip ;
} ;
2007-10-01 17:12:41 +02:00
2007-12-30 23:02:04 +01:00
icu = import ../development/libraries/icu {
inherit fetchurl stdenv ;
} ;
2004-01-25 01:50:00 +01:00
2007-12-30 23:02:04 +01:00
id3lib = import ../development/libraries/id3lib {
inherit fetchurl stdenv ;
} ;
2007-11-15 00:05:11 +01:00
2007-12-30 23:02:04 +01:00
ilmbase = import ../development/libraries/ilmbase {
inherit fetchurl stdenv ;
} ;
2005-12-19 19:56:31 +01:00
2007-12-30 23:02:04 +01:00
imlib = import ../development/libraries/imlib {
inherit fetchurl stdenv libjpeg libtiff libungif libpng ;
inherit ( xlibs ) libX11 libXext xextproto ;
} ;
2007-10-22 02:51:40 +02:00
2007-12-30 23:02:04 +01:00
imlib2 = import ../development/libraries/imlib2 {
inherit fetchurl stdenv x11 libjpeg libtiff libungif libpng bzip2 ;
} ;
2007-10-29 11:52:04 +01:00
2008-01-28 20:47:23 +01:00
indilib = import ../development/libraries/indilib {
inherit fetchurl stdenv cfitsio libusb zlib ;
} ;
2008-01-28 20:45:19 +01:00
iniparser = import ../development/libraries/iniparser {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
intltoolFun = lib . sumArgs ( selectVersion ../development/tools/misc/intltool ) {
inherit fetchurl stdenv lib builderDefs stringsWithDeps
perl perlXMLParser ;
} ;
2007-09-03 14:10:57 +02:00
2007-12-30 23:02:04 +01:00
intltool = intltoolFun { version = " 0 . 3 6 . 2 " ; } null ;
2007-08-20 12:40:48 +02:00
2008-01-28 20:41:03 +01:00
jasper = import ../development/libraries/jasper {
inherit fetchurl stdenv unzip libjpeg freeglut mesa ;
inherit ( xlibs ) xproto libX11 libICE libXmu libXi libXext libXt ;
} ;
2007-12-30 23:02:04 +01:00
lablgtk = import ../development/libraries/lablgtk {
inherit fetchurl stdenv ocaml pkgconfig ;
inherit ( gtkLibs ) gtk ;
} ;
2005-05-09 17:56:34 +02:00
2007-12-30 23:02:04 +01:00
lcms = import ../development/libraries/lcms {
inherit fetchurl stdenv ;
} ;
2007-05-14 23:47:11 +02:00
2007-12-30 23:02:04 +01:00
lesstif = import ../development/libraries/lesstif {
inherit fetchurl stdenv x11 ;
inherit ( xlibs ) libXp libXau ;
} ;
2007-04-18 15:47:35 +02:00
2008-02-04 15:37:15 +01:00
libaal = import ../development/libraries/libaal {
inherit fetchurl stdenv ;
} ;
2008-02-11 22:02:38 +01:00
libao = import ../development/libraries/libao {
inherit stdenv fetchurl pkgconfig ;
} ;
2008-01-28 20:46:38 +01:00
libarchive = import ../development/libraries/libarchive {
inherit fetchurl stdenv zlib ;
} ;
2008-01-28 20:43:37 +01:00
libassuan = import ../development/libraries/libassuan {
inherit fetchurl stdenv pth ;
} ;
2008-01-13 16:21:21 +01:00
libavc1394 = import ../development/libraries/libavc1394 {
inherit fetchurl stdenv pkgconfig libraw1394 ;
} ;
2007-12-30 23:02:04 +01:00
libcaca = import ../development/libraries/libcaca {
inherit fetchurl stdenv ncurses ;
} ;
2006-01-02 15:24:36 +01:00
2007-12-30 23:02:04 +01:00
libcdaudio = import ../development/libraries/libcdaudio {
inherit fetchurl stdenv ;
} ;
2003-11-02 18:42:19 +01:00
2007-12-30 23:02:04 +01:00
libcm = assert mesaSupported ; import ../development/libraries/libcm {
inherit fetchurl stdenv pkgconfig xlibs mesa ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-03 17:01:51 +01:00
2007-12-30 23:02:04 +01:00
libdaemon = import ../development/libraries/libdaemon {
inherit fetchurl stdenv ;
} ;
2007-09-01 20:26:13 +02:00
2007-12-30 23:02:04 +01:00
libdbiFun = lib . sumArgs ( selectVersion ../development/libraries/libdbi ) {
inherit stdenv fetchurl builderDefs ;
} ;
2006-06-21 23:05:39 +02:00
2007-12-30 23:02:04 +01:00
libdbi = libdbiFun {
version = " 0 . 8 . 2 " ;
} null ;
2007-09-21 22:43:43 +02:00
2007-12-30 23:02:04 +01:00
libdbiDriversFun = lib . sumArgs ( selectVersion ../development/libraries/libdbi-drivers ) {
inherit stdenv fetchurl builderDefs libdbi ;
} ;
2007-09-04 11:38:52 +02:00
2007-12-30 23:02:04 +01:00
libdbiDrivers = libdbiDriversFun {
version = " 0 . 8 . 2 - 1 " ;
mysql = mysql5 ;
inherit sqlite ;
} null ;
2003-11-02 23:25:26 +01:00
2008-01-10 14:37:32 +01:00
libdv = import ../development/libraries/libdv {
2008-01-16 10:57:25 +01:00
inherit fetchurl stdenv lib mkDerivationByConfiguration ;
2008-01-10 14:37:32 +01:00
} ;
2007-08-18 18:20:14 +02:00
2007-12-30 23:02:04 +01:00
libdrm = import ../development/libraries/libdrm {
inherit fetchurl stdenv ;
} ;
2003-11-02 23:25:26 +01:00
2007-12-30 23:02:04 +01:00
libdvdcss = import ../development/libraries/libdvdcss {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
libdvdnav = import ../development/libraries/libdvdnav {
inherit fetchurl stdenv ;
} ;
2006-12-13 23:29:40 +01:00
2007-12-30 23:02:04 +01:00
libdvdread = import ../development/libraries/libdvdread {
inherit fetchurl stdenv libdvdcss ;
} ;
2007-10-27 19:55:13 +02:00
2007-12-30 23:02:04 +01:00
libevent = import ../development/libraries/libevent {
inherit fetchurl stdenv ;
} ;
2004-01-22 20:09:49 +01:00
2007-12-30 23:02:04 +01:00
libexif = import ../development/libraries/libexif {
inherit fetchurl stdenv gettext ;
} ;
2007-11-08 18:48:52 +01:00
2007-12-30 23:02:04 +01:00
libextractorFun = lib . sumArgs ( selectVersion ../development/libraries/libextractor )
{
inherit fetchurl stdenv builderDefs zlib ;
} ;
2006-03-14 19:20:21 +01:00
2007-12-30 23:02:04 +01:00
libextractor = libextractorFun {
version = " 0 . 5 . 1 8 " ;
} null ;
2007-12-04 05:18:31 +01:00
2007-12-30 23:02:04 +01:00
libgcrypt = import ../development/libraries/libgcrypt {
inherit fetchurl stdenv libgpgerror ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
libgpgerror = import ../development/libraries/libgpg-error {
inherit fetchurl stdenv ;
} ;
2003-11-05 13:17:48 +01:00
2007-12-30 23:02:04 +01:00
libgphoto2 = import ../development/libraries/libgphoto2 {
inherit fetchurl stdenv pkgconfig libusb libtool libexif libjpeg gettext ;
} ;
2005-01-19 22:12:46 +01:00
2007-12-30 23:02:04 +01:00
# commented out because it's using the new configuration style proposal which is unstable
libsamplerate = if builtins ? listToAttrs then ( import ../development/libraries/libsamplerate ) {
inherit fetchurl stdenv mkDerivationByConfiguration pkgconfig lib ;
} else null ;
2005-01-19 22:48:45 +01:00
2007-12-30 23:02:04 +01:00
libgsf = import ../development/libraries/libgsf {
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2 gettext bzip2
python ;
inherit ( gnome ) glib gnomevfs libbonobo ;
} ;
2005-01-19 22:48:45 +01:00
2008-02-11 22:02:38 +01:00
libid3tag = import ../development/libraries/libid3tag {
inherit fetchurl stdenv zlib ;
} ;
2007-12-30 23:02:04 +01:00
libidn = import ../development/libraries/libidn {
inherit fetchurl stdenv ;
} ;
2006-01-07 18:25:39 +01:00
2008-01-13 16:21:21 +01:00
libiec61883 = import ../development/libraries/libiec61883 {
inherit fetchurl stdenv pkgconfig libraw1394 ;
} ;
2007-12-30 23:02:04 +01:00
libjpeg = import ../development/libraries/libjpeg {
inherit fetchurl stdenv libtool ;
} ;
2005-11-22 23:32:18 +01:00
2007-12-30 23:02:04 +01:00
libjpegStatic = lowPrio ( appendToName " s t a t i c " ( import ../development/libraries/libjpeg-static {
inherit fetchurl stdenv libtool ;
static = true ;
} ) ) ;
2005-02-16 17:18:43 +01:00
2008-01-28 20:44:20 +01:00
libksba = import ../development/libraries/libksba {
inherit fetchurl stdenv libgpgerror ;
} ;
2007-12-30 23:02:04 +01:00
libmad = import ../development/libraries/libmad {
inherit fetchurl stdenv ;
} ;
2005-10-26 23:10:31 +02:00
2007-12-30 23:02:04 +01:00
libmpcdec = import ../development/libraries/libmpcdec {
inherit fetchurl stdenv ;
} ;
2005-10-26 23:10:31 +02:00
2007-12-30 23:02:04 +01:00
libmspack = import ../development/libraries/libmspack {
inherit fetchurl stdenv ;
} ;
2003-11-06 16:24:19 +01:00
2008-01-28 20:47:12 +01:00
libnova = import ../development/libraries/libnova {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
libogg = import ../development/libraries/libogg {
inherit fetchurl stdenv ;
} ;
2003-11-25 19:02:05 +01:00
2008-02-12 11:51:44 +01:00
liboop = import ../development/libraries/liboop {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
libotr = import ../development/libraries/libotr {
inherit fetchurl stdenv libgcrypt ;
} ;
2007-05-13 16:22:24 +02:00
2007-12-30 23:02:04 +01:00
libpcap = import ../development/libraries/libpcap {
inherit fetchurl stdenv flex bison ;
} ;
2007-09-06 17:56:39 +02:00
2007-12-30 23:02:04 +01:00
libpng = import ../development/libraries/libpng {
inherit fetchurl stdenv zlib ;
} ;
2007-08-08 15:20:18 +02:00
2007-12-30 23:02:04 +01:00
/* l i b s c d F u n = l i b . s u m A r g s ( s e l e c t V e r s i o n . . / d e v e l o p m e n t / l i b r a r i e s / l i b s c d ) {
inherit stdenv fetchurl builderDefs libextractor perl pkgconfig ;
} ;
2003-11-05 13:17:48 +01:00
2007-12-30 23:02:04 +01:00
libscd = libscdFun {
version = " 0 . 4 . 2 " ;
} null ; * /
2007-10-12 22:33:03 +02:00
2007-12-30 23:02:04 +01:00
libsigcxx = import ../development/libraries/libsigcxx {
inherit fetchurl stdenv pkgconfig ;
} ;
2003-11-05 13:17:48 +01:00
2007-12-30 23:02:04 +01:00
libsigsegv = import ../development/libraries/libsigsegv {
inherit fetchurl stdenv ;
} ;
2007-03-05 14:44:27 +01:00
2007-12-30 23:02:04 +01:00
libsndfile = import ../development/libraries/libsndfile {
inherit fetchurl stdenv ;
} ;
2007-11-05 09:32:20 +01:00
2007-12-30 23:02:04 +01:00
libtheora = import ../development/libraries/libtheora {
inherit fetchurl stdenv libogg libvorbis ;
} ;
2007-11-05 09:32:20 +01:00
2007-12-30 23:02:04 +01:00
libtiff = import ../development/libraries/libtiff {
inherit fetchurl stdenv zlib libjpeg ;
} ;
2007-08-10 10:21:31 +02:00
2007-12-31 22:52:43 +01:00
giflib = import ../development/libraries/giflib {
inherit fetchurl stdenv ;
} ;
libungif = import ../development/libraries/giflib/libungif.nix {
2007-12-30 23:02:04 +01:00
inherit fetchurl stdenv ;
} ;
2003-11-06 16:24:19 +01:00
2007-12-30 23:02:04 +01:00
libusb = import ../development/libraries/libusb {
inherit fetchurl stdenv ;
} ;
2006-10-18 16:04:55 +02:00
2008-01-28 20:45:30 +01:00
libunwind = import ../development/libraries/libunwind {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
libvorbis = import ../development/libraries/libvorbis {
inherit fetchurl stdenv libogg ;
} ;
2006-07-08 14:44:39 +02:00
2007-12-30 23:02:04 +01:00
libwmf = import ../development/libraries/libwmf {
inherit fetchurl stdenv pkgconfig imagemagick
zlib libpng freetype libjpeg libxml2 ;
inherit ( gtkLibs ) glib ;
} ;
2003-11-06 16:24:19 +01:00
2007-12-30 23:02:04 +01:00
libwpd = import ../development/libraries/libwpd {
inherit fetchurl stdenv pkgconfig libgsf libxml2 bzip2 ;
inherit ( gnome ) glib ;
} ;
2007-02-28 18:52:41 +01:00
2007-12-30 23:02:04 +01:00
libxcrypt = import ../development/libraries/libxcrypt {
inherit fetchurl stdenv ;
} ;
2007-08-06 20:45:53 +02:00
2007-12-30 23:02:04 +01:00
libxml2 = import ../development/libraries/libxml2 {
inherit fetchurl stdenv zlib python ;
pythonSupport = false ;
} ;
2007-12-01 17:20:23 +01:00
2007-12-30 23:02:04 +01:00
libxml2Python = lowPrio ( appendToName " w i t h - p y t h o n " ( import ../development/libraries/libxml2 {
inherit fetchurl stdenv zlib python ;
pythonSupport = true ;
} ) ) ;
2007-12-01 17:20:23 +01:00
2007-12-30 23:02:04 +01:00
libxslt = import ../development/libraries/libxslt {
inherit fetchurl stdenv libxml2 ;
} ;
2007-12-01 17:20:23 +01:00
2007-12-30 23:02:04 +01:00
libixp03 = import ../development/libraries/libixp/libixp-0.3.nix {
inherit fetchurl stdenv ;
} ;
2007-12-01 17:20:23 +01:00
2007-12-30 23:02:04 +01:00
libixp_for_wmii = lowPrio ( import ../development/libraries/libixp_for_wmii {
inherit fetchurl stdenv ;
includeUnpack = getConfig [ " s t d e n v " " i n c l u d e U n p a c k " ] false ;
} ) ;
2007-12-01 17:20:23 +01:00
2007-12-30 23:02:04 +01:00
libzip = import ../development/libraries/libzip {
inherit fetchurl stdenv zlib ;
} ;
2006-07-25 10:44:05 +02:00
2007-12-30 23:02:04 +01:00
log4cxx = import ../development/libraries/log4cxx {
inherit fetchurl stdenv automake autoconf libtool cppunit libxml2 ;
} ;
2003-11-06 16:24:19 +01:00
2008-01-28 20:49:25 +01:00
loudmouth = import ../development/libraries/loudmouth {
inherit fetchurl stdenv libidn gnutls pkgconfig ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-30 23:02:04 +01:00
lzo = import ../development/libraries/lzo {
inherit fetchurl stdenv ;
} ;
2003-11-06 16:24:19 +01:00
2007-12-30 23:02:04 +01:00
mesaSupported =
system == " i 6 8 6 - l i n u x " ||
system == " x 8 6 _ 6 4 - l i n u x " ;
mesa = assert mesaSupported ; import ../development/libraries/mesa {
inherit fetchurl stdenv pkgconfig x11 xlibs libdrm ;
} ;
2003-11-06 16:24:19 +01:00
2007-12-30 23:02:04 +01:00
mesaHeaders = import ../development/libraries/mesa/headers.nix {
inherit stdenv ;
mesaSrc = mesa . src ;
} ;
2006-10-08 12:31:55 +02:00
2007-12-30 23:02:04 +01:00
mpeg2dec = import ../development/libraries/mpeg2dec {
inherit fetchurl stdenv ;
} ;
2006-08-13 11:46:54 +02:00
2007-12-30 23:02:04 +01:00
mysqlConnectorODBC = import ../development/libraries/mysql-connector-odbc {
inherit fetchurl stdenv mysql libtool zlib unixODBC ;
} ;
2007-12-01 17:20:23 +01:00
2008-02-13 22:05:37 +01:00
ncursesFun = lib . sumArgs ( import ../development/libraries/ncurses ) {
2007-12-30 23:02:04 +01:00
inherit fetchurl stdenv ;
unicode = ( system != " i 6 8 6 - c y g w i n " ) ;
} ;
2008-02-13 22:05:37 +01:00
ncurses = ncursesFun null ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
ncursesDiet = import ../development/libraries/ncurses-diet {
inherit fetchurl ;
stdenv = useDietLibC stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
neon = import ../development/libraries/neon {
inherit fetchurl stdenv libxml2 zlib openssl ;
compressionSupport = true ;
sslSupport = true ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
nss = import ../development/libraries/nss {
inherit fetchurl stdenv perl zip ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
openal = import ../development/libraries/openal {
inherit fetchurl stdenv alsaLib autoconf automake libtool ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
# added because I hope that it has been easier to compile on x86 (for blender)
openalSoft = import ../development/libraries/openalSoft {
inherit fetchurl stdenv alsaLib libtool cmake ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
openbabel = import ../development/libraries/openbabel {
inherit fetchurl stdenv zlib libxml2 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
# this ctl version is needed by openexr_viewers
openexr_ctl = import ../development/libraries/openexr_ctl {
inherit fetchurl stdenv ilmbase ctl ;
openexr = openexr_1_6_1 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
openexr_1_6_1 = import ../development/libraries/openexr {
inherit fetchurl stdenv ilmbase zlib pkgconfig lib ;
version = " 1 . 6 . 1 " ;
# optional features:
inherit ctl ;
} ;
# This older version is needed by blender (it complains about missing half.h )
openexr_1_4_0 = import ../development/libraries/openexr {
inherit fetchurl stdenv ilmbase zlib pkgconfig lib ;
version = " 1 . 4 . 0 " ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
openldap = import ../development/libraries/openldap {
inherit fetchurl stdenv openssl cyrus_sasl db4 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
openssl = import ../development/libraries/openssl {
inherit fetchurl stdenv perl ;
} ;
2007-12-13 23:15:03 +01:00
2008-01-28 20:49:08 +01:00
ortp = import ../development/libraries/ortp {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
pangoxsl = import ../development/libraries/pangoxsl {
inherit fetchurl stdenv pkgconfig ;
inherit ( gtkLibs ) glib pango ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pcre = import ../development/libraries/pcre {
inherit fetchurl stdenv ;
2008-01-28 20:36:15 +01:00
unicodeSupport = getConfig [ " p c r e " " u n i c o d e " ] false ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-01 17:20:23 +01:00
2007-12-30 23:02:04 +01:00
poppler = import ../development/libraries/poppler {
inherit fetchurl stdenv qt4 cairo freetype fontconfig zlib libjpeg ;
inherit ( gtkLibs ) glib gtk ;
} ;
2007-08-16 23:45:10 +02:00
2007-12-30 23:02:04 +01:00
popt = import ../development/libraries/popt {
inherit fetchurl stdenv gettext ;
} ;
2006-08-13 11:46:54 +02:00
2007-12-30 23:02:04 +01:00
popt110 = import ../development/libraries/popt/popt-1.10.6.nix {
inherit fetchurl stdenv gettext libtool autoconf automake ;
} ;
2005-08-24 16:26:32 +02:00
2007-10-22 02:51:40 +02:00
2007-12-30 23:02:04 +01:00
proj = import ../development/libraries/proj.4 {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2008-01-28 20:43:03 +01:00
pth = import ../development/libraries/pth {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
qt3 = import ../development/libraries/qt-3 {
inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa ;
inherit ( xlibs ) xextproto libXft libXrender libXrandr randrproto
libXmu libXinerama xineramaproto libXcursor ;
openglSupport = mesaSupported ;
2008-01-28 20:48:57 +01:00
mysqlSupport = getConfig [ " q t " " m y s q l " ] false ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
qt4 = getVersion " q t 4 " qt4_alts ;
qt4_alts = import ../development/libraries/qt-4 {
inherit fetchurl fetchsvn zlib libjpeg libpng which mysql mesa openssl cups dbus
fontconfig freetype pkgconfig libtiff ;
inherit ( xlibs ) xextproto libXft libXrender libXrandr randrproto
libXmu libXinerama xineramaproto libXcursor libICE libSM libX11 libXext
inputproto fixesproto libXfixes ;
inherit ( gnome ) glib ;
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new-2.sh ;
openglSupport = mesaSupported ;
mysqlSupport = true ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
readline = readline5 ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
readline4 = import ../development/libraries/readline/readline4.nix {
inherit fetchurl stdenv ncurses ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
readline5 = import ../development/libraries/readline/readline5.nix {
inherit fetchurl stdenv ncurses ;
} ;
2006-04-03 15:02:05 +02:00
2007-12-13 23:15:03 +01:00
# Also known as librdf, includes raptor and rasqal
2007-12-30 23:02:04 +01:00
redland = import ../development/libraries/redland {
inherit fetchurl stdenv openssl libxml2 pkgconfig perl ;
bdb = db4 ;
} ;
2007-11-11 17:36:11 +01:00
2007-12-30 23:02:04 +01:00
rte = import ../development/libraries/rte {
inherit fetchurl stdenv ;
} ;
2005-08-24 17:02:30 +02:00
2007-12-30 23:02:04 +01:00
SDL = import ../development/libraries/SDL {
inherit fetchurl stdenv x11 mesa alsaLib ;
inherit ( xlibs ) libXrandr ;
openglSupport = mesaSupported ;
alsaSupport = true ;
} ;
2006-11-26 00:41:53 +01:00
2007-12-30 23:02:04 +01:00
SDL_image = import ../development/libraries/SDL_image {
inherit fetchurl stdenv SDL libjpeg libungif libtiff libpng ;
inherit ( xlibs ) libXpm ;
} ;
2004-08-23 11:35:36 +02:00
2007-12-30 23:02:04 +01:00
SDL_mixer = import ../development/libraries/SDL_mixer {
inherit fetchurl stdenv SDL libogg libvorbis ;
} ;
2006-10-18 16:04:55 +02:00
2008-02-06 22:26:17 +01:00
SDL_net = import ../development/libraries/SDL_net {
inherit fetchurl stdenv SDL ;
} ;
2007-12-30 23:02:04 +01:00
SDL_ttf = import ../development/libraries/SDL_ttf {
inherit fetchurl stdenv SDL freetype ;
} ;
2005-03-11 11:46:20 +01:00
2007-12-30 23:02:04 +01:00
slang = import ../development/libraries/slang {
inherit fetchurl stdenv pcre libpng ;
} ;
2005-03-11 11:55:21 +01:00
2007-12-30 23:02:04 +01:00
speex = import ../development/libraries/speex {
inherit fetchurl stdenv libogg ;
} ;
2007-08-16 23:45:10 +02:00
2007-12-30 23:02:04 +01:00
sqlite = import ../development/libraries/sqlite {
inherit fetchurl stdenv ;
} ;
2006-04-22 20:08:37 +02:00
2007-12-30 23:02:04 +01:00
t1lib = import ../development/libraries/t1lib {
inherit fetchurl stdenv x11 ;
inherit ( xlibs ) libXaw libXpm ;
} ;
2005-03-11 12:02:31 +01:00
2007-12-30 23:02:04 +01:00
taglib = import ../development/libraries/taglib {
inherit fetchurl stdenv zlib ;
} ;
2007-12-01 17:20:23 +01:00
2008-01-28 20:49:44 +01:00
tapioca_qt = import ../development/libraries/tapioca-qt {
inherit fetchsvn stdenv cmake telepathy_qt ;
qt = qt4 ;
} ;
telepathy_gabble = import ../development/libraries/telepathy-gabble {
inherit fetchurl stdenv pkgconfig libxslt telepathy_glib loudmouth ;
} ;
telepathy_glib = import ../development/libraries/telepathy-glib {
inherit fetchurl stdenv dbus_glib pkgconfig libxslt python ;
inherit ( gtkLibs ) glib ;
} ;
telepathy_qt = import ../development/libraries/telepathy-qt {
inherit fetchsvn stdenv cmake ;
qt = qt4 ;
} ;
2008-02-03 15:17:22 +01:00
tkFun = lib . sumArgs ( selectVersion ../development/libraries/tk ) {
2007-12-30 23:02:04 +01:00
inherit fetchurl stdenv tcl x11 ;
2008-02-03 15:17:22 +01:00
version = " 8 . 4 . 1 6 " ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-01 17:20:23 +01:00
2008-02-03 15:17:22 +01:00
tk = tkFun null ;
2007-12-30 23:02:04 +01:00
unixODBC = import ../development/libraries/unixODBC {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxGTK = wxGTK26 ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxGTK26 = import ../development/libraries/wxGTK-2.6 {
inherit fetchurl stdenv pkgconfig ;
inherit ( gtkLibs ) gtk ;
inherit ( xlibs ) libXinerama libSM libXxf86vm xf86vidmodeproto ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxGTK28fun = lib . sumArgs ( import ../development/libraries/wxGTK-2.8 ) ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxGTK28deps = wxGTK28fun {
inherit fetchurl stdenv pkgconfig ;
inherit ( gtkLibs ) gtk ;
inherit ( xlibs ) libXinerama libSM libXxf86vm xf86vidmodeproto ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxGTK28 = wxGTK28deps null ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
Xaw3d = import ../development/libraries/Xaw3d {
inherit fetchurl stdenv x11 bison ;
flex = flex2533 ;
inherit ( xlibs ) imake gccmakedep libXmu libXpm libXp ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
xineLib = import ../development/libraries/xine-lib {
2008-01-28 20:42:09 +01:00
inherit fetchurl stdenv zlib x11 libdvdcss alsaLib pkgconfig mesa aalib SDL
libvorbis libtheora speex ;
2007-12-30 23:02:04 +01:00
inherit ( xlibs ) libXv libXinerama ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
xlibsWrapper = import ../development/libraries/xlibs-wrapper {
inherit stdenv ;
packages = [
freetype fontconfig xlibs . xproto xlibs . libX11 xlibs . libXt
xlibs . libXft xlibs . libXext xlibs . libSM xlibs . libICE
xlibs . xextproto
] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
zlib = import ../development/libraries/zlib {
inherit fetchurl stdenv ;
} ;
2005-03-11 12:08:38 +01:00
2007-12-30 23:02:04 +01:00
zlibStatic = lowPrio ( appendToName " s t a t i c " ( import ../development/libraries/zlib {
inherit fetchurl stdenv ;
static = true ;
} ) ) ;
2004-01-21 10:34:19 +01:00
2007-12-30 23:02:04 +01:00
zvbi = import ../development/libraries/zvbi {
inherit fetchurl stdenv libpng x11 ;
pngSupport = true ;
} ;
2006-08-27 21:59:45 +02:00
2005-12-26 16:56:00 +01:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / LIBRARIES / JAVA
2005-10-12 13:57:24 +02:00
2006-07-04 18:58:25 +02:00
2007-12-30 23:02:04 +01:00
atermjava = import ../development/libraries/java/aterm {
inherit fetchurl sharedobjects jjtraveler jdk ;
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
} ;
2005-02-15 17:22:20 +01:00
2007-12-30 23:02:04 +01:00
commonsFileUpload = import ../development/libraries/java/jakarta-commons/file-upload {
inherit stdenv fetchurl ;
} ;
2003-11-06 16:24:19 +01:00
2007-12-30 23:02:04 +01:00
httpunit = import ../development/libraries/java/httpunit {
inherit stdenv fetchurl unzip ;
} ;
2007-08-18 11:35:54 +02:00
2007-12-30 23:02:04 +01:00
jakartabcel = import ../development/libraries/java/jakarta-bcel {
regexp = jakartaregexp ;
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
jakartaregexp = import ../development/libraries/java/jakarta-regexp {
inherit fetchurl stdenv ;
} ;
2006-12-11 03:35:05 +01:00
2007-12-30 23:02:04 +01:00
javaCup = import ../development/libraries/java/cup {
inherit stdenv fetchurl jdk ;
} ;
2004-04-05 16:09:01 +02:00
2007-12-30 23:02:04 +01:00
javasvn = import ../development/libraries/java/javasvn {
inherit stdenv fetchurl unzip ;
} ;
2007-03-05 00:37:34 +01:00
2007-12-30 23:02:04 +01:00
jclasslib = import ../development/tools/java/jclasslib {
inherit fetchurl stdenv xpf jre ;
ant = apacheAnt14 ;
} ;
2003-11-06 17:28:57 +01:00
2007-12-30 23:02:04 +01:00
jdom = import ../development/libraries/java/jdom {
inherit stdenv fetchurl ;
} ;
2007-03-19 00:58:22 +01:00
2007-12-30 23:02:04 +01:00
jflex = import ../development/libraries/java/jflex {
inherit stdenv fetchurl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
jjtraveler = import ../development/libraries/java/jjtraveler {
inherit fetchurl jdk ;
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
junit = import ../development/libraries/java/junit {
inherit stdenv fetchurl unzip ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
lucene = import ../development/libraries/java/lucene {
inherit stdenv fetchurl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
mockobjects = import ../development/libraries/java/mockobjects {
inherit stdenv fetchurl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
saxon = import ../development/libraries/java/saxon {
inherit fetchurl stdenv unzip ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
saxonb = import ../development/libraries/java/saxon/default8.nix {
inherit fetchurl stdenv unzip jre ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
sharedobjects = import ../development/libraries/java/shared-objects {
inherit fetchurl jdk ;
stdenv = overrideInStdenv stdenv [ gnumake380 ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
swt = import ../development/libraries/java/swt {
inherit stdenv fetchurl unzip jdk pkgconfig ;
inherit ( gtkLibs ) gtk ;
inherit ( xlibs ) libXtst ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
xalanj = import ../development/libraries/java/xalanj {
inherit stdenv fetchurl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / LIBRARIES / HASKELL
2007-12-13 23:15:03 +01:00
2008-01-17 17:54:48 +01:00
binary = import ../development/libraries/haskell/binary {
2008-01-22 23:43:38 +01:00
inherit cabal ;
2008-01-22 17:26:57 +01:00
} ;
# cabal is a utility function to build cabal-based
# Haskell packages
cabal68 = import ../development/libraries/haskell/cabal/cabal.nix {
2008-01-17 17:54:48 +01:00
inherit stdenv fetchurl ;
ghc = ghc68 ;
} ;
2008-01-22 23:43:38 +01:00
cabal = cabal68 ;
2008-01-17 17:54:48 +01:00
2008-01-22 20:02:55 +01:00
Crypto = import ../development/libraries/haskell/Crypto {
2008-01-22 23:43:38 +01:00
inherit cabal ;
2008-01-22 20:02:55 +01:00
} ;
2007-12-30 23:02:04 +01:00
gtk2hs = import ../development/libraries/haskell/gtk2hs {
2008-01-25 13:42:07 +01:00
inherit pkgconfig stdenv fetchurl cairo ghc ;
2007-12-30 23:02:04 +01:00
inherit ( gnome ) gtk glib GConf libglade libgtkhtml gtkhtml ;
2008-01-25 13:42:07 +01:00
} ;
HDBC = import ../development/libraries/haskell/HDBC/HDBC-1.1.4.nix {
inherit cabal ;
} ;
HDBCPostgresql = import ../development/libraries/haskell/HDBC/HDBC-postgresql-1.1.4.0.nix {
inherit cabal HDBC postgresql ;
} ;
HDBCSqlite = import ../development/libraries/haskell/HDBC/HDBC-sqlite3-1.1.4.0.nix {
inherit cabal HDBC sqlite ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2008-01-22 20:02:55 +01:00
pcreLight = import ../development/libraries/haskell/pcre-light {
2008-01-22 23:43:38 +01:00
inherit cabal pcre ;
2008-01-22 20:02:55 +01:00
} ;
2008-01-23 09:36:03 +01:00
uulib = import ../development/libraries/haskell/uulib {
inherit cabal ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxHaskell = import ../development/libraries/haskell/wxHaskell {
2008-01-22 23:43:38 +01:00
inherit stdenv fetchurl unzip wxGTK ;
ghc = ghc661 ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2008-01-16 11:35:49 +01:00
# wxHaskell68 = lowPrio (appendToName "ghc68" (import ../development/libraries/haskell/wxHaskell {
# inherit stdenv fetchurl unzip wxGTK;
# ghc = ghc68;
# }));
X11 = import ../development/libraries/haskell/X11 {
2008-01-22 23:43:38 +01:00
inherit cabal ;
2008-01-16 11:35:49 +01:00
inherit ( xlibs ) libX11 libXinerama libXext ;
xineramaSupport = true ;
} ;
2008-01-19 17:42:42 +01:00
vty = import ../development/libraries/haskell/vty {
2008-01-22 23:43:38 +01:00
inherit cabal ;
2008-01-19 17:42:42 +01:00
} ;
2008-01-17 16:57:26 +01:00
zlibHaskell = import ../development/libraries/haskell/zlib {
2008-01-22 23:43:38 +01:00
inherit cabal zlib ;
2008-01-17 16:57:26 +01:00
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / PERL MODULES
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlArchiveZip = import ../development/perl-modules/Archive-Zip {
inherit fetchurl perl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlBerkeleyDB = import ../development/perl-modules/BerkeleyDB {
inherit fetchurl perl db4 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlCGISession = import ../development/perl-modules/generic perl {
name = " C G I - S e s s i o n - 3 . 9 5 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/CGI-Session-3.95.tar.gz ;
md5 = " f e 9 e 4 6 4 9 6 c 7 c 7 1 1 c 5 4 c a 1 3 2 0 9 d e d 5 0 0 b " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlCompressZlib = import ../development/perl-modules/Compress-Zlib {
inherit fetchurl perl ;
} ;
2007-12-13 23:15:03 +01:00
2008-02-12 09:47:56 +01:00
perlCryptPasswordMD5 = import ../development/perl-modules/generic perl {
name = " C r y p t - P a s s w d M D 5 - 1 . 3 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-1.3.tar.gz ;
sha256 = " 1 3 j 0 v 6 i h g x 8 0 q 8 j h y a s 4 k 4 8 b 6 4 g n z f 2 0 2 q a j y n 0 9 7 v j 8 v 4 8 k h k 5 4 " ;
} ;
} ;
2007-12-30 23:02:04 +01:00
perlDateManip = import ../development/perl-modules/generic perl {
name = " D a t e M a n i p - 5 . 4 2 a " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/DateManip-5.42a.tar.gz ;
md5 = " 6 4 8 3 8 6 b b f 4 6 d 0 2 1 a e 2 8 3 8 1 1 f 7 5 b 0 7 b d f " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2008-02-12 09:42:56 +01:00
perlDBFile = import ../development/perl-modules/DB_File {
inherit fetchurl perl db4 ;
} ;
2007-12-30 23:02:04 +01:00
perlDigestSHA1 = import ../development/perl-modules/generic perl {
name = " D i g e s t - S H A 1 - 2 . 1 1 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz ;
md5 = " 2 4 4 9 b f e 2 1 d 6 5 8 9 c 9 6 e e b f 9 4 d a e 2 4 d f 6 b " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlEmailAddress = import ../development/perl-modules/generic perl {
name = " E m a i l - A d d r e s s - 1 . 8 8 8 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-1.888.tar.gz ;
sha256 = " 0 c 6 b 8 d j n m i y 0 n i s k r v y w d 6 8 6 7 x d 1 q m n 2 4 1 f f d w j 9 5 7 d k q d a k q 9 y x " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlEmailSend = import ../development/perl-modules/generic perl {
name = " E m a i l - S e n d - 2 . 1 8 5 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Send-2.185.tar.gz ;
sha256 = " 0 p b g n n b m v 6 z 3 z z q a i q 1 s d c v 5 d 2 6 i j h w 4 p 8 k 8 k p 6 a c 7 a r v l d b l a m z " ;
} ;
propagatedBuildInputs = [ perlEmailSimple perlEmailAddress perlModulePluggable perlReturnValue ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlEmailSimple = import ../development/perl-modules/generic perl {
name = " E m a i l - S i m p l e - 2 . 0 0 3 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Simple-2.003.tar.gz ;
sha256 = " 0 h 8 8 7 3 p i d h k q y 7 4 1 5 s 5 s x 8 z 6 1 4 d 0 h a x i k n b j w r n 6 5 i c r r 2 m 0 b 8 g 6 " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlHTMLParser = import ../development/perl-modules/generic perl {
name = " H T M L - P a r s e r - 3 . 5 6 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.56.tar.gz ;
sha256 = " 0 x 1 h 4 2 r 5 4 a q 4 y q p w i 7 m l a 4 j z i a 9 c 5 y s y q h 8 i r 2 n a v 8 3 3 f 9 j m 6 g 2 h " ;
} ;
propagatedBuildInputs = [ perlHTMLTagset ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlHTMLTagset = import ../development/perl-modules/generic perl {
name = " H T M L - T a g s e t - 3 . 1 0 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-3.10.tar.gz ;
sha256 = " 0 5 k 2 9 2 q y 7 j z j l m m y b i s 8 n n c p n w w a 4 j f k m 7 q 3 g q 6 8 6 6 y d x r z d s 9 x h " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlHTMLTree = import ../development/perl-modules/generic perl {
name = " H T M L - T r e e - 3 . 1 8 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/HTML-Tree-3.18.tar.gz ;
md5 = " 6 a 9 e 4 e 5 6 5 6 4 8 c 9 7 7 2 e 7 d 8 e c 6 d 4 3 9 2 4 9 7 " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlLocaleGettext = import ../development/perl-modules/generic perl {
name = " L o c a l e G e t t e x t - 1 . 0 4 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/gettext-1.04.tar.gz ;
md5 = " 5 7 8 d d 0 c 7 6 f 8 6 7 3 9 4 3 b e 0 4 3 4 3 5 b 0 f b d e 4 " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlLWP = import ../development/perl-modules/generic perl {
name = " l i b w w w - p e r l - 5 . 8 0 8 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.808.tar.gz ;
sha256 = " 1 r 5 r s l x 6 8 y p l y d 0 7 b v j a h j j r r q b 5 6 b h g g 6 g w d r 9 c 1 6 m v 2 s 5 7 g q 1 2 " ;
} ;
propagatedBuildInputs = [ perlURI perlHTMLParser perlHTMLTagset ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlModulePluggable = import ../development/perl-modules/generic perl {
name = " M o d u l e - P l u g g a b l e - 3 . 5 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/Module-Pluggable-3.5.tar.gz ;
sha256 = " 0 8 r y w i 7 9 p q n 2 c 8 z r 1 7 f m d 1 8 l p j 5 h m 8 l x d 1 j 4 v 2 k 0 0 2 n i 8 v h l 4 3 n v " ;
} ;
patches = [
../development/perl-modules/module-pluggable.patch
] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlReturnValue = import ../development/perl-modules/generic perl {
name = " R e t u r n - V a l u e - 1 . 3 0 2 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Return-Value-1.302.tar.gz ;
sha256 = " 0 h f 5 r m f a p 4 9 j h 8 d n g g d p v a p y 5 r 4 a w g x 5 h d c 3 a c c 9 f f 0 v f q a v 8 a z m " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2008-02-12 13:40:57 +01:00
perlStringMkPasswd = import ../development/perl-modules/generic perl {
name = " S t r i n g - M k P a s s w d - 0 . 0 2 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/C/CG/CGRAU/String-MkPasswd-0.02.tar.gz ;
sha256 = " 0 s i 4 x f g f 8 c 2 p f a g 1 c q b r 9 j b y v g 3 h a k 6 w k m n y 5 6 k n 2 q w a 4 l j p 9 b k 6 " ;
} ;
} ;
2007-12-30 23:02:04 +01:00
perlTermReadKey = import ../development/perl-modules/generic perl {
name = " T e r m R e a d K e y - 2 . 3 0 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/TermReadKey-2.30.tar.gz ;
md5 = " f 0 e f 2 c e a 8 a c f b c c 5 8 d 8 6 5 c 0 5 b 0 c 7 e 1 f f " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlURI = import ../development/perl-modules/generic perl {
name = " U R I - 1 . 3 5 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-1.35.tar.gz ;
md5 = " 1 a 9 3 3 b 1 1 1 4 c 4 1 a 2 5 5 8 7 e e 5 9 b a 8 3 7 6 f 7 c " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLDOM = import ../development/perl-modules/generic perl {
name = " X M L - D O M - 1 . 4 4 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-DOM-1.44.tar.gz ;
sha256 = " 1 r 0 a m p c 8 8 n i 3 s j p z r 5 8 3 k 8 6 0 7 6 q g 3 9 9 a r f m 9 x i r v 3 c w 4 9 k 3 k 5 b z n " ;
} ;
2007-12-13 23:15:03 +01:00
# buildInputs = [libxml2];
2007-12-30 23:02:04 +01:00
propagatedBuildInputs = [ perlXMLRegExp perlXMLParser perlLWP ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLLibXML = import ../development/perl-modules/generic perl {
name = " X M L - L i b X M L - 1 . 5 8 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/XML-LibXML-1.58.tar.gz ;
md5 = " 4 6 9 1 f c 4 3 6 e 5 c 0 f 2 2 7 8 7 f 5 b 4 a 5 4 f c 5 6 b 0 " ;
} ;
buildInputs = [ libxml2 ] ;
propagatedBuildInputs = [ perlXMLLibXMLCommon perlXMLSAX ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLLibXMLCommon = import ../development/perl-modules/generic perl {
name = " X M L - L i b X M L - C o m m o n - 0 . 1 3 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/XML-LibXML-Common-0.13.tar.gz ;
md5 = " 1 3 b 6 d 9 3 f 5 3 3 7 5 d 1 5 f d 1 1 9 2 2 2 1 6 2 4 9 6 5 9 " ;
} ;
buildInputs = [ libxml2 ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLNamespaceSupport = import ../development/perl-modules/generic perl {
name = " X M L - N a m e s p a c e S u p p o r t - 1 . 0 8 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/XML-NamespaceSupport-1.08.tar.gz ;
md5 = " 8 1 b d 5 a e 7 7 2 9 0 6 d 0 5 7 9 c 1 0 0 6 1 e d 7 3 5 d c 8 " ;
} ;
buildInputs = [ ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLParser = import ../development/perl-modules/XML-Parser {
inherit fetchurl perl expat ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLRegExp = import ../development/perl-modules/generic perl {
name = " X M L - R e g E x p - 0 . 0 3 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-RegExp-0.03.tar.gz ;
sha256 = " 1 g k a r y l v d k 3 m d d m c h c w v z q 0 9 g p v x 5 z 2 6 n y b p 3 8 d g 7 m j i x m 5 b s 2 2 6 " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLSAX = import ../development/perl-modules/generic perl {
name = " X M L - S A X - 0 . 1 2 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/XML-SAX-0.12.tar.gz ;
md5 = " b f f 5 8 b d 0 7 7 a 9 6 9 3 f c 8 c f 3 2 e 2 b 9 5 f 5 7 1 f " ;
} ;
propagatedBuildInputs = [ perlXMLNamespaceSupport ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLSimple = import ../development/perl-modules/generic perl {
name = " X M L - S i m p l e - 2 . 1 4 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/XML-Simple-2.14.tar.gz ;
md5 = " f 3 2 1 0 5 8 2 7 1 8 1 5 d e 2 8 d 2 1 4 c 8 e f b 9 0 9 1 f 9 " ;
} ;
propagatedBuildInputs = [ perlXMLParser ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLTwig = import ../development/perl-modules/generic perl {
name = " X M L - T w i g - 3 . 1 5 " ;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/XML-Twig-3.15.tar.gz ;
md5 = " b 2 6 8 8 6 b 8 b d 1 9 7 6 1 f f f 3 7 b 2 3 e 4 9 6 4 b 4 9 9 " ;
} ;
propagatedBuildInputs = [ perlXMLParser ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
perlXMLWriter = import ../development/perl-modules/generic perl {
name = " X M L - W r i t e r - 0 . 6 0 2 " ;
src = fetchurl {
url = http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/XML-Writer-0.602.tar.gz ;
sha256 = " 0 k d i 0 2 2 j c n 9 m w q s x y 2 f i w l 2 c j l i d 4 x 1 3 r 0 3 8 j v i 4 2 6 f h j k n l 1 1 n l " ;
} ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
### DEVELOPMENT / PYTHON MODULES
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
bsddb3 = import ../development/python-modules/bsddb3 {
inherit fetchurl stdenv python db4 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pil = import ../development/python-modules/pil {
inherit fetchurl stdenv python zlib libtiff libjpeg freetype ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
psyco = import ../development/python-modules/psyco {
inherit fetchurl stdenv python ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pycairo = import ../development/python-modules/pycairo {
inherit fetchurl stdenv python pkgconfig cairo x11 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pycrypto = import ../development/python-modules/pycrypto {
inherit fetchurl stdenv python gmp ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pygame = import ../development/python-modules/pygame {
inherit fetchurl stdenv python pkgconfig SDL SDL_image
SDL_ttf ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pygobject = import ../development/python-modules/pygobject {
inherit fetchurl stdenv python pkgconfig ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pygtk = import ../development/python-modules/pygtk {
inherit fetchurl stdenv python pkgconfig pygobject pycairo ;
inherit ( gtkLibs ) glib gtk ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxPython = wxPython26 ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxPython26 = import ../development/python-modules/wxPython/2.6.nix {
inherit fetchurl stdenv pkgconfig python ;
wxGTK = wxGTK26 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
inherit fetchurl stdenv pkgconfig python ;
wxGTK = wxGTK28 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
twisted = import ../development/python-modules/twisted {
inherit fetchurl stdenv python ZopeInterface ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
ZopeInterface = import ../development/python-modules/ZopeInterface {
inherit fetchurl stdenv python ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
### SERVERS
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
apacheHttpd = import ../servers/http/apache-httpd {
inherit fetchurl stdenv perl openssl db4 expat zlib ;
sslSupport = true ;
db4Support = true ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
dovecot = import ../servers/mail/dovecot {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2008-01-23 11:06:07 +01:00
ejabberd = import ../servers/xmpp/ejabberd {
inherit fetchurl stdenv expat erlang zlib openssl ;
} ;
2008-01-28 20:51:14 +01:00
fingerd_bsd = import ../servers/fingerd/bsd-fingerd {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
ircdHybrid = import ../servers/irc/ircd-hybrid {
inherit fetchurl stdenv openssl zlib ;
} ;
2007-12-13 23:15:03 +01:00
2008-01-23 13:25:08 +01:00
jboss = import ../servers/http/jboss {
inherit fetchurl stdenv jdk5 jdk ;
} ;
2008-01-29 12:11:26 +01:00
jboss_mysql_jdbc = import ../servers/http/jboss/jdbc/mysql {
inherit stdenv jboss mysql_jdbc ;
} ;
2007-12-30 23:02:04 +01:00
jetty = import ../servers/http/jetty {
inherit fetchurl stdenv unzip ;
} ;
2007-09-03 14:10:57 +02:00
2007-12-30 23:02:04 +01:00
mod_python = import ../servers/http/apache-modules/mod_python {
inherit fetchurl stdenv apacheHttpd python ;
} ;
2007-11-11 17:19:00 +01:00
2008-01-23 15:40:03 +01:00
tomcat_connectors = import ../servers/http/apache-modules/tomcat-connectors {
inherit fetchurl stdenv apacheHttpd jdk ;
} ;
2007-12-30 23:02:04 +01:00
mysql = import ../servers/sql/mysql {
inherit fetchurl stdenv ncurses zlib perl ;
ps = procps ; /* ! ! ! L i n u x o n l y */
} ;
2007-11-11 17:22:29 +01:00
2007-12-30 23:02:04 +01:00
mysql5 = import ../servers/sql/mysql5 {
inherit fetchurl stdenv ncurses zlib perl ;
ps = procps ; /* ! ! ! L i n u x o n l y */
} ;
2007-11-11 17:17:21 +01:00
2007-12-30 23:02:04 +01:00
mysql_jdbc = import ../servers/sql/mysql/jdbc {
inherit fetchurl stdenv ant ;
} ;
2005-09-07 16:57:30 +02:00
2007-12-30 23:02:04 +01:00
nagios = import ../servers/monitoring/nagios {
inherit fetchurl stdenv perl gd libpng zlib ;
gdSupport = true ;
} ;
2007-02-27 00:10:25 +01:00
2007-12-30 23:02:04 +01:00
nagiosPluginsOfficial = import ../servers/monitoring/nagios/plugins/official {
inherit fetchurl stdenv openssh ;
} ;
2005-08-13 23:35:49 +02:00
2007-12-30 23:02:04 +01:00
postgresql = import ../servers/sql/postgresql {
inherit fetchurl stdenv readline ncurses zlib ;
} ;
2006-06-18 00:04:42 +02:00
2007-12-30 23:02:04 +01:00
postgresql_jdbc = import ../servers/sql/postgresql/jdbc {
inherit fetchurl stdenv ant ;
} ;
2005-01-19 23:51:27 +01:00
2007-12-30 23:02:04 +01:00
samba = import ../servers/samba {
2008-01-28 20:46:27 +01:00
inherit stdenv fetchurl readline openldap pam kerberos popt iniparser
libunwind acl fam ;
2007-12-30 23:02:04 +01:00
} ;
2005-11-12 15:52:16 +01:00
2007-12-30 23:02:04 +01:00
squid = import ../servers/squid {
2008-01-16 04:29:56 +01:00
inherit fetchurl stdenv mkDerivationByConfiguration perl lib ;
2007-12-30 23:02:04 +01:00
} ;
2006-08-13 11:46:54 +02:00
2007-12-30 23:02:04 +01:00
tomcat5 = import ../servers/http/tomcat {
inherit fetchurl stdenv jdk ;
} ;
2005-03-09 18:49:19 +01:00
2008-01-30 10:41:33 +01:00
tomcat6 = import ../servers/http/tomcat/6.0.nix {
inherit fetchurl stdenv jdk ;
} ;
2008-02-04 13:24:41 +01:00
axis2 = import ../servers/http/tomcat/axis2 {
inherit fetchurl stdenv jdk apacheAnt unzip ;
} ;
2007-12-30 23:02:04 +01:00
vsftpd = import ../servers/ftp/vsftpd {
2008-01-31 15:08:02 +01:00
inherit fetchurl openssl stdenv libcap pam ;
2007-12-30 23:02:04 +01:00
} ;
2005-02-27 00:45:19 +01:00
2007-12-30 23:02:04 +01:00
xorg = recurseIntoAttrs ( import ../servers/x11/xorg {
inherit fetchurl stdenv pkgconfig freetype fontconfig
libxslt expat libdrm libpng zlib perl mesa mesaHeaders
xkeyboard_config gettext ;
} ) ;
2007-12-01 06:56:58 +01:00
2007-11-11 17:15:29 +01:00
2007-12-30 23:02:04 +01:00
### OS-SPECIFIC
2007-12-05 22:25:47 +01:00
2007-12-30 23:02:04 +01:00
# this creates a patch which can be applied to the kernel to integrate this module..
kernel_module_acerhk = import ../os-specific/linux/kernel/acerhk {
inherit fetchurl stdenv gnupatch ;
kernel = kernel_2_6_21 ;
debug = true ;
} ;
2007-10-12 22:33:03 +02:00
2007-12-30 23:02:04 +01:00
_915resolution = import ../os-specific/linux/915resolution {
inherit fetchurl stdenv ;
} ;
2007-01-11 22:55:29 +01:00
2007-12-30 23:02:04 +01:00
/*
nfsUtils = import ../os-specific/linux/nfs-utils {
inherit fetchurl stdenv kernelHeaders tcp_wrapper ;
} ;
* /
2005-03-08 16:44:23 +01:00
2007-12-30 23:02:04 +01:00
alsaLib = import ../os-specific/linux/alsa/library {
inherit fetchurl stdenv ;
} ;
2005-03-08 19:52:35 +01:00
2008-01-10 05:43:46 +01:00
atherosFun = lib . sumArgs ( selectVersion ../os-specific/linux/atheros ) {
inherit fetchurl stdenv builderDefs ;
} ;
2008-01-11 07:38:31 +01:00
atherosVersion = " r 3 1 2 2 " ;
2008-01-10 09:01:48 +01:00
2008-01-29 14:24:40 +01:00
atherosFunCurrent = kernel : atherosFun {
2008-01-10 09:01:48 +01:00
version = atherosVersion ;
2008-01-29 14:24:40 +01:00
inherit kernel ;
} null ;
aufs = import ../os-specific/linux/aufs {
inherit fetchurl stdenv kernel ;
} ;
2008-01-10 05:43:46 +01:00
2007-12-30 23:02:04 +01:00
bridge_utils = import ../os-specific/linux/bridge_utils {
inherit fetchurl stdenv autoconf automake ;
} ;
2004-01-21 10:34:19 +01:00
2007-12-30 23:02:04 +01:00
alsaUtils = import ../os-specific/linux/alsa/utils {
inherit fetchurl stdenv alsaLib ncurses gettext ;
} ;
2007-11-11 17:00:51 +01:00
2007-12-30 23:02:04 +01:00
cramfsswap = import ../os-specific/linux/cramfsswap {
inherit fetchurl stdenv zlib ;
} ;
2004-01-21 10:34:19 +01:00
2007-12-30 23:02:04 +01:00
devicemapper = import ../os-specific/linux/device-mapper {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
devicemapperStatic = lowPrio ( appendToName " s t a t i c " ( import ../os-specific/linux/device-mapper {
inherit fetchurl stdenv ;
static = true ;
} ) ) ;
2007-12-13 23:15:03 +01:00
2008-01-08 01:18:20 +01:00
dmidecodeFun = lib . sumArgs ( selectVersion ../os-specific/linux/dmidecode ) {
inherit fetchurl stdenv builderDefs ;
} ;
dmidecode = dmidecodeFun {
version = " 2 . 9 " ;
} null ;
2007-12-30 23:02:04 +01: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.
stdenv = if stdenv . system == " p o w e r p c - l i n u x " then overrideGCC stdenv gcc34 else stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
e2fsprogs = import ../os-specific/linux/e2fsprogs {
inherit fetchurl stdenv gettext ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
e2fsprogsDiet = lowPrio ( appendToName " d i e t " ( import ../os-specific/linux/e2fsprogs {
inherit fetchurl gettext ;
stdenv = useDietLibC stdenv ;
} ) ) ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
e3cfsprogs = import ../os-specific/linux/e3cfsprogs {
inherit stdenv fetchurl gettext ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
ext3cowtools = import ../os-specific/linux/ext3cow-tools {
inherit stdenv fetchurl ;
kernel_ext3cowpatched = kernel ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
eject = import ../os-specific/linux/eject {
inherit fetchurl stdenv gettext ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
fuse = import ../os-specific/linux/fuse {
inherit fetchurl stdenv utillinux ;
} ;
2003-11-05 13:17:48 +01:00
2008-02-03 15:43:19 +01:00
fxload = import ../os-specific/linux/fxload {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
genext2fs = import ../os-specific/linux/genext2fs {
inherit fetchurl stdenv ;
} ;
2007-12-05 22:25:47 +01:00
2007-12-30 23:02:04 +01:00
hal = import ../os-specific/linux/hal {
inherit fetchurl stdenv pkgconfig python pciutils usbutils expat
libusb dbus dbus_glib libvolume_id perl perlXMLParser
gettext zlib eject libsmbios udev ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-05 22:25:47 +01:00
2007-12-30 23:02:04 +01:00
hdparm = import ../os-specific/linux/hdparm {
inherit fetchurl stdenv ;
} ;
htop = import ../os-specific/linux/htop {
2008-01-29 14:24:40 +01:00
inherit fetchurl stdenv ncurses ;
2007-12-30 23:02:04 +01:00
} ;
2003-12-03 22:58:16 +01:00
2007-12-30 23:02:04 +01:00
hwdata = import ../os-specific/linux/hwdata {
inherit fetchurl stdenv ;
} ;
2007-07-17 19:08:38 +02:00
2007-12-30 23:02:04 +01:00
ifplugd = import ../os-specific/linux/ifplugd {
inherit fetchurl stdenv pkgconfig libdaemon ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
initscripts = import ../os-specific/linux/initscripts {
inherit fetchurl stdenv popt pkgconfig ;
inherit ( gtkLibs ) glib ;
} ;
2006-10-18 16:04:55 +02:00
2007-12-30 23:02:04 +01:00
iproute = import ../os-specific/linux/iproute {
inherit fetchurl stdenv flex bison db4 ;
} ;
2003-12-03 22:58:16 +01:00
2007-12-30 23:02:04 +01:00
iputils = import ../os-specific/linux/iputils {
inherit fetchurl stdenv ;
glibc = stdenv . gcc . libc ;
kernelHeaders = stdenv . gcc . libc . kernelHeaders ;
} ;
2007-10-01 17:14:50 +02:00
2007-12-30 23:02:04 +01:00
iptables = import ../os-specific/linux/iptables {
inherit fetchurl stdenv ;
} ;
2003-12-03 22:58:16 +01:00
2007-12-30 23:02:04 +01:00
ipw2200fw = import ../os-specific/linux/firmware/ipw2200 {
inherit fetchurl stdenv ;
} ;
2003-12-03 22:58:16 +01:00
2008-01-12 23:17:46 +01:00
iwlwifi = import ../os-specific/linux/iwlwifi {
inherit fetchurl stdenv kernel ;
} ;
2008-01-12 23:38:37 +01:00
iwlwifi3945ucode = import ../os-specific/linux/firmware/iwlwifi-3945-ucode {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
kbd = import ../os-specific/linux/kbd {
inherit fetchurl stdenv bison flex ;
} ;
2007-08-09 19:33:18 +02:00
2007-12-30 23:02:04 +01:00
kernelHeaders = import ../os-specific/linux/kernel-headers {
inherit fetchurl stdenv ;
} ;
2006-06-29 14:41:25 +02:00
2007-12-30 23:02:04 +01:00
kernelHeaders_2_6_21 = import ../os-specific/linux/kernel-headers/2.6.21.3.nix {
inherit fetchurl stdenv ;
} ;
2007-08-09 19:33:18 +02:00
2007-12-30 23:02:04 +01:00
kernelHeaders_2_6_23 = import ../os-specific/linux/kernel-headers/2.6.23.1.nix {
inherit fetchurl stdenv ;
} ;
2004-01-25 09:51:03 +01:00
2007-12-30 23:02:04 +01:00
kernelHeadersArm = import ../os-specific/linux/kernel-headers-cross {
inherit fetchurl stdenv ;
cross = " a r m - l i n u x " ;
} ;
2004-06-21 22:41:32 +02:00
2007-12-30 23:02:04 +01:00
kernelHeadersMips = import ../os-specific/linux/kernel-headers-cross {
inherit fetchurl stdenv ;
cross = " m i p s - l i n u x " ;
} ;
2004-03-05 11:13:23 +01:00
2007-12-30 23:02:04 +01:00
kernelHeadersSparc = import ../os-specific/linux/kernel-headers-cross {
inherit fetchurl stdenv ;
cross = " s p a r c - l i n u x " ;
} ;
2005-11-04 14:07:22 +01:00
2007-12-30 23:02:04 +01:00
kernelscripts = import ../os-specific/linux/kernelscripts {
inherit stdenv module_init_tools kernel ;
modules = [ ] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
kernel = kernel_2_6_23 ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
systemKernel = ( if ( getConfig [ " k e r n e l " " v e r s i o n " ] " 2 . 6 . 2 1 " ) == " 2 . 6 . 2 2 " then
kernel_2_6_22 else if ( getConfig [ " k e r n e l " " v e r s i o n " ] " 2 . 6 . 2 1 " ) == " 2 . 6 . 2 3 " then
kernel_2_6_23 else kernel ) ;
kernel_2_6_20 = import ../os-specific/linux/kernel/linux-2.6.20.nix {
inherit fetchurl stdenv perl mktemp module_init_tools ;
kernelPatches = [
{ name = " p a r a v i r t - n v i d i a " ;
patch = ../os-specific/linux/kernel/2.6.20-paravirt-nvidia.patch ;
}
{ name = " s k a s - 2 . 6 . 2 0 - v 9 - p r e 9 " ;
patch = fetchurl {
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2 ;
md5 = " 0 2 e 6 1 9 e 5 b 3 a a f 0 f 9 7 6 8 f 0 3 a c 4 2 7 5 3 e 7 4 " ;
} ;
extraConfig =
" C O N F I G _ P R O C _ M M = y \n " +
" # C O N F I G _ P R O C _ M M _ D U M P A B L E i s n o t s e t \n " ;
}
{ name = " f b s p l a s h - 0 . 9 . 2 - r 5 - 2 . 6 . 2 0 - r c 6 " ;
patch = fetchurl {
url = http://dev.gentoo.org/~spock/projects/gensplash/archive/fbsplash-0.9.2-r5-2.6.20-rc6.patch ;
sha256 = " 1 1 v 4 f 8 5 f 4 j n h 9 s b h q c y n 4 7 k r b 7 l 1 c z g z j w 3 w 8 w g b q 1 4 j m 0 s p 9 2 9 4 " ;
} ;
extraConfig = " C O N F I G _ F B _ S P L A S H = y " ;
}
] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
kernel_2_6_21 = import ../os-specific/linux/kernel/linux-2.6.21.nix {
inherit fetchurl stdenv perl mktemp module_init_tools ;
kernelPatches = [
{ name = " e x t 3 c o w " ;
patch = ../os-specific/linux/kernel/linux-2.6.21.7-ext3cow_wouter.patch ;
extraConfig =
" C O N F I G _ E X T 3 C O W _ F S = m \n " +
" C O N F I G _ E X T 3 C O W _ F S _ X A T T R = y \n " +
" C O N F I G _ E X T 3 C O W _ F S _ P O S I X _ A C L = y \n " +
" C O N F I G _ E X T 3 C O W _ F S _ S E C U R I T Y = y \n " ;
}
/* c o m m e n t e d o u t b e c a u s e o n l y a c e r u s e r s h a v e n e e d f o r i t . .
It takes quite a while to create the patch when unpacking the kernel sources only for that task
{ name = " a c e r h k " ;
2007-12-13 23:15:03 +01:00
patch = kernel_module_acerhk + " / a c e r h k - p a t c h . t a r . b z 2 " ;
extraConfig =
2007-12-30 23:02:04 +01:00
" C O N F I G _ A C E R H K = m \n " ;
}
2007-12-13 23:15:03 +01:00
* /
2007-12-30 23:02:04 +01:00
{ name = " p a r a v i r t - n v i d i a " ;
patch = ../os-specific/linux/kernel/2.6.20-paravirt-nvidia.patch ;
}
{ name = " s k a s - 2 . 6 . 2 0 - v 9 - p r e 9 " ;
patch = fetchurl {
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2 ;
md5 = " 0 2 e 6 1 9 e 5 b 3 a a f 0 f 9 7 6 8 f 0 3 a c 4 2 7 5 3 e 7 4 " ;
} ;
extraConfig =
" C O N F I G _ P R O C _ M M = y \n " +
" # C O N F I G _ P R O C _ M M _ D U M P A B L E i s n o t s e t \n " ;
}
{ name = " f b s p l a s h - 0 . 9 . 2 - r 5 - 2 . 6 . 2 1 " ;
patch = fetchurl {
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.21/4200_fbsplash-0.9.2-r5.patch ;
sha256 = " 0 0 s 8 0 7 4 f z s l y 2 z p i r 8 8 5 z q k v q 2 6 7 q y z g 6 v h s n 7 n 1 z 2 v 1 z 7 8 a v x d 8 " ;
} ;
extraConfig = " C O N F I G _ F B _ S P L A S H = y " ;
}
] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
kernel_2_6_22 = import ../os-specific/linux/kernel/linux-2.6.22.nix {
inherit fetchurl stdenv perl mktemp module_init_tools ;
kernelPatches = [
/*
{ name = " e x t 3 c o w " ;
patch = ../os-specific/linux/kernel/linux-2.6.21.7-ext3cow_wouter.patch ;
extraConfig =
" C O N F I G _ E X T 3 C O W _ F S = m \n " +
" C O N F I G _ E X T 3 C O W _ F S _ X A T T R = y \n " +
" C O N F I G _ E X T 3 C O W _ F S _ P O S I X _ A C L = y \n " +
" C O N F I G _ E X T 3 C O W _ F S _ S E C U R I T Y = y \n " ;
}
* /
/*
{ name = " s k a s - 2 . 6 . 2 0 - v 9 - p r e 9 " ;
2007-12-13 23:15:03 +01:00
patch = fetchurl {
2007-12-30 23:02:04 +01:00
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2 ;
md5 = " 0 2 e 6 1 9 e 5 b 3 a a f 0 f 9 7 6 8 f 0 3 a c 4 2 7 5 3 e 7 4 " ;
2007-12-13 23:15:03 +01:00
} ;
extraConfig =
2007-12-30 23:02:04 +01:00
" C O N F I G _ P R O C _ M M = y \n " +
" # C O N F I G _ P R O C _ M M _ D U M P A B L E i s n o t s e t \n " ;
}
2007-12-13 23:15:03 +01:00
* /
2007-12-30 23:02:04 +01:00
{ name = " f b s p l a s h - 0 . 9 . 2 - r 5 - 2 . 6 . 2 1 " ;
patch = fetchurl {
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.22/4200_fbsplash-0.9.2-r5.patch ;
sha256 = " 0 8 2 2 w w l f 2 d q s a p 5 q s l n n p 0 y l 1 n b v v v b 7 6 l 7 3 w 2 d d 8 z s y n 0 b q g 3 p x " ;
} ;
extraConfig = " C O N F I G _ F B _ S P L A S H = y " ;
}
] ;
extraConfig =
lib . optional ( getConfig [ " k e r n e l " " n o _ h z " ] false ) " C O N F I G _ N O _ H Z = y " ++
lib . optional ( getConfig [ " k e r n e l " " t i m e r _ s t a t s " ] false ) " C O N F I G _ T I M E R _ S T A T S = y " ++
lib . optional ( getConfig [ " k e r n e l " " u s b _ s u s p e n d " ] false ) " C O N F I G _ U S B _ S U S P E N D = y " ++
lib . optional ( getConfig [ " k e r n e l " " n o _ i r q b a l a n c e " ] false ) " # C O N F I G _ I R Q B A L A N C E i s n o t s e t " ++
[ ( getConfig [ " k e r n e l " " a d d C o n f i g " ] " " ) ] ;
} ;
kernel_2_6_21_ck = import ../os-specific/linux/kernel/linux-2.6.21_ck.nix {
inherit fetchurl stdenv perl mktemp module_init_tools ;
kernelPatches = [
{ name = " e x t 3 c o w " ;
patch = ../os-specific/linux/kernel/linux-2.6.21.7-ext3cow_wouter.patch ;
extraConfig =
" C O N F I G _ E X T 3 C O W _ F S = m \n " +
" C O N F I G _ E X T 3 C O W _ F S _ X A T T R = y \n " +
" C O N F I G _ E X T 3 C O W _ F S _ P O S I X _ A C L = y \n " +
" C O N F I G _ E X T 3 C O W _ F S _ S E C U R I T Y = y \n " ;
}
{ name = " C o n K o l i v a s P a t c h " ;
patch = ../os-specific/linux/kernel/patch-2.6.21-ck1 ;
}
{ name = " p a r a v i r t - n v i d i a " ;
patch = ../os-specific/linux/kernel/2.6.20-paravirt-nvidia.patch ;
}
{ name = " s k a s - 2 . 6 . 2 0 - v 9 - p r e 9 " ;
patch = fetchurl {
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2 ;
md5 = " 0 2 e 6 1 9 e 5 b 3 a a f 0 f 9 7 6 8 f 0 3 a c 4 2 7 5 3 e 7 4 " ;
} ;
extraConfig =
" C O N F I G _ P R O C _ M M = y \n " +
" # C O N F I G _ P R O C _ M M _ D U M P A B L E i s n o t s e t \n " ;
}
{ name = " f b s p l a s h - 0 . 9 . 2 - r 5 - 2 . 6 . 2 1 " ;
patch = fetchurl {
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.21/4200_fbsplash-0.9.2-r5.patch ;
sha256 = " 0 0 s 8 0 7 4 f z s l y 2 z p i r 8 8 5 z q k v q 2 6 7 q y z g 6 v h s n 7 n 1 z 2 v 1 z 7 8 a v x d 8 " ;
} ;
extraConfig = " C O N F I G _ F B _ S P L A S H = y " ;
}
] ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
kernel_2_6_23 = import ../os-specific/linux/kernel/linux-2.6.23.nix {
inherit fetchurl stdenv perl mktemp module_init_tools ;
kernelPatches = [
2008-02-11 11:22:17 +01:00
/*
2007-12-30 23:02:04 +01:00
{ # resume with resume=swap:/dev/xx
name = " t u x o n i c e " ; # (swsusp2)
patch = fetchurl {
2008-01-29 02:24:54 +01:00
url = " h t t p : / / w w w . t u x o n i c e . n e t / d o w n l o a d s / a l l / t u x o n i c e - 3 . 0 - r c 5 - f o r - 2 . 6 . 2 3 . 1 4 . p a t c h . b z 2 " ;
sha256 = " 1 8 7 1 9 0 r x b n 9 x 1 c 6 b w v 5 9 m w y 1 z h f f 8 n n 5 a d 5 8 c f i z 2 3 w a 5 w r k 4 m i f " ;
2007-12-30 23:02:04 +01:00
} ;
extraConfig = "
CONFIG_SUSPEND2 = y
CONFIG_SUSPEND2_FILE = y
CONFIG_SUSPEND2_SWAP = y
CONFIG_CRYPTO_LZF = y
" ;
}
2008-02-11 11:22:17 +01:00
* /
2007-12-30 23:02:04 +01:00
{ name = " f b s p l a s h - 0 . 9 . 2 - r 5 - 2 . 6 . 2 1 " ;
patch = fetchurl {
url = http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.22/4200_fbsplash-0.9.2-r5.patch ;
sha256 = " 0 8 2 2 w w l f 2 d q s a p 5 q s l n n p 0 y l 1 n b v v v b 7 6 l 7 3 w 2 d d 8 z s y n 0 b q g 3 p x " ;
} ;
extraConfig = " C O N F I G _ F B _ S P L A S H = y " ;
}
2008-02-11 11:22:17 +01:00
/* ! ! ! N o t n e e d e d a n y m o r e f o r t h e N i x O S L i v e C D - w e h a v e A U F S . */
2008-01-18 23:03:13 +01:00
{ name = " u n i o n f s - 2 . 2 . 2 " ;
patch = fetchurl {
url = http://download.filesystems.org/unionfs/unionfs-2.x/unionfs-2.2.2_for_2.6.23.13.diff.gz ;
sha256 = " 1 0 4 h a h p 6 f j p x w p r c l 2 n j w 5 m i m y h 4 4 2 m a 3 c p 5 r 1 w w 0 m z q 3 v w r c d y z " ;
} ;
extraConfig = ''
CONFIG_UNION_FS = m
CONFIG_UNION_FS_XATTR = y
'' ;
}
2007-12-30 23:02:04 +01:00
] ;
extraConfig =
lib . optional ( getConfig [ " k e r n e l " " t i m e r _ s t a t s " ] false ) " C O N F I G _ T I M E R _ S T A T S = y " ++
lib . optional ( getConfig [ " k e r n e l " " n o _ i r q b a l a n c e " ] false ) " # C O N F I G _ I R Q B A L A N C E i s n o t s e t " ++
[ ( getConfig [ " k e r n e l " " a d d C o n f i g " ] " " ) ] ;
} ;
2007-12-13 23:15:03 +01:00
2008-01-08 01:18:20 +01:00
kqemuFun = lib . sumArgs ( selectVersion ../os-specific/linux/kqemu ) {
inherit fetchurl stdenv builderDefs ;
} ;
# No finished expression is provided - pick your own kernel
kqemuFunCurrent = theKernel : ( kqemuFun {
version = " 1 . 3 . 0 p r e 1 1 " ;
kernel = theKernel ;
} null ) ;
2007-12-30 23:02:04 +01:00
libselinux = import ../os-specific/linux/libselinux {
inherit fetchurl stdenv libsepol ;
} ;
2008-01-12 02:26:04 +01:00
libraw1394 = import ../development/libraries/libraw1394 {
inherit fetchurl stdenv ;
} ;
2007-12-30 23:02:04 +01:00
libsexy = import ../development/libraries/libsexy {
inherit stdenv fetchurl pkgconfig libxml2 ;
inherit ( gtkLibs ) glib gtk pango ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
librsvg = import ../development/libraries/librsvg {
inherit fetchurl stdenv ;
inherit libxml2 pkgconfig cairo fontconfig freetype ;
inherit ( gtkLibs ) glib pango gtk ;
#gtkLibs = gtkLibs210; #need gtk+
libart = gnome . libart_lgpl ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
libsepol = import ../os-specific/linux/libsepol {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
libsmbios = import ../os-specific/linux/libsmbios {
inherit fetchurl stdenv libxml2 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
klibc = import ../os-specific/linux/klibc {
inherit fetchurl stdenv perl bison mktemp ;
kernel = systemKernel ;
} ;
2007-12-13 23:15:03 +01:00
2008-02-07 10:02:28 +01:00
kvm = kvm57 ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
kvm12 = import ../os-specific/linux/kvm/12.nix {
inherit fetchurl zlib e2fsprogs SDL alsaLib ;
stdenv = overrideGCC stdenv gcc34 ;
kernelHeaders = stdenv . gcc . libc . kernelHeaders ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
kvm17 = import ../os-specific/linux/kvm/17.nix {
inherit fetchurl zlib e2fsprogs SDL alsaLib ;
stdenv = overrideGCC stdenv gcc34 ;
kernelHeaders = kernelHeaders_2_6_21 ;
} ;
2005-11-01 21:27:57 +01:00
2007-12-30 23:02:04 +01:00
kvm49 = import ../os-specific/linux/kvm/49.nix {
inherit fetchurl zlib e2fsprogs SDL alsaLib ;
2008-02-07 10:02:28 +01:00
stdenv = overrideGCC stdenv gcc34 ;
kernelHeaders = kernelHeaders_2_6_23 ;
} ;
kvm57 = import ../os-specific/linux/kvm/57.nix {
inherit fetchurl zlib e2fsprogs SDL alsaLib ;
2007-12-30 23:02:04 +01:00
stdenv = overrideGCC stdenv gcc34 ;
kernelHeaders = kernelHeaders_2_6_23 ;
} ;
2005-11-01 21:27:57 +01:00
2007-12-30 23:02:04 +01:00
libcap = import ../os-specific/linux/libcap {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
libnscd = import ../os-specific/linux/libnscd {
inherit fetchurl stdenv ;
} ;
2005-08-30 09:39:38 +02:00
2007-12-30 23:02:04 +01:00
libnotify = import ../development/libraries/libnotify {
inherit stdenv fetchurl pkgconfig dbus dbus_glib ;
inherit ( gtkLibs ) gtk glib ;
} ;
2007-10-27 19:55:13 +02:00
2007-12-30 23:02:04 +01:00
libvolume_id = import ../os-specific/linux/libvolume_id {
inherit fetchurl stdenv ;
} ;
2007-05-31 15:43:13 +02:00
2007-12-30 23:02:04 +01:00
lvm2 = import ../os-specific/linux/lvm2 {
inherit fetchurl stdenv devicemapper ;
} ;
2007-10-27 19:55:13 +02:00
2007-12-30 23:02:04 +01:00
lvm2Static = lowPrio ( appendToName " s t a t i c " ( import ../os-specific/linux/lvm2 {
inherit fetchurl stdenv ;
static = true ;
devicemapper = devicemapperStatic ;
} ) ) ;
2005-12-19 11:34:01 +01:00
2007-12-30 23:02:04 +01:00
mdadm = import ../os-specific/linux/mdadm {
inherit fetchurl stdenv groff ;
} ;
2005-12-19 11:34:01 +01:00
2007-12-30 23:02:04 +01:00
mingetty = import ../os-specific/linux/mingetty {
inherit fetchurl stdenv ;
} ;
2006-01-26 15:01:08 +01:00
2007-12-30 23:02:04 +01:00
mkinitrd = import ../os-specific/linux/mkinitrd {
inherit fetchurl stdenv ;
popt = popt110 ;
} ;
2006-03-15 13:43:40 +01:00
2007-12-30 23:02:04 +01:00
module_init_tools = import ../os-specific/linux/module-init-tools {
inherit fetchurl stdenv ;
} ;
2006-09-11 10:45:01 +02:00
2008-01-04 18:02:12 +01:00
module_aggregation = moduleSources :
import ../os-specific/linux/module-init-tools/aggregator.nix {
2008-01-13 00:35:23 +01:00
inherit fetchurl stdenv module_init_tools moduleSources builderDefs ;
2008-01-04 18:02:12 +01:00
} ;
2007-12-30 23:02:04 +01:00
modutils = import ../os-specific/linux/modutils {
inherit fetchurl bison flex ;
stdenv = overrideGCC stdenv gcc34 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
/* c o m p i l e s b u t h a s t o b e i n t e g r a t e d i n t o t h e k e r n e l s o m e h o w
ndiswrapper = import ../os-specific/linux/ndiswrapper {
inherit fetchurl stdenv ;
inherit kernel ;
} ;
* /
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
nettools = import ../os-specific/linux/net-tools {
inherit fetchurl stdenv ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
nvidiaDrivers = import ../os-specific/linux/nvidia {
2008-01-07 23:54:30 +01:00
inherit stdenv fetchurl kernel xlibs gtkLibs ;
2007-12-30 23:02:04 +01:00
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
gw6c = import ../os-specific/linux/gw6c {
inherit fetchurl stdenv nettools openssl procps ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
nss_ldap = import ../os-specific/linux/nss_ldap {
inherit fetchurl stdenv openldap ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
ov511 = import ../os-specific/linux/ov511 {
inherit fetchurl kernel ;
stdenv = overrideGCC stdenv gcc34 ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pam = import ../os-specific/linux/pam {
inherit stdenv fetchurl cracklib flex ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pam_console = import ../os-specific/linux/pam_console {
inherit stdenv fetchurl pam autoconf automake libtool pkgconfig bison ;
flex = if stdenv . system == " i 6 8 6 - l i n u x " then flex else flex2533 ;
inherit ( gtkLibs ) glib ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pam_devperm = import ../os-specific/linux/pam_devperm {
inherit stdenv fetchurl pam ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pam_ldap = import ../os-specific/linux/pam_ldap {
inherit stdenv fetchurl pam openldap ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pam_login = import ../os-specific/linux/pam_login {
inherit stdenv fetchurl pam ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
pam_unix2 = import ../os-specific/linux/pam_unix2 {
inherit stdenv fetchurl pam libxcrypt ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
powertop = import ../os-specific/linux/powertop {
inherit fetchurl stdenv ncurses ;
} ;
2007-12-13 23:15:03 +01:00
2007-12-30 23:02:04 +01:00
procps = import ../os-specific/linux/procps {
inherit fetchurl stdenv ncurses ;
} ;
2006-09-11 11:17:28 +02:00
2007-12-30 23:02:04 +01:00
pwdutils = import ../os-specific/linux/pwdutils {
inherit fetchurl stdenv pam openssl libnscd ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
reiserfsprogs = import ../os-specific/linux/reiserfsprogs {
inherit fetchurl stdenv ;
} ;
2005-09-11 17:38:59 +02:00
2008-02-04 15:37:15 +01:00
reiser4progs = import ../os-specific/linux/reiser4progs {
inherit fetchurl stdenv libaal ;
} ;
2007-12-30 23:02:04 +01:00
radeontools = import ../os-specific/linux/radeontools {
inherit pciutils ;
inherit fetchurl stdenv ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
sdparmFun = lib . sumArgs ( selectVersion ../os-specific/linux/sdparm ) {
inherit fetchurl stdenv builderDefs ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
sdparm = sdparmFun {
version = " 1 . 0 2 " ;
} null ;
shadowutils = import ../os-specific/linux/shadow {
inherit fetchurl stdenv ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
splashutils = import ../os-specific/linux/splashutils {
inherit fetchurl stdenv klibc ;
zlib = zlibStatic ;
libjpeg = libjpegStatic ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
squashfsTools = import ../os-specific/linux/squashfs {
inherit fetchurl stdenv zlib ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
sysklogd = import ../os-specific/linux/sysklogd {
inherit fetchurl stdenv ;
} ;
2005-09-11 17:38:59 +02:00
2007-12-30 23:02:04 +01:00
syslinux = import ../os-specific/linux/syslinux {
inherit fetchurl stdenv nasm perl ;
} ;
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
sysstat = import ../os-specific/linux/sysstat {
inherit fetchurl stdenv gettext ;
} ;
2005-12-20 01:48:38 +01:00
2007-12-30 23:02:04 +01:00
sysvinit = import ../os-specific/linux/sysvinit {
inherit fetchurl stdenv ;
} ;
sysvtools = import ../os-specific/linux/sysvinit {
inherit fetchurl stdenv ;
withoutInitTools = true ;
} ;
/*
# needed for nfs utils
tcp_wrapper = import ../os-specific/linux/tcp-wrapper {
inherit fetchurl stdenv kernelHeaders gnused ;
} ;
* /
udev = import ../os-specific/linux/udev {
inherit fetchurl stdenv ;
} ;
uml = import ../os-specific/linux/kernel/linux-2.6.20.nix {
inherit fetchurl stdenv perl mktemp module_init_tools ;
userModeLinux = true ;
} ;
2007-09-11 21:27:25 +02:00
2007-12-30 23:02:04 +01:00
umlutilities = import ../os-specific/linux/uml-utilities {
inherit fetchurl kernelHeaders stdenv ;
tunctl = true ;
} ;
2005-10-04 16:25:13 +02:00
2007-12-30 23:02:04 +01:00
upstart = import ../os-specific/linux/upstart {
inherit fetchurl stdenv ;
} ;
2007-06-20 14:20:39 +02:00
2007-12-30 23:02:04 +01:00
upstartJobControl = import ../os-specific/linux/upstart/jobcontrol.nix {
inherit stdenv ;
} ;
2007-07-01 22:11:32 +02:00
2007-12-30 23:02:04 +01:00
usbutils = import ../os-specific/linux/usbutils {
inherit fetchurl stdenv libusb ;
} ;
2007-11-11 17:52:29 +01:00
2007-12-30 23:02:04 +01:00
utillinux = import ../os-specific/linux/util-linux {
inherit fetchurl stdenv ;
} ;
2007-12-11 23:58:44 +01:00
2007-12-30 23:02:04 +01:00
utillinuxCurses = import ../os-specific/linux/util-linux {
inherit fetchurl stdenv ncurses ;
} ;
2003-11-06 16:24:19 +01:00
2007-12-30 23:02:04 +01:00
utillinuxStatic = lowPrio ( appendToName " s t a t i c " ( import ../os-specific/linux/util-linux {
inherit fetchurl ;
stdenv = makeStaticBinaries stdenv ;
} ) ) ;
2007-03-17 14:29:15 +01:00
2008-02-06 22:26:17 +01:00
wesnoth = import ../games/wesnoth {
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_net gettext zlib boost freetype ;
} ;
2007-12-30 23:02:04 +01:00
wirelesstools = import ../os-specific/linux/wireless-tools {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
2008-02-02 00:58:39 +01:00
wis_go7007 = import ../os-specific/linux/wis-go7007 {
2008-02-04 09:36:10 +01:00
inherit fetchurl stdenv kernel ncurses fxload ;
2008-02-02 00:58:39 +01:00
} ;
2007-12-30 23:02:04 +01:00
wpa_supplicant = import ../os-specific/linux/wpa_supplicant {
inherit fetchurl stdenv openssl ;
} ;
2007-07-17 21:29:53 +02:00
2007-12-30 23:02:04 +01:00
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
inherit stdenv xlibs expat libdrm ;
} ;
2007-08-20 15:48:56 +02:00
2005-05-26 22:09:29 +02:00
2007-12-30 23:02:04 +01:00
### DATA
2005-08-30 09:39:38 +02:00
2006-09-15 17:28:53 +02:00
2007-12-30 23:02:04 +01:00
bakoma_ttf = import ../data/fonts/bakoma-ttf {
inherit fetchurl stdenv ;
} ;
corefonts = import ../data/fonts/corefonts {
inherit fetchurl stdenv cabextract ;
} ;
2007-12-05 22:25:47 +01:00
2007-12-30 23:02:04 +01:00
wrapFonts = paths : ( ( import ../data/fonts/fontWrap ) {
inherit fetchurl stdenv builderDefs paths ;
inherit ( xorg ) mkfontdir mkfontscale ;
} ) ;
2007-11-22 05:23:27 +01:00
2007-12-30 23:02:04 +01:00
docbook5 = import ../data/sgml+xml/schemas/docbook-5.0 {
inherit fetchurl stdenv ;
} ;
2007-11-22 05:23:27 +01:00
2007-12-30 23:02:04 +01:00
docbook_xml_dtd_412 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.1.2.nix {
inherit fetchurl stdenv unzip ;
} ;
2007-09-03 14:10:57 +02:00
2007-12-30 23:02:04 +01:00
docbook_xml_dtd_42 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.2.nix {
inherit fetchurl stdenv unzip ;
} ;
2005-10-22 13:51:30 +02:00
2007-12-30 23:02:04 +01:00
docbook_xml_dtd_43 = import ../data/sgml+xml/schemas/xml-dtd/docbook/4.3.nix {
2007-12-13 23:15:03 +01:00
inherit fetchurl stdenv unzip ;
2007-03-05 14:44:27 +01:00
} ;
2007-12-30 23:02:04 +01:00
docbook_xml_ebnf_dtd = import ../data/sgml+xml/schemas/xml-dtd/docbook-ebnf {
inherit fetchurl stdenv unzip ;
} ;
docbook_xml_xslt = docbook_xsl ;
docbook_xsl = import ../data/sgml+xml/stylesheets/xslt/docbook {
inherit fetchurl stdenv ;
} ;
docbook5_xsl = import ../data/sgml+xml/stylesheets/xslt/docbook5 {
inherit fetchurl stdenv ;
} ;
freefont_ttf = import ../data/fonts/freefont-ttf {
inherit fetchurl stdenv ;
} ;
manpages = import ../data/documentation/man-pages {
inherit fetchurl stdenv ;
} ;
shared_mime_info = import ../data/misc/shared-mime-info {
2008-01-29 14:24:40 +01:00
inherit fetchurl stdenv perl perlXMLParser pkgconfig gettext libxml2 ;
inherit ( gtkLibs ) glib ;
2007-12-30 23:02:04 +01:00
} ;
iana_etc = import ../data/misc/iana-etc {
inherit fetchurl stdenv ;
} ;
poppler_data = import ../data/misc/poppler-data {
2008-01-29 14:24:40 +01:00
inherit fetchurl stdenv ;
2007-12-30 23:02:04 +01:00
} ;
ttf_bitstream_vera = import ../data/fonts/ttf-bitstream-vera {
inherit fetchurl stdenv ;
} ;
vistafonts = import ../data/fonts/vista-fonts {
inherit fetchurl stdenv cabextract ;
} ;
2008-02-03 09:53:47 +01:00
xkeyboard_configFun = lib . sumArgs ( selectVersion ../data/misc/xkeyboard-config ) {
inherit fetchurl stdenv perl perlXMLParser gettext ;
2007-12-30 23:02:04 +01:00
inherit ( xlibs ) xkbcomp ;
2008-02-03 09:53:47 +01:00
version = " 1 . 2 " ;
2007-12-30 23:02:04 +01:00
} ;
2008-02-03 09:53:47 +01:00
xkeyboard_config = xkeyboard_configFun null ;
2007-12-30 23:02:04 +01:00
### APPLICATIONS
aangifte2005 = import ../applications/taxes/aangifte-2005 {
inherit stdenv fetchurl ;
inherit ( xlibs ) libX11 libXext ;
} ;
aangifte2006 = import ../applications/taxes/aangifte-2006 {
inherit stdenv fetchurl ;
inherit ( xlibs ) libX11 libXext ;
} ;
abiword = import ../applications/office/abiword {
inherit fetchurl stdenv pkgconfig fribidi libpng popt ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libglade libgnomeprint libgnomeprintui libgnomecanvas ;
} ;
acroread = import ../applications/misc/acrobat-reader {
inherit fetchurl stdenv zlib ;
inherit ( xlibs ) libXt libXp libXext libX11 libXinerama ;
inherit ( gtkLibs ) glib pango atk gtk ;
libstdcpp5 = gcc33 . gcc ;
xineramaSupport = true ;
fastStart = getConfig [ " a c r o r e a d " " f a s t S t a r t " ] true ;
} ;
amsn = import ../applications/networking/instant-messengers/amsn {
inherit fetchurl stdenv which tcl tk x11 ;
libstdcpp = gcc33 . gcc ;
} ;
audacity = import ../applications/audio/audacity {
inherit fetchurl libogg libvorbis libsndfile libmad
2008-01-29 14:24:40 +01:00
pkgconfig gettext ;
inherit ( gtkLibs ) gtk glib ;
wxGTK = wxGTK28deps ;
2007-12-30 23:02:04 +01:00
stdenv = overrideGCC stdenv gcc41NPTL ;
2008-01-29 14:24:40 +01:00
inherit builderDefs stringsWithDeps ;
2007-12-30 23:02:04 +01:00
} ;
2008-02-11 22:45:52 +01:00
aumix = import ../applications/audio/aumix {
inherit fetchurl stdenv ncurses pkgconfig gettext ;
inherit ( gtkLibs ) gtk ;
gtkGUI = false ;
} ;
2007-12-30 23:02:04 +01:00
batik = import ../applications/graphics/batik {
inherit fetchurl stdenv unzip ;
} ;
2008-01-18 11:29:58 +01:00
bazaar = import ../applications/version-management/bazaar {
2008-01-18 12:28:41 +01:00
inherit fetchurl stdenv python makeWrapper ;
2008-01-18 11:29:58 +01:00
} ;
2007-12-30 23:02:04 +01:00
# commented out because it's using the new configuration style proposal which is unstable
#biew = import ../applications/misc/biew {
# inherit lib stdenv fetchurl ncurses;
#};
# 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 ;
} ;
blender = import ../applications/misc/blender {
2008-01-16 04:29:56 +01:00
inherit cmake mesa gettext freetype SDL libtiff fetchurl glibc scons x11 lib
2007-12-30 23:02:04 +01:00
libjpeg libpng zlib /* s m p e g s d l */ ;
inherit ( xlibs ) inputproto libXi ;
2008-01-28 20:51:31 +01:00
python = builtins . getAttr " 2 . 5 " python_alts ;
2007-12-30 23:02:04 +01:00
freealut = freealut_soft ;
openal = openalSoft ;
stdenv = stdenvUsingSetupNew2 ;
openexr = openexr_1_4_0 ;
} ;
bmp = import ../applications/audio/bmp {
inherit fetchurl stdenv pkgconfig libogg libvorbis alsaLib id3lib ;
inherit ( gnome ) esound libglade ;
inherit ( gtkLibs ) glib gtk ;
} ;
bmp_plugin_musepack = import ../applications/audio/bmp-plugins/musepack {
inherit fetchurl stdenv pkgconfig bmp libmpcdec taglib ;
} ;
bmp_plugin_wma = import ../applications/audio/bmp-plugins/wma {
inherit fetchurl stdenv pkgconfig bmp ;
} ;
2008-01-20 23:47:08 +01:00
bvi = import ../applications/editors/bvi {
inherit fetchurl stdenv ncurses ;
} ;
2007-12-30 23:02:04 +01:00
cdparanoiaIII = import ../applications/audio/cdparanoia {
inherit fetchurl stdenv ;
} ;
cdrtools = import ../applications/misc/cdrtools {
inherit fetchurl stdenv ;
} ;
cdrkit = import ../applications/misc/cdrkit {
inherit fetchurl stdenv cmake libcap zlib ;
} ;
chatzilla =
xulrunnerWrapper {
launcher = " c h a t z i l l a " ;
application = import ../applications/networking/irc/chatzilla {
inherit fetchurl stdenv unzip ;
} ;
} ;
compiz_050 = assert mesaSupported ; import ../applications/window-managers/compiz/0.5.0.nix {
inherit fetchurl stdenv pkgconfig libpng mesa ;
inherit ( xorg ) libXcomposite libXfixes libXdamage libXrandr
libXinerama libICE libSM libXrender xextproto ;
inherit ( gnome ) startupnotification libwnck GConf ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libgnome libgnomeui metacity glib pango
libglade libgtkhtml gtkhtml libgnomecanvas libgnomeprint
libgnomeprintui gnomepanel ;
gnomegtk = gnome . gtk ;
inherit librsvg fuse ;
} ;
compiz_062 = compizFun {
version = " 0 . 6 . 2 " ;
} ;
compizFun = lib . sumArgs ( assert mesaSupported ; selectVersion ../applications/window-managers/compiz ) {
inherit lib builderDefs stringsWithDeps ;
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt ;
inherit ( xorg ) libXcomposite libXfixes libXdamage libXrandr
libXinerama libICE libSM libXrender xextproto compositeproto fixesproto
damageproto randrproto xineramaproto renderproto kbproto ;
inherit ( gnome ) startupnotification libwnck GConf ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libgnome libgnomeui metacity
glib pango libglade libgtkhtml gtkhtml
libgnomecanvas libgnomeprint
libgnomeprintui gnomepanel ;
gnomegtk = gnome . gtk ;
inherit librsvg fuse ;
inherit dbus dbus_glib ;
} ;
compiz = compizFun {
version = getConfig [ " c o m p i z " " v e r s i o n " ] " 0 . 6 . 2 " ;
extraConfigureFlags = getConfig [ " c o m p i z " " e x t r a C o n f i g u r e F l a g s " ] [ ] ;
} null ;
compizFusion = assert mesaSupported ; import ../applications/window-managers/compiz-fusion {
version = getConfig [ " c o m p i z F u s i o n " " v e r s i o n " ] " 0 . 6 . 0 " ;
inherit compiz ;
inherit stringsWithDeps lib builderDefs ;
inherit fetchurl stdenv pkgconfig libpng mesa perl perlXMLParser libxslt ;
inherit ( xorg ) libXcomposite libXfixes libXdamage libXrandr
libXinerama libICE libSM libXrender xextproto ;
inherit ( gnome ) startupnotification libwnck GConf ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libgnome libgnomeui metacity
glib pango libglade libgtkhtml gtkhtml
libgnomecanvas libgnomeprint
libgnomeprintui gnomepanel gnomedesktop ;
gnomegtk = gnome . gtk ;
inherit librsvg fuse dbus dbus_glib git ;
inherit automake autoconf libtool intltool python pyrex gettext ;
inherit pygtk pycairo getopt libjpeg glxinfo ;
inherit ( xorg ) xvinfo xdpyinfo ;
} ;
compizExtra = import ../applications/window-managers/compiz/extra.nix {
inherit fetchurl stdenv pkgconfig compiz perl perlXMLParser dbus ;
inherit ( gnome ) GConf ;
inherit ( gtkLibs ) gtk ;
} ;
2008-02-11 18:02:46 +01:00
bbdb = import ../applications/editors/emacs-modes/bbdb {
inherit fetchurl stdenv emacs texinfo ctags ;
} ;
2007-12-30 23:02:04 +01:00
cua = import ../applications/editors/emacs-modes/cua {
inherit fetchurl stdenv ;
} ;
cvs = import ../applications/version-management/cvs {
inherit fetchurl stdenv vim ;
} ;
cvs2svn = import ../applications/version-management/cvs2svn {
2008-01-18 12:28:41 +01:00
inherit fetchurl stdenv python makeWrapper ;
2007-12-30 23:02:04 +01:00
} ;
d4x = import ../applications/misc/d4x {
inherit fetchurl stdenv pkgconfig openssl boost ;
inherit ( gtkLibs ) gtk glib ;
} ;
darcs = import ../applications/version-management/darcs {
2008-01-22 23:43:38 +01:00
inherit fetchurl stdenv zlib ncurses curl ;
ghc = ghc661 ;
2007-12-30 23:02:04 +01:00
} ;
2008-02-09 14:52:41 +01:00
# some speed bottle necks are resolved in this version I think .. perhaps you like to try it?
darcs_2_pre = import ../applications/version-management/darcs_2_pre.nix {
inherit fetchurl stdenv zlib ncurses curl ;
ghc = ghc661 ;
} ;
2007-12-30 23:02:04 +01:00
dia = import ../applications/graphics/dia {
inherit stdenv fetchurl pkgconfig perl perlXMLParser
libxml2 gettext python libxml2Python docbook5 docbook_xsl
libxslt ;
inherit ( gtkLibs ) gtk glib ;
} ;
djvulibre = import ../applications/misc/djvulibre {
inherit stdenv fetchurl libjpeg libtiff libungif zlib
ghostscript libpng x11 mesa ;
2008-01-28 20:48:08 +01:00
qt = if ( getConfig [ " d j v u l i b r e " " q t 3 F r o n t e n d " ] true ) then qt3 else null ;
2007-12-30 23:02:04 +01:00
inherit ( xlibs ) libX11 ;
} ;
djview4 = import ../applications/graphics/djview {
inherit fetchurl stdenv qt4 djvulibre ;
} ;
dvdplusrwtoolsFun = lib . sumArgs ( selectVersion ../os-specific/linux/dvd+rw-tools ) {
inherit fetchurl stdenv builderDefs cdrkit m4 ;
} ;
dvdplusrwtools = dvdplusrwtoolsFun {
version = " 7 . 0 " ;
} null ;
eclipse = plugins :
import ../applications/editors/eclipse {
inherit fetchurl stdenv makeWrapper jdk ;
inherit ( gtkLibs ) gtk glib ;
inherit ( xlibs ) libXtst ;
inherit plugins ;
} ;
eclipsesdk = eclipse [ ] ;
eclipseSpoofax = lowPrio ( appendToName " w i t h - s p o o f a x " ( eclipse [ spoofax ] ) ) ;
elinks = import ../applications/networking/browsers/elinks {
inherit stdenv fetchurl python perl ncurses x11 zlib openssl spidermonkey
guile bzip2 ;
} ;
emacs = emacs22 ;
emacs21 = import ../applications/editors/emacs-21 {
inherit fetchurl stdenv ncurses x11 Xaw3d ;
inherit ( xlibs ) libXaw libXpm ;
xaw3dSupport = true ;
} ;
emacs22 = import ../applications/editors/emacs-22 {
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d ;
inherit ( xlibs ) libXaw libXpm ;
inherit ( gtkLibs ) gtk ;
xaw3dSupport = false ;
gtkGUI = true ;
} ;
emacsUnicode = import ../applications/editors/emacs-unicode {
inherit fetchurl stdenv ncurses pkgconfig x11 Xaw3d
libpng libjpeg libungif libtiff ;
inherit ( xlibs ) libXaw libXpm libXft ;
inherit ( gtkLibs ) gtk ;
xawSupport = false ;
xaw3dSupport = false ;
gtkGUI = true ;
xftSupport = true ;
} ;
exrdisplay = import ../applications/graphics/exrdisplay {
inherit fetchurl stdenv pkgconfig mesa which openexr_ctl ;
fltk = fltk20 ;
openexr = openexr_1_6_1 ;
} ;
fbpanelFun = lib . sumArgs ( selectVersion ../applications/window-managers/fbpanel ) {
inherit fetchurl stdenv builderDefs pkgconfig libpng libjpeg libtiff librsvg ;
inherit ( gtkLibs ) gtk ;
inherit ( xlibs ) libX11 libXmu libXpm ;
} ;
fbpanel = fbpanelFun { version = " 4 . 1 2 " ; } null ;
fetchmail = import ../applications/misc/fetchmail {
inherit stdenv fetchurl ;
} ;
wireshark = import ../applications/networking/sniffers/wireshark {
inherit fetchurl stdenv perl pkgconfig libpcap ;
inherit ( gtkLibs ) gtk ;
} ;
feh = import ../applications/graphics/feh {
inherit fetchurl stdenv x11 imlib2 libjpeg libpng ;
} ;
firefox = lowPrio ( import ../applications/networking/browsers/firefox {
2007-03-02 20:14:24 +01:00
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo ;
2006-10-04 15:59:41 +02:00
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libIDL ;
inherit ( xlibs ) libXi ;
2007-12-30 23:02:04 +01:00
#enableOfficialBranding = true;
} ) ;
2006-10-04 15:59:41 +02:00
2007-12-30 23:02:04 +01:00
firefoxWrapper = wrapFirefox firefox " " ;
2006-02-15 03:53:01 +01:00
2008-02-13 11:36:53 +01:00
firefox3 = lowPrio ( import ../applications/networking/browsers/firefox-3 {
2007-11-21 23:38:25 +01:00
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
2008-02-13 11:36:53 +01:00
python curl coreutils dbus dbus_glib freetype fontconfig ;
2007-12-25 13:29:02 +01:00
inherit ( gtkLibs ) gtk pango ;
inherit ( gnome ) libIDL ;
inherit ( xlibs ) libXi libX11 libXrender libXft libXt ;
2007-12-30 23:02:04 +01:00
#enableOfficialBranding = true;
} ) ;
2007-12-25 13:29:02 +01:00
2008-02-14 11:50:24 +01:00
firefox3b1Bin = lowPrio ( import ../applications/networking/browsers/firefox-3/binary.nix {
2007-12-10 17:56:55 +01:00
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo
2007-12-30 23:02:04 +01:00
python curl coreutils freetype fontconfig ;
2007-12-10 17:56:55 +01:00
inherit ( gtkLibs ) gtk atk pango glib ;
inherit ( gnome ) libIDL ;
inherit ( xlibs ) libXi libX11 libXrender libXft libXt ;
2007-12-30 23:02:04 +01:00
} ) ;
2003-11-11 16:01:07 +01:00
2008-02-13 11:36:53 +01:00
firefox3Wrapper = lowPrio ( wrapFirefox firefox3 " " ) ;
2007-12-30 23:05:58 +01:00
firefox3b1BinWrapper = lowPrio ( wrapFirefox firefox3b1Bin " " ) ;
2007-12-30 23:02:04 +01:00
2008-01-28 20:48:21 +01:00
flacAlts = import ../applications/audio/flac {
2007-12-30 23:02:04 +01:00
inherit fetchurl stdenv libogg ;
} ;
2008-01-28 20:48:21 +01:00
flac = getVersion " f l a c " flacAlts ;
2007-12-30 23:02:04 +01:00
flashplayer = flashplayer9 ;
flashplayer7 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-7 {
inherit fetchurl stdenv zlib ;
inherit ( xlibs ) libXmu ;
} ;
flashplayer9 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
inherit fetchurl stdenv zlib alsaLib ;
} ;
flite = import ../applications/misc/flite {
inherit fetchurl stdenv ;
} ;
freemind = import ../applications/misc/freemind {
inherit fetchurl stdenv ant ;
jdk = jdk ;
jre = jdk ;
} ;
fspot = import ../applications/graphics/f-spot {
inherit fetchurl stdenv perl perlXMLParser pkgconfig mono
libexif libjpeg sqlite lcms libgphoto2 monoDLLFixer ;
inherit ( gnome ) libgnome libgnomeui ;
gtksharp = gtksharp1 ;
} ;
pidgin = import ../applications/networking/instant-messengers/pidgin {
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss gtkspell GStreamer aspell gettext ncurses ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) startupnotification ;
inherit ( xlibs ) libXScrnSaver ;
} ;
pidginlatex = import ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex {
inherit fetchurl stdenv tetex pkgconfig ghostscript pidgin ;
imagemagick = imagemagickBig ;
inherit ( gtkLibs ) glib gtk ;
} ;
pidginotr = import ../applications/networking/instant-messengers/pidgin-plugins/otr {
inherit fetchurl stdenv libotr pidgin ;
} ;
gimp = import ../applications/graphics/gimp {
inherit fetchurl stdenv pkgconfig freetype fontconfig
libtiff libjpeg libpng libexif zlib perl perlXMLParser
python pygtk gettext xlibs ;
inherit ( gnome ) gtk libgtkhtml libart_lgpl ;
} ;
git = import ../applications/version-management/git {
2008-02-13 17:50:59 +01:00
inherit fetchurl stdenv curl openssl zlib expat perl gettext ;
2007-12-30 23:02:04 +01:00
} ;
2008-02-13 17:38:33 +01:00
gkrellm = import ../applications/misc/gkrellm {
inherit fetchurl stdenv gettext pkgconfig ;
inherit ( gtkLibs ) glib gtk ;
inherit ( xlibs ) libX11 libICE libSM ;
} ;
2007-12-30 23:02:04 +01:00
gnash = assert mesaSupported ; import ../applications/video/gnash {
inherit fetchurl stdenv SDL SDL_mixer GStreamer
libogg libxml2 libjpeg mesa libpng ;
inherit ( xlibs ) libX11 libXext libXi libXmu ;
} ;
gocrFun = lib . sumArgs ( selectVersion ../applications/graphics/gocr ) {
inherit builderDefs fetchurl stdenv ;
} ;
gocr = gocrFun { version = " 0 . 4 4 " ; } null ;
gphoto2 = import ../applications/misc/gphoto2 {
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt readline gettext ;
} ;
gqview = import ../applications/graphics/gqview {
inherit fetchurl stdenv pkgconfig libpng ;
inherit ( gtkLibs ) gtk ;
} ;
GStreamer = import ../applications/audio/GStreamer {
inherit fetchurl stdenv perl bison flex pkgconfig libxml2 ;
inherit ( gtkLibs ) glib ;
} ;
gv = import ../applications/misc/gv {
inherit fetchurl stdenv Xaw3d ghostscriptX ;
} ;
haskellMode = import ../applications/editors/emacs-modes/haskell {
inherit fetchurl stdenv ;
} ;
hello = import ../applications/misc/hello/ex-1 {
inherit fetchurl stdenv perl ;
} ;
i810switch = import ../applications/misc/i810 {
inherit fetchurl stdenv pciutils ;
} ;
icewm = import ../applications/window-managers/icewm {
inherit fetchurl stdenv gettext libjpeg libtiff libungif libpng imlib ;
inherit ( xlibs ) libX11 libXft libXext libXinerama libXrandr ;
} ;
imagemagickFun = lib . sumArgs ( import ../applications/graphics/ImageMagick ) {
2008-01-07 15:11:58 +01:00
inherit stdenv fetchurl libtool ;
2007-12-30 23:02:04 +01:00
} ;
imagemagick = imagemagickFun {
inherit bzip2 freetype graphviz ghostscript libjpeg libpng libtiff
libxml2 zlib ;
inherit ( xlibs ) libX11 ;
} null ;
imagemagickBig = imagemagickFun {
inherit bzip2 freetype graphviz ghostscript libjpeg libpng libtiff
libxml2 zlib tetex librsvg ;
inherit ( xlibs ) libX11 ;
} null ;
inkscape = import ../applications/graphics/inkscape {
inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib
popt libxml2 libxslt libpng boehmgc fontconfig gtkmm
glibmm libsigcxx lcms boost gettext ;
inherit ( gtkLibs ) gtk glib ;
inherit ( xlibs ) libXft ;
} ;
ion3 = import ../applications/window-managers/ion-3 {
inherit fetchurl stdenv x11 gettext groff ;
lua = lua5 ;
} ;
irssi = import ../applications/networking/irc/irssi {
inherit stdenv fetchurl pkgconfig ncurses openssl ;
inherit ( gtkLibs ) glib ;
} ;
jedit = import ../applications/jedit {
inherit fetchurl ant ;
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new-2.sh ;
} ;
joe = import ../applications/editors/joe {
inherit stdenv fetchurl ;
} ;
2008-01-13 16:21:21 +01:00
kino = import ../applications/video/kino {
2008-01-13 19:08:51 +01:00
stdenv = stdenvUsingSetupNew2 ;
inherit fetchurl pkgconfig libxml2 perl perlXMLParser
libdv libraw1394 libavc1394 libiec61883 x11 gettext cairo ; /* l i b a v f o r m a t */
2008-01-13 16:21:21 +01:00
inherit libsamplerate ffmpeg ;
2008-01-13 19:08:51 +01:00
inherit ( gnome ) libglade gtk glib ;
2008-01-13 16:21:21 +01:00
inherit ( xlibs ) libXv libX11 ;
2008-01-13 19:08:51 +01:00
inherit ( gtkLibs ) pango ;
2008-01-13 16:21:21 +01:00
# # optional
# inherit ffmpeg2theora sox, vorbis-tools lame mjpegtools dvdauthor 'Q'dvdauthor growisofs mencoder;
} ;
2007-12-30 23:02:04 +01:00
kuickshow = import ../applications/graphics/kuickshow {
inherit fetchurl stdenv kdelibs arts libpng libjpeg libtiff libungif imlib expat perl ;
inherit ( xlibs ) libX11 libXext libSM ;
qt = qt3 ;
} ;
lame = import ../applications/audio/lame {
inherit fetchurl stdenv ;
} ;
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 ;
} ;
links = import ../applications/networking/browsers/links {
inherit fetchurl stdenv ;
} ;
lynx = import ../applications/networking/browsers/lynx {
inherit fetchurl stdenv ncurses openssl ;
} ;
2008-01-30 20:38:07 +01:00
lyx = import ../applications/misc/lyx {
inherit fetchurl stdenv tetex python ;
qt = qt4 ;
} ;
2007-12-30 23:02:04 +01:00
maxima = import ../applications/misc/maxima {
inherit fetchurl stdenv clisp ;
} ;
mercurial = import ../applications/version-management/mercurial {
inherit fetchurl stdenv python makeWrapper ;
} ;
monodevelop = import ../applications/editors/monodevelop {
inherit fetchurl stdenv file mono gtksourceviewsharp
gtkmozembedsharp monodoc perl perlXMLParser pkgconfig ;
inherit ( gnome ) gnomevfs libbonobo libglade libgnome GConf glib gtk ;
mozilla = firefox ;
gtksharp = gtksharp2 ;
} ;
monodoc = import ../applications/editors/monodoc {
inherit fetchurl stdenv mono pkgconfig ;
gtksharp = gtksharp1 ;
} ;
mozilla = import ../applications/networking/browsers/mozilla {
inherit fetchurl pkgconfig stdenv perl zip ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libIDL ;
inherit ( xlibs ) libXi ;
} ;
2008-02-11 22:02:38 +01:00
mpg321 = import ../applications/audio/mpg321 {
inherit stdenv fetchurl libao libmad libid3tag zlib ;
} ;
2007-12-30 23:02:04 +01:00
MPlayer = import ../applications/video/MPlayer {
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav ;
inherit ( xlibs ) libX11 libXv libXinerama libXrandr ;
alsaSupport = true ;
alsa = alsaLib ;
theoraSupport = true ;
cacaSupport = true ;
xineramaSupport = true ;
randrSupport = true ;
} ;
# commented out because it's using the new configuration style proposal which is unstable
# should be the same as the nix expression above except support for esound :)
/*
MPlayer_new_config = import ../applications/video/MPlayer/newconfig.nix {
inherit fetchurl stdenv freetype x11 zlib freefont_ttf lib ;
inherit ( xlibs ) libX11 xextproto ;
# optional features
inherit alsaLib libtheora libcaca ;
inherit ( gnome ) esound ;
inherit ( xlibs ) libXv libXinerama ;
inherit ( xlibs ) libXrandr ; # FIXME does this option exist? I couldn't find it as configure option
2007-09-18 01:24:58 +02:00
} ;
* /
2006-10-18 12:32:45 +02:00
MPlayerPlugin = import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {
2007-02-27 16:15:20 +01:00
inherit fetchurl stdenv pkgconfig firefox gettext ;
2004-10-17 15:13:24 +02:00
inherit ( xlibs ) libXpm ;
2005-05-18 23:15:29 +02:00
# !!! should depend on MPlayer
2003-11-13 14:11:38 +01:00
} ;
2007-09-04 22:06:18 +02:00
# commented out because it's using the new configuration style proposal which is unstable
#mrxvt = import ../applications/misc/mrxvt {
#inherit lib fetchurl stdenv;
#inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
#};
2007-08-06 17:09:38 +02:00
mutt = import ../applications/networking/mailreaders/mutt {
inherit fetchurl stdenv ncurses which openssl ;
} ;
2007-09-03 14:10:57 +02:00
msmtp = import ../applications/networking/msmtp {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
mythtv = import ../applications/video/mythtv {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv which qt3 x11 lame zlib mesa ;
inherit ( xlibs ) libX11 libXinerama libXv libXxf86vm libXrandr libXmu ;
2004-12-11 00:16:23 +01:00
} ;
2006-10-18 12:32:45 +02:00
nano = import ../applications/editors/nano {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ncurses gettext ;
2006-01-20 12:30:24 +01:00
} ;
2007-05-01 22:35:58 +02:00
nanoDiet = lowPrio ( appendToName " d i e t " ( import ../applications/editors/nano {
2006-09-15 17:28:53 +02:00
inherit fetchurl gettext ;
ncurses = ncursesDiet ;
2006-10-27 15:52:37 +02:00
stdenv = useDietLibC stdenv ;
2007-05-01 22:35:58 +02:00
} ) ) ;
2005-03-12 13:53:03 +01:00
2006-09-15 17:28:53 +02:00
nedit = import ../applications/editors/nedit {
inherit fetchurl stdenv x11 ;
inherit ( xlibs ) libXpm ;
motif = lesstif ;
2004-01-21 10:34:19 +01:00
} ;
2007-02-05 15:55:15 +01:00
nxml = import ../applications/editors/emacs-modes/nxml {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2005-01-19 23:51:27 +01:00
} ;
2006-10-18 12:32:45 +02:00
openoffice = import ../applications/office/openoffice {
2007-09-05 15:56:12 +02:00
inherit fetchurl stdenv pam python tcsh libxslt
2006-09-15 17:28:53 +02:00
perl perlArchiveZip perlCompressZlib zlib libjpeg
expat pkgconfig freetype fontconfig libwpd libxml2
db4 sablotron curl libsndfile flex zip unzip libmspack
2007-09-10 16:03:01 +02:00
getopt file neon cairo which icu boost jdk ant hsqldb
cups ;
2007-09-19 10:31:23 +02:00
inherit ( xlibs ) libXaw libXext libX11 libXtst libXi libXinerama ;
2004-04-05 15:34:13 +02:00
inherit ( gtkLibs ) gtk ;
2006-10-02 18:18:04 +02:00
bison = bison23 ;
2003-11-11 17:13:13 +01:00
} ;
2007-07-19 12:32:09 +02:00
2006-09-15 17:28:53 +02:00
opera = import ../applications/networking/browsers/opera {
2007-11-28 03:10:27 +01:00
inherit fetchurl zlib glibc ;
stdenv = overrideGCC stdenv gcc40 ;
2006-09-29 11:06:56 +02:00
inherit ( xlibs ) libX11 libSM libICE libXt libXext ;
2006-08-13 11:46:54 +02:00
qt = qt3 ;
2007-11-28 03:10:27 +01:00
#33motif = lesstif;
libstdcpp5 = ( if ( stdenv . system == " i 6 8 6 - l i n u x " ) then gcc33 /* s t d c + + 3 . 8 i s u s e d */ else gcc ) . gcc ;
2006-08-13 11:46:54 +02:00
} ;
2006-10-18 12:32:45 +02:00
pan = import ../applications/networking/newsreaders/pan {
2007-04-28 00:41:35 +02:00
inherit fetchurl stdenv pkgconfig perl pcre gmime gettext ;
2006-09-15 17:28:53 +02:00
inherit ( gtkLibs ) gtk ;
spellChecking = false ;
2005-09-07 16:57:30 +02:00
} ;
2006-10-18 12:32:45 +02:00
pinfo = import ../applications/misc/pinfo {
2008-01-01 00:38:10 +01:00
inherit fetchurl stdenv ncurses readline ;
2005-09-07 16:57:30 +02:00
} ;
2007-09-03 14:10:57 +02: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 21:58:39 +02:00
pythonmagick = import ../applications/graphics/PythonMagick {
inherit fetchurl stdenv pkgconfig imagemagick boost ;
2008-01-28 20:32:59 +01:00
python = builtins . getAttr " 2 . 5 " python_alts ;
2007-08-09 21:58:39 +02:00
} ;
2007-12-31 09:49:41 +01:00
qemuFun = lib . sumArgs ( selectVersion ../applications/virtualization/qemu ) {
inherit fetchurl ;
stdenv = overrideGCC stdenv gcc34 ;
builderDefs = builderDefs {
stdenv = ( overrideGCC stdenv gcc34 ) // { gcc = gcc34 ; } ;
} ;
inherit SDL zlib which ;
} ;
qemu = qemuFun {
version = " 0 . 9 . 0 " ;
} null ;
qemuImageFun = lib . sumArgs
( selectVersion ../applications/virtualization/qemu/linux-img ) {
inherit builderDefs fetchurl stdenv ;
} ;
qemuImage = qemuImageFun {
version = " 0 . 2 " ;
} null ;
2007-08-04 00:38:36 +02:00
ratpoison = import ../applications/window-managers/ratpoison {
inherit fetchurl stdenv fontconfig readline ;
inherit ( xlibs ) libX11 inputproto libXt libXpm libXft
libXtst xextproto ;
} ;
2006-10-18 12:32:45 +02:00
rcs = import ../applications/version-management/rcs {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2005-03-11 11:46:20 +01:00
} ;
2008-01-28 13:28:23 +01:00
rdesktop = import ../applications/networking/remote/rdesktop {
inherit fetchurl stdenv openssl ;
inherit ( xlibs ) libX11 ;
} ;
2006-09-15 17:28:53 +02:00
RealPlayer = import ../applications/video/RealPlayer {
inherit fetchurl stdenv ;
inherit ( gtkLibs ) glib pango atk gtk ;
inherit ( xlibs ) libX11 ;
libstdcpp5 = gcc33 . gcc ;
2005-09-12 00:39:06 +02:00
} ;
2006-10-18 12:32:45 +02:00
rsync = import ../applications/networking/sync/rsync {
2005-08-30 21:41:10 +02:00
inherit fetchurl stdenv ;
} ;
2007-09-05 10:25:23 +02:00
rxvt = import ../applications/misc/rxvt {
inherit lib fetchurl stdenv ;
inherit ( xlibs ) libXt libX11 ;
2007-09-12 17:49:28 +02:00
} ;
2007-09-12 12:56:56 +02:00
2007-10-31 13:17:14 +01:00
# = urxvt
rxvt_unicode = import ../applications/misc/rxvt_unicode {
inherit lib fetchurl stdenv perl ;
inherit ( xlibs ) libXt libX11 libXft ;
} ;
2007-09-12 12:56:56 +02:00
sbagen = import ../applications/misc/sbagen {
inherit fetchurl stdenv ;
} ;
skype_linux = import ../applications/networking/skype {
inherit fetchurl stdenv ;
inherit glibc alsaLib freetype fontconfig libsigcxx gcc41 ;
inherit ( xlibs ) libSM libICE libXi libXrender libXrandr libXfixes libXcursor
libXinerama libXext libX11 ;
2007-09-05 10:25:23 +02:00
} ;
2007-02-25 23:25:25 +01:00
slim = import ../applications/display-managers/slim {
2007-06-05 13:25:59 +02:00
inherit fetchurl stdenv x11 libjpeg libpng freetype pam ;
2007-02-25 23:25:25 +01:00
inherit ( xlibs ) libXmu ;
} ;
2007-11-03 05:15:13 +01:00
sndFun = lib . sumArgs ( import ../applications/audio/snd ) {
inherit fetchurl stdenv builderDefs stringsWithDeps lib ;
inherit pkgconfig gmp gettext ;
inherit ( xlibs ) libXpm ;
inherit ( gtkLibs ) gtk glib ;
} ;
snd = sndFun {
inherit guile mesa libtool ;
} null ;
2007-10-22 02:51:40 +02:00
# commented out because it's using the new configuration style proposal which is unstable
2007-12-04 23:06:13 +01:00
sox = if builtins ? listToAttrs then import ../applications/misc/audio/sox {
inherit fetchurl stdenv lib mkDerivationByConfiguration ;
2007-10-22 02:51:40 +02:00
# optional features
2007-10-22 10:51:48 +02:00
inherit alsaLib ; # libao
2007-10-22 02:51:40 +02:00
inherit libsndfile libogg flac libmad lame libsamplerate ;
# 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
ffmpeg = ffmpeg_svn ;
2007-12-04 23:06:13 +01:00
} else null ;
2007-10-22 02:51:40 +02:00
2006-10-18 12:32:45 +02:00
spoofax = import ../applications/editors/eclipse/plugins/spoofax {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
2003-11-27 13:09:22 +01:00
} ;
2006-09-15 17:28:53 +02:00
subversion = subversion14 ;
2005-11-13 16:03:49 +01:00
2006-10-18 12:32:45 +02:00
subversion13 = import ../applications/version-management/subversion-1.3.x {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv openssl db4 expat swig zlib ;
localServer = true ;
httpServer = false ;
sslSupport = true ;
compressionSupport = true ;
httpd = apacheHttpd ;
2006-01-31 15:22:08 +01:00
} ;
2006-10-18 12:32:45 +02:00
subversion14 = import ../applications/version-management/subversion-1.4.x {
2008-01-30 16:15:53 +01:00
inherit fetchurl stdenv apr aprutil neon expat swig zlib jdk ;
bdbSupport = getConfig [ " s u b v e r s i o n " " b d b S u p p o r t " ] true ;
httpServer = getConfig [ " s u b v e r s i o n " " h t t p S e r v e r " ] false ;
sslSupport = getConfig [ " s u b v e r s i o n " " s s l S u p p o r t " ] true ;
pythonBindings = getConfig [ " s u b v e r s i o n " " p y t h o n B i n d i n g s " ] false ;
2008-01-28 20:33:23 +01:00
perlBindings = getConfig [ " s u b v e r s i o n " " p e r l B i n d i n g s " ] false ;
2008-01-30 16:15:53 +01:00
javahlBindings = getConfig [ " s u b v e r s i o n " " j a v a h l B i n d i n g s " ] false ;
compressionSupport = getConfig [ " s u b v e r s i o n " " c o m p r e s s i o n S u p p o r t " ] true ;
2006-09-15 17:28:53 +02:00
httpd = apacheHttpd ;
2004-04-06 19:47:34 +02:00
} ;
2006-10-18 12:32:45 +02:00
subversionWithJava = import ../applications/version-management/subversion-1.2.x {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv openssl db4 expat jdk ;
swig = swigWithJava ;
localServer = true ;
httpServer = false ;
sslSupport = true ;
httpd = apacheHttpd ;
javahlBindings = true ;
2005-11-27 22:06:08 +01:00
} ;
2006-10-18 12:32:45 +02:00
sylpheed = import ../applications/networking/mailreaders/sylpheed {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv pkgconfig openssl gpgme ;
2007-05-14 02:29:30 +02:00
inherit ( gtkLibs ) gtk ;
2006-09-15 17:28:53 +02:00
sslSupport = true ;
gpgSupport = true ;
2006-01-26 21:45:11 +01:00
} ;
2007-11-11 09:16:23 +01:00
# linux only by now
synergy = import ../applications/misc/synergy {
inherit fetchcvs stdenv x11 ;
inherit ( xlibs ) xextproto libXtst inputproto ;
} ;
2007-12-14 02:50:19 +01:00
/* d o e s ' n t w o r k y e t i 6 8 6 - l i n u x o n l y ( 3 2 b i t v e r s i o n )
teamspeak_client = import ../applications/networking/instant-messengers/teamspeak/client.nix {
inherit fetchurl stdenv ;
inherit glibc x11 ;
} ;
* /
2007-11-26 15:18:57 +01:00
thunderbird = import ../applications/networking/mailreaders/thunderbird-2.x {
2007-06-02 22:32:24 +02:00
inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libIDL ;
inherit ( xlibs ) libXi ;
#enableOfficialBranding = true;
} ;
2007-09-23 18:28:56 +02:00
timidity = import ../tools/misc/timidity {
inherit fetchurl stdenv alsaLib ;
} ;
2007-09-23 16:47:11 +02:00
2008-02-17 14:44:30 +01:00
tla = import ../applications/version-management/arch {
inherit fetchurl stdenv diffutils gnutar gnupatch which ;
} ;
2007-08-10 10:21:31 +02:00
unison = import ../applications/networking/sync/unison {
inherit fetchurl stdenv ocaml lablgtk makeWrapper ;
inherit ( xorg ) xset fontschumachermisc ;
} ;
2006-10-18 12:32:45 +02:00
valknut = import ../applications/networking/p2p/valknut {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv perl x11 libxml2 libjpeg libpng openssl dclib ;
qt = qt3 ;
} ;
2006-02-24 22:42:57 +01:00
2006-10-18 12:32:45 +02:00
vim = import ../applications/editors/vim {
2007-08-10 21:53:30 +02:00
inherit fetchurl stdenv ncurses lib ;
2006-09-15 17:28:53 +02:00
} ;
2005-11-08 00:02:17 +01:00
2007-05-01 22:35:58 +02:00
vimDiet = lowPrio ( appendToName " d i e t " ( import ../applications/editors/vim-diet {
2006-09-15 17:28:53 +02:00
inherit fetchurl ;
ncurses = ncursesDiet ;
2006-10-27 15:52:37 +02:00
stdenv = useDietLibC stdenv ;
2007-05-01 22:35:58 +02:00
} ) ) ;
2004-10-13 16:21:20 +02:00
2007-08-10 21:53:30 +02:00
vimHugeX = import ../applications/editors/vim {
2008-01-12 01:22:52 +01:00
inherit fetchurl stdenv lib ncurses pkgconfig
perl python tcl ;
2007-08-10 21:53:30 +02:00
inherit ( xlibs ) libX11 libXext libSM libXpm
libXt libXaw libXau ;
inherit ( gtkLibs ) glib gtk ;
2008-01-12 01:22:52 +01:00
# Looks like python and perl can conflict
flags = [ " h u g e F e a t u r e s " " g t k G U I " " x 1 1 S u p p o r t "
/* " p e r l S u p p o r t " */ " p y t h o n S u p p o r t " " t c l S u p p o r t " ] ;
2007-08-10 21:53:30 +02:00
} ;
2007-12-13 23:30:31 +01:00
vim_configurable = import ../applications/editors/vim/configurable.nix {
2008-01-16 04:29:56 +01:00
inherit fetchurl stdenv ncurses pkgconfig mkDerivationByConfiguration lib ;
2007-12-12 08:20:41 +01:00
inherit ( xlibs ) libX11 libXext libSM libXpm
libXt libXaw libXau libXmu ;
inherit ( gtkLibs ) glib gtk ;
features = " h u g e " ; # one of tiny, small, normal, big or huge
# optional features by passing
# python
# TODO mzschemeinterp perlinterp
inherit python /* x 1 1 */ ;
# optional features by flags
flags = [ " X 1 1 " ] ; # only flag "X11" by now
} ;
2007-12-31 09:49:41 +01:00
/* v i r t u a l b o x F u n = l i b . s u m A r g s ( s e l e c t V e r s i o n . . / a p p l i c a t i o n s / v i r t u a l i z a t i o n / v i r t u a l b o x ) {
inherit stdenv fetchurl builderDefs bridge_utils umlutilities kernelHeaders
wine jre libxslt SDL qt3 openssl zlib ;
inherit ( xorg ) libXcursor ;
inherit ( gnome ) libIDL ;
} ;
virtualbox = virtualboxFun {
version = " 1 . 5 . 2 " ;
} null ; * /
2006-10-18 12:32:45 +02:00
vlc = import ../applications/video/vlc {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv perl x11 wxGTK
zlib mpeg2dec a52dec libmad ffmpeg
libdvdread libdvdnav libdvdcss ;
inherit ( xlibs ) libXv ;
alsa = alsaLib ;
2005-02-27 00:45:19 +01:00
} ;
2008-02-11 23:39:54 +01:00
vorbisTools = import ../applications/audio/vorbis-tools {
inherit fetchurl stdenv libogg libvorbis libao pkgconfig curl glibc
speex flac ;
} ;
2006-10-18 12:32:45 +02:00
w3m = import ../applications/networking/browsers/w3m {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ncurses openssl boehmgc gettext zlib ;
graphicsSupport = false ;
inherit ( gtkLibs1x ) gdkpixbuf ;
2005-02-27 00:45:19 +01:00
} ;
2007-09-03 14:10:57 +02:00
# I'm keen on wmiimenu only >wmii-3.5 no longer has it...
wmiimenu = import ../applications/window-managers/wmii31 {
2007-03-19 00:58:22 +01:00
libixp = libixp03 ;
2007-09-03 14:10:57 +02:00
inherit fetchurl /* f e t c h h g */ stdenv gawk ;
inherit ( xlibs ) libX11 ;
2007-11-05 09:32:20 +01:00
includeUnpack = getConfig [ " s t d e n v " " i n c l u d e U n p a c k " ] false ;
2007-09-03 14:10:57 +02:00
} ;
wmiiSnap = import ../applications/window-managers/wmii {
libixp = libixp_for_wmii ;
inherit fetchurl /* f e t c h h g */ stdenv gawk ;
inherit ( xlibs ) libX11 ;
2007-11-05 09:32:20 +01:00
includeUnpack = getConfig [ " s t d e n v " " i n c l u d e U n p a c k " ] false ;
2007-03-19 00:58:22 +01:00
} ;
2008-02-13 15:26:01 +01:00
wordnet = import ../applications/misc/wordnet {
inherit stdenv fetchurl tcl tk x11 makeWrapper ;
} ;
2007-11-24 11:49:52 +01:00
wrapFirefox = firefox : nameSuffix : import ../applications/networking/browsers/firefox-wrapper {
inherit stdenv firefox nameSuffix ;
2007-07-04 03:35:29 +02:00
plugins = [ ]
2007-05-20 22:24:43 +02:00
++ lib . optional ( system == " i 6 8 6 - l i n u x " ) flashplayer
2006-09-24 20:38:12 +02:00
# RealPlayer is disabled by default for legal reasons.
2007-05-20 22:24:43 +02:00
++ lib . optional ( system != " i 6 8 6 - l i n u x " && getConfig [ " f i r e f o x " " e n a b l e R e a l P l a y e r " ] false ) RealPlayer
2007-07-04 03:35:29 +02:00
++ lib . optional ( getConfig [ " f i r e f o x " " e n a b l e M P l a y e r " ] true ) MPlayerPlugin
2007-05-20 22:24:43 +02:00
++ lib . optional ( supportsJDK && jrePlugin ? mozillaPlugin ) jrePlugin ;
2004-10-06 13:32:20 +02:00
} ;
2006-10-18 12:32:45 +02:00
xara = import ../applications/graphics/xara {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv autoconf automake libtool gettext cvs wxGTK
2007-12-03 15:33:54 +01:00
pkgconfig libxml2 zip libpng libjpeg shebangfix perl freetype ;
2005-12-13 01:13:01 +01:00
inherit ( gtkLibs ) gtk ;
} ;
2006-10-18 12:32:45 +02:00
xawtv = import ../applications/video/xawtv {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ncurses libjpeg perl ;
inherit ( xlibs ) libX11 libXt libXft xproto libFS fontsproto libXaw libXpm libXext libSM libICE xextproto ;
2005-12-22 11:49:43 +01:00
} ;
2006-10-18 12:32:45 +02:00
xchat = import ../applications/networking/irc/xchat {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv pkgconfig tcl ;
2007-05-14 02:13:48 +02:00
inherit ( gtkLibs ) gtk ;
2003-12-08 12:56:50 +01:00
} ;
2006-10-18 12:32:45 +02:00
xchm = import ../applications/misc/xchm {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv wxGTK chmlib ;
2004-10-06 14:06:23 +02:00
} ;
2006-12-08 02:17:21 +01:00
xfig = import ../applications/graphics/xfig {
2006-12-27 19:14:57 +01:00
stdenv = overrideGCC stdenv gcc34 ;
2006-12-08 02:17:21 +01:00
inherit fetchurl makeWrapper x11 Xaw3d libpng libjpeg ;
inherit ( xlibs ) imake libXpm libXmu libXi libXp ;
} ;
2006-10-18 12:32:45 +02:00
xineUI = import ../applications/video/xine-ui {
2008-01-28 20:47:42 +01:00
inherit fetchurl stdenv pkgconfig x11 xineLib libpng readline ncurses curl ;
inherit ( xorg ) libXext libXv libXxf86vm libXtst inputproto ;
2004-12-06 08:36:56 +01:00
} ;
2006-10-18 12:32:45 +02:00
xmms = import ../applications/audio/xmms {
2006-09-15 17:28:53 +02: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 15:17:06 +02:00
} ;
2008-01-16 11:35:49 +01:00
xmonad = import ../applications/window-managers/xmonad {
2008-01-22 23:43:38 +01:00
inherit stdenv fetchurl ghc X11 ;
2008-01-16 11:35:49 +01:00
inherit ( xlibs ) xmessage ;
} ;
2006-10-18 12:32:45 +02:00
xpdf = import ../applications/misc/xpdf {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv x11 freetype t1lib ;
motif = lesstif ;
2007-10-03 14:16:48 +02:00
base14Fonts = " ${ ghostscript } / s h a r e / g h o s t s c r i p t / f o n t s " ;
2006-08-30 01:40:29 +02:00
} ;
2007-11-26 14:24:56 +01:00
xscreensaverFun = lib . sumArgs ( selectVersion ../applications/graphics/xscreensaver ) {
2007-11-22 21:26:00 +01:00
inherit stdenv fetchurl builderDefs lib pkgconfig bc perl intltool ;
inherit ( xlibs ) libX11 libXmu ;
} ;
xscreensaver = xscreensaverFun {
2007-11-26 14:24:56 +01:00
version = " 5 . 0 4 " ;
flags = [ " G L " " g d k p i x b u f " " D P M S " " g u i " " j p e g " ] ;
inherit mesa libxml2 libjpeg ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) libglade ;
2007-11-22 21:26:00 +01:00
} null ;
2006-10-18 12:32:45 +02:00
xterm = import ../applications/misc/xterm {
2004-07-30 14:57:27 +02:00
inherit fetchurl stdenv ncurses ;
2006-09-15 17:28:53 +02:00
inherit ( xlibs ) libXaw xproto libXt libX11 libSM libICE ;
2004-07-30 14:57:27 +02:00
} ;
2004-02-13 15:42:28 +01:00
2007-12-31 09:49:41 +01:00
xlaunch = import ../tools/X11/xlaunch {
inherit stdenv ;
inherit ( xorg ) xorgserver ;
} ;
2007-08-10 20:54:44 +02:00
xmacro = import ../tools/X11/xmacro {
inherit fetchurl stdenv ;
inherit ( xlibs ) libX11 libXi
libXtst xextproto inputproto ;
} ;
2007-06-25 23:46:18 +02:00
xmove = import ../applications/misc/xmove {
inherit fetchurl stdenv ;
inherit ( xlibs ) libX11 libXi imake libXau ;
inherit ( xorg ) xauth ;
} ;
2007-12-31 09:49:41 +01:00
2006-12-01 17:44:26 +01:00
xvidcap = import ../applications/video/xvidcap {
inherit fetchurl stdenv perl perlXMLParser pkgconfig ;
inherit ( gtkLibs ) gtk ;
inherit ( gnome ) scrollkeeper libglade ;
inherit ( xlibs ) libXmu libXext ;
} ;
2007-12-10 23:36:52 +01:00
# doesn't compile yet - in case someone else want's to continue ..
/*
qgis_svn = import ../applications/misc/qgis_svn {
2008-01-16 04:29:56 +01:00
inherit mkDerivationByConfiguration fetchsvn flex lib
2007-12-10 23:36:52 +01:00
ncurses fetchurl perl cmake gdal geos proj x11
gsl libpng zlib
2008-01-16 04:29:56 +01:00
sqlite glibc fontconfig freetype / * use libc from stdenv ? - to lazy now - Marc * / ;
2007-12-10 23:36:52 +01:00
inherit ( xlibs ) libSM libXcursor libXinerama libXrandr libXrender ;
inherit ( xorg ) libICE ;
stdenv = stdenvUsingSetupNew2 ;
qt = qt4 ;
bison = bison23 ;
# optional features
# grass = "not yet supported" # cmake -D WITH_GRASS=TRUE and GRASS_PREFX=..
} ;
* /
2006-10-18 12:32:45 +02:00
zapping = import ../applications/video/zapping {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv pkgconfig perl python
gettext zvbi libjpeg libpng x11
rte perlXMLParser ;
inherit ( gnome ) scrollkeeper libgnomeui libglade esound ;
inherit ( xlibs ) libXv libXmu libXext ;
teletextSupport = true ;
jpegSupport = true ;
pngSupport = true ;
recordingSupport = true ;
2005-12-03 01:04:13 +01:00
} ;
2004-04-01 18:02:53 +02:00
### GAMES
2007-12-03 05:48:44 +01:00
construoFun = lib . sumArgs ( selectVersion ../games/construo ) {
inherit stdenv fetchurl builderDefs
zlib ;
inherit ( xlibs ) libX11 xproto ;
} ;
construo = construoFun {
inherit mesa freeglut ;
version = " 0 . 2 . 2 " ;
} null ;
2004-04-01 18:02:53 +02:00
2006-09-15 17:28:53 +02:00
exult = import ../games/exult {
inherit fetchurl SDL SDL_mixer zlib libpng unzip ;
stdenv = overrideGCC stdenv gcc34 ;
2006-08-09 01:39:03 +02:00
} ;
2007-10-27 19:55:13 +02:00
fsg = import ../games/fsg {
inherit stdenv fetchurl pkgconfig ;
inherit ( gtkLibs ) glib gtk ;
wxGTK = wxGTK28deps { unicode = false ; } ;
} ;
2007-10-29 11:52:04 +01:00
fsgAltBuild = import ../games/fsg/alt-builder.nix {
inherit stdenv fetchurl ;
wxGTK = wxGTK28deps { unicode = false ; } ;
stringsWithDeps = import ../lib/strings-with-deps.nix {
inherit stdenv lib ;
} ;
inherit builderDefs ;
} ;
2007-10-27 19:55:13 +02:00
2007-05-14 23:47:11 +02:00
gemrb = import ../games/gemrb {
inherit fetchurl stdenv SDL openal freealut zlib libpng python ;
} ;
2006-09-15 17:28:53 +02:00
quake3demo = import ../games/quake3/wrapper {
name = " q u a k e 3 - d e m o " ;
2006-10-11 18:45:55 +02:00
description = " D e m o o f Q u a k e 3 A r e n a , a c l a s s i c f i r s t - p e r s o n s h o o t e r " ;
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv mesa ;
game = quake3game ;
paks = [ quake3demodata ] ;
2006-01-26 15:43:05 +01:00
} ;
2006-01-28 00:51:36 +01:00
quake3demodata = import ../games/quake3/demo {
inherit fetchurl stdenv ;
} ;
2006-09-15 17:28:53 +02:00
quake3game = import ../games/quake3/game {
inherit fetchurl stdenv x11 SDL mesa openal ;
} ;
2007-01-08 22:19:15 +01:00
rogue = import ../games/rogue {
inherit fetchurl stdenv ncurses ;
} ;
2006-10-18 12:32:45 +02:00
scummvm = import ../games/scummvm {
2007-05-03 18:13:14 +02:00
inherit fetchurl stdenv SDL zlib mpeg2dec ;
2004-06-09 20:06:29 +02:00
} ;
2008-01-22 18:56:53 +01:00
# You still can override by passing more arguments.
spaceOrbitFun = lib . sumArgs ( selectVersion ../games/orbit ) {
inherit fetchurl stdenv builderDefs
mesa freeglut ;
inherit ( gnome ) esound ;
inherit ( xlibs ) libXt libX11 libXmu libXi libXext ;
version = " 1 . 0 1 " ;
} ;
spaceOrbit = spaceOrbitFun null ;
2007-08-09 19:33:18 +02:00
/* t p m = i m p o r t . . / g a m e s / t h e P e n g u i n M a c h i n e {
inherit stdenv fetchurl pil pygame SDL ;
python24 = python ;
} ; * /
2006-01-30 12:44:39 +01:00
ut2004demo = import ../games/ut2004demo {
2004-06-09 20:06:29 +02:00
inherit fetchurl stdenv xlibs mesa ;
} ;
2004-06-09 19:59:46 +02:00
2006-10-18 12:32:45 +02:00
zoom = import ../games/zoom {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv perl expat freetype ;
inherit ( xlibs ) xlibs ;
2006-09-12 01:06:26 +02:00
} ;
2006-10-29 00:28:35 +02:00
keen4 = import ../games/keen4 {
inherit fetchurl stdenv dosbox unzip ;
} ;
2004-04-01 18:02:53 +02:00
2007-02-28 17:18:58 +01:00
### DESKTOP ENVIRONMENTS
gnome = recurseIntoAttrs ( import ../desktops/gnome {
inherit fetchurl stdenv pkgconfig audiofile
flex bison popt zlib libxml2 libxslt
2007-10-18 23:08:47 +02:00
perl perlXMLParser docbook_xml_dtd_42 docbook_xml_dtd_412
gettext x11 libtiff libjpeg libpng gtkLibs xlibs bzip2
libcm python dbus_glib ncurses which libxml2Python
2007-03-05 19:52:31 +01:00
iconnamingutils ;
2007-02-28 17:18:58 +01:00
} ) ;
kdelibs = import ../desktops/kde/kdelibs {
inherit
fetchurl stdenv zlib perl openssl pcre pkgconfig
libjpeg libpng libtiff libxml2 libxslt libtool
2007-09-21 15:07:25 +02:00
expat freetype bzip2 cups ;
2007-02-28 17:18:58 +01:00
inherit ( xlibs ) libX11 libXt libXext ;
qt = qt3 ;
} ;
2007-11-15 01:11:56 +01:00
kde4 = recurseIntoAttrs ( import ../desktops/kde-4 {
inherit
fetchurl fetchsvn zlib perl openssl pcre pkgconfig libjpeg libpng libtiff
libxml2 libxslt libtool libusb expat freetype bzip2 cmake cluceneCore libgcrypt gnupg
2007-12-01 17:20:23 +01:00
cppunit cyrus_sasl openldap enchant exiv2 samba nss log4cxx aspell
2007-11-15 01:11:56 +01:00
shared_mime_info alsaLib libungif cups mesa boost gpgme gettext redland
xineLib libgphoto2 djvulibre libogg flac lame libvorbis poppler readline
saneBackends chmlib python libzip gmp sqlite libidn runCommand lib
openbabel ocaml facile ;
stdenv = stdenvUsingSetupNew2 ;
cdparanoia = cdparanoiaIII ;
inherit ( xlibs )
inputproto kbproto scrnsaverproto xextproto xf86miscproto
xf86vidmodeproto xineramaproto xproto libICE libX11 libXau libXcomposite
libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXpm
libXrandr libXrender libXScrnSaver libXt libXtst libXv libXxf86misc
libxkbfile libXinerama ;
inherit ( gtkLibs ) glib ;
qt = qt4 ;
dbus = dbus_alts . withX11 ;
bison = bison23 ;
2007-12-01 17:20:23 +01:00
openexr = openexr_1_6_1 ;
2007-11-15 01:11:56 +01:00
} ) ;
2007-03-26 17:49:38 +02:00
kdebase = import ../desktops/kde/kdebase {
inherit
2007-03-29 19:56:33 +02:00
fetchurl stdenv pkgconfig x11 xlibs zlib libpng libjpeg perl
2007-03-26 17:49:38 +02:00
kdelibs openssl bzip2 fontconfig ;
qt = qt3 ;
} ;
2007-02-28 17:18:58 +01:00
2004-02-13 15:42:28 +01:00
### MISC
2006-10-18 12:32:45 +02:00
atari800 = import ../misc/emulators/atari800 {
2006-08-13 00:33:51 +02:00
inherit fetchurl stdenv unzip zlib SDL ;
2004-11-03 22:28:03 +01:00
} ;
2006-10-18 12:32:45 +02:00
ataripp = import ../misc/emulators/atari++ {
2004-11-03 22:28:03 +01:00
inherit fetchurl stdenv x11 SDL ;
} ;
2007-09-20 13:31:31 +02:00
auctex = import ../misc/tex/auctex {
inherit stdenv fetchurl emacs tetex ;
} ;
2004-11-03 22:28:03 +01:00
2006-10-18 12:32:45 +02:00
busybox = import ../misc/busybox {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
cups = import ../misc/cups {
2007-04-02 18:22:10 +02:00
inherit fetchurl stdenv zlib libjpeg libpng libtiff pam ;
2006-09-15 17:28:53 +02:00
} ;
2007-11-01 15:37:23 +01:00
dblatex = import ../misc/tex/dblatex {
inherit fetchurl stdenv python libxslt tetex ;
} ;
2006-10-18 12:32:45 +02:00
dosbox = import ../misc/emulators/dosbox {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv SDL ;
} ;
2006-10-18 12:32:45 +02:00
generator = import ../misc/emulators/generator {
2007-06-09 22:45:01 +02:00
inherit fetchurl stdenv SDL nasm zlib bzip2 libjpeg ;
2005-12-03 02:33:18 +01:00
inherit ( gtkLibs1x ) gtk ;
} ;
2006-10-18 12:32:45 +02:00
ghostscript = import ../misc/ghostscript {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv libjpeg libpng zlib x11 ;
x11Support = false ;
2005-12-03 03:32:02 +01:00
} ;
2007-08-14 16:09:58 +02:00
ghostscriptX = lowPrio ( appendToName " w i t h - X " ( import ../misc/ghostscript {
inherit fetchurl stdenv libjpeg libpng zlib x11 ;
x11Support = true ;
} ) ) ;
2007-09-03 14:10:57 +02:00
2007-09-04 15:35:02 +02:00
# commented out because it's using the new configuration style proposal which is unstable
2007-09-03 14:10:57 +02:00
#gxemul = (import ../misc/gxemul) {
#inherit lib stdenv fetchurl;
#inherit (xlibs) libX11;
#};
2007-10-04 00:38:09 +02:00
2007-10-06 20:17:47 +02:00
# using the new configuration style proposal which is unstable
2007-10-09 11:56:39 +02:00
/*
2007-10-04 00:38:09 +02:00
jackaudio = import ../misc/jackaudio {
2007-10-05 09:26:23 +02:00
inherit mkDerivationByConfiguration
2007-10-04 00:38:09 +02:00
ncurses lib stdenv fetchurl ;
flags = [ " p o s i x _ s h m " " t i m e s t a m p s " ] ;
2007-10-06 20:17:47 +02:00
} ;
2007-10-09 11:56:39 +02:00
* /
2007-08-14 16:09:58 +02:00
2007-08-04 17:12:14 +02:00
keynav = import ../tools/X11/keynav {
inherit stdenv fetchurl ;
inherit ( xlibs ) libX11 xextproto libXtst
imake libXi libXext ;
} ;
2006-10-18 12:32:45 +02:00
lazylist = import ../misc/tex/lazylist {
2006-01-27 21:51:41 +01:00
inherit fetchurl stdenv tetex ;
} ;
2006-10-18 12:32:45 +02:00
linuxwacom = import ../misc/linuxwacom {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv ;
inherit ( xlibs ) libX11 libXi ;
2006-01-27 21:51:41 +01:00
} ;
2006-10-18 12:32:45 +02:00
martyr = import ../development/libraries/martyr {
2006-09-15 17:28:53 +02:00
inherit stdenv fetchurl apacheAnt ;
} ;
2006-10-18 12:32:45 +02:00
maven = import ../misc/maven/maven-1.0.nix {
2006-09-15 17:28:53 +02:00
inherit stdenv fetchurl jdk ;
2005-04-29 15:23:15 +02:00
} ;
2007-12-19 01:17:40 +01:00
# don't have time for the source build right now
# maven2
mvn_bin = import ../misc/maven/maven-2.nix {
inherit fetchurl ;
stdenv = stdenvUsingSetupNew2 ;
} ;
2007-03-29 11:24:14 +02:00
nix = import ../tools/package-management/nix {
2008-01-01 12:30:41 +01:00
inherit fetchurl stdenv perl curl bzip2 openssl ;
2006-11-14 16:55:57 +01:00
aterm = aterm242fixes ;
2008-01-01 12:30:41 +01:00
db4 = db45 ;
2006-05-01 21:16:41 +02:00
} ;
2007-03-29 11:24:14 +02:00
nixStatic = import ../tools/package-management/nix-static {
2006-11-14 16:55:57 +01:00
inherit fetchurl stdenv perl curl autoconf automake libtool ;
aterm = aterm242fixes ;
2006-08-05 13:02:17 +02:00
bdb = db4 ;
} ;
2006-11-17 13:49:46 +01:00
# The bleeding edge.
2007-03-29 11:24:14 +02:00
nixUnstable = import ../tools/package-management/nix/unstable.nix {
2007-03-01 16:44:23 +01:00
inherit fetchurl stdenv perl curl bzip2 openssl ;
2006-11-17 13:49:46 +01:00
aterm = aterm242fixes ;
db4 = db45 ;
} ;
2006-10-18 16:04:55 +02:00
2007-11-14 02:20:17 +01:00
nixCustomFun = src : preConfigure : configureFlags :
( import ../tools/package-management/nix/custom.nix {
inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake
autoconf libtool configureFlags ;
bison = bison23 ;
flex = flex2533 ;
2007-11-13 16:52:16 +01:00
aterm = aterm242fixes ;
db4 = db45 ;
2007-11-14 02:20:17 +01:00
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m ;
2007-11-13 16:52:16 +01:00
} ) ;
2007-09-01 20:15:19 +02:00
ntfs3g = import ../misc/ntfs-3g {
2007-09-12 23:32:16 +02:00
inherit fetchurl stdenv fuse pkgconfig ;
2007-09-01 20:15:19 +02:00
} ;
2007-11-21 15:10:21 +01:00
ntfsprogs = import ../misc/ntfsprogs {
2007-11-20 23:29:24 +01:00
inherit fetchurl stdenv ;
} ;
2008-01-29 02:24:54 +01:00
pgadmin = import ../applications/misc/pgadmin {
inherit fetchurl stdenv postgresql libxml2 libxslt openssl ;
wxGTK = wxGTK28 ;
} ;
2007-03-11 00:51:59 +01:00
pgf = import ../misc/tex/pgf {
inherit fetchurl stdenv ;
} ;
2006-10-18 12:32:45 +02:00
polytable = import ../misc/tex/polytable {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv tetex lazylist ;
2005-10-21 15:06:43 +02:00
} ;
2007-05-28 16:10:46 +02:00
putty = import ../applications/networking/remote/putty {
inherit stdenv fetchurl ncurses ;
inherit ( gtkLibs1x ) gtk ;
} ;
2006-10-18 12:32:45 +02:00
rssglx = import ../misc/screensavers/rss-glx {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv x11 mesa ;
2006-03-02 19:17:45 +01:00
} ;
2008-02-15 11:40:20 +01:00
xlockmore = import ../misc/screensavers/xlockmore {
inherit fetchurl stdenv pam x11 freetype ;
} ;
2006-10-18 12:32:45 +02:00
saneBackends = import ../misc/sane-backends {
2007-08-08 22:33:36 +02:00
inherit fetchurl stdenv libusb ;
gt68xxFirmware =
getConfig [ " s a n e " " g t 6 8 x x F i r m w a r e " ] null ;
} ;
saneFrontends = import ../misc/sane-front {
inherit fetchurl stdenv pkgconfig libusb
saneBackends ;
inherit ( gtkLibs ) gtk ;
inherit ( xlibs ) libX11 ;
2005-11-03 21:00:43 +01:00
} ;
2007-06-20 12:30:03 +02:00
synaptics = import ../misc/synaptics {
inherit fetchurl stdenv pkgconfig ;
2007-11-09 14:54:02 +01:00
inherit ( xlibs ) libX11 libXi libXext pixman xf86inputevdev ;
2007-06-20 12:30:03 +02:00
inherit ( xorg ) xorgserver ;
} ;
2006-10-18 12:32:45 +02:00
tetex = import ../misc/tex/tetex {
2006-09-15 17:28:53 +02:00
inherit fetchurl stdenv flex bison zlib libpng ncurses ed ;
2006-01-31 16:18:27 +01:00
} ;
2008-02-03 09:53:47 +01:00
/* t e t e x X 1 1 = i m p o r t . . / m i s c / t e x / t e t e x {
inherit fetchurl stdenv flex bison zlib libpng ncurses ed ;
inherit ( xlibs ) libX11 libXext libXmu libXaw libXt libXpm ;
inherit freetype t1lib ;
builderX11 = true ;
} ; * /
2006-10-18 12:32:45 +02:00
texFunctions = import ../misc/tex/nix {
2006-09-15 17:28:53 +02:00
inherit stdenv perl tetex graphviz ghostscript ;
2006-01-28 03:10:26 +01:00
} ;
2006-10-18 12:32:45 +02:00
toolbuslib = import ../development/libraries/toolbuslib {
2006-02-02 17:31:23 +01:00
inherit stdenv fetchurl aterm ;
} ;
2006-10-18 12:32:45 +02:00
trac = import ../misc/trac {
2006-10-12 17:43:01 +02:00
inherit stdenv fetchurl python clearsilver makeWrapper sqlite ;
2006-04-22 20:08:37 +02:00
2006-10-18 12:32:45 +02:00
subversion = import ../applications/version-management/subversion-1.3.x {
2006-04-22 20:08:37 +02:00
inherit fetchurl stdenv openssl db4 expat jdk swig zlib ;
localServer = true ;
httpServer = false ;
sslSupport = true ;
compressionSupport = true ;
httpd = apacheHttpd ;
pythonBindings = true ; # Enable python bindings
} ;
2006-10-18 12:32:45 +02:00
pysqlite = import ../development/libraries/pysqlite {
2006-12-27 19:14:57 +01:00
inherit stdenv fetchurl python sqlite ;
2006-04-22 20:08:37 +02:00
} ;
2006-03-31 14:10:20 +02:00
} ;
2006-04-22 20:08:37 +02:00
2007-08-19 01:58:30 +02:00
wine = import ../misc/emulators/wine {
stdenv = overrideGCC stdenv gcc41NPTL ;
inherit fetchurl flex bison mesa ncurses
2007-08-21 14:31:33 +02:00
libpng libjpeg alsaLib lcms xlibs freetype
2008-02-08 14:12:13 +01:00
fontconfig fontforge libxml2 libxslt openssl ;
2007-08-19 01:58:30 +02:00
} ;
2007-06-25 23:46:18 +02:00
2007-08-08 22:33:36 +02:00
xsane = import ../misc/xsane {
inherit fetchurl stdenv pkgconfig libusb
saneBackends saneFrontends ;
inherit ( gtkLibs ) gtk ;
inherit ( xlibs ) libX11 ;
} ;
2003-11-03 11:22:00 +01:00
}