all-packages: Use callPackage where possible
This commit is contained in:
parent
7fb1c7efcf
commit
eb7404d97a
|
@ -1,6 +1,9 @@
|
||||||
# TODO tidy up eg The patchelf code is patching gvim even if you don't build it..
|
# TODO tidy up eg The patchelf code is patching gvim even if you don't build it..
|
||||||
# but I have gvim with python support now :) - Marc
|
# but I have gvim with python support now :) - Marc
|
||||||
args@{pkgs, source ? "default", ...}: with args;
|
args@{pkgs, source ? "default", fetchurl, fetchhg, stdenv, ncurses, pkgconfig, gettext
|
||||||
|
, composableDerivation, lib, config, glib, gtk, python, perl, tcl, ruby
|
||||||
|
, libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu
|
||||||
|
, libICE, ... }: with args;
|
||||||
|
|
||||||
|
|
||||||
let inherit (args.composableDerivation) composableDerivation edf;
|
let inherit (args.composableDerivation) composableDerivation edf;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
args@{...}: with args;
|
args@{ fetchgit, stdenv, ncurses, pkgconfig, gettext
|
||||||
|
, composableDerivation, lib, config, python, perl, tcl, ruby, qt4
|
||||||
|
, libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu
|
||||||
|
, libICE, ... }: with args;
|
||||||
|
|
||||||
let tag = "20140827";
|
let tag = "20140827";
|
||||||
sha256 = "02adf2212872db3c5d133642d2c12fbfc28b506e4c0c42552e3d079756f63f65";
|
sha256 = "02adf2212872db3c5d133642d2c12fbfc28b506e4c0c42552e3d079756f63f65";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
a :
|
a @ { libXt, libX11, libXext, xextproto, xproto, gsl, aalib, zlib, intltool, gettext, perl, ... }:
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
a :
|
a @ { libgphoto2, fuse, pkgconfig, glib, libtool, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
s = import ./src-info-for-gphotofs.nix;
|
s = import ./src-info-for-gphotofs.nix;
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
{ config, ... }@a:
|
{ config, libXmu, libXext, libXp, libX11, libXt, libSM, libICE, libXpm
|
||||||
|
, libXaw, libXrender
|
||||||
|
, composableDerivation, stdenv, fetchurl
|
||||||
|
, lib, flex, bison, cairo, fontconfig
|
||||||
|
, gdal, zlib, ncurses, gdbm, proj, pkgconfig, swig
|
||||||
|
, blas, liblapack, libjpeg, libpng, mysql, unixODBC, mesa, postgresql, python
|
||||||
|
, readline, sqlite, tcl, tk, libtiff, freetype, makeWrapper, wxGTK, ffmpeg, fftw
|
||||||
|
, wxPython, motif, opendwg }@a:
|
||||||
|
|
||||||
# You can set gui by exporting GRASS_GUI=..
|
# You can set gui by exporting GRASS_GUI=..
|
||||||
# see http://grass.itc.it/gdp/html_grass64/g.gui.html
|
# see http://grass.itc.it/gdp/html_grass64/g.gui.html
|
||||||
|
@ -28,7 +35,7 @@ a.composableDerivation.composableDerivation {} (fix: {
|
||||||
name = "grass-6.4.0RC6";
|
name = "grass-6.4.0RC6";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
# gentoos package depends on gmath ?
|
# gentoos package depends on gmath ?
|
||||||
a.pkgconfig
|
a.pkgconfig
|
||||||
a.flex a.bison a.libXmu a.libXext a.libXp a.libX11 a.libXt a.libSM a.libICE
|
a.flex a.bison a.libXmu a.libXext a.libXp a.libX11 a.libXt a.libSM a.libICE
|
||||||
a.libXpm a.libXaw a.flex a.bison a.gdbm
|
a.libXpm a.libXaw a.flex a.bison a.gdbm
|
||||||
|
@ -72,7 +79,7 @@ a.composableDerivation.composableDerivation {} (fix: {
|
||||||
configureFlags = [ "--with-python=${a.python}/bin/python-config" ];
|
configureFlags = [ "--with-python=${a.python}/bin/python-config" ];
|
||||||
buildInputs = [a.python a.swig];
|
buildInputs = [a.python a.swig];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
// edf { name = "_64bit"; feat = "64bit"; }
|
// edf { name = "_64bit"; feat = "64bit"; }
|
||||||
// wwfp a.ncurses { name = "curses"; }
|
// wwfp a.ncurses { name = "curses"; }
|
||||||
|
@ -119,7 +126,7 @@ a.composableDerivation.composableDerivation {} (fix: {
|
||||||
// wwfp a.unixODBC { name = "odbc"; }
|
// wwfp a.unixODBC { name = "odbc"; }
|
||||||
// wwfp a.fftw { name = "fftw"; }
|
// wwfp a.fftw { name = "fftw"; }
|
||||||
// wwf {
|
// wwf {
|
||||||
name = "blas";
|
name = "blas";
|
||||||
enable.configureFlags = [ "--with-blas-libs=${a.blas}/lib" ];
|
enable.configureFlags = [ "--with-blas-libs=${a.blas}/lib" ];
|
||||||
}
|
}
|
||||||
// wwf {
|
// wwf {
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
args : with args;
|
args @ { fetchurl, stdenv, pkgconfig, perl, perlXMLParser, libxml2, openssl, nss
|
||||||
|
, gtkspell, aspell, gettext, ncurses, avahi, dbus, dbus_glib, python
|
||||||
|
, libtool, automake, autoconf, gstreamer
|
||||||
|
, gtk, glib
|
||||||
|
, libXScrnSaver, scrnsaverproto, libX11, xproto, kbproto, ... }: with args;
|
||||||
/*
|
/*
|
||||||
arguments: all buildInputs
|
arguments: all buildInputs
|
||||||
optional: purple2Source: purple-2 source - place to copy libpurple from
|
optional: purple2Source: purple-2 source - place to copy libpurple from
|
||||||
(to use a fresher pidgin build)
|
(to use a fresher pidgin build)
|
||||||
*/
|
*/
|
||||||
let
|
let
|
||||||
externalPurple2 = (lib.attrByPath ["purple2Source"] null args) != null;
|
externalPurple2 = (lib.attrByPath ["purple2Source"] null args) != null;
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -16,9 +20,9 @@ rec {
|
||||||
buildInputs = [gtkspell aspell
|
buildInputs = [gtkspell aspell
|
||||||
gstreamer startupnotification
|
gstreamer startupnotification
|
||||||
libxml2 openssl nss
|
libxml2 openssl nss
|
||||||
libXScrnSaver ncurses scrnsaverproto
|
libXScrnSaver ncurses scrnsaverproto
|
||||||
libX11 xproto kbproto GConf avahi
|
libX11 xproto kbproto GConf avahi
|
||||||
dbus dbus_glib glib python
|
dbus dbus_glib glib python
|
||||||
autoconf libtool automake];
|
autoconf libtool automake];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -38,11 +42,11 @@ rec {
|
||||||
phaseNames = ["doConfigure" "preBuild" "doMakeInstall"]
|
phaseNames = ["doConfigure" "preBuild" "doMakeInstall"]
|
||||||
++ (lib.optional externalPurple2 "postInstall")
|
++ (lib.optional externalPurple2 "postInstall")
|
||||||
;
|
;
|
||||||
|
|
||||||
name = "carrier-2.5.0";
|
name = "carrier-2.5.0";
|
||||||
meta = {
|
meta = {
|
||||||
description = "PidginIM GUI fork with user-friendly development model";
|
description = "PidginIM GUI fork with user-friendly development model";
|
||||||
homepage = http://funpidgin.sf.net;
|
homepage = http://funpidgin.sf.net;
|
||||||
};
|
};
|
||||||
} // (if externalPurple2 then {
|
} // (if externalPurple2 then {
|
||||||
postInstall = fullDepEntry (''
|
postInstall = fullDepEntry (''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
args @ { libxml2, perl, intltool, libtool, pkgconfig, gtk, ... } : with args;
|
||||||
let version = lib.attrByPath ["version"] "1.1.0" args; in
|
let version = lib.attrByPath ["version"] "1.1.0" args; in
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -17,7 +17,7 @@ rec {
|
||||||
doPreBuild = fullDepEntry (''
|
doPreBuild = fullDepEntry (''
|
||||||
cp drgeo.desktop.in drgeo.desktop
|
cp drgeo.desktop.in drgeo.desktop
|
||||||
'') ["minInit" "doUnpack"];
|
'') ["minInit" "doUnpack"];
|
||||||
|
|
||||||
name = "drgeo-" + version;
|
name = "drgeo-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "Interactive geometry program";
|
description = "Interactive geometry program";
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
a :
|
a @ { mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, libXcursor, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = "1.5";
|
version = "1.5";
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
mesa lesstif libX11 libXaw xproto libXt libSM libICE
|
mesa lesstif libX11 libXaw xproto libXt libSM libICE
|
||||||
libXmu libXext libXcursor
|
libXmu libXext libXcursor
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
@ -28,9 +28,9 @@ rec {
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["unpackTarballs"
|
phaseNames = ["unpackTarballs"
|
||||||
"setPlatform" "extraVars"
|
"setPlatform" "extraVars"
|
||||||
"buildVibrant" "buildContent"
|
"buildVibrant" "buildContent"
|
||||||
"install"];
|
"install"];
|
||||||
|
|
||||||
unpackTarballs = a.fullDepEntry (''
|
unpackTarballs = a.fullDepEntry (''
|
||||||
|
@ -42,10 +42,10 @@ rec {
|
||||||
sed -e s/SGI=/SGI=no/ -i content/makefile_v
|
sed -e s/SGI=/SGI=no/ -i content/makefile_v
|
||||||
'') ["minInit"];
|
'') ["minInit"];
|
||||||
|
|
||||||
platformTLAContent = if a.stdenv.isLinux then "LIN" else
|
platformTLAContent = if a.stdenv.isLinux then "LIN" else
|
||||||
throw "Three-letter code for the platform is not known";
|
throw "Three-letter code for the platform is not known";
|
||||||
|
|
||||||
platformTLAVibrant = if a.stdenv.isLinux then "lnx" else
|
platformTLAVibrant = if a.stdenv.isLinux then "lnx" else
|
||||||
throw "Three-letter code for the platform is not known";
|
throw "Three-letter code for the platform is not known";
|
||||||
|
|
||||||
setPlatform = a.fullDepEntry (''
|
setPlatform = a.fullDepEntry (''
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* moving all git tools into one attribute set because git is unlikely to be
|
/* moving all git tools into one attribute set because git is unlikely to be
|
||||||
* referenced by other packages and you can get a fast overview.
|
* referenced by other packages and you can get a fast overview.
|
||||||
*/
|
*/
|
||||||
args: with args; with pkgs;
|
args @ {pkgs}: with args; with pkgs;
|
||||||
let
|
let
|
||||||
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
args @ { graphviz, pkgconfig, autoconf, automake, libtool, glib, gtk, ... }: with args;
|
||||||
rec {
|
rec {
|
||||||
srcDrv = fetchmtn {
|
srcDrv = fetchmtn {
|
||||||
name = "monotone-viz-mtn-checkout";
|
name = "monotone-viz-mtn-checkout";
|
||||||
|
@ -9,7 +9,7 @@ rec {
|
||||||
};
|
};
|
||||||
src = srcDrv + "/";
|
src = srcDrv + "/";
|
||||||
|
|
||||||
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
|
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
|
||||||
pkgconfig autoconf automake libtool];
|
pkgconfig autoconf automake libtool];
|
||||||
configureFlags = ["--with-lablgtk-dir=$(echo ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2)"];
|
configureFlags = ["--with-lablgtk-dir=$(echo ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2)"];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
args @ { makeWrapper, python, ... }: with args;
|
||||||
let version = if args ? version then args.version else "0.9.35"; in
|
let version = if args ? version then args.version else "0.9.35"; in
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -14,10 +14,10 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
/* doConfigure should be specified separately */
|
||||||
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
|
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
|
||||||
|
|
||||||
name = "tailor-" + version;
|
name = "tailor-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "Version control tools integration tool";
|
description = "Version control tools integration tool";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
args @ { monotone, cheetahTemplate, highlight, ctags, makeWrapper, graphviz, which, python, ... }: with args;
|
||||||
args : with args;
|
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://viewmtn.1erlei.de/downloads/viewmtn-0.10.tgz;
|
url = http://viewmtn.1erlei.de/downloads/viewmtn-0.10.tgz;
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
args: with args; with stringsWithDeps; with lib;
|
args @ {stringsWithDeps, lib, stdenv, writeScript, fetchurl, fetchmtn, fetchgit, ...}: with args; with stringsWithDeps; with lib;
|
||||||
let inherit (builtins) head tail trace; in
|
let inherit (builtins) head tail trace; in
|
||||||
(rec
|
(rec
|
||||||
{
|
{
|
||||||
inherit writeScript;
|
inherit writeScript;
|
||||||
|
|
||||||
src = attrByPath ["src"] "" args;
|
src = attrByPath ["src"] "" args;
|
||||||
|
|
||||||
addSbinPath = attrByPath ["addSbinPath"] false args;
|
addSbinPath = attrByPath ["addSbinPath"] false args;
|
||||||
|
|
||||||
forceShare = if args ? forceShare then args.forceShare else ["man" "doc" "info"];
|
forceShare = if args ? forceShare then args.forceShare else ["man" "doc" "info"];
|
||||||
forceCopy = ["COPYING" "LICENSE" "DISTRIBUTION" "LEGAL"
|
forceCopy = ["COPYING" "LICENSE" "DISTRIBUTION" "LEGAL"
|
||||||
"README" "AUTHORS" "ChangeLog" "CHANGES" "LICENCE" "COPYRIGHT"] ++
|
"README" "AUTHORS" "ChangeLog" "CHANGES" "LICENCE" "COPYRIGHT"] ++
|
||||||
(optional (attrByPath ["forceCopyDoc"] true args) "doc");
|
(optional (attrByPath ["forceCopyDoc"] true args) "doc");
|
||||||
|
|
||||||
hasSuffixHack = a: b: hasSuffix (a+(substring 0 0 b)) ((substring 0 0 a)+b);
|
hasSuffixHack = a: b: hasSuffix (a+(substring 0 0 b)) ((substring 0 0 a)+b);
|
||||||
|
|
||||||
archiveType = s:
|
archiveType = s:
|
||||||
(if hasSuffixHack ".tar" s then "tar"
|
(if hasSuffixHack ".tar" s then "tar"
|
||||||
else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz"
|
else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz"
|
||||||
else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) ||
|
else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) ||
|
||||||
(hasSuffixHack ".tbz" s) then "tbz2"
|
(hasSuffixHack ".tbz" s) then "tbz2"
|
||||||
else if hasSuffixHack ".tar.Z" s then "tZ"
|
else if hasSuffixHack ".tar.Z" s then "tZ"
|
||||||
else if hasSuffixHack ".tar.lzma" s then "tar.lzma"
|
else if hasSuffixHack ".tar.lzma" s then "tar.lzma"
|
||||||
else if hasSuffixHack ".tar.xz" s then "tar.xz"
|
else if hasSuffixHack ".tar.xz" s then "tar.xz"
|
||||||
else if hasSuffixHack ".rar" s then "rar"
|
else if hasSuffixHack ".rar" s then "rar"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# trivial builder for Emacs packages
|
# trivial builder for Emacs packages
|
||||||
|
|
||||||
{ lib, ... }@envargs:
|
{ lib, stdenv, texinfo, ... }@envargs:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
args : with args;
|
args @ { fetchurl, stdenv, builderDefs, paths, mkfontdir, mkfontscale }:
|
||||||
|
with args;
|
||||||
let localDefs = builderDefs.passthru.function {
|
let localDefs = builderDefs.passthru.function {
|
||||||
src =""; /* put a fetchurl here */
|
src =""; /* put a fetchurl here */
|
||||||
buildInputs = [mkfontdir mkfontscale];
|
buildInputs = [mkfontdir mkfontscale];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args; rec {
|
args @ { fetchurl, fontforge, lib, ... }: with args; rec {
|
||||||
name = "linux-libertine-5.3.0";
|
name = "linux-libertine-5.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
a :
|
a @ { mpfr, m4, binutils, fetchcvs, emacs, zlib, which
|
||||||
let
|
, texinfo, libX11, xproto, inputproto, libXi
|
||||||
|
, libXext, xextproto, libXt, libXaw, libXmu, stdenv, ... } :
|
||||||
|
let
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
mpfr m4 binutils emacs gmp
|
mpfr m4 binutils emacs gmp
|
||||||
libX11 xproto inputproto libXi
|
libX11 xproto inputproto libXi
|
||||||
libXext xextproto libXt libXaw libXmu
|
libXext xextproto libXt libXaw libXmu
|
||||||
zlib which texinfo texLive
|
zlib which texinfo texLive
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
||||||
(
|
(
|
||||||
|
@ -40,7 +42,7 @@ rec {
|
||||||
'') ["minInit" "doUnpack" "addInputs"];
|
'') ["minInit" "doUnpack" "addInputs"];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["setVars" "doUnpack" "preBuild"
|
phaseNames = ["setVars" "doUnpack" "preBuild"
|
||||||
"doConfigure" "doMakeInstall"];
|
"doConfigure" "doMakeInstall"];
|
||||||
}) // {
|
}) // {
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -48,7 +50,7 @@ rec {
|
||||||
maintainers = [
|
maintainers = [
|
||||||
a.lib.maintainers.raskin
|
a.lib.maintainers.raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = with a.lib.platforms;
|
||||||
linux;
|
linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
args @ { makeWrapper, ruby, ... }: with args;
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
name = "rubygems-" + version;
|
name = "rubygems-" + version;
|
||||||
|
@ -23,7 +23,7 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
/* doConfigure should be specified separately */
|
||||||
phaseNames = ["doPatch" "doInstall"];
|
phaseNames = ["doPatch" "doInstall"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Ruby gems package collection";
|
description = "Ruby gems package collection";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -3,9 +3,9 @@ x@{builderDefsPackage
|
||||||
, inputproto, libXi, fetchsvn, pkgconfig
|
, inputproto, libXi, fetchsvn, pkgconfig
|
||||||
, ...}:
|
, ...}:
|
||||||
builderDefsPackage
|
builderDefsPackage
|
||||||
(a :
|
(a :
|
||||||
let
|
let
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
helperArgNames = ["stdenv" "fetchsvn" "builderDefsPackage"] ++
|
||||||
[];
|
[];
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
buildInputs = map (n: builtins.getAttr n x)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
a :
|
a @ { tcsh, mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, ... }:
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = "20090809";
|
version = "20090809";
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
tcsh libX11 libXaw lesstif xproto mesa libXt
|
tcsh libX11 libXaw lesstif xproto mesa libXt
|
||||||
libSM libICE libXmu libXext
|
libSM libICE libXmu libXext
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
{fetchurl, stdenv, unixODBC, glibc, libtool, openssl, zlib, postgresql, mysql, sqlite}:
|
||||||
# each attr contains the name deriv referencing the derivation and ini which
|
# each attr contains the name deriv referencing the derivation and ini which
|
||||||
# evaluates to a string which can be appended to the global unix odbc ini file
|
# evaluates to a string which can be appended to the global unix odbc ini file
|
||||||
# to register the driver
|
# to register the driver
|
||||||
|
@ -9,7 +9,7 @@ args : with args;
|
||||||
deriv = stdenv.mkDerivation {
|
deriv = stdenv.mkDerivation {
|
||||||
name = "unix-odbc-pg-odbcng-0.90.101";
|
name = "unix-odbc-pg-odbcng-0.90.101";
|
||||||
buildInputs = [ unixODBC glibc libtool postgresql ];
|
buildInputs = [ unixODBC glibc libtool postgresql ];
|
||||||
# added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose'
|
# added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose'
|
||||||
preConfigure="
|
preConfigure="
|
||||||
export CPPFLAGS=-I${unixODBC}/include
|
export CPPFLAGS=-I${unixODBC}/include
|
||||||
export LDFLAGS='-L${unixODBC}/lib -lltdl'
|
export LDFLAGS='-L${unixODBC}/lib -lltdl'
|
||||||
|
@ -37,7 +37,7 @@ args : with args;
|
||||||
export CPPFLAGS=-I${unixODBC}/include
|
export CPPFLAGS=-I${unixODBC}/include
|
||||||
export LDFLAGS='-L${unixODBC}/lib -lltdl'
|
export LDFLAGS='-L${unixODBC}/lib -lltdl'
|
||||||
";
|
";
|
||||||
# added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose'
|
# added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose'
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
|
url = "http://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz";
|
||||||
sha256 = "0mh10chkmlppidnmvgbp47v5jnphsrls28zwbvyk2crcn8gdx9q1";
|
sha256 = "0mh10chkmlppidnmvgbp47v5jnphsrls28zwbvyk2crcn8gdx9q1";
|
||||||
|
@ -48,7 +48,7 @@ args : with args;
|
||||||
license = "LGPL";
|
license = "LGPL";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ini =
|
ini =
|
||||||
"[PostgreSQL]\n" +
|
"[PostgreSQL]\n" +
|
||||||
"Description = official PostgreSQL driver for Linux & Win32\n" +
|
"Description = official PostgreSQL driver for Linux & Win32\n" +
|
||||||
"Driver = ${deriv}/lib/psqlodbcw.so\n" +
|
"Driver = ${deriv}/lib/psqlodbcw.so\n" +
|
||||||
|
@ -97,7 +97,7 @@ args : with args;
|
||||||
mv "$out"/*.la "$out/lib"
|
mv "$out"/*.la "$out/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "ODBC driver for SQLite";
|
description = "ODBC driver for SQLite";
|
||||||
homepage = http://www.ch-werner.de/sqliteodbc;
|
homepage = http://www.ch-werner.de/sqliteodbc;
|
||||||
license = stdenv.lib.licenses.bsd2;
|
license = stdenv.lib.licenses.bsd2;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
a :
|
a @ {python, ...} :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.4.8" a;
|
version = a.lib.attrByPath ["version"] "0.4.8" a;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
python
|
python
|
||||||
];
|
];
|
||||||
|
@ -24,7 +24,7 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doPatch" "installPythonPackage"];
|
phaseNames = ["doPatch" "installPythonPackage"];
|
||||||
|
|
||||||
name = "python-irclib-" + version;
|
name = "python-irclib-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python IRC library";
|
description = "Python IRC library";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
a :
|
a @ { python, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.1.9" a;
|
version = a.lib.attrByPath ["version"] "0.1.9" a;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
pkgconfig pygtk
|
pkgconfig pygtk
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
a :
|
a @ {python, setuptools, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
|
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
python setuptools
|
python setuptools
|
||||||
];
|
];
|
||||||
|
@ -22,7 +22,7 @@ rec {
|
||||||
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
|
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
|
||||||
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
||||||
'') ["defEnsureDir" "addInputs"];
|
'') ["defEnsureDir" "addInputs"];
|
||||||
|
|
||||||
name = "xmpp.py-" + version;
|
name = "xmpp.py-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "XMPP python library";
|
description = "XMPP python library";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ { mesa, SDL, SDL_image, SDL_mixer, ... } :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
mesa SDL SDL_mixer SDL_image
|
mesa SDL SDL_mixer SDL_image
|
||||||
|
@ -21,7 +21,7 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["preBuild" "doMakeInstall"];
|
phaseNames = ["preBuild" "doMakeInstall"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A physics-based game";
|
description = "A physics-based game";
|
||||||
maintainers = [ a.lib.maintainers.raskin ];
|
maintainers = [ a.lib.maintainers.raskin ];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
args : with args;
|
args @ { libX11, libXext, xextproto, libICE, libSM, xproto, libpng, zlib, ... }: with args;
|
||||||
let
|
let
|
||||||
version = lib.attrByPath ["version"] "1.12.1" args;
|
version = lib.attrByPath ["version"] "1.12.1" args;
|
||||||
sha256 = lib.attrByPath ["sha256"]
|
sha256 = lib.attrByPath ["sha256"]
|
||||||
"0xmrp7vkkp1hfblb6nl3rh2651qsbcm21bnncpnma1sf40jaf8wj" args;
|
"0xmrp7vkkp1hfblb6nl3rh2651qsbcm21bnncpnma1sf40jaf8wj" args;
|
||||||
pkgName = "lincity";
|
pkgName = "lincity";
|
||||||
in
|
in
|
||||||
|
@ -17,7 +17,7 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
/* doConfigure should be specified separately */
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
name = "${pkgName}-" + version;
|
name = "${pkgName}-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "City simulation game";
|
description = "City simulation game";
|
||||||
|
|
|
@ -1,11 +1,16 @@
|
||||||
a :
|
a @ { xproto, libX11, libXrender
|
||||||
let
|
, gmp, mesa, libjpeg, libpng
|
||||||
|
, expat, gettext, perl
|
||||||
|
, SDL, SDL_image, SDL_mixer, SDL_ttf
|
||||||
|
, curl, sqlite
|
||||||
|
, libogg, libvorbis, libcaca, csound, cunit, ... } :
|
||||||
|
let
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
xproto libX11 gmp guile
|
xproto libX11 gmp guile
|
||||||
mesa libjpeg libpng
|
mesa libjpeg libpng
|
||||||
expat gettext perl
|
expat gettext perl
|
||||||
SDL SDL_image SDL_mixer SDL_ttf
|
SDL SDL_image SDL_mixer SDL_ttf
|
||||||
curl sqlite
|
curl sqlite
|
||||||
libogg libvorbis csound
|
libogg libvorbis csound
|
||||||
libXrender libcaca cunit
|
libXrender libcaca cunit
|
||||||
];
|
];
|
||||||
|
@ -27,13 +32,13 @@ rec {
|
||||||
setVars = a.noDepEntry (''
|
setVars = a.noDepEntry (''
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL"
|
||||||
'');
|
'');
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Quick tactics game";
|
description = "Quick tactics game";
|
||||||
maintainers = [
|
maintainers = [
|
||||||
a.lib.maintainers.raskin
|
a.lib.maintainers.raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = with a.lib.platforms;
|
||||||
linux;
|
linux;
|
||||||
homepage = "http://www.gnu.org/software/liquidwar6/";
|
homepage = "http://www.gnu.org/software/liquidwar6/";
|
||||||
version = "0.6.3902";
|
version = "0.6.3902";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
a :
|
a @ {libX11, xproto, libXpm, libXt, ...} :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
a :
|
a @ { ncurses, flex, bison, autoconf, automake, m4, coreutils, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# };
|
# };
|
||||||
# Make additional configurations on demand:
|
# Make additional configurations on demand:
|
||||||
# wine.override { wineBuild = "wine32"; wineRelease = "staging"; };
|
# wine.override { wineBuild = "wine32"; wineRelease = "staging"; };
|
||||||
{ lib, pkgs, system, callPackage,
|
{ lib, pkgs, system, callPackage, wineUnstable,
|
||||||
wineRelease ? "stable",
|
wineRelease ? "stable",
|
||||||
wineBuild ? (if system == "x86_64-linux" then "wineWow" else "wine32"),
|
wineBuild ? (if system == "x86_64-linux" then "wineWow" else "wine32"),
|
||||||
libtxc_dxtn_Name ? "libtxc_dxtn_s2tc" }:
|
libtxc_dxtn_Name ? "libtxc_dxtn_s2tc" }:
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
if wineRelease == "staging" then
|
if wineRelease == "staging" then
|
||||||
callPackage ./staging.nix {
|
callPackage ./staging.nix {
|
||||||
inherit libtxc_dxtn_Name;
|
inherit libtxc_dxtn_Name;
|
||||||
wine = lib.getAttr wineBuild (callPackage ./packages.nix { wineRelease = "unstable"; });
|
wine = wineUnstable;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
lib.getAttr wineBuild (callPackage ./packages.nix {
|
lib.getAttr wineBuild (callPackage ./packages.nix {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ { libjpeg, pkgconfig, zlib, directfb, xproto, ... } :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
directfb zlib libjpeg pkgconfig xproto
|
directfb zlib libjpeg pkgconfig xproto
|
||||||
|
@ -14,13 +14,13 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "DirectFB VNC client";
|
description = "DirectFB VNC client";
|
||||||
maintainers = [
|
maintainers = [
|
||||||
a.lib.maintainers.raskin
|
a.lib.maintainers.raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = with a.lib.platforms;
|
||||||
linux;
|
linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "3.10.87";
|
version = "3.10.87";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "3.12.47";
|
version = "3.12.47";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "3.14.51";
|
version = "3.14.51";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "3.18.21";
|
version = "3.18.21";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.1.6";
|
version = "4.1.6";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.2";
|
version = "4.2";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.2-rc5";
|
version = "4.2-rc5";
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
args: with args;
|
args @ { fetchurl, stdenv, perl, lib, composableDerivation
|
||||||
|
, openldap, pam, db, cyrus_sasl, kerberos, libcap, expat, libxml2, libtool
|
||||||
|
, openssl, ... }: with args;
|
||||||
let edf = composableDerivation.edf; in
|
let edf = composableDerivation.edf; in
|
||||||
rec {
|
rec {
|
||||||
squid30 = composableDerivation.composableDerivation {} {
|
squid30 = composableDerivation.composableDerivation {} {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||||
args: with args;
|
args @ { clangStdenv, fetchurl, fetchgit, fetchpatch, stdenv, pkgconfig, intltool, freetype, fontconfig
|
||||||
|
, libxslt, expat, libpng, zlib, perl, mesa_drivers, spice_protocol
|
||||||
|
, dbus, libuuid, openssl, gperf, m4, libevdev, tradcpp, libinput, mcpp, makeWrapper, autoreconfHook
|
||||||
|
, autoconf, automake, libtool, xmlto, asciidoc, flex, bison, python, mtdev, pixman, ... }: with args;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,10 @@ open OUT, ">default.nix";
|
||||||
print OUT "";
|
print OUT "";
|
||||||
print OUT <<EOF;
|
print OUT <<EOF;
|
||||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||||
args: with args;
|
args @ { clangStdenv, fetchurl, fetchgit, fetchpatch, stdenv, pkgconfig, intltool, freetype, fontconfig
|
||||||
|
, libxslt, expat, libpng, zlib, perl, mesa_drivers, spice_protocol
|
||||||
|
, dbus, libuuid, openssl, gperf, m4, libevdev, tradcpp, libinput, mcpp, makeWrapper, autoreconfHook
|
||||||
|
, autoconf, automake, libtool, xmlto, asciidoc, flex, bison, python, mtdev, pixman, ... }: with args;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
a :
|
a @ { xmpppy, pythonIRClib, python, makeWrapper, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.4" a;
|
version = a.lib.attrByPath ["version"] "0.4" a;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
xmpppy pythonIRClib python makeWrapper
|
xmpppy pythonIRClib python makeWrapper
|
||||||
];
|
];
|
||||||
|
@ -30,7 +30,7 @@ rec {
|
||||||
echo "./irc.py \"$@\"" >> $out/bin/pyIRCt
|
echo "./irc.py \"$@\"" >> $out/bin/pyIRCt
|
||||||
chmod a+rx $out/bin/pyIRCt $out/share/${name}/irc.py
|
chmod a+rx $out/bin/pyIRCt $out/share/${name}/irc.py
|
||||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||||
|
|
||||||
name = "pyIRCt-" + version;
|
name = "pyIRCt-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "IRC transport module for XMPP";
|
description = "IRC transport module for XMPP";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ { xmpppy, python, makeWrapper, fetchcvs, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
|
@ -32,7 +32,7 @@ rec {
|
||||||
echo "./mail.py \"$@\"" >> $out/bin/pyMAILt
|
echo "./mail.py \"$@\"" >> $out/bin/pyMAILt
|
||||||
chmod a+rx $out/bin/pyMAILt $out/share/${name}/mail.py
|
chmod a+rx $out/bin/pyMAILt $out/share/${name}/mail.py
|
||||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||||
|
|
||||||
name = "pyMAILt-20090101";
|
name = "pyMAILt-20090101";
|
||||||
meta = {
|
meta = {
|
||||||
description = "Email transport module for XMPP";
|
description = "Email transport module for XMPP";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ { zlib, libpng, freetype, gd, which, libxml2, geoip, ... } :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
zlib libpng freetype gd which libxml2
|
zlib libpng freetype gd which libxml2
|
||||||
|
@ -15,7 +15,7 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doConfigure" "doMakeInstall" "doLinks"];
|
phaseNames = ["doConfigure" "doMakeInstall" "doLinks"];
|
||||||
|
|
||||||
doLinks = a.fullDepEntry (''
|
doLinks = a.fullDepEntry (''
|
||||||
ln -s shared_en.xsl $out/share/webdruid/classic/shared.xsl
|
ln -s shared_en.xsl $out/share/webdruid/classic/shared.xsl
|
||||||
'') ["minInit"];
|
'') ["minInit"];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ { cmake, patchelf, imagemagick, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
@ -27,7 +27,7 @@ rec {
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl -L$out/lib"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl -L$out/lib"
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=$out -DDL_LIB=${libc}/lib
|
cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=$out -DDL_LIB=${libc}/lib
|
||||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||||
|
|
||||||
needLib64 = a.stdenv.system == "x86_64-linux";
|
needLib64 = a.stdenv.system == "x86_64-linux";
|
||||||
|
|
||||||
postInstall = a.fullDepEntry(''
|
postInstall = a.fullDepEntry(''
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
a :
|
a @ { intltool, perl, gettext, libusb, pkgconfig, bluez, readline, pcsclite, libical, gtk, glib, libXpm, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
perl intltool gettext libusb
|
perl intltool gettext libusb
|
||||||
glib gtk pkgconfig bluez readline
|
glib gtk pkgconfig bluez readline
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ { openssl, gmp, nettools, iproute, zlib, ... } :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
openssl gmp zlib
|
openssl gmp zlib
|
||||||
|
@ -22,7 +22,7 @@ rec {
|
||||||
sed -e 's@"/sbin/ifconfig.*"@"${a.iproute}/sbin/ip link set $IFNAME address $MAC mtu $MTU"@' -i src/device-linux.C
|
sed -e 's@"/sbin/ifconfig.*"@"${a.iproute}/sbin/ip link set $IFNAME address $MAC mtu $MTU"@' -i src/device-linux.C
|
||||||
sed -e 's@/sbin/ifconfig@${a.nettools}/sbin/ifconfig@g' -i src/device-*.C
|
sed -e 's@/sbin/ifconfig@${a.nettools}/sbin/ifconfig@g' -i src/device-*.C
|
||||||
'') ["minInit" "doUnpack"];
|
'') ["minInit" "doUnpack"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A proteted multinode virtual network";
|
description = "A proteted multinode virtual network";
|
||||||
maintainers = [
|
maintainers = [
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
a :
|
a @ {ppp, ...} :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "3.11" a;
|
version = a.lib.attrByPath ["version"] "3.11" a;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
ppp
|
ppp
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
args :
|
args @ {unzip, ... } :
|
||||||
let
|
let
|
||||||
lib = args.lib;
|
lib = args.lib;
|
||||||
fetchurl = args.fetchurl;
|
fetchurl = args.fetchurl;
|
||||||
fullDepEntry = args.fullDepEntry;
|
fullDepEntry = args.fullDepEntry;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
args @ { makeWrapper, ... }: with args;
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.packetstormsecurity.nl/UNIX/utilities/framework-3.1.tar.gz;
|
url = http://www.packetstormsecurity.nl/UNIX/utilities/framework-3.1.tar.gz;
|
||||||
|
@ -21,7 +21,7 @@ rec {
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
/* doConfigure should be specified separately */
|
||||||
phaseNames = ["doInstall" (doPatchShebangs "$out/share/msf")];
|
phaseNames = ["doInstall" (doPatchShebangs "$out/share/msf")];
|
||||||
|
|
||||||
name = "metasploit-framework-3.1";
|
name = "metasploit-framework-3.1";
|
||||||
meta = {
|
meta = {
|
||||||
description = "Metasploit Framework - a collection of exploits";
|
description = "Metasploit Framework - a collection of exploits";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
a :
|
a @ { groff, ... } :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "2.17" a;
|
version = a.lib.attrByPath ["version"] "2.17" a;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
groff
|
groff
|
||||||
];
|
];
|
||||||
|
@ -26,7 +26,7 @@ rec {
|
||||||
'') ["minInit" "doUnpack" "doConfigure"];
|
'') ["minInit" "doUnpack" "doConfigure"];
|
||||||
|
|
||||||
neededDirs = ["$out/bin" "$out/share/man/man8"];
|
neededDirs = ["$out/bin" "$out/share/man/man8"];
|
||||||
|
|
||||||
name = "setserial-" + version;
|
name = "setserial-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "Serial port configuration utility";
|
description = "Serial port configuration utility";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
a :
|
a @ {pciutils, libx86, zlib, ...} :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
libx86 pciutils zlib
|
libx86 pciutils zlib
|
||||||
|
@ -19,13 +19,13 @@ rec {
|
||||||
sed -e 's@$(libdir)/libpci.a@${a.pciutils}/lib/libpci.so@' -i Makefile.in
|
sed -e 's@$(libdir)/libpci.a@${a.pciutils}/lib/libpci.so@' -i Makefile.in
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lpci"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lpci"
|
||||||
'') ["doUnpack" "minInit"];
|
'') ["doUnpack" "minInit"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Video BIOS execution tool";
|
description = "Video BIOS execution tool";
|
||||||
maintainers = [
|
maintainers = [
|
||||||
a.lib.maintainers.raskin
|
a.lib.maintainers.raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = with a.lib.platforms;
|
||||||
linux;
|
linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args : with args;
|
args @ {poppler, perl, makeWrapper, ... }: with args;
|
||||||
rec {
|
rec {
|
||||||
name = "TeXLive-linkdir";
|
name = "TeXLive-linkdir";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ {texLiveLatexXColor, texLivePGF, texLive, ...}: with args;
|
||||||
rec {
|
rec {
|
||||||
name = "texlive-beamer-2013";
|
name = "texlive-beamer-2013";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ {texLive, ...}: with args;
|
||||||
rec {
|
rec {
|
||||||
name = "texlive-cm-super-2009";
|
name = "texlive-cm-super-2009";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -29,7 +29,7 @@ rec {
|
||||||
description = "Extra components for TeXLive: CM-Super fonts";
|
description = "Extra components for TeXLive: CM-Super fonts";
|
||||||
maintainers = [ args.lib.maintainers.raskin ];
|
maintainers = [ args.lib.maintainers.raskin ];
|
||||||
|
|
||||||
# Actually, arch-independent..
|
# Actually, arch-independent..
|
||||||
hydraPlatforms = [];
|
hydraPlatforms = [];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ { texLive, ... }: with args;
|
||||||
rec {
|
rec {
|
||||||
name = "context-2014.05.21";
|
name = "context-2014.05.21";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -22,4 +22,4 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
args : with args;
|
args @ {
|
||||||
|
builderDefs, zlib, bzip2, ncurses, libpng, ed, lesstif, ruby, potrace
|
||||||
|
, gd, t1lib, freetype, icu, perl, expat, curl, xz, pkgconfig, zziplib, texinfo
|
||||||
|
, libjpeg, bison, python, fontconfig, flex, poppler, libpaper, graphite2
|
||||||
|
, makeWrapper, gmp, mpfr, xpdf, config
|
||||||
|
, libXaw, libX11, xproto, libXt, libXpm
|
||||||
|
, libXmu, libXext, xextproto, libSM, libICE
|
||||||
|
, ... }: with args;
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
src = assert config.allowTexliveBuilds or true; fetchurl {
|
src = assert config.allowTexliveBuilds or true; fetchurl {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ { texLive, xz, ... }: with args;
|
||||||
rec {
|
rec {
|
||||||
name = "texlive-extra-2014";
|
name = "texlive-extra-2014";
|
||||||
version = "2014.20141024";
|
version = "2014.20141024";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ {texLive, unzip, ...}: with args;
|
||||||
rec {
|
rec {
|
||||||
version = "1.5.1";
|
version = "1.5.1";
|
||||||
name = "moderncv-${version}";
|
name = "moderncv-${version}";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ {texLive, unzip, ...}: with args;
|
||||||
rec {
|
rec {
|
||||||
version = "0.9";
|
version = "0.9";
|
||||||
name = "moderntimeline-${version}";
|
name = "moderntimeline-${version}";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
args: with args;
|
args @ {texLive, ... }: with args;
|
||||||
rec {
|
rec {
|
||||||
name = "texlive-latex-xcolor-2007";
|
name = "texlive-latex-xcolor-2007";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
a :
|
a @ {imake, libX11, xproto, gccmakedep, libXt
|
||||||
let
|
, libXmu, libXaw, libXext, xextproto, libSM, libICE, libXpm
|
||||||
|
, libXp, ...} :
|
||||||
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
libX11 xproto imake gccmakedep libXt libXmu libXaw
|
libX11 xproto imake gccmakedep libXt libXmu libXaw
|
||||||
libXext xextproto libSM libICE libXpm libXp
|
libXext xextproto libSM libICE libXpm libXp
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
|
@ -29,7 +31,7 @@ rec {
|
||||||
doXMKMF = a.fullDepEntry (''
|
doXMKMF = a.fullDepEntry (''
|
||||||
xmkmf
|
xmkmf
|
||||||
'') ["doUnpack" "minInit" "addInputs"];
|
'') ["doUnpack" "minInit" "addInputs"];
|
||||||
|
|
||||||
name = "vncrec-0.2"; # version taken from Arch AUR
|
name = "vncrec-0.2"; # version taken from Arch AUR
|
||||||
meta = {
|
meta = {
|
||||||
description = "VNC recorder";
|
description = "VNC recorder";
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue