mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
Merge pull request #12701 from mayflower/builder-def-cleanup
builderDefsPackage cleanup
This commit is contained in:
commit
0b3becb269
@ -1,58 +0,0 @@
|
||||
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
|
||||
optional: purple2Source: purple-2 source - place to copy libpurple from
|
||||
(to use a fresher pidgin build)
|
||||
*/
|
||||
let
|
||||
externalPurple2 = (lib.attrByPath ["purple2Source"] null args) != null;
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/funpidgin/carrier-2.5.0.tar.bz2;
|
||||
sha256 = "0m80s7hnvz5vc2dy3xiy1zfb6incmb7p28zahzxdif2vz44riz28";
|
||||
};
|
||||
|
||||
buildInputs = [gtkspell aspell
|
||||
gstreamer startupnotification
|
||||
libxml2 openssl nss
|
||||
libXScrnSaver ncurses scrnsaverproto
|
||||
libX11 xproto kbproto GConf avahi
|
||||
dbus dbus_glib glib python
|
||||
autoconf libtool automake];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pkgconfig gtk perl perlXMLParser gettext
|
||||
];
|
||||
|
||||
configureFlags="--with-nspr-includes=${nss}/include/nspr"
|
||||
+ " --with-nspr-libs=${nss}/lib --with-nss-includes=${nss}/include/nss"
|
||||
+ " --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include"
|
||||
+ " --enable-screensaver --disable-meanwhile --disable-nm --disable-tcl";
|
||||
|
||||
preBuild = fullDepEntry (''
|
||||
export echo=echo
|
||||
'') [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doConfigure" "preBuild" "doMakeInstall"]
|
||||
++ (lib.optional externalPurple2 "postInstall")
|
||||
;
|
||||
|
||||
name = "carrier-2.5.0";
|
||||
meta = {
|
||||
description = "PidginIM GUI fork with user-friendly development model";
|
||||
homepage = http://funpidgin.sf.net;
|
||||
};
|
||||
} // (if externalPurple2 then {
|
||||
postInstall = fullDepEntry (''
|
||||
mkdir -p $out/lib/purple-2
|
||||
cp ${args.purple2Source}/lib/purple-2/* $out/lib/purple-2/
|
||||
'') ["minInit" "defEnsureDir"]; }
|
||||
else {})
|
||||
|
||||
|
@ -1,98 +0,0 @@
|
||||
a @ { mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, libXcursor, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = "1.5";
|
||||
buildInputs = with a; [
|
||||
mesa lesstif libX11 libXaw xproto libXt libSM libICE
|
||||
libXmu libXext libXcursor
|
||||
];
|
||||
in
|
||||
rec {
|
||||
srcNcbiStdH = fetchurl {
|
||||
url = "http://www.math.uu.nl/people/kuznet/CONTENT/src/unix/ncbistd.h";
|
||||
sha256 = "1zi3l53b0a7d3620rhxvh1jn7pz3ihl1mxl9qqw86xkmhm4q7xf3";
|
||||
};
|
||||
|
||||
srcVibrant = fetchurl {
|
||||
url = "http://www.math.uu.nl/people/kuznet/CONTENT/src/unix/vibrant.tar.gz";
|
||||
sha256 = "1s0vsa0np3sm7jh3ps3f1sf4j64v0kw4hqasllpxx5hdgxwd8y25";
|
||||
};
|
||||
|
||||
srcContent = fetchurl {
|
||||
url = "http://www.math.uu.nl/people/kuznet/CONTENT/src/unix/content_${version}.tar.gz";
|
||||
sha256 = "0y0dzr1d3jgbd53729jk6s2wpb5hv54xwbdird4r0s15bznpm6fs";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["unpackTarballs"
|
||||
"setPlatform" "extraVars"
|
||||
"buildVibrant" "buildContent"
|
||||
"install"];
|
||||
|
||||
unpackTarballs = a.fullDepEntry (''
|
||||
mkdir content
|
||||
cd content
|
||||
mkdir vibrant
|
||||
tar -xvf ${srcVibrant} -C vibrant
|
||||
tar -xvf ${srcContent} -C .
|
||||
sed -e s/SGI=/SGI=no/ -i content/makefile_v
|
||||
'') ["minInit"];
|
||||
|
||||
platformTLAContent = if a.stdenv.isLinux then "LIN" else
|
||||
throw "Three-letter code for the platform is not known";
|
||||
|
||||
platformTLAVibrant = if a.stdenv.isLinux then "lnx" else
|
||||
throw "Three-letter code for the platform is not known";
|
||||
|
||||
setPlatform = a.fullDepEntry (''
|
||||
sed -e 's/${platformTLAContent}=no/${platformTLAContent}=/' -i content/makefile_v
|
||||
'') ["minInit" "unpackTarballs"];
|
||||
|
||||
extraVars = a.noDepEntry ''
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lXcursor"
|
||||
'';
|
||||
|
||||
buildVibrant = a.fullDepEntry (''
|
||||
cd vibrant/build
|
||||
|
||||
export LCL=${platformTLAVibrant}
|
||||
make copy
|
||||
for i in *.c; do gcc $i -c -DWIN_MOTIF -I. -I../include; done
|
||||
sh ../make/viball.${platformTLAVibrant}
|
||||
|
||||
cd ../..
|
||||
'') ["addInputs" "unpackTarballs"];
|
||||
|
||||
buildContent = a.fullDepEntry (''
|
||||
cd content
|
||||
|
||||
export PATH=$PATH:$PWD/victor:$PWD/yuri
|
||||
make -f makefile_v unix
|
||||
|
||||
cd ..
|
||||
'') ["addInputs" "buildVibrant" "setPlatform"];
|
||||
|
||||
install = a.fullDepEntry (''
|
||||
mkdir -p $out/share/${name}/build-snapshot $out/bin $out/lib $out/share/${name}/doc
|
||||
find . -name '*.o' -exec cp '{}' $out/lib ';'
|
||||
find . -name '*.so' -exec cp '{}' $out/lib ';'
|
||||
find . -name '*.txt' -exec cp '{}' $out/share/${name}/doc ';'
|
||||
find . -name '*.hlp' -exec cp '{}' $out/share/${name}/doc ';'
|
||||
find . -perm -0100 -a ! -name '*.*' -exec cp '{}' $out/bin ';'
|
||||
cp -r . $out/share/${name}/build-snapshot
|
||||
'') ["buildContent" "defEnsureDir" "minInit"];
|
||||
|
||||
name = "content-" + version;
|
||||
meta = {
|
||||
description = "A tool for analysis of dynamical systems";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = a.lib.platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
@ -11,9 +11,6 @@ stdenv.mkDerivation {
|
||||
patches = [ ./getcwd-chroot.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
# Fix location of info and man directories.
|
||||
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
|
||||
|
||||
# Apply the Debian patches.
|
||||
for p in "debian/patches/"*; do
|
||||
echo "applying \`$p' ..."
|
||||
|
@ -1,33 +0,0 @@
|
||||
args @ { graphviz, pkgconfig, autoconf, automake, libtool, glib, gtk, ... }: with args;
|
||||
rec {
|
||||
srcDrv = fetchmtn {
|
||||
name = "monotone-viz-mtn-checkout";
|
||||
dbs = ["monotone.mtn-host.prjek.net"];
|
||||
selector = "c3fdb3af1c7c89989c7da8062bb62203f2aaccf0";
|
||||
branch = "net.venge.monotone-viz.new-stdio";
|
||||
sha256 = "661c6a49d442b7e5a7ba455bb9a892e7e12b3968c2ddd69375e7bd0cd0b3ecb9";
|
||||
};
|
||||
src = srcDrv + "/";
|
||||
|
||||
buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib
|
||||
pkgconfig autoconf automake libtool];
|
||||
configureFlags = ["--with-lablgtk-dir=$(echo ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2)"];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doAutoconf" "doPatch" "doConfigure" "doMakeInstall"];
|
||||
|
||||
doAutoconf = fullDepEntry(''
|
||||
aclocal -I .
|
||||
autoconf -I .
|
||||
'') ["minInit" "addInputs" "doUnpack"];
|
||||
|
||||
name = "monotone-viz-mtn-head";
|
||||
meta = {
|
||||
description = "Monotone commit tree visualizer";
|
||||
maintainers = [args.lib.maintainers.raskin];
|
||||
};
|
||||
passthru = {
|
||||
inherit srcDrv;
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,9 @@
|
||||
args @ { makeWrapper, python, ... }: with args;
|
||||
let version = if args ? version then args.version else "0.9.35"; in
|
||||
rec {
|
||||
{ stdenv, fetchurl, pythonPackages }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "tailor-${version}";
|
||||
version = "0.9.35";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://darcs.arstecnica.it/tailor/tailor-${version}.tar.gz"
|
||||
@ -9,13 +12,6 @@ rec {
|
||||
sha256 = "061acapxxn5ab3ipb5nd3nm8pk2xj67bi83jrfd6lqq3273fmdjh";
|
||||
};
|
||||
|
||||
buildInputs = [python makeWrapper];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
|
||||
|
||||
name = "tailor-" + version;
|
||||
meta = {
|
||||
description = "Version control tools integration tool";
|
||||
};
|
||||
|
@ -1,44 +0,0 @@
|
||||
args @ { monotone, cheetahTemplate, highlight, ctags, makeWrapper, graphviz, which, python, ... }: with args;
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://viewmtn.1erlei.de/downloads/viewmtn-0.10.tgz;
|
||||
sha256 = "1c6y708xaf6pds1r6l00q7vpgfagfbnf95kqj168vw3xr3l8a4yx";
|
||||
};
|
||||
|
||||
buildInputs = [python flup highlight monotone
|
||||
cheetahTemplate makeWrapper graphviz which];
|
||||
configureFlags = [];
|
||||
makeFlags = ["PREFIX=$out"];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doInstall"
|
||||
(doPatchShebangs "$out/bin")
|
||||
(makeManyWrappers "$out/bin/*"
|
||||
(pythonWrapperArguments + preservePathWrapperArguments))
|
||||
];
|
||||
|
||||
doInstall = fullDepEntry (''
|
||||
for i in dot mtn highlight; do
|
||||
sed -e "s@/usr/bin/$i@$(which $i)@" -i config.py.example
|
||||
done
|
||||
sed -e "s@'templates/'@'$out/share/viewmtn/templates/'@" -i config.py.example
|
||||
|
||||
fullOut=$(toPythonPath $out)
|
||||
|
||||
mkdir -p $fullOut
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/viewmtn
|
||||
|
||||
cp -r * $fullOut
|
||||
cp $fullOut/viewmtn.py $out/bin
|
||||
|
||||
ln -s $fullOut/{AUTHORS,ChangeLog,INSTALL,LICENSE,README,TODO,config.py.example} $out/share/viewmtn
|
||||
ln -s $fullOut/templates $out/share/viewmtn/
|
||||
ln -s $fullOut/static $out/share/viewmtn/
|
||||
'') ["minInit" "defEnsureDir" "addInputs" "doUnpack"];
|
||||
|
||||
name = "viewmtn-0.10";
|
||||
meta = {
|
||||
description = "Monotone web interface";
|
||||
};
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
args : with args;
|
||||
let version = lib.attrByPath ["version"] "2.04" args; in
|
||||
rec {
|
||||
{ stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "arkpandora-${version}";
|
||||
version = "2.04";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ttf-arkpandora-${version}.tgz"
|
||||
@ -10,13 +12,11 @@ rec {
|
||||
sha256 = "16mfxwlgn6vs3xn00hha5dnmz6bhjiflq138y4zcq3yhk0y9bz51";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doUnpack" "installFonts"];
|
||||
|
||||
name = "arkpandora-" + version;
|
||||
meta = {
|
||||
description = "Font, metrically identical to Arial and Times New Roman";
|
||||
};
|
||||
|
@ -1,4 +1,6 @@
|
||||
args @ { fetchurl, fontforge, lib, ... }: with args; rec {
|
||||
{ stdenv, fetchurl, fontforge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "linux-libertine-5.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
@ -6,18 +8,37 @@ args @ { fetchurl, fontforge, lib, ... }: with args; rec {
|
||||
sha256 = "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v";
|
||||
};
|
||||
|
||||
setSourceRoot = "sourceRoot=`pwd`";
|
||||
|
||||
buildInputs = [ fontforge ];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
|
||||
|
||||
extraFontForgeCommands = ''
|
||||
ScaleToEm(1000);
|
||||
buildPhase = ''
|
||||
for i in *.sfd; do
|
||||
fontforge -c \
|
||||
'Open($1);
|
||||
ScaleToEm(1000);
|
||||
Reencode("unicode");
|
||||
Generate($1:r + ".ttf");
|
||||
Generate($1:r + ".otf");
|
||||
Reencode("TeX-Base-Encoding");
|
||||
Generate($1:r + ".afm");
|
||||
Generate($1:r + ".pfm");
|
||||
Generate($1:r + ".pfb");
|
||||
Generate($1:r + ".map");
|
||||
Generate($1:r + ".enc");
|
||||
' $i;
|
||||
done
|
||||
'';
|
||||
|
||||
doUnpack = lib.fullDepEntry ''
|
||||
tar xf ${src}
|
||||
'' ["minInit"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,type1}/public
|
||||
mkdir -p $out/share/texmf/fonts/{enc,map}
|
||||
cp *.otf $out/share/fonts/opentype/public
|
||||
cp *.ttf $out/share/fonts/truetype/public
|
||||
cp *.pfb $out/share/fonts/type1/public
|
||||
cp *.enc $out/share/texmf/fonts/enc
|
||||
cp *.map $out/share/texmf/fonts/map
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Linux Libertine Fonts";
|
||||
|
@ -1,56 +1,52 @@
|
||||
a @ { mpfr, m4, binutils, fetchcvs, emacs, zlib, which
|
||||
, texinfo, libX11, xproto, inputproto, libXi
|
||||
, libXext, xextproto, libXt, libXaw, libXmu, stdenv, ... } :
|
||||
let
|
||||
buildInputs = with a; [
|
||||
{ stdenv, fetchurl, mpfr, m4, binutils, fetchcvs, emacs, zlib, which
|
||||
, texinfo, libX11, xproto, inputproto, libXi, gmp
|
||||
, libXext, xextproto, libXt, libXaw, libXmu } :
|
||||
|
||||
assert stdenv ? cc ;
|
||||
assert stdenv.cc.isGNU ;
|
||||
assert stdenv.cc ? libc ;
|
||||
assert stdenv.cc.libc != null ;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gcl-${version}";
|
||||
version = "2.6.12";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "1s4hs2qbjqmn9h88l4xvsifq5c3dlc5s74lyb61rdi5grhdlkf4f";
|
||||
url = "http://gnu.spinellicreations.com/gcl/${name}.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
mpfr m4 binutils emacs gmp
|
||||
libX11 xproto inputproto libXi
|
||||
libXext xextproto libXt libXaw libXmu
|
||||
zlib which texinfo
|
||||
];
|
||||
in
|
||||
|
||||
(
|
||||
assert a.stdenv ? cc ;
|
||||
assert a.stdenv.cc.isGNU ;
|
||||
assert a.stdenv.cc ? libc ;
|
||||
assert a.stdenv.cc.libc != null ;
|
||||
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
sha256 = "1s4hs2qbjqmn9h88l4xvsifq5c3dlc5s74lyb61rdi5grhdlkf4f";
|
||||
url="http://gnu.spinellicreations.com/gcl/${name}.tar.gz";
|
||||
};
|
||||
|
||||
name = "gcl-2.6.12";
|
||||
inherit buildInputs;
|
||||
configureFlags = [
|
||||
"--enable-ansi"
|
||||
];
|
||||
|
||||
# Upstream bug submitted - http://savannah.gnu.org/bugs/index.php?30371
|
||||
# $TMPDIR must have no extension
|
||||
setVars = a.noDepEntry ''
|
||||
export TMPDIR="''${TMPDIR:-''${TMP:-''${TEMP}}}/tmp-for-gcl"
|
||||
mkdir -p "$TMPDIR"
|
||||
# setVars = a.noDepEntry ''
|
||||
# export TMPDIR="''${TMPDIR:-''${TMP:-''${TEMP}}}/tmp-for-gcl"
|
||||
# mkdir -p "$TMPDIR"
|
||||
# '';
|
||||
|
||||
preBuild = ''
|
||||
# sed -re "s@/bin/cat@$(which cat)@g" -i configure */configure
|
||||
# sed -re "s@if test -d /proc/self @if false @" -i configure
|
||||
# sed -re 's^([ \t])cpp ^\1cpp -I${stdenv.cc.cc}/include -I${stdenv.cc.libc}/include ^g' -i makefile
|
||||
'';
|
||||
|
||||
preBuild = a.fullDepEntry (''
|
||||
sed -re "s@/bin/cat@$(which cat)@g" -i configure */configure
|
||||
sed -re "s@if test -d /proc/self @if false @" -i configure
|
||||
sed -re 's^([ \t])cpp ^\1cpp -I${a.stdenv.cc.cc}/include -I${a.stdenv.cc.libc}/include ^g' -i makefile
|
||||
'') ["minInit" "doUnpack" "addInputs"];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["setVars" "doUnpack" "preBuild"
|
||||
"doConfigure" "doMakeInstall"];
|
||||
}) // {
|
||||
# phaseNames = ["setVars" "doUnpack" "preBuild"
|
||||
# "doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "GNU Common Lisp compiler working via GCC";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,45 +1,35 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, sbcl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "acl2-${version}";
|
||||
version = "v6-5";
|
||||
|
||||
version = a.lib.attrByPath ["version"] "v6-5" a;
|
||||
buildInputs = with a; [
|
||||
sbcl
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://www.cs.utexas.edu/users/moore/acl2/${version}/distrib/acl2.tar.gz";
|
||||
sha256 = "19kfclgpdyms016s06pjf3icj3mx9jlcj8vfgpbx2ac4ls0ir36g";
|
||||
name = "acl2-${version}.tar.gz";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
buildInputs = [ sbcl ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doDeploy" "doBuild"];
|
||||
|
||||
makeFlags = ["LISP='${a.sbcl}/bin/sbcl'"];
|
||||
phases = "unpackPhase installPhase";
|
||||
|
||||
installSuffix = "acl2";
|
||||
doDeploy = (a.simplyShare installSuffix);
|
||||
doBuild = a.fullDepEntry (''
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/${installSuffix}
|
||||
cp -R . $out/share/${installSuffix}
|
||||
cd $out/share/${installSuffix}
|
||||
make LISP='${a.sbcl}/bin/sbcl --dynamic-space-size 2000'
|
||||
make LISP='${a.sbcl}/bin/sbcl --dynamic-space-size 2000' regression
|
||||
mkdir -p "$out/bin"
|
||||
cp saved_acl2 "$out/bin/acl2"
|
||||
'') ["doDeploy" "addInputs" "defEnsureDir"];
|
||||
|
||||
name = "acl2-" + version;
|
||||
make 'LISP=${sbcl}/bin/sbcl --dynamic-space-size 2000'
|
||||
make 'LISP=${sbcl}/bin/sbcl --dynamic-space-size 2000' regression
|
||||
make LISP=${sbcl}/bin/sbcl TAGS
|
||||
mkdir -p $out/bin
|
||||
cp saved_acl2 $out/bin/acl2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An interpreter and a prover for a Lisp dialect";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ raskin ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,54 +0,0 @@
|
||||
a @ { tcsh, mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, ... }:
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = "20090809";
|
||||
buildInputs = with a; [
|
||||
tcsh libX11 libXaw lesstif xproto mesa libXt
|
||||
libSM libICE libXmu libXext
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/${version}/ncbi.tar.gz";
|
||||
sha256 = "05bbnqk6ffvhi556fsabcippzq2zrkynbk09qblzvfzip9hlk1qc";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["preBuild" "build" "deploy"];
|
||||
|
||||
preBuild = a.fullDepEntry (''
|
||||
sed -e 's@#!/bin/csh@#! ${a.tcsh}/bin/csh@' -i $(fgrep '#!/bin/csh' -rl build make)
|
||||
sed -e '/set path/d' -i make/ln-if-absent
|
||||
sed -e 's@/usr/include @${a.lesstif}/include ${a.mesa}/include @' -i make/makedis.csh
|
||||
sed -e 's@/usr/[a-zA-Z0-9]*/include @@g; s@/usr/include/[a-zA-Z0-9/] @@g' -i make/makedis.csh
|
||||
cd ..
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
||||
build = a.fullDepEntry (''
|
||||
./ncbi/make/makedis.csh
|
||||
'') ["preBuild" "addInputs"];
|
||||
|
||||
deploy = a.fullDepEntry (''
|
||||
mkdir -p $out/bin $out/lib $out/include $out/source $out/share/${name}/build-snapshot
|
||||
cd ncbi/build
|
||||
cp *.o *.so $out/lib
|
||||
cp -r . $out/share/${name}/build-snapshot
|
||||
cp ../make/makedis.csh $out/share/${name}/build-snapshot
|
||||
cp *.h $out/include
|
||||
cp *.c *.h $out/source
|
||||
find . -perm -0100 -a '(' '(' ! -name '*.*' ')' -o '(' -name '*.REAL' ')' ')' -exec cp '{}' $out/bin ';'
|
||||
'') ["defEnsureDir" "build" "minInit"];
|
||||
|
||||
name = "NCBI-Toolbox-" + version;
|
||||
meta = {
|
||||
description = "NCBI general-purpose portable toolkit";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
#platforms = a.lib.platforms.linux ;
|
||||
};
|
||||
}
|
@ -1,31 +1,26 @@
|
||||
a @ { python, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, buildPythonPackage, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "python-libsexy-${version}";
|
||||
version = "0.1.9";
|
||||
|
||||
version = a.lib.attrByPath ["version"] "0.1.9" a;
|
||||
buildInputs = with a; [
|
||||
pkgconfig pygtk
|
||||
];
|
||||
propagatedBuildInputs = with a; [
|
||||
libsexy python gtk glib pango libxml2
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
|
||||
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
|
||||
};
|
||||
|
||||
inherit buildInputs propagatedBuildInputs;
|
||||
configureFlags = [];
|
||||
buildInputs = [
|
||||
pkgconfig pygtk
|
||||
];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall" "postInstall"];
|
||||
postInstall = a.fullDepEntry (''
|
||||
propagatedBuildInputs = [
|
||||
libsexy gtk glib pango libxml2
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/lib/python*/site-packages/gtk-2.0/* $out/lib/python*/site-packages/
|
||||
'') ["minInit"];
|
||||
'';
|
||||
|
||||
name = "python-libsexy-" + version;
|
||||
meta = {
|
||||
description = "Python libsexy bindings";
|
||||
};
|
||||
|
@ -1,30 +0,0 @@
|
||||
a @ { mesa, SDL, SDL_image, SDL_mixer, ... } :
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
mesa SDL SDL_mixer SDL_image
|
||||
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit (s) name;
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
preBuild = a.fullDepEntry (''
|
||||
sed -e "s@/usr/games@$out/bin@g" -i Makefile
|
||||
sed -e "s@/usr/@$out/@g" -i Makefile
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL"
|
||||
'') ["minInit" "addInputs" "doUnpack"];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["preBuild" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "A physics-based game";
|
||||
maintainers = [ a.lib.maintainers.raskin ];
|
||||
platforms = a.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
rec {
|
||||
version="1.0.2";
|
||||
name="jamp-1.0.2";
|
||||
hash="13cjggyx63wmlcvpyllmd7aknfd4vzhxnwm030mas7z3h6wcsmk7";
|
||||
url="http://perre.noud.ch/jamp/download.php?file=jamp-${version}.tar.gz";
|
||||
advertisedUrl="http://perre.noud.ch/jamp/download.php?file=jamp-1.0.2.tar.gz";
|
||||
|
||||
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
downloadPage = "http://perre.noud.ch/jamp/";
|
||||
baseName = "jamp";
|
||||
}
|
@ -1,24 +1,19 @@
|
||||
args @ { libX11, libXext, xextproto, libICE, libSM, xproto, libpng, zlib, ... }: with args;
|
||||
let
|
||||
version = lib.attrByPath ["version"] "1.12.1" args;
|
||||
sha256 = lib.attrByPath ["sha256"]
|
||||
"0xmrp7vkkp1hfblb6nl3rh2651qsbcm21bnncpnma1sf40jaf8wj" args;
|
||||
pkgName = "lincity";
|
||||
in
|
||||
rec {
|
||||
{ stdenv, fetchurl, libX11, libXext, xextproto, libICE, libSM, xproto, libpng, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lincity-${version}";
|
||||
version = "1.12.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/lincity/${pkgName}-${version}.tar.gz";
|
||||
inherit sha256;
|
||||
url = "mirror://sourceforge/lincity/${name}.tar.gz";
|
||||
sha256 = "0xmrp7vkkp1hfblb6nl3rh2651qsbcm21bnncpnma1sf40jaf8wj";
|
||||
};
|
||||
|
||||
buildInputs = [libICE libpng libSM libX11 libXext
|
||||
xextproto zlib xproto];
|
||||
configureFlags = [];
|
||||
buildInputs = [
|
||||
libICE libpng libSM libX11 libXext
|
||||
xextproto zlib xproto
|
||||
];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
name = "${pkgName}-" + version;
|
||||
meta = {
|
||||
description = "City simulation game";
|
||||
};
|
||||
|
@ -1,35 +1,40 @@
|
||||
a @ { ncurses, flex, bison, autoconf, automake, m4, coreutils, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, ncurses, flex, bison, autoconf, automake, m4, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zangband-${version}";
|
||||
version = "2.7.3";
|
||||
|
||||
version = a.lib.attrByPath ["version"] "2.7.3" a;
|
||||
buildInputs = with a; [
|
||||
ncurses flex bison autoconf automake m4
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.sunet.se/pub/games/Angband/Variant/ZAngband/zangband-${version}.tar.gz";
|
||||
sha256 = "0654m8fzklsc8565sqdad76mxjsm1z9c280srq8863sd10af0bdq";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
buildInputs = [
|
||||
ncurses flex bison autoconf automake m4
|
||||
];
|
||||
|
||||
preConfigure = a.fullDepEntry (''
|
||||
# fails during chmod due to broken permissions
|
||||
dontMakeSourcesWritable = true;
|
||||
postUnpack = ''
|
||||
chmod a+rwX -R .
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
sed -re 's/ch(own|grp|mod)/true/' -i lib/*/makefile.zb makefile.in
|
||||
sed -e '/FIXED_PATHS/d' -i src/z-config.h
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/games/zangband
|
||||
mkdir -p $out/share/man
|
||||
mkdir -p $out/bin
|
||||
'') ["minInit" "doUnpack" "addInputs" "defEnsureDir"];
|
||||
'';
|
||||
|
||||
postInstall = a.fullDepEntry (''
|
||||
postInstall = ''
|
||||
mv $out/bin/zangband $out/bin/.zangband.real
|
||||
echo '#! /bin/sh
|
||||
PATH="$PATH:${a.coreutils}/bin"
|
||||
PATH="$PATH:${coreutils}/bin"
|
||||
|
||||
ZANGBAND_PATH="$HOME/.zangband"
|
||||
ORIG_PATH="'$out'"/share/games/zangband
|
||||
@ -49,14 +54,10 @@ rec {
|
||||
"'$out'/bin/.zangband.real" "$@"
|
||||
' > $out/bin/zangband
|
||||
chmod +x $out/bin/zangband
|
||||
'') ["minInit" "doUnpack"];
|
||||
'';
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall" "postInstall"];
|
||||
|
||||
name = "zangband-" + version;
|
||||
meta = {
|
||||
description = "rogue-like game";
|
||||
license = a.lib.licenses.unfree;
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
};
|
||||
}
|
||||
|
@ -1,37 +1,39 @@
|
||||
a @ { xmpppy, pythonIRClib, python, makeWrapper, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, xmpppy, pythonIRClib, python, pythonPackages } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pyIRCt-${version}";
|
||||
version = "0.4";
|
||||
|
||||
version = a.lib.attrByPath ["version"] "0.4" a;
|
||||
buildInputs = with a; [
|
||||
xmpppy pythonIRClib python makeWrapper
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xmpppy/irc-transport-${version}.tar.gz";
|
||||
sha256 = "0gbc0dvj1p3088b6x315yjrlwnc5vvzp0var36wlf9z60ghvk8yb";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
buildInputs = [ pythonPackages.wrapPython ];
|
||||
|
||||
pythonPath = [
|
||||
xmpppy pythonIRClib
|
||||
];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["deploy" (a.makeManyWrappers "$out/share/${name}/irc.py" a.pythonWrapperArguments)];
|
||||
deploy = a.fullDepEntry (''
|
||||
# phaseNames = ["deploy" (a.makeManyWrappers "$out/share/${name}/irc.py" a.pythonWrapperArguments)];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/${name}
|
||||
sed -e 's@/usr/bin/@${a.python}/bin/@' -i irc.py
|
||||
sed -e 's@/usr/bin/@${python}/bin/@' -i irc.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.pyIRCt.xml"]' -i config.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.python-irc-transport.xml"]' -i config.py
|
||||
sed -e '/configFiles/iimport os' -i config.py
|
||||
cp * $out/share/$name
|
||||
echo "#! /bin/sh" > $out/bin/pyIRCt
|
||||
echo "cd $out/share/${name}" >> $out/bin/pyIRCt
|
||||
echo "./irc.py \"$@\"" >> $out/bin/pyIRCt
|
||||
cp * $out/share/${name}
|
||||
cat > $out/bin/pyIRCt <<EOF
|
||||
#! /bin/sh
|
||||
cd $out/share/${name}
|
||||
./irc.py \"$@\"
|
||||
EOF
|
||||
chmod a+rx $out/bin/pyIRCt $out/share/${name}/irc.py
|
||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
name = "pyIRCt-" + version;
|
||||
meta = {
|
||||
description = "IRC transport module for XMPP";
|
||||
};
|
||||
|
@ -1,39 +1,37 @@
|
||||
a @ { xmpppy, python, makeWrapper, fetchcvs, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, python, xmpppy, pythonPackages, fetchcvs } :
|
||||
|
||||
buildInputs = with a; [
|
||||
xmpppy python makeWrapper
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchcvs {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pyMAILt-${version}";
|
||||
version = "20090101";
|
||||
|
||||
src = fetchcvs {
|
||||
cvsRoot = ":pserver:anonymous@xmpppy.cvs.sourceforge.net:/cvsroot/xmpppy";
|
||||
module = "xmpppy/mail-transport";
|
||||
date = "2009-01-01";
|
||||
sha256 = "15301252e52b4ccb2156baefed8982a2a0cce3ae8eae3caf3cc28dfa615c8d6e";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
pythonPath = [ xmpppy ];
|
||||
buildInputs = [ pythonPackages.wrapPython ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["deploy" (a.makeManyWrappers "$out/share/${name}/mail.py" a.pythonWrapperArguments)];
|
||||
deploy = a.fullDepEntry (''
|
||||
installPhase = ''
|
||||
cd mail-transport
|
||||
mkdir -p $out/bin $out/share/${name}
|
||||
sed -e 's@/usr/bin/@${a.python}/bin/@' -i mail.py
|
||||
sed -e 's@/usr/bin/@${python}/bin/@' -i mail.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.pyMAILt.xml"]' -i config.py
|
||||
sed -e '/configFiles/aconfigFiles += [os.getenv("HOME")+"/.python-mail-transport.xml"]' -i config.py
|
||||
sed -e '/configFiles/iimport os' -i config.py
|
||||
cp * $out/share/$name
|
||||
echo "#! /bin/sh" > $out/bin/pyMAILt
|
||||
echo "cd $out/share/${name}" >> $out/bin/pyMAILt
|
||||
echo "./mail.py \"$@\"" >> $out/bin/pyMAILt
|
||||
cat > $out/bin/pyMAILt <<EOF
|
||||
#! /bin/sh
|
||||
cd $out/share/${name}
|
||||
./mail.py \"$@\"
|
||||
EOF
|
||||
chmod a+rx $out/bin/pyMAILt $out/share/${name}/mail.py
|
||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
name = "pyMAILt-20090101";
|
||||
meta = {
|
||||
description = "Email transport module for XMPP";
|
||||
};
|
||||
|
@ -1,30 +0,0 @@
|
||||
a @ { zlib, libpng, freetype, gd, which, libxml2, geoip, ... } :
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
zlib libpng freetype gd which libxml2
|
||||
geoip
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit (s) name;
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall" "doLinks"];
|
||||
|
||||
doLinks = a.fullDepEntry (''
|
||||
ln -s shared_en.xsl $out/share/webdruid/classic/shared.xsl
|
||||
'') ["minInit"];
|
||||
|
||||
meta = {
|
||||
description = "A web log analyzer";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = a.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
rec {
|
||||
advertisedUrl="http://downloads.sourceforge.net/webdruid/files/webdruid/0.6.0-alpha5/webdruid-0.6.0-alpha5.tar.gz";
|
||||
version = "0.6.0-alpha5";
|
||||
url="mirror://sourceforge/webdruid/webdruid-${version}.tar.gz";
|
||||
hash = "1aiqffccayvf02snl9la62zqb1674cp4rv19af6xyxgvw4334hw0";
|
||||
name = "webdruid-0.6.0-alpha5";
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
downloadPage = "http://sourceforge.net/projects/webdruid/files/";
|
||||
choiceCommand = ''head -1 | sed -re "$skipRedirectSF"'';
|
||||
versionExtractorSedScript = ''$extractReleaseSF'';
|
||||
versionReferenceCreator = ''s@$version@\''${version}@g'';
|
||||
baseName = "webdruid";
|
||||
}
|
@ -1,42 +1,19 @@
|
||||
a @ { cmake, patchelf, imagemagick, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, cmake, patchelf, imagemagick }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cuneiform-${version}";
|
||||
version = "1.1.0";
|
||||
buildInputs = with a; [
|
||||
cmake imagemagick patchelf
|
||||
];
|
||||
in
|
||||
rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2";
|
||||
sha256 = "1bdvppyfx2184zmzcylskd87cxv56d8f32jf7g1qc8779l2hszjp";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
buildInputs = [
|
||||
cmake imagemagick
|
||||
];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doCmake" "doMakeInstall" "postInstall"];
|
||||
|
||||
libc = if a.stdenv ? glibc then a.stdenv.glibc else "";
|
||||
|
||||
doCmake = a.fullDepEntry(''
|
||||
mkdir -p $PWD/builddir
|
||||
cd builddir
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -ldl -L$out/lib"
|
||||
cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=$out -DDL_LIB=${libc}/lib
|
||||
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||
|
||||
needLib64 = a.stdenv.system == "x86_64-linux";
|
||||
|
||||
postInstall = a.fullDepEntry(''
|
||||
patchelf --set-rpath $out/lib${if needLib64 then "64" else ""}${if a.stdenv.cc.cc != null then ":${a.stdenv.cc.cc}/lib" else ""}${if a.stdenv.cc.cc != null && needLib64 then ":${a.stdenv.cc.cc}/lib64" else ""}:${a.imagemagick}/lib $out/bin/cuneiform
|
||||
'') ["minInit" "addInputs" "doMakeInstall"];
|
||||
|
||||
name = "cuneiform-" + version;
|
||||
meta = {
|
||||
inherit version;
|
||||
description = "Multi-language OCR system";
|
||||
};
|
||||
}
|
||||
|
@ -1,57 +1,35 @@
|
||||
x@{builderDefsPackage
|
||||
, jre
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
["jre"];
|
||||
{ stdenv, fetchsvn, jre, makeWrapper }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="welkin";
|
||||
version="1.1";
|
||||
name="${baseName}-${version}";
|
||||
url="http://simile.mit.edu/dist/welkin/${name}.tar.gz";
|
||||
hash="0hr2xvfz887fdf2ysiqydv6m13gbdl5x0fh4960i655d5imvd5x0";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "welkin-${version}";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://simile.mit.edu/repository/welkin";
|
||||
rev = "9638";
|
||||
sha256 = "1bqh3vam7y805xrmdw7k0ckcfwjg88wypxgv3njkkwyn7kxnfnqp";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
sourceRoot = "welkin-r9638/tags/${version}";
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doDeploy" "createBin"];
|
||||
buildInputs = [ jre makeWrapper ];
|
||||
|
||||
doDeploy = a.simplyShare "welkin";
|
||||
|
||||
createBin = a.fullDepEntry ''
|
||||
mkdir -p "$out/bin"
|
||||
echo "#! ${a.stdenv.shell}" > "$out/bin/welkin"
|
||||
echo "export JAVA_HOME=${jre}" >> "$out/bin/welkin"
|
||||
echo "\"$out/share/welkin/welkin.sh\" \"\$@\"" >> "$out/bin/welkin"
|
||||
sed -e 's@[.]/lib/welkin[.]jar@"'"$out"'/share/welkin/lib/welkin.jar"@' -i "$out/share/welkin/welkin.sh"
|
||||
chmod a+x "$out/bin/welkin"
|
||||
'' ["minInit" "defEnsureDir"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,share}
|
||||
cp -R . $out/share
|
||||
cp $out/share/welkin.sh $out/bin/welkin
|
||||
sed -e 's@\./lib/welkin\.jar@'"$out"'/share/lib/welkin.jar@' -i $out/bin/welkin
|
||||
wrapProgram $out/bin/welkin \
|
||||
--set JAVA_HOME ${jre}
|
||||
chmod a+x $out/bin/welkin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An RDF visualizer";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
maintainers = with stdenv.lib.maintainers; [
|
||||
raskin
|
||||
];
|
||||
hydraPlatforms = [];
|
||||
license = a.lib.licenses.free;
|
||||
license = stdenv.lib.licenses.free;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://simile.mit.edu/dist/welkin/";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
}
|
||||
|
@ -1,31 +1,25 @@
|
||||
a @ { intltool, perl, gettext, libusb, pkgconfig, bluez, readline, pcsclite, libical, gtk, glib, libXpm, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, intltool, perl, gettext, libusb, pkgconfig, bluez
|
||||
, readline, pcsclite, libical, gtk, glib, libXpm }:
|
||||
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnokii-${version}";
|
||||
version = "0.6.31";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "0sjjhm40662bj6j0jh3sd25b8nww54nirpwamz618rg6pb5hjwm8";
|
||||
url = "http://www.gnokii.org/download/gnokii/${name}.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
perl intltool gettext libusb
|
||||
glib gtk pkgconfig bluez readline
|
||||
libXpm pcsclite libical
|
||||
];
|
||||
in
|
||||
|
||||
assert a.stdenv ? glibc;
|
||||
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = [ "doConfigure" "doMakeInstall"];
|
||||
|
||||
inherit(s) name;
|
||||
meta = {
|
||||
description = "Cellphone tool";
|
||||
homepage = http://www.gnokii.org;
|
||||
maintainers = [a.lib.maintainers.raskin];
|
||||
platforms = with a.lib.platforms; linux;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
rec {
|
||||
version="0.6.31";
|
||||
name="gnokii-0.6.31";
|
||||
hash="0sjjhm40662bj6j0jh3sd25b8nww54nirpwamz618rg6pb5hjwm8";
|
||||
url="http://www.gnokii.org/download/gnokii/gnokii-${version}.tar.gz";
|
||||
advertisedUrl="http://www.gnokii.org/download/gnokii/gnokii-0.6.31.tar.gz";
|
||||
|
||||
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
downloadPage = "http://www.gnokii.org/download/gnokii/?C=M;O=D";
|
||||
baseName = "gnokii";
|
||||
}
|
@ -1,50 +1,28 @@
|
||||
x@{builderDefsPackage
|
||||
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="altermime";
|
||||
version="0.3.10";
|
||||
name="${baseName}-${version}";
|
||||
url="http://www.pldaniels.com/${baseName}/${name}.tar.gz";
|
||||
hash="0vn3vmbcimv0n14khxr1782m76983zz9sf4j2kz5v86lammxld43";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
stdenv.mkDerivation rec {
|
||||
baseName = "altermime";
|
||||
name = "${baseName}-${version}";
|
||||
version = "0.3.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.pldaniels.com/${baseName}/${name}.tar.gz";
|
||||
sha256 = "0vn3vmbcimv0n14khxr1782m76983zz9sf4j2kz5v86lammxld43";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
patches = map fetchurl (import ./debian-patches.nix);
|
||||
|
||||
patches = map a.fetchurl (import ./debian-patches.nix);
|
||||
|
||||
phaseNames = ["doPatch" "fixTarget" "doMakeInstall"];
|
||||
fixTarget = a.fullDepEntry (''
|
||||
postPatch = ''
|
||||
sed -i Makefile -e "s@/usr/local@$out@"
|
||||
mkdir -p "$out/bin"
|
||||
'') ["doUnpack" "minInit" "defEnsureDir"];
|
||||
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "MIME alteration tool";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
maintainers = with stdenv.lib.maintainers; [
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
downloadPage = "http://www.pldaniels.com/altermime/";
|
||||
inherit version;
|
||||
updateWalker = true;
|
||||
};
|
||||
}) x
|
||||
|
||||
}
|
||||
|
@ -1666,7 +1666,7 @@ let
|
||||
|
||||
gnaural = callPackage ../applications/audio/gnaural { };
|
||||
|
||||
gnokii = builderDefsPackage (callPackage ../tools/misc/gnokii) { };
|
||||
gnokii = callPackage ../tools/misc/gnokii { };
|
||||
|
||||
gnuapl = callPackage ../development/interpreters/gnu-apl { };
|
||||
|
||||
@ -2874,7 +2874,7 @@ let
|
||||
|
||||
pythonIRClib = pythonPackages.pythonIRClib;
|
||||
|
||||
pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { };
|
||||
pythonSexy = callPackage ../development/python-modules/libsexy { };
|
||||
|
||||
pytrainer = callPackage ../applications/misc/pytrainer { };
|
||||
|
||||
@ -3621,8 +3621,6 @@ let
|
||||
|
||||
webalizer = callPackage ../tools/networking/webalizer { };
|
||||
|
||||
webdruid = builderDefsPackage (callPackage ../tools/admin/webdruid) {};
|
||||
|
||||
weighttp = callPackage ../tools/networking/weighttp { };
|
||||
|
||||
wget = callPackage ../tools/networking/wget {
|
||||
@ -4164,7 +4162,7 @@ let
|
||||
|
||||
ghdl_mcode = callPackage ../development/compilers/ghdl { };
|
||||
|
||||
gcl = builderDefsPackage (callPackage ../development/compilers/gcl) {
|
||||
gcl = callPackage ../development/compilers/gcl {
|
||||
gmp = gmp4;
|
||||
};
|
||||
|
||||
@ -5089,7 +5087,7 @@ let
|
||||
|
||||
### DEVELOPMENT / INTERPRETERS
|
||||
|
||||
acl2 = builderDefsPackage (callPackage ../development/interpreters/acl2) {
|
||||
acl2 = callPackage ../development/interpreters/acl2 {
|
||||
sbcl = sbcl_1_2_0;
|
||||
};
|
||||
|
||||
@ -9579,9 +9577,9 @@ let
|
||||
|
||||
pumpio = callPackage ../servers/web-apps/pump.io { };
|
||||
|
||||
pyIRCt = builderDefsPackage (callPackage ../servers/xmpp/pyIRCt) {};
|
||||
pyIRCt = callPackage ../servers/xmpp/pyIRCt {};
|
||||
|
||||
pyMAILt = builderDefsPackage (callPackage ../servers/xmpp/pyMAILt) {};
|
||||
pyMAILt = callPackage ../servers/xmpp/pyMAILt {};
|
||||
|
||||
qpid-cpp = callPackage ../servers/amqp/qpid-cpp {
|
||||
boost = boost155;
|
||||
@ -10828,7 +10826,7 @@ let
|
||||
|
||||
anonymousPro = callPackage ../data/fonts/anonymous-pro { };
|
||||
|
||||
arkpandora_ttf = builderDefsPackage (callPackage ../data/fonts/arkpandora) { };
|
||||
arkpandora_ttf = callPackage ../data/fonts/arkpandora { };
|
||||
|
||||
aurulent-sans = callPackage ../data/fonts/aurulent-sans { };
|
||||
|
||||
@ -10958,7 +10956,7 @@ let
|
||||
liberation_ttf_binary = callPackage ../data/fonts/redhat-liberation-fonts/binary.nix { };
|
||||
liberation_ttf = liberation_ttf_binary;
|
||||
|
||||
libertine = builderDefsPackage (callPackage ../data/fonts/libertine) { };
|
||||
libertine = callPackage ../data/fonts/libertine { };
|
||||
|
||||
lmmath = callPackage ../data/fonts/lmodern/lmmath.nix {};
|
||||
|
||||
@ -11349,11 +11347,6 @@ let
|
||||
|
||||
carddav-util = callPackage ../tools/networking/carddav-util { };
|
||||
|
||||
carrier = builderDefsPackage (callPackage ../applications/networking/instant-messengers/carrier/2.5.0.nix) {
|
||||
inherit (gnome) startupnotification GConf ;
|
||||
};
|
||||
funpidgin = carrier;
|
||||
|
||||
cava = callPackage ../applications/audio/cava { };
|
||||
|
||||
cbatticon = callPackage ../applications/misc/cbatticon { };
|
||||
@ -11463,7 +11456,7 @@ let
|
||||
liblapack = liblapackWithoutAtlas;
|
||||
};
|
||||
|
||||
cuneiform = builderDefsPackage (callPackage ../tools/graphics/cuneiform) {};
|
||||
cuneiform = callPackage ../tools/graphics/cuneiform {};
|
||||
|
||||
cutecom = callPackage ../tools/misc/cutecom { };
|
||||
|
||||
@ -12647,11 +12640,6 @@ let
|
||||
lua = lua5;
|
||||
};
|
||||
|
||||
monotoneViz = builderDefsPackage (callPackage ../applications/version-management/monotone-viz/mtn-head.nix) {
|
||||
inherit (ocamlPackages_4_01_0) lablgtk ocaml;
|
||||
inherit (gnome) libgnomecanvas;
|
||||
};
|
||||
|
||||
mopidy = callPackage ../applications/audio/mopidy { };
|
||||
|
||||
mopidy-gmusic = callPackage ../applications/audio/mopidy-gmusic { };
|
||||
@ -13420,7 +13408,7 @@ let
|
||||
numpy pyasn1 mock zope_interface;
|
||||
};
|
||||
|
||||
tailor = builderDefsPackage (callPackage ../applications/version-management/tailor) {};
|
||||
tailor = callPackage ../applications/version-management/tailor {};
|
||||
|
||||
tangogps = callPackage ../applications/misc/tangogps {
|
||||
gconf = gnome.GConf;
|
||||
@ -13583,11 +13571,6 @@ let
|
||||
|
||||
vdpauinfo = callPackage ../tools/X11/vdpauinfo { };
|
||||
|
||||
viewMtn = builderDefsPackage (callPackage ../applications/version-management/viewmtn/0.10.nix)
|
||||
{
|
||||
flup = pythonPackages.flup;
|
||||
};
|
||||
|
||||
vim = callPackage ../applications/editors/vim {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||
};
|
||||
@ -14259,15 +14242,13 @@ let
|
||||
lua = lua5;
|
||||
};
|
||||
|
||||
jamp = builderDefsPackage (callPackage ../games/jamp) {};
|
||||
|
||||
klavaro = callPackage ../games/klavaro {};
|
||||
|
||||
kobodeluxe = callPackage ../games/kobodeluxe { };
|
||||
|
||||
lgogdownloader = callPackage ../games/lgogdownloader { };
|
||||
|
||||
lincity = builderDefsPackage (callPackage ../games/lincity) {};
|
||||
lincity = callPackage ../games/lincity {};
|
||||
|
||||
lincity_ng = callPackage ../games/lincity/ng.nix {};
|
||||
|
||||
@ -14580,7 +14561,7 @@ let
|
||||
|
||||
zandronum-bin = callPackage ../games/zandronum/bin.nix { };
|
||||
|
||||
zangband = builderDefsPackage (callPackage ../games/zangband) {};
|
||||
zangband = callPackage ../games/zangband { };
|
||||
|
||||
zdoom = callPackage ../games/zdoom { };
|
||||
|
||||
@ -14953,8 +14934,6 @@ let
|
||||
|
||||
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
||||
|
||||
ncbiCTools = builderDefsPackage (callPackage ../development/libraries/ncbi) {};
|
||||
|
||||
ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };
|
||||
|
||||
paml = callPackage ../applications/science/biology/paml { };
|
||||
@ -14982,8 +14961,6 @@ let
|
||||
|
||||
blas = callPackage ../development/libraries/science/math/blas { };
|
||||
|
||||
content = builderDefsPackage (callPackage ../applications/science/math/content) {};
|
||||
|
||||
jags = callPackage ../applications/science/math/jags { };
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user