Merge pull request #11248 from joachifm/more-trivial-builderDefs
More trivial builderDefs translations
This commit is contained in:
commit
d53213677d
|
@ -1,34 +1,28 @@
|
||||||
a @ { libXt, libX11, libXext, xextproto, xproto, gsl, aalib, zlib, intltool, gettext, perl, ... }:
|
{ stdenv, fetchurl, aalib, gsl, libpng, libX11, xproto, libXext
|
||||||
let
|
, xextproto, libXt, zlib, gettext, intltool, perl }:
|
||||||
fetchurl = a.fetchurl;
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xaos-${version}";
|
||||||
|
version = "3.6";
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "3.6" a;
|
|
||||||
buildInputs = with a; [
|
|
||||||
aalib gsl libpng libX11 xproto libXext xextproto
|
|
||||||
libXt zlib gettext intltool perl
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/xaos/xaos-${version}.tar.gz";
|
url = "mirror://sourceforge/xaos/${name}.tar.gz";
|
||||||
sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
|
sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [
|
||||||
configureFlags = [];
|
aalib gsl libpng libX11 xproto libXext xextproto
|
||||||
|
libXt zlib gettext intltool perl
|
||||||
|
];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
preConfigure = a.fullDepEntry (''
|
|
||||||
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
||||||
mkdir -p $out/share/locale
|
mkdir -p $out/share/locale
|
||||||
'') ["doUnpack" "minInit" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
name = "xaos-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://xaos.sourceforge.net/;
|
homepage = http://xaos.sourceforge.net/;
|
||||||
description = "Fractal viewer";
|
description = "Fractal viewer";
|
||||||
license = a.stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,22 @@
|
||||||
a @ { libgphoto2, fuse, pkgconfig, glib, libtool, ... } :
|
{ stdenv, fetchurl, libtool, pkgconfig, libgphoto2, fuse, glib }:
|
||||||
let
|
|
||||||
fetchurl = a.fetchurl;
|
|
||||||
s = import ./src-info-for-gphotofs.nix;
|
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] s.version a;
|
stdenv.mkDerivation rec {
|
||||||
buildInputs = with a; [
|
name = "gphoto2fs-${version}";
|
||||||
libgphoto2 fuse pkgconfig glib libtool
|
version = "0.5.0";
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = s.url;
|
url="mirror://sourceforge/gphoto/gphotofs/${version}/gphotofs-0.5.tar.bz2";
|
||||||
sha256 = s.hash;
|
sha256 = "1k23ncbsbh64r7kz050bg31jqamchyswgg9izhzij758d7gc8vk7";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [
|
||||||
configureFlags = [];
|
libgphoto2 fuse pkgconfig glib libtool
|
||||||
|
];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
name = "gphoto2fs-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Fuse FS to mount a digital camera";
|
description = "Fuse FS to mount a digital camera";
|
||||||
maintainers = [
|
maintainers = [
|
||||||
a.lib.maintainers.raskin
|
stdenv.lib.maintainers.raskin
|
||||||
];
|
|
||||||
platforms = [
|
|
||||||
"i686-linux" "x86_64-linux"
|
|
||||||
];
|
];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
rec {
|
|
||||||
advertisedUrl="mirror://sourceforge/gphoto/gphotofs/0.5.0/gphotofs-0.5.tar.bz2";
|
|
||||||
version = "0.5.0";
|
|
||||||
url="mirror://sourceforge/gphoto/gphotofs/0.5.0/gphotofs-0.5.tar.bz2";
|
|
||||||
hash = "1k23ncbsbh64r7kz050bg31jqamchyswgg9izhzij758d7gc8vk7";
|
|
||||||
}
|
|
|
@ -1,24 +1,23 @@
|
||||||
args @ { libxml2, perl, intltool, libtool, pkgconfig, gtk, ... } : with args;
|
{ stdenv, fetchurl, libglade, gtk, guile, libxml2, perl
|
||||||
let version = lib.attrByPath ["version"] "1.1.0" args; in
|
, intltool, libtool, pkgconfig }:
|
||||||
rec {
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "drgeo-${version}";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/ofset/drgeo-1.1.0.tar.gz;
|
url = "mirror://sourceforge/ofset/${name}.tar.gz";
|
||||||
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
||||||
};
|
};
|
||||||
|
patches = [ ./struct.patch ];
|
||||||
|
|
||||||
buildInputs = [libglade gtk guile libxml2
|
buildInputs = [libglade gtk guile libxml2
|
||||||
perl intltool libtool pkgconfig];
|
perl intltool libtool pkgconfig];
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
prebuild = ''
|
||||||
phaseNames = ["doPatch" "doConfigure" "doPreBuild" "doMakeInstall"];
|
|
||||||
patches = [ ./struct.patch ];
|
|
||||||
|
|
||||||
doPreBuild = fullDepEntry (''
|
|
||||||
cp drgeo.desktop.in drgeo.desktop
|
cp drgeo.desktop.in drgeo.desktop
|
||||||
'') ["minInit" "doUnpack"];
|
'';
|
||||||
|
|
||||||
name = "drgeo-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Interactive geometry program";
|
description = "Interactive geometry program";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,48 +1,27 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, flex, bison, gmp, perl }:
|
||||||
, flex, bison, gmp, perl
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
["gmp"];
|
|
||||||
|
|
||||||
buildInputs = (map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames)))
|
name = "cvc3-${version}";
|
||||||
++ [(a.lib.overrideDerivation x.gmp (y: {dontDisableStatic=true;}))];
|
version = "2.4.1";
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="cvc3";
|
|
||||||
version="2.4.1";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="http://www.cs.nyu.edu/acsys/cvc3/releases/${version}/${name}.tar.gz";
|
|
||||||
hash="1xxcwhz3y6djrycw8sm6xz83wb4hb12rd1n0skvc7fng0rh1snym";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
src = fetchurl {
|
||||||
inherit buildInputs;
|
url = "http://www.cs.nyu.edu/acsys/cvc3/releases/${version}/${name}.tar.gz";
|
||||||
|
sha256 = "1xxcwhz3y6djrycw8sm6xz83wb4hb12rd1n0skvc7fng0rh1snym";
|
||||||
|
};
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
buildInputs = [ gmp flex bison perl ];
|
||||||
phaseNames = ["fixPaths" "doConfigure" "doMakeInstall"];
|
|
||||||
fixPaths = a.fullDepEntry (''
|
preConfigure = ''
|
||||||
sed -e "s@ /bin/bash@bash@g" -i Makefile.std
|
sed -e "s@ /bin/bash@bash@g" -i Makefile.std
|
||||||
find . -exec sed -e "s@/usr/bin/perl@${perl}/bin/perl@g" -i '{}' ';'
|
find . -exec sed -e "s@/usr/bin/perl@${perl}/bin/perl@g" -i '{}' ';'
|
||||||
'') ["minInit" "doUnpack"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A prover for satisfiability modulo theory (SMT)";
|
description = "A prover for satisfiability modulo theory (SMT)";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[ raskin ];
|
||||||
raskin
|
platforms = platforms.linux;
|
||||||
];
|
license = licenses.free;
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.free;
|
|
||||||
homepage = "http://www.cs.nyu.edu/acsys/cvc3/index.html";
|
homepage = "http://www.cs.nyu.edu/acsys/cvc3/index.html";
|
||||||
};
|
};
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -50,4 +29,4 @@ rec {
|
||||||
downloadPage = "http://www.cs.nyu.edu/acsys/cvc3/download.html";
|
downloadPage = "http://www.cs.nyu.edu/acsys/cvc3/download.html";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
|
@ -1,35 +1,19 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, ocaml, eprover }:
|
||||||
, ocaml, eprover
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "iprover-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.8.1";
|
||||||
baseName="iprover";
|
|
||||||
version="0.8.1";
|
src = fetchurl {
|
||||||
name="${baseName}_v${version}";
|
url = "http://iprover.googlecode.com/files/iprover_v${version}.tar.gz";
|
||||||
url="http://${baseName}.googlecode.com/files/${name}.tar.gz";
|
sha256 = "15qn523w4l296np5rnkwi50a5x2xqz0kaza7bsh9bkazph7jma7w";
|
||||||
hash="15qn523w4l296np5rnkwi50a5x2xqz0kaza7bsh9bkazph7jma7w";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
name = "${sourceInfo.baseName}-${sourceInfo.version}";
|
buildInputs = [ ocaml eprover ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''patchShebangs .'';
|
||||||
phaseNames = ["doConfigure" "doMake" "doDeploy"];
|
|
||||||
configureCommand = "sh configure";
|
installPhase = ''
|
||||||
doDeploy = a.fullDepEntry (''
|
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
cp iproveropt "$out/bin"
|
cp iproveropt "$out/bin"
|
||||||
|
|
||||||
|
@ -37,22 +21,16 @@ rec {
|
||||||
cp *.p "$out/share/${name}"
|
cp *.p "$out/share/${name}"
|
||||||
echo -e "#! /bin/sh\\n$out/bin/iproveropt --clausifier \"${eprover}/bin/eprover\" --clausifier_options \" --tstp-format --silent --cnf \" \"\$@\"" > "$out"/bin/iprover
|
echo -e "#! /bin/sh\\n$out/bin/iproveropt --clausifier \"${eprover}/bin/eprover\" --clausifier_options \" --tstp-format --silent --cnf \" \"\$@\"" > "$out"/bin/iprover
|
||||||
chmod a+x "$out"/bin/iprover
|
chmod a+x "$out"/bin/iprover
|
||||||
'') ["defEnsureDir" "minInit" "doMake"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "An automated first-order logic theorem prover";
|
description = "An automated first-order logic theorem prover";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.gpl3;
|
||||||
license = with a.lib.licenses;
|
downloadPage = "http://code.google.com/p/iprover/downloads/list";
|
||||||
gpl3;
|
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://code.google.com/p/iprover/downloads/list";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
|
@ -1,47 +1,25 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, automake, libtool, autoconf, intltool, perl
|
||||||
, automake, libtool, autoconf, intltool, perl
|
, gmpxx, flex, bison
|
||||||
, gmpxx, flex, bison
|
}:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "opensmt-${version}";
|
||||||
sourceInfo = rec {
|
version = "20101017";
|
||||||
baseName="opensmt";
|
|
||||||
version="20101017";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "http://opensmt.googlecode.com/files/opensmt_src_${version}.tgz";
|
||||||
filename="${baseName}_src_${version}";
|
sha256 = "0xrky7ixjaby5x026v7hn72xh7d401w9jhccxjn0khhn1x87p2w1";
|
||||||
url="http://${baseName}.googlecode.com/files/${filename}.tgz";
|
|
||||||
hash="0xrky7ixjaby5x026v7hn72xh7d401w9jhccxjn0khhn1x87p2w1";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ automake libtool autoconf intltool perl gmpxx flex bison ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
meta = with stdenv.lib; {
|
||||||
phaseNames = ["doAutotools" "doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A satisfiability modulo theory (SMT) solver";
|
description = "A satisfiability modulo theory (SMT) solver";
|
||||||
maintainers = [ a.lib.maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
platforms = a.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = a.stdenv.lib.licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
homepage = "http://code.google.com/p/opensmt/";
|
homepage = "http://code.google.com/p/opensmt/";
|
||||||
broken = true;
|
broken = true;
|
||||||
|
downloadPage = "http://code.google.com/p/opensmt/downloads/list";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://code.google.com/p/opensmt/downloads/list";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
|
@ -1,49 +1,27 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl }:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
let
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
baseVersion="3";
|
||||||
[];
|
minorVersion="7";
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="spass";
|
|
||||||
baseVersion="3";
|
|
||||||
minorVersion="7";
|
|
||||||
version="${baseVersion}.${minorVersion}";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="http://www.spass-prover.org/download/sources/${baseName}${baseVersion}${minorVersion}.tgz";
|
|
||||||
hash="1k5a98kr3vzga54zs7slwwaaf6v6agk1yfcayd8bl55q15g7xihk";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
stdenv.mkDerivation rec {
|
||||||
url = sourceInfo.url;
|
name = "spass-${version}";
|
||||||
sha256 = sourceInfo.hash;
|
version = "${baseVersion}.${minorVersion}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.spass-prover.org/download/sources/spass${baseVersion}${minorVersion}.tgz";
|
||||||
|
sha256 = "1k5a98kr3vzga54zs7slwwaaf6v6agk1yfcayd8bl55q15g7xihk";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
meta = with stdenv.lib; {
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "An automated theorem preover for FOL";
|
description = "An automated theorem preover for FOL";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.bsd2;
|
||||||
license = a.lib.licenses.bsd2;
|
downloadPage = "http://www.spass-prover.org/download/index.html";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://www.spass-prover.org/download/index.html";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
|
|
@ -1,68 +1,50 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, pari ? null }:
|
||||||
, pari ? null
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
let
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
baseName = "gap";
|
||||||
sourceInfo = rec {
|
version = "4r4p12";
|
||||||
baseName="gap";
|
|
||||||
version="4r4p12";
|
pkgVer = "2012_01_12-10_47_UTC";
|
||||||
name="${baseName}-${version}";
|
pkgSrc = fetchurl {
|
||||||
url="ftp://ftp.gap-system.org/pub/gap/gap4/tar.gz/${baseName}${version}.tar.gz";
|
url = "ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages-${pkgVer}.tar.bz2";
|
||||||
hash="0flap5lbkvpms3zznq1zwxyxyj0ax3fk7m24f3bvhvr37vyxnf40";
|
sha256 = "0z9ncy1m5gvv4llkclxd1vpcgpb0b81a2pfmnhzvw8x708frhmnb";
|
||||||
pkgVer="2012_01_12-10_47_UTC";
|
|
||||||
pkgURL="ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages-${pkgVer}.tar.bz2";
|
|
||||||
pkgHash="0z9ncy1m5gvv4llkclxd1vpcgpb0b81a2pfmnhzvw8x708frhmnb";
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
stdenv.mkDerivation rec {
|
||||||
url = sourceInfo.url;
|
name = "${baseName}-${version}";
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "ftp://ftp.gap-system.org/pub/gap/gap4/tar.gz/${baseName}${version}.tar.gz";
|
||||||
|
sha256 = "0flap5lbkvpms3zznq1zwxyxyj0ax3fk7m24f3bvhvr37vyxnf40";
|
||||||
};
|
};
|
||||||
|
|
||||||
pkgSrc = a.fetchurl {
|
buildInputs = [ pari ];
|
||||||
url=sourceInfo.pkgURL;
|
|
||||||
sha256=sourceInfo.pkgHash;
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
installPhase = ''
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMake" "doDeploy"];
|
|
||||||
|
|
||||||
doDeploy = a.fullDepEntry ''
|
|
||||||
mkdir -p "$out/bin" "$out/share/gap/"
|
mkdir -p "$out/bin" "$out/share/gap/"
|
||||||
|
|
||||||
cp -r . "$out/share/gap/build-dir"
|
cp -r . "$out/share/gap/build-dir"
|
||||||
|
|
||||||
tar xf "${pkgSrc}" -C "$out/share/gap/build-dir/pkg"
|
tar xf "${pkgSrc}" -C "$out/share/gap/build-dir/pkg"
|
||||||
|
|
||||||
${if a.pari != null then
|
${if pari != null then
|
||||||
''sed -e '2iexport PATH=$PATH:${pari}/bin' -i "$out/share/gap/build-dir/bin/gap.sh" ''
|
''sed -e '2iexport PATH=$PATH:${pari}/bin' -i "$out/share/gap/build-dir/bin/gap.sh" ''
|
||||||
else ""}
|
else ""}
|
||||||
sed -e "/GAP_DIR=/aGAP_DIR='$out/share/gap/build-dir/'" -i "$out/share/gap/build-dir/bin/gap.sh"
|
sed -e "/GAP_DIR=/aGAP_DIR='$out/share/gap/build-dir/'" -i "$out/share/gap/build-dir/bin/gap.sh"
|
||||||
|
|
||||||
ln -s "$out/share/gap/build-dir/bin/gap.sh" "$out/bin"
|
ln -s "$out/share/gap/build-dir/bin/gap.sh" "$out/bin"
|
||||||
'' ["doMake" "minInit" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Computational discrete algebra system";
|
description = "Computational discrete algebra system";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.gpl2;
|
||||||
license = with a.lib.licenses;
|
homepage = http://gap-system.org/;
|
||||||
gpl2;
|
|
||||||
homepage = "http://gap-system.org/";
|
|
||||||
broken = true;
|
broken = true;
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
|
@ -1,55 +1,34 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, gmp, bison, perl, autoconf, ncurses, readline, coreutils }:
|
||||||
, gmp, bison, perl, autoconf, ncurses, readline
|
|
||||||
, coreutils
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "singular-${version}";
|
||||||
sourceInfo = rec {
|
version="3-1-2";
|
||||||
baseName="Singular";
|
|
||||||
version="3-1-2";
|
src = fetchurl {
|
||||||
revision="-1";
|
url = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${version}/${name}.tar.gz";
|
||||||
name="${baseName}-${version}${revision}";
|
sha256 = "04f9i1xar0r7qrrbfki1h9rrmx5y2xg4w7rrvlbx05v2dy6s8djv";
|
||||||
url="http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${version}/${name}.tar.gz";
|
|
||||||
hash="04f9i1xar0r7qrrbfki1h9rrmx5y2xg4w7rrvlbx05v2dy6s8djv";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ gmp bison perl autoconf ncurses readline coreutils ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["doFixPaths" "doConfigure" "doMakeInstall" "fixInstall"];
|
find . -exec sed -e 's@/bin/rm@${coreutils}&@g' -i '{}' ';'
|
||||||
doFixPaths = a.fullDepEntry (''
|
find . -exec sed -e 's@/bin/uname@${coreutils}&@g' -i '{}' ';'
|
||||||
find . -exec sed -e 's@/bin/rm@${a.coreutils}&@g' -i '{}' ';'
|
'';
|
||||||
find . -exec sed -e 's@/bin/uname@${a.coreutils}&@g' -i '{}' ';'
|
|
||||||
'') ["minInit" "doUnpack"];
|
postInstall = ''
|
||||||
fixInstall = a.fullDepEntry (''
|
|
||||||
rm -rf "$out/LIB"
|
rm -rf "$out/LIB"
|
||||||
cp -r Singular/LIB "$out"
|
cp -r Singular/LIB "$out"
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
ln -s "$out/"*/Singular "$out/bin"
|
ln -s "$out/"*/Singular "$out/bin"
|
||||||
'') ["minInit" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A CAS for polynomial computations";
|
description = "A CAS for polynomial computations";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[ raskin ];
|
||||||
raskin
|
platforms = platforms.linux;
|
||||||
];
|
license = licenses.gpl3; # Or GPLv2 at your option - but not GPLv4
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.stdenv.lib.licenses.gpl3; # Or GPLv2 at your option - but not GPLv4
|
|
||||||
homepage = "http://www.singular.uni-kl.de/index.php";
|
homepage = "http://www.singular.uni-kl.de/index.php";
|
||||||
};
|
};
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -57,4 +36,4 @@ rec {
|
||||||
downloadPage = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/";
|
downloadPage = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
|
@ -1,53 +1,30 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, pkgconfig
|
||||||
, libX11, gtk, pkgconfig, libXmu
|
, libX11, libXmu, libXpm, gtk, libpng, libjpeg, libtiff, librsvg
|
||||||
, libXpm, libpng, libjpeg, libtiff, librsvg
|
}:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "fbpanel-${version}";
|
||||||
sourceInfo = rec {
|
version = "6.1";
|
||||||
baseName="fbpanel";
|
src = fetchurl {
|
||||||
version="6.1";
|
url = "mirror://sourceforge/fbpanel/${name}.tbz2";
|
||||||
name="${baseName}-${version}";
|
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
|
||||||
url="mirror://sourceforge/${baseName}/${name}.tbz2";
|
|
||||||
hash="e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
buildInputs =
|
||||||
|
[ pkgconfig libX11 libXmu libXpm gtk libpng libjpeg libtiff librsvg ];
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
preConfigure = "patchShebangs .";
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
NIX_LDFLAGS="-lX11";
|
||||||
phaseNames = ["setVars" "doUnpack" "fixPaths" "doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
fixPaths=(a.doPatchShebangs ".");
|
meta = with stdenv.lib; {
|
||||||
setVars = a.fullDepEntry ''
|
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"
|
|
||||||
'' [];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A stand-alone panel";
|
description = "A stand-alone panel";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "fbpanel.sourceforge.net";
|
downloadPage = "fbpanel.sourceforge.net";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,47 +1,23 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, libX11, xproto }:
|
||||||
, libX11, xproto
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "stalonetray-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.8.1";
|
||||||
baseName="stalonetray";
|
src = fetchurl {
|
||||||
version="0.8.1";
|
url = "mirror://sourceforge/stalonetray/${name}.tar.bz2";
|
||||||
name="${baseName}-${version}";
|
sha256 = "1wp8pnlv34w7xizj1vivnc3fkwqq4qgb9dbrsg15598iw85gi8ll";
|
||||||
url="mirror://sourceforge/${baseName}/${name}.tar.bz2";
|
|
||||||
hash="1wp8pnlv34w7xizj1vivnc3fkwqq4qgb9dbrsg15598iw85gi8ll";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
buildInputs = [ libX11 xproto ];
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
meta = with stdenv.lib; {
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Stand alone tray";
|
description = "Stand alone tray";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://sourceforge.net/projects/stalonetray/files/";
|
downloadPage = "http://sourceforge.net/projects/stalonetray/files/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,54 +1,37 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchgit, qt4, ecl, xorgserver, xkbcomp, xkeyboard_config }:
|
||||||
, fetchgit, qt4, ecl, xorgserver
|
|
||||||
, xkbcomp, xkeyboard_config
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
["fetchgit"];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
version = src.rev;
|
||||||
sourceInfo = rec {
|
name = "eql-git-${version}";
|
||||||
method = "fetchgit";
|
src = fetchgit {
|
||||||
rev = "9097bf98446ee33c07bb155d800395775ce0d9b2";
|
rev = "9097bf98446ee33c07bb155d800395775ce0d9b2";
|
||||||
url = "git://gitorious.org/eql/eql";
|
url = "https://gitlab.com/eql/eql.git";
|
||||||
hash = "1fp88xmmk1sa0iqxahfiv818bp2sbf66vqrd4xq9jb731ybdvsb8";
|
sha256 = "1fp88xmmk1sa0iqxahfiv818bp2sbf66vqrd4xq9jb731ybdvsb8";
|
||||||
version = rev;
|
|
||||||
name = "eql-git-${version}";
|
|
||||||
};
|
};
|
||||||
in
|
|
||||||
rec {
|
|
||||||
srcDrv = a.fetchgit {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
rev = sourceInfo.rev;
|
|
||||||
};
|
|
||||||
src = srcDrv + "/";
|
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ ecl qt4 xorgserver xkbcomp xkeyboard_config ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
phaseNames = ["setVars" "fixPaths" "doQMake" "doMake" "doDeploy"];
|
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||||
|
|
||||||
setVars = a.fullDepEntry (''
|
postPatch = ''
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC"
|
|
||||||
'') [];
|
|
||||||
|
|
||||||
fixPaths = a.fullDepEntry (''
|
|
||||||
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
|
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
|
||||||
'') ["minInit" "doUnpack"];
|
'';
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
cd src
|
||||||
|
ecl -shell make-eql-lib.lisp
|
||||||
|
qmake eql_lib.pro
|
||||||
|
make
|
||||||
|
cd ..
|
||||||
|
|
||||||
doQMake = a.fullDepEntry (''
|
|
||||||
cd src
|
cd src
|
||||||
qmake eql_exe.pro
|
qmake eql_exe.pro
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
cd src
|
cd src
|
||||||
'') ["addInputs" "doUnpack" "buildEQLLib"];
|
'';
|
||||||
|
|
||||||
doDeploy = a.fullDepEntry (''
|
installPhase = ''
|
||||||
cd ..
|
cd ..
|
||||||
mkdir -p $out/bin $out/lib/eql/ $out/include $out/include/gen $out/lib
|
mkdir -p $out/bin $out/lib/eql/ $out/include $out/include/gen $out/lib
|
||||||
cp -r . $out/lib/eql/build-dir
|
cp -r . $out/lib/eql/build-dir
|
||||||
|
@ -56,35 +39,22 @@ rec {
|
||||||
ln -s $out/lib/eql/build-dir/src/*.h $out/include
|
ln -s $out/lib/eql/build-dir/src/*.h $out/include
|
||||||
ln -s $out/lib/eql/build-dir/src/gen/*.h $out/include/gen
|
ln -s $out/lib/eql/build-dir/src/gen/*.h $out/include/gen
|
||||||
ln -s $out/lib/eql/build-dir/libeql*.so* $out/lib
|
ln -s $out/lib/eql/build-dir/libeql*.so* $out/lib
|
||||||
'') ["minInit"];
|
'';
|
||||||
|
|
||||||
buildEQLLib = a.fullDepEntry (''
|
meta = with stdenv.lib; {
|
||||||
cd src
|
|
||||||
ecl -shell make-eql-lib.lisp
|
|
||||||
qmake eql_lib.pro
|
|
||||||
make
|
|
||||||
cd ..
|
|
||||||
'') ["doUnpack" "addInputs"];
|
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Embedded Qt Lisp (ECL+Qt)";
|
description = "Embedded Qt Lisp (ECL+Qt)";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
license = licenses.mit;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://password-taxi.at/EQL";
|
downloadPage = "http://password-taxi.at/EQL";
|
||||||
method = "fetchgit";
|
method = "fetchgit";
|
||||||
rev = "370b7968fd73d5babc81e35913a37111a788487f";
|
rev = src.rev;
|
||||||
url = "git://gitorious.org/eql/eql";
|
url = src.url;
|
||||||
hash = "2370e111d86330d178f3ec95e8fed13607e51fed8859c6e95840df2a35381636";
|
hash = src.sha256;
|
||||||
};
|
};
|
||||||
inherit srcDrv;
|
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,50 +1,29 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, ladspaH, libjack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM
|
||||||
, ladspaH, libjack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM
|
, libsamplerate, libtool, autoconf, automake, xproto, libICE, pkgconfig
|
||||||
, libsamplerate, libtool, autoconf, automake, xproto, libICE, pkgconfig
|
}:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "dssi-${version}";
|
||||||
sourceInfo = rec {
|
version = "1.1.1";
|
||||||
baseName="dssi";
|
|
||||||
version="1.1.1";
|
src = fetchurl {
|
||||||
project="${baseName}";
|
url = "mirror://sourceforge/project/dssi/dssi/${version}/${name}.tar.gz";
|
||||||
name="${baseName}-${version}";
|
sha256 = "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j";
|
||||||
url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.tar.gz";
|
|
||||||
hash="0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs =
|
||||||
inherit buildInputs;
|
[ ladspaH libjack2 liblo alsaLib qt4 libX11 libsndfile libSM
|
||||||
|
libsamplerate libtool autoconf automake xproto libICE pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
meta = with stdenv.lib; {
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A plugin SDK for virtual instruments";
|
description = "A plugin SDK for virtual instruments";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.lgpl21;
|
||||||
license = a.lib.licenses.lgpl21;
|
downloadPage = "http://sourceforge.net/projects/dssi/files/dssi/";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://sourceforge.net/projects/dssi/files/dssi/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
|
|
@ -1,55 +1,30 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, dbus, dbus_glib, glib, pkgconfig, libxml2, gnome, libxslt }:
|
||||||
, dbus, dbus_glib, glib, pkgconfig, libxml2, gnome, libxslt
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
["gnome"];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames))
|
name = "geoclue-0.12.0";
|
||||||
++ [gnome.GConf];
|
src = fetchurl {
|
||||||
sourceInfo = rec {
|
url = "https://launchpad.net/geoclue/trunk/0.12/+download/${name}.tar.gz";
|
||||||
baseName="geoclue";
|
sha256 = "15j619kvmdgj2hpma92mkxbzjvgn8147a7500zl3bap9g8bkylqg";
|
||||||
version="0.12.0";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="https://launchpad.net/geoclue/trunk/0.12/+download/${name}.tar.gz";
|
|
||||||
hash="15j619kvmdgj2hpma92mkxbzjvgn8147a7500zl3bap9g8bkylqg";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ pkgconfig libxml2 gnome.GConf libxslt ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [a.dbus a.glib a.dbus_glib];
|
propagatedBuildInputs = [dbus glib dbus_glib];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["fixConfigure" "doConfigure" "doMakeInstall"];
|
sed -e '/-Werror/d' -i configure
|
||||||
|
'';
|
||||||
|
|
||||||
fixConfigure = a.fullDepEntry ''
|
meta = with stdenv.lib; {
|
||||||
sed -e 's@-Werror@@' -i configure
|
|
||||||
'' ["minInit" "doUnpack"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Geolocation framework and some data providers";
|
description = "Geolocation framework and some data providers";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = platforms.linux;
|
||||||
raskin
|
license = licenses.lgpl2;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.lgpl2;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://folks.o-hand.com/jku/geoclue-releases/";
|
downloadPage = "http://folks.o-hand.com/jku/geoclue-releases/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,53 +1,30 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
|
||||||
, intltool, openssl, expat, libgcrypt
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
version = "0.99.5";
|
||||||
sourceInfo = rec {
|
baseName = "ggz-base-libs";
|
||||||
baseName="ggz-base-libs";
|
name = "${baseName}-snapshot-${version}";
|
||||||
version="0.99.5";
|
|
||||||
name="${baseName}-snapshot-${version}";
|
src = fetchurl {
|
||||||
url="http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/${name}.tar.gz";
|
url = "http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/${name}.tar.gz";
|
||||||
hash="1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
|
sha256 = "1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ intltool openssl expat libgcrypt ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-ssl-dir=${a.openssl}/"
|
"--with-ssl-dir=${openssl}/"
|
||||||
"--with-tls"
|
"--with-tls"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "GGZ Gaming zone libraries";
|
description = "GGZ Gaming zone libraries";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.gpl2;
|
||||||
license = a.lib.licenses.gpl2;
|
downloadPage = "http://www.ggzgamingzone.org/releases/";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://www.ggzgamingzone.org/releases/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
|
|
@ -1,57 +1,28 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, fetchgit, autoreconfHook, libtool }:
|
||||||
, fetchgit
|
|
||||||
, autoconf, automake, libtool
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
["fetchgit"];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name="libfixposix-${version}";
|
||||||
sourceInfo = rec {
|
version="git-${src.rev}";
|
||||||
method="fetchgit";
|
|
||||||
baseName="libfixposix";
|
src = fetchgit {
|
||||||
url="https://github.com/sionescu/libfixposix";
|
url = "https://github.com/sionescu/libfixposix";
|
||||||
rev="30b75609d858588ea00b427015940351896867e9";
|
rev = "30b75609d858588ea00b427015940351896867e9";
|
||||||
version="git-${rev}";
|
sha256 = "44553c90d67f839cdd57d14d37d9faa25b1b766f607408896137f3013c1c9424";
|
||||||
name="${baseName}-${version}";
|
|
||||||
hash="44553c90d67f839cdd57d14d37d9faa25b1b766f607408896137f3013c1c9424";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
srcDrv = a.fetchgit {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
rev = sourceInfo.rev;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
src = srcDrv +"/";
|
buildInputs = [ autoreconfHook libtool ];
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
meta = with stdenv.lib; {
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doAutoreconf" "doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
doAutoreconf = a.fullDepEntry (''
|
|
||||||
autoreconf -i
|
|
||||||
'') ["doUnpack" "addInputs"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A set of workarounds for places in POSIX that get implemented differently";
|
description = "A set of workarounds for places in POSIX that get implemented differently";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://gitorious.org/libfixposix/libfixposix";
|
downloadPage = "http://gitorious.org/libfixposix/libfixposix";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,38 +1,29 @@
|
||||||
a :
|
{ stdenv, fetchurl }:
|
||||||
let
|
|
||||||
s = import ./src-for-default.nix;
|
|
||||||
buildInputs = with a; [
|
|
||||||
|
|
||||||
];
|
stdenv.mkDerivation rec {
|
||||||
in
|
name = "libx86-${version}";
|
||||||
rec {
|
version = "1.1";
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
src = fetchurl {
|
||||||
|
url = "http://www.codon.org.uk/~mjg59/libx86/downloads/${name}.tar.gz";
|
||||||
inherit (s) name;
|
sha256 = "0j6h6bc02c6qi0q7c1ncraz4d1hkm5936r35rfsp4x1jrc233wav";
|
||||||
inherit buildInputs;
|
};
|
||||||
|
patches = [./constants.patch ./non-x86.patch ];
|
||||||
phaseNames = ["doPatch" "fixX86Def" "killUsr" "doMakeInstall"];
|
|
||||||
patches = [./constants.patch ./non-x86.patch];
|
|
||||||
|
|
||||||
# using BACKEND=x86emu on 64bit systems fixes:
|
# using BACKEND=x86emu on 64bit systems fixes:
|
||||||
# http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
|
# http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"DESTDIR=$out"
|
"DESTDIR=$(out)"
|
||||||
] ++ a.stdenv.lib.optionals ( a.stdenv.isx86_64 || a.stdenv.isArm ) [ "BACKEND=x86emu" ];
|
] ++ stdenv.lib.optional (stdenv.isx86_64 || stdenv.isArm) "BACKEND=x86emu";
|
||||||
|
|
||||||
fixX86Def = a.fullDepEntry (''
|
preBuild = ''
|
||||||
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
|
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
|
||||||
'') ["doUnpack" "minInit"];
|
|
||||||
killUsr = a.fullDepEntry (''
|
|
||||||
sed -e s@/usr@@ -i Makefile
|
sed -e s@/usr@@ -i Makefile
|
||||||
'') ["doUnpack" "minInit"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Real-mode x86 code emulator";
|
description = "Real-mode x86 code emulator";
|
||||||
maintainers = [
|
maintainers = with maintainers; [ raskin ];
|
||||||
a.lib.maintainers.raskin
|
platforms = with platforms; linux ++ freebsd ++ netbsd;
|
||||||
];
|
license = licenses.mit;
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux ++ freebsd ++ netbsd;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,14 @@
|
||||||
args :
|
{ stdenv, fetchurl }:
|
||||||
let
|
|
||||||
lib = args.lib;
|
|
||||||
fetchurl = args.fetchurl;
|
|
||||||
|
|
||||||
version = lib.attrByPath ["version"] "0.12" args;
|
stdenv.mkDerivation rec {
|
||||||
buildInputs = with args; [
|
name = "ode-${version}";
|
||||||
|
version = "0.12";
|
||||||
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/opende/ode-${version}.tar.bz2";
|
url = "mirror://sourceforge/opende/ode-${version}.tar.bz2";
|
||||||
sha256 = "0l63ymlkgfp5cb0ggqwm386lxmc3al21nb7a07dd49f789d33ib5";
|
sha256 = "0l63ymlkgfp5cb0ggqwm386lxmc3al21nb7a07dd49f789d33ib5";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
name = "ode-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open Dynamics Engine";
|
description = "Open Dynamics Engine";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,40 +1,22 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, gawk, alsaLib, ncurses }:
|
||||||
, gawk, alsaLib, ncurses
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "speech_tools-${version}";
|
||||||
sourceInfo = rec {
|
version = "2.1";
|
||||||
baseName="speech_tools";
|
|
||||||
version="2.1";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "http://www.festvox.org/packed/festival/${version}/${name}-release.tar.gz";
|
||||||
url="http://www.festvox.org/packed/festival/${version}/${name}-release.tar.gz";
|
sha256 = "1s9bkfgdgyas8v2cr7x3dg0ck1xf9mn1q6a73gwy524sjb6nfqgz";
|
||||||
hash="1s9bkfgdgyas8v2cr7x3dg0ck1xf9mn1q6a73gwy524sjb6nfqgz";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ alsaLib ncurses ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["doUnpack" "killUsrBin" "doConfigure" "doMakeInstall" "doDeploy" "fixPaths"];
|
|
||||||
|
|
||||||
killUsrBin = a.fullDepEntry ''
|
|
||||||
sed -e s@/usr/bin/@@g -i $( grep -rl '/usr/bin/' . )
|
sed -e s@/usr/bin/@@g -i $( grep -rl '/usr/bin/' . )
|
||||||
sed -re 's@/bin/(rm|printf|uname)@\1@g' -i $( grep -rl '/bin/' . )
|
sed -re 's@/bin/(rm|printf|uname)@\1@g' -i $( grep -rl '/bin/' . )
|
||||||
'' ["minInit" "doUnpack"];
|
'';
|
||||||
|
|
||||||
doDeploy = a.fullDepEntry ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/{bin,lib}
|
mkdir -p "$out"/{bin,lib}
|
||||||
for d in bin lib; do
|
for d in bin lib; do
|
||||||
for i in ./$d/*; do
|
for i in ./$d/*; do
|
||||||
|
@ -42,24 +24,21 @@ rec {
|
||||||
cp -r "$(readlink -f $i)" "$out/$d"
|
cp -r "$(readlink -f $i)" "$out/$d"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
'' ["doMakeInstall" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
fixPaths = a.doPatchShebangs "$out/bin";
|
meta = with stdenv.lib; {
|
||||||
|
|
||||||
meta = {
|
|
||||||
broken = true;
|
broken = true;
|
||||||
description = "Text-to-speech engine";
|
description = "Text-to-speech engine";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.free;
|
||||||
license = a.lib.licenses.free;
|
|
||||||
};
|
};
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://www.festvox.org/packed/festival/";
|
downloadPage = "http://www.festvox.org/packed/festival/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
|
@ -1,31 +1,22 @@
|
||||||
a @ {python, ...} :
|
{ buildPythonPackage, fetchurl }:
|
||||||
let
|
|
||||||
fetchurl = a.fetchurl;
|
buildPythonPackage rec {
|
||||||
|
name = "irclib-${version}";
|
||||||
|
version = "0.4.8";
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.4.8" a;
|
|
||||||
buildInputs = with a; [
|
|
||||||
python
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
||||||
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [(fetchurl {
|
patches = [(fetchurl {
|
||||||
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
||||||
name = "irclib.py.diff";
|
name = "irclib.py.diff";
|
||||||
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
||||||
})];
|
})];
|
||||||
|
|
||||||
patchFlags = "irclib.py";
|
patchFlags = "irclib.py";
|
||||||
|
|
||||||
inherit buildInputs;
|
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doPatch" "installPythonPackage"];
|
|
||||||
|
|
||||||
name = "python-irclib-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python IRC library";
|
description = "Python IRC library";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,29 +1,21 @@
|
||||||
a @ {python, setuptools, ... } :
|
{ buildPythonPackage, fetchurl, setuptools }:
|
||||||
let
|
|
||||||
fetchurl = a.fetchurl;
|
buildPythonPackage rec {
|
||||||
|
name = "xmpp.py-${version}";
|
||||||
|
version = "0.5.0rc1";
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
|
|
||||||
buildInputs = with a; [
|
|
||||||
python setuptools
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
||||||
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [ setuptools ];
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preInstall = ''
|
||||||
phaseNames = ["mkDirs" "installPythonPackage"];
|
|
||||||
mkDirs = a.fullDepEntry(''
|
|
||||||
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"];
|
'';
|
||||||
|
|
||||||
name = "xmpp.py-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "XMPP python library";
|
description = "XMPP python library";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,62 +1,35 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, lua5, python }:
|
||||||
, lua5, python
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "bam-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.4.0";
|
||||||
baseName="bam";
|
|
||||||
version="0.4.0";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "http://github.com/downloads/matricks/bam/${name}.tar.bz2";
|
||||||
url="http://github.com/downloads/matricks/bam/${name}.tar.bz2";
|
sha256 = "0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn";
|
||||||
hash="0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ lua5 python ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
buildPhase = ''${stdenv.shell} make_unix.sh'';
|
||||||
phaseNames = ["check" "doDeploy"];
|
|
||||||
|
|
||||||
build = a.fullDepEntry ''
|
checkPhase = ''${python.interpreter} scripts/test.py'';
|
||||||
sh make_unix.sh
|
|
||||||
'' ["minInit" "doUnpack" "addInputs"];
|
|
||||||
|
|
||||||
check = a.fullDepEntry ''
|
installPhase = ''
|
||||||
python scripts/test.py
|
|
||||||
'' ["build" "addInputs"];
|
|
||||||
|
|
||||||
doDeploy = a.fullDepEntry ''
|
|
||||||
mkdir -p "$out/share/bam"
|
mkdir -p "$out/share/bam"
|
||||||
cp -r docs examples tests "$out/share/bam"
|
cp -r docs examples tests "$out/share/bam"
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
cp bam "$out/bin"
|
cp bam "$out/bin"
|
||||||
'' ["minInit" "defEnsureDir" "build"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Yet another build manager";
|
description = "Yet another build manager";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.free;
|
||||||
license = a.lib.licenses.free;
|
downloadPage = "http://matricks.github.com/bam/";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://matricks.github.com/bam/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
|
@ -1,41 +1,24 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl
|
||||||
, mesa, SDL, freeglut, SDL_mixer, autoconf, automake, libtool
|
, mesa, SDL, freeglut, SDL_mixer, autoconf, automake, libtool
|
||||||
, ...}:
|
}:
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "gl-117-${version}";
|
||||||
sourceInfo = rec {
|
version = "1.3.2";
|
||||||
version = "1.3.2";
|
|
||||||
name = "gl-117-1.3.2";
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/gl-117/gl-117/GL-117%20Source/gl-117-1.3.2-src.tar.bz2";
|
url = "mirror://sourceforge/project/gl-117/gl-117/GL-117%20Source/${name}.tar.bz2";
|
||||||
hash = "1yvg1rp1yijv0b45cz085b29x5x0g5fkm654xdv5qwh2l6803gb4";
|
sha256 = "1yvg1rp1yijv0b45cz085b29x5x0g5fkm654xdv5qwh2l6803gb4";
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ mesa SDL freeglut SDL_mixer autoconf automake libtool ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An air combat simulator";
|
description = "An air combat simulator";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with stdenv.lib.maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,37 +1,21 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl
|
||||||
, mesa, cmake, lua5, SDL, openal, libvorbis, libogg, zlib, physfs
|
, mesa, cmake, lua5, SDL, openal, libvorbis, libogg, zlib, physfs
|
||||||
, freetype, libpng, libjpeg, glew, wxGTK28, libxml2, libpthreadstubs
|
, freetype, libpng, libjpeg, glew, wxGTK28, libxml2, libpthreadstubs
|
||||||
, ...}:
|
}:
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "glestae-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.3.2";
|
||||||
baseName="glestae";
|
|
||||||
project="${baseName}";
|
src = fetchurl {
|
||||||
version="0.3.2";
|
url = "mirror://sourceforge/project/glestae/${version}/glestae-src-${version}.tar.bz2";
|
||||||
name="${baseName}-${version}";
|
sha256 = "1k02vf88mms0zbprvy1b1qdwjzmdag5rd1p43f0gpk1sms6isn94";
|
||||||
nameSuffix="-src";
|
|
||||||
extension="tar.bz2";
|
|
||||||
url="mirror://sourceforge/project/${project}/${version}/${baseName}${nameSuffix}-${version}.${extension}";
|
|
||||||
hash="1k02vf88mms0zbprvy1b1qdwjzmdag5rd1p43f0gpk1sms6isn94";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs =
|
||||||
inherit buildInputs;
|
[ mesa cmake lua5 SDL openal libvorbis libogg zlib physfs
|
||||||
|
freetype libpng libjpeg glew wxGTK28 libxml2 libpthreadstubs
|
||||||
/* doConfigure should be removed if not needed */
|
];
|
||||||
phaseNames = ["doCmake" "doMakeInstall"];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DLUA_LIBRARIES=-llua"
|
"-DLUA_LIBRARIES=-llua"
|
||||||
|
@ -40,16 +24,11 @@ rec {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A 3D RTS - fork of inactive Glest project";
|
description = "A 3D RTS - fork of inactive Glest project";
|
||||||
maintainers = [ a.lib.maintainers.raskin ];
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
platforms = a.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
# Note that some data seems to be under separate redistributable licenses
|
# Note that some data seems to be under separate redistributable licenses
|
||||||
license = a.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
broken = true;
|
broken = true;
|
||||||
|
downloadPage = "http://sourceforge.net/projects/glestae/files/0.3.2/";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://sourceforge.net/projects/glestae/files/0.3.2/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
|
|
@ -1,56 +1,34 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, mesa, SDL, cmake, eigen }:
|
||||||
, mesa, SDL, cmake, eigen
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
let
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
baseName = "soi";
|
||||||
[];
|
fileName = "Spheres%20of%20Influence";
|
||||||
|
majorVersion = "0.1";
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
minorVersion = "1";
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
version = "${majorVersion}.${minorVersion}";
|
||||||
sourceInfo = rec {
|
name = "${baseName}-${version}";
|
||||||
baseName="soi";
|
project = "${baseName}";
|
||||||
fileName="Spheres%20of%20Influence";
|
|
||||||
majorVersion="0.1";
|
|
||||||
minorVersion="1";
|
|
||||||
version="${majorVersion}.${minorVersion}";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
project="${baseName}";
|
|
||||||
url="mirror://sourceforge/project/${project}/${baseName}-${majorVersion}/${fileName}-${version}-Source.tar.gz";
|
|
||||||
hash="dfc59319d2962033709bb751c71728417888addc6c32cbec3da9679087732a81";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
stdenv.mkDerivation rec {
|
||||||
url = sourceInfo.url;
|
src = fetchurl {
|
||||||
sha256 = sourceInfo.hash;
|
url = "mirror://sourceforge/project/${project}/${baseName}-${majorVersion}/${fileName}-${version}-Source.tar.gz";
|
||||||
name = "${sourceInfo.name}.tar.gz";
|
sha256 = "dfc59319d2962033709bb751c71728417888addc6c32cbec3da9679087732a81";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ mesa SDL cmake eigen ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
phaseNames = ["setVars" "doCmake" "doMakeInstall"];
|
preConfigure = ''export EIGENDIR=${eigen}/include/eigen2'';
|
||||||
|
|
||||||
setVars = a.noDepEntry ''
|
meta = with stdenv.lib; {
|
||||||
export EIGENDIR=${a.eigen}/include/eigen2
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A physics-based puzzle game";
|
description = "A physics-based puzzle game";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.free;
|
||||||
license = a.lib.licenses.free;
|
|
||||||
broken = true;
|
broken = true;
|
||||||
|
downloadPage = "http://sourceforge.net/projects/soi/files/";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://sourceforge.net/projects/soi/files/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
|
@ -1,55 +1,36 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl
|
||||||
, zlib
|
, zlib, curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
|
||||||
, curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
|
, SDL_net, SDL_ttf, libunwind, libX11, xproto, libxml2, pkgconfig
|
||||||
, SDL_net, SDL_ttf, libunwind, libX11, xproto, libxml2, pkgconfig
|
, gettext, intltool, libtool, perl
|
||||||
, gettext, intltool, libtool, perl
|
}:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "warmux-${version}";
|
||||||
sourceInfo = rec {
|
version = "11.04.1";
|
||||||
baseName="warmux";
|
|
||||||
version="11.04.1";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "http://download.gna.org/warmux/${name}.tar.bz2";
|
||||||
url="http://download.gna.org/${baseName}/${name}.tar.bz2";
|
sha256 = "1vp44wdpnb1g6cddmn3nphc543pxsdhjis52mfif0p2c7qslz73q";
|
||||||
hash="1vp44wdpnb1g6cddmn3nphc543pxsdhjis52mfif0p2c7qslz73q";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs =
|
||||||
inherit buildInputs;
|
[ zlib curl gnutls fribidi libpng SDL SDL_gfx SDL_image SDL_mixer
|
||||||
|
SDL_net SDL_ttf libunwind libX11 xproto libxml2 pkgconfig
|
||||||
|
gettext intltool libtool perl
|
||||||
|
];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
configureFlagsArray = ("CFLAGS=-include ${zlib}/include/zlib.h");
|
||||||
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
configureFlags = "CFLAGS=\"-include ${zlib}/include/zlib.h\"";
|
|
||||||
|
|
||||||
patches = [ ./gcc-fix.patch ];
|
patches = [ ./gcc-fix.patch ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Ballistics turn-based battle game between teams";
|
description = "Ballistics turn-based battle game between teams";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers;
|
||||||
[
|
[
|
||||||
raskin
|
raskin
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = platforms.linux;
|
||||||
linux;
|
license = licenses.gpl2;
|
||||||
license = a.lib.licenses.gpl2;
|
downloadPage = "http://download.gna.org/warmux/";
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://download.gna.org/warmux/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
|
|
@ -1,51 +1,46 @@
|
||||||
a @ {libX11, xproto, libXpm, libXt, ...} :
|
{ stdenv, fetchurl, libX11, xproto, libXpm, libXt }:
|
||||||
let
|
|
||||||
fetchurl = a.fetchurl;
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xsokoban-${version}";
|
||||||
|
version = "3.3c";
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "3.3c" a;
|
|
||||||
buildInputs = with a; [
|
|
||||||
a.libX11 a.xproto a.libXpm a.libXt
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.cs.cornell.edu/andru/release/xsokoban-${version}.tar.gz";
|
url = "http://www.cs.cornell.edu/andru/release/${name}.tar.gz";
|
||||||
sha256 = "006lp8y22b9pi81x1a9ldfgkl1fbmkdzfw0lqw5y9svmisbafbr9";
|
sha256 = "006lp8y22b9pi81x1a9ldfgkl1fbmkdzfw0lqw5y9svmisbafbr9";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [ libX11 xproto libXpm libXt ];
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["preConfigure" "doConfigure" "preBuild" "doMakeInstall"];
|
|
||||||
|
|
||||||
preConfigure = a.fullDepEntry (''
|
|
||||||
sed -e 's/getline/my_getline/' -i score.c
|
sed -e 's/getline/my_getline/' -i score.c
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.libXpm}/include/X11"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXpm}/include/X11"
|
||||||
for i in $NIX_CFLAGS_COMPILE; do echo $i; ls ''${i#-I}; done
|
for i in $NIX_CFLAGS_COMPILE; do echo $i; ls ''${i#-I}; done
|
||||||
chmod a+rw config.h
|
chmod a+rw config.h
|
||||||
echo '#define HERE "@nixos-packaged"' >> config.h
|
cat >>config.h <<EOF
|
||||||
echo '#define WWW 0' >> config.h
|
#define HERE "@nixos-packaged"
|
||||||
echo '#define OWNER "'$(whoami)'"' >> config.h
|
#define WWW 0
|
||||||
echo '#define ROOTDIR "'$out/lib/xsokoban'"' >> config.h
|
#define OWNER "'$(whoami)'"
|
||||||
echo '#define ANYLEVEL 1' >> config.h
|
#define ROOTDIR "'$out/lib/xsokoban'"
|
||||||
echo '#define SCOREFILE ".xsokoban-score"' >> config.h
|
#define ANYLEVEL 1
|
||||||
echo '#define LOCKFILE ".xsokoban-score-lock"' >> config.h
|
#define SCOREFILE ".xsokoban-score"
|
||||||
|
#define LOCKFILE ".xsokoban-score-lock"
|
||||||
|
EOF
|
||||||
|
|
||||||
sed -e 's/getpass[(][^)]*[)]/PASSWORD/' -i main.c
|
sed -i main.c \
|
||||||
sed -e '/if [(]owner[)]/iowner=1;' -i main.c
|
-e 's/getpass[(][^)]*[)]/PASSWORD/' \
|
||||||
'') ["minInit" "doUnpack"];
|
-e '/if [(]owner[)]/iowner=1;'
|
||||||
|
'';
|
||||||
|
|
||||||
preBuild = a.fullDepEntry (''
|
preBuild = ''
|
||||||
sed -e "s@/usr/local/@$out/@" -i Makefile
|
sed -i Makefile \
|
||||||
sed -e "s@ /bin/@ @" -i Makefile
|
-e "s@/usr/local/@$out/@" \
|
||||||
|
-e "s@ /bin/@ @"
|
||||||
mkdir -p $out/bin $out/share $out/man/man1 $out/lib
|
mkdir -p $out/bin $out/share $out/man/man1 $out/lib
|
||||||
'') ["minInit" "doConfigure" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
name = "xsokoban-" + version;
|
meta = with stdenv.lib; {
|
||||||
meta = {
|
|
||||||
description = "X sokoban";
|
description = "X sokoban";
|
||||||
license = a.stdenv.lib.licenses.publicDomain;
|
license = licenses.publicDomain;
|
||||||
maintainers = [ a.stdenv.lib.maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,21 @@
|
||||||
a @ { libjpeg, pkgconfig, zlib, directfb, xproto, ... } :
|
{ stdenv, fetchurl, pkgconfig, directfb, zlib, libjpeg, xproto }:
|
||||||
let
|
|
||||||
s = import ./src-for-default.nix;
|
stdenv.mkDerivation rec {
|
||||||
buildInputs = with a; [
|
name="directvnc-${version}";
|
||||||
directfb zlib libjpeg pkgconfig xproto
|
version="0.7.5-test-051207";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://directvnc-rev.googlecode.com/files/directvnc-${version}.tar.gz";
|
||||||
|
sha256 = "1is9hca8an1b1n8436wkv7s08ml5lb95f7h9vznx9br597f106w9";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pkgconfig directfb zlib libjpeg xproto
|
||||||
];
|
];
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
|
||||||
|
|
||||||
inherit (s) name;
|
|
||||||
inherit buildInputs;
|
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "DirectFB VNC client";
|
description = "DirectFB VNC client";
|
||||||
maintainers = [
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
a.lib.maintainers.raskin
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,46 +1,24 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl }:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "untie-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.3";
|
||||||
baseName="untie";
|
src = fetchurl {
|
||||||
version="0.3";
|
url = "http://guichaz.free.fr/untie/files/${name}.tar.bz2";
|
||||||
name="${baseName}-${version}";
|
sha256 = "1334ngvbi4arcch462mzi5vxvxck4sy1nf0m58116d9xmx83ak0m";
|
||||||
url="http://guichaz.free.fr/${baseName}/files/${name}.tar.bz2";
|
|
||||||
hash="154c3550af3d3513022a15381bbc2693f5dd7789bf0a4320635991b8f6b3648c";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
makeFlags = "PREFIX=$(out)";
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
phaseNames = ["doMakeInstall"];
|
meta = with stdenv.lib; {
|
||||||
makeFlags=["PREFIX=$out"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A tool to run processes untied from some of the namespaces";
|
description = "A tool to run processes untied from some of the namespaces";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://guichaz.free.fr/untie";
|
downloadPage = "http://guichaz.free.fr/untie";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,47 +1,23 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, fuse, samba, pkgconfig, glib }:
|
||||||
, fuse, samba, pkgconfig, glib
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "smbnetfs-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.6.0";
|
||||||
baseName="smbnetfs";
|
src = fetchurl {
|
||||||
dirBaseName="SMBNetFS";
|
url = "mirror://sourceforge/project/smbnetfs/smbnetfs/SMBNetFS-${version}/${name}.tar.bz2";
|
||||||
version = "0.6.0";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
project="${baseName}";
|
|
||||||
url="mirror://sourceforge/project/${project}/${baseName}/${dirBaseName}-${version}/${name}.tar.bz2";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = "16sikr81ipn8v1a1zrqgnsy2as3zcaxbzkr0bm5vxy012bq0plkd";
|
sha256 = "16sikr81ipn8v1a1zrqgnsy2as3zcaxbzkr0bm5vxy012bq0plkd";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ fuse samba pkgconfig glib ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
meta = with stdenv.lib; {
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A FUSE FS for mounting Samba shares";
|
description = "A FUSE FS for mounting Samba shares";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
license = licenses.gpl2;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.gpl2;
|
|
||||||
downloadPage = "http://sourceforge.net/projects/smbnetfs/files/smbnetfs";
|
downloadPage = "http://sourceforge.net/projects/smbnetfs/files/smbnetfs";
|
||||||
updateWalker = true;
|
updateWalker = true;
|
||||||
inherit version;
|
inherit version;
|
||||||
|
homepage = http://sourceforge.net/projects/smbnetfs/;
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,51 +1,24 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, ncurses, readline }:
|
||||||
, ncurses, readline
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "udftools-${version}";
|
||||||
sourceInfo = rec {
|
version = "1.0.0b3";
|
||||||
baseName="udftools";
|
src = fetchurl {
|
||||||
version="1.0.0b3";
|
url = "mirror://sourceforge/linux-udf/udftools/${version}/${name}.tar.gz";
|
||||||
name="${baseName}-${version}";
|
sha256 = "180414z7jblby64556i8p24rcaas937zwnyp1zg073jdin3rw1y5";
|
||||||
project="linux-udf";
|
|
||||||
url="mirror://sourceforge/${project}/${baseName}/${version}/${name}.tar.gz";
|
|
||||||
hash="180414z7jblby64556i8p24rcaas937zwnyp1zg073jdin3rw1y5";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ ncurses readline ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["fixIncludes" "doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
fixIncludes = a.fullDepEntry ''
|
|
||||||
sed -e '1i#include <limits.h>' -i cdrwtool/cdrwtool.c -i pktsetup/pktsetup.c
|
sed -e '1i#include <limits.h>' -i cdrwtool/cdrwtool.c -i pktsetup/pktsetup.c
|
||||||
sed -e 's@[(]char[*][)]spm [+]=@spm = ((char*) spm) + @' -i wrudf/wrudf.c
|
sed -e 's@[(]char[*][)]spm [+]=@spm = ((char*) spm) + @' -i wrudf/wrudf.c
|
||||||
'' ["doUnpack" "minInit"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "UDF tools";
|
description = "UDF tools";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
license = licenses.gpl2Plus;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.gpl2Plus;
|
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
|
|
@ -1,42 +1,21 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl }:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "${pname}-${version}";
|
||||||
sourceInfo = rec {
|
version = "0.99";
|
||||||
version = "0.99";
|
pname = "barcode";
|
||||||
baseName="barcode";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "mirror://gnu/${pname}/${name}.tar.xz";
|
||||||
url="mirror://gnu/${baseName}/${name}.tar.xz";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = "1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8";
|
sha256 = "1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
meta = with stdenv.lib; {
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "GNU barcode generator";
|
description = "GNU barcode generator";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; allBut darwin;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms; allBut darwin;
|
|
||||||
downloadPage = "http://ftp.gnu.org/gnu/barcode/";
|
downloadPage = "http://ftp.gnu.org/gnu/barcode/";
|
||||||
updateWalker = true;
|
updateWalker = true;
|
||||||
inherit version;
|
inherit version;
|
||||||
|
homepage = http://ftp.gnu.org/gnu/barcode/;
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,38 +1,32 @@
|
||||||
a @ {libpng, bison, flex, ffmpeg, fullDepEntry, ...} :
|
{ stdenv, fetchurl, libpng, bison, flex, ffmpeg }:
|
||||||
let
|
|
||||||
s = import ./src-for-default.nix;
|
|
||||||
buildInputs = with a; [
|
|
||||||
libpng bison flex ffmpeg
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
|
||||||
|
|
||||||
inherit (s) name;
|
stdenv.mkDerivation rec {
|
||||||
inherit buildInputs;
|
name = "cfdg-${version}";
|
||||||
configureFlags = [];
|
version = "3.0.2";
|
||||||
|
src = fetchurl {
|
||||||
|
sha256 = "1pd1hjippbhad8l4s4lsglykh22i24qfrgmnxrsx71bvcqbr356p";
|
||||||
|
url = "http://www.contextfreeart.org/download/ContextFreeSource${version}.tgz";
|
||||||
|
};
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
buildInputs = [ libpng bison flex ffmpeg ];
|
||||||
phaseNames = ["doFixInc" "doMake" "copyFiles"];
|
|
||||||
|
|
||||||
doFixInc = a.fullDepEntry ''
|
postPatch = ''
|
||||||
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l
|
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l
|
||||||
'' ["doUnpack" "minInit"];
|
'';
|
||||||
|
|
||||||
copyFiles = a.fullDepEntry ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp cfdg $out/bin/
|
cp cfdg $out/bin/
|
||||||
|
|
||||||
mkdir -p $out/share/doc/${name}
|
mkdir -p $out/share/doc/${name}
|
||||||
cp *.txt $out/share/doc/${name}
|
cp *.txt $out/share/doc/${name}
|
||||||
'' ["defEnsureDir" "doMake"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Context-free design grammar - a tool for graphics generation";
|
description = "Context-free design grammar - a tool for graphics generation";
|
||||||
maintainers = [
|
maintainers = with maintainers; [ raskin ];
|
||||||
a.lib.maintainers.raskin
|
platforms = platforms.linux;
|
||||||
];
|
homepage = http://contextfreeart.org/;
|
||||||
platforms = with a.lib.platforms;
|
downloadPage = "http://contextfreeart.org/mediawiki/index.php/Download_page";
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,44 +1,29 @@
|
||||||
args :
|
{ stdenv, fetchurl, libpng, opencv }:
|
||||||
let
|
|
||||||
lib = args.lib;
|
stdenv.mkDerivation rec {
|
||||||
fetchurl = args.fetchurl;
|
name = "libdecodeqr-${version}";
|
||||||
fullDepEntry = args.fullDepEntry;
|
version = "0.9.3";
|
||||||
|
|
||||||
version = lib.attrByPath ["version"] "0.9.3" args;
|
|
||||||
buildInputs = with args; [
|
|
||||||
libpng opencv
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://debian/pool/main/libd/libdecodeqr/libdecodeqr_${version}.orig.tar.gz";
|
url = "mirror://debian/pool/main/libd/libdecodeqr/libdecodeqr_${version}.orig.tar.gz";
|
||||||
sha256 = "1kmljwx69h7zq6zlp2j19bbpz11px45z1abw03acrxjyzz5f1f13";
|
sha256 = "1kmljwx69h7zq6zlp2j19bbpz11px45z1abw03acrxjyzz5f1f13";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [ libpng opencv ];
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
preConfigure = ''
|
||||||
phaseNames = ["preConfigure" "doConfigure" "doMake"
|
|
||||||
"createDirs" "doMakeInstall" "postInstall"];
|
|
||||||
|
|
||||||
preConfigure = fullDepEntry ''
|
|
||||||
cd src
|
cd src
|
||||||
sed -e /LDCONFIG/d -i libdecodeqr/Makefile.in
|
sed -e /LDCONFIG/d -i libdecodeqr/Makefile.in
|
||||||
sed -e '/#include <cv.h>/a#include <ml.h>' -i libdecodeqr/imagereader.h
|
sed -e '/#include <cv.h>/a#include <ml.h>' -i libdecodeqr/imagereader.h
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${args.opencv}/include/opencv"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${opencv}/include/opencv"
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lcxcore"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lcxcore"
|
||||||
'' ["doUnpack"];
|
'';
|
||||||
postInstall = fullDepEntry ''
|
|
||||||
cp sample/simple/simpletest $out/bin/qrdecode
|
preInstall = "mkdir -p $out/bin $out/lib $out/include $out/share";
|
||||||
cd ..
|
postInstall = "cp sample/simple/simpletest $out/bin/qrdecode";
|
||||||
'' ["doMake"];
|
|
||||||
createDirs = fullDepEntry ''
|
|
||||||
mkdir -p $out/bin $out/lib $out/include $out/share
|
|
||||||
'' ["defEnsureDir"];
|
|
||||||
|
|
||||||
name = "libdecodeqr-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "QR code decoder library";
|
description = "QR code decoder library";
|
||||||
|
broken = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,39 +1,23 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, imagemagickBig, pkgconfig, python, pygtk, perl
|
||||||
, imagemagickBig, pkgconfig, python, pygtk, perl, libX11, libv4l
|
, libX11, libv4l, qt4, lzma, gtk2
|
||||||
, qt4, lzma, gtk2
|
}:
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "${pname}-${version}";
|
||||||
sourceInfo = rec {
|
pname = "zbar";
|
||||||
baseName="zbar";
|
version = "0.10";
|
||||||
version="0.10";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "mirror://sourceforge/project/${pname}/${pname}/${version}/${name}.tar.bz2";
|
||||||
pName="${baseName}";
|
sha256 = "1imdvf5k34g1x2zr6975basczkz3zdxg6xnci50yyp5yvcwznki3";
|
||||||
url="mirror://sourceforge/project/${pName}/${baseName}/${version}/${name}.tar.bz2";
|
|
||||||
hash="1imdvf5k34g1x2zr6975basczkz3zdxg6xnci50yyp5yvcwznki3";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs =
|
||||||
inherit buildInputs;
|
[ imagemagickBig pkgconfig python pygtk perl libX11
|
||||||
|
libv4l qt4 lzma gtk2 ];
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
configureFlags = ["--disable-video"];
|
configureFlags = ["--disable-video"];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Bar code reader";
|
description = "Bar code reader";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
ZBar is an open source software suite for reading bar codes from various
|
ZBar is an open source software suite for reading bar codes from various
|
||||||
|
@ -42,18 +26,15 @@ rec {
|
||||||
EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR
|
EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR
|
||||||
Code.
|
Code.
|
||||||
'';
|
'';
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
license = licenses.lgpl21;
|
||||||
];
|
homepage = http://zbar.sourceforge.net/;
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.lgpl21;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://zbar.sourceforge.net/";
|
downloadPage = "http://zbar.sourceforge.net/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,33 +1,30 @@
|
||||||
a @ { openssl, gmp, nettools, iproute, zlib, ... } :
|
{ stdenv, fetchurl, openssl, gmp, zlib, iproute, nettools }:
|
||||||
let
|
|
||||||
s = import ./src-for-default.nix;
|
stdenv.mkDerivation rec {
|
||||||
buildInputs = with a; [
|
name = "gvpe-${version}";
|
||||||
openssl gmp zlib
|
version = "2.25";
|
||||||
];
|
|
||||||
in
|
src = fetchurl {
|
||||||
rec {
|
url = "http://ftp.gnu.org/gnu/gvpe/gvpe-${version}.tar.gz";
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
sha256 = "1gsipcysvsk80gvyn9jnk9g0xg4ng9yd5zp066jnmpgs52d2vhvk";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ openssl gmp zlib ];
|
||||||
|
|
||||||
inherit (s) name;
|
|
||||||
inherit buildInputs;
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-tcp"
|
"--enable-tcp"
|
||||||
"--enable-http-proxy"
|
"--enable-http-proxy"
|
||||||
"--enable-dns"
|
"--enable-dns"
|
||||||
];
|
];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preBuild = ''
|
||||||
phaseNames = ["doConfigure" "preBuild" "doMakeInstall"];
|
sed -e 's@"/sbin/ifconfig.*"@"${iproute}/sbin/ip link set $IFNAME address $MAC mtu $MTU"@' -i src/device-linux.C
|
||||||
preBuild = a.fullDepEntry (''
|
sed -e 's@/sbin/ifconfig@${nettools}/sbin/ifconfig@g' -i src/device-*.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
|
|
||||||
'') ["minInit" "doUnpack"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A proteted multinode virtual network";
|
description = "A protected multinode virtual network";
|
||||||
maintainers = [
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
a.lib.maintainers.raskin
|
platforms = with stdenv.lib.platforms; linux ++ freebsd;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms; linux ++ freebsd;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,57 +1,30 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, python }:
|
||||||
, python, makeWrapper
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "philter-${version}";
|
||||||
sourceInfo = rec {
|
version = "1.1";
|
||||||
baseName="philter";
|
src = fetchurl {
|
||||||
version="1.1";
|
url = "mirror://sourceforge/philter/${name}.tar.gz";
|
||||||
name="${baseName}-${version}";
|
sha256 = "177pqfflhdn2mw9lc1wv9ik32ji69rjqr6dw83hfndwlsva5151l";
|
||||||
url="mirror://sourceforge/${baseName}/${name}.tar.gz";
|
|
||||||
hash="177pqfflhdn2mw9lc1wv9ik32ji69rjqr6dw83hfndwlsva5151l";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
installPhase = ''
|
||||||
inherit buildInputs;
|
mkdir -p "$out"/{bin,share/philter}
|
||||||
|
cp .philterrc "$out"/share/philter/philterrc
|
||||||
|
sed -i 's@/usr/local/bin@${python}/bin@' src/philter.py
|
||||||
|
cp src/philter.py "$out"/bin/philter
|
||||||
|
chmod +x "$out"/bin/philter
|
||||||
|
'';
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
meta = with stdenv.lib; {
|
||||||
phaseNames = ["installProgram" "patchShebangs" "wrapBinContentsPython"];
|
|
||||||
patchShebangs = (a.doPatchShebangs "$out/bin");
|
|
||||||
|
|
||||||
installProgram = a.fullDepEntry(''
|
|
||||||
mv "$out/share/philter/".*rc "$out/share/philter/philterrc"
|
|
||||||
mkdir -p "$out/bin"
|
|
||||||
cp "$out/share/philter/src/philter.py" "$out/bin/philter"
|
|
||||||
chmod a+x "$out/bin/philter"
|
|
||||||
'') ["addInputs" "copyToShare" "minInit"];
|
|
||||||
|
|
||||||
copyToShare = (a.simplyShare "philter");
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Mail sorter for Maildirs";
|
description = "Mail sorter for Maildirs";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://philter.sourceforge.net/";
|
downloadPage = "http://philter.sourceforge.net/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,51 +1,29 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
, ...}:
|
stdenv.mkDerivation rec {
|
||||||
builderDefsPackage
|
name = "${pname}-${version}";
|
||||||
(a :
|
pname = "ripmime";
|
||||||
let
|
version = "1.4.0.10";
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
src = fetchurl {
|
||||||
[];
|
url = "http://www.pldaniels.com/${pname}/${name}.tar.gz";
|
||||||
|
sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="ripmime";
|
|
||||||
version="1.4.0.10";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="http://www.pldaniels.com/${baseName}/${name}.tar.gz";
|
|
||||||
hash="0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
preInstall = ''
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["fixTarget" "doMakeInstall"];
|
|
||||||
fixTarget = a.fullDepEntry (''
|
|
||||||
sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
|
sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
|
||||||
mkdir -p "$out/bin" "$out/share/man/man1"
|
mkdir -p "$out/bin" "$out/share/man/man1"
|
||||||
'') ["doUnpack" "minInit" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Attachment extractor for MIME messages";
|
description = "Attachment extractor for MIME messages";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
homepage = http://www.pldaniels.com/ripmime/;
|
||||||
raskin
|
platforms = with platforms; linux;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://www.pldaniels.com/ripmime/";
|
downloadPage = "http://www.pldaniels.com/ripmime/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,48 +1,24 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, tcp_wrappers }:
|
||||||
, tcp_wrappers
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "tftp-hpa-${version}";
|
||||||
sourceInfo = rec {
|
version="5.2";
|
||||||
baseName="tftp-hpa";
|
src = fetchurl {
|
||||||
version="5.2";
|
url = "mirror://kernel/software/network/tftp/tftp-hpa/${name}.tar.xz";
|
||||||
name="${baseName}-${version}";
|
sha256 = "12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg";
|
||||||
url="mirror://kernel/software/network/tftp/tftp-hpa/${name}.tar.xz";
|
|
||||||
hash="afee361df96a2f88344e191f6a25480fd714e1d28d176c3f10cc43fa206b718b";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
meta = with stdenv.lib; {
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "TFTP tools - a lot of fixes on top of BSD TFTP";
|
description = "TFTP tools - a lot of fixes on top of BSD TFTP";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with maintainers; [ raskin ];
|
||||||
[
|
platforms = with platforms; linux;
|
||||||
raskin
|
license = licenses.bsd3;
|
||||||
];
|
homepage = http://www.kernel.org/pub/software/network/tftp/;
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
license = a.lib.licenses.bsd3;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://www.kernel.org/pub/software/network/tftp/";
|
downloadPage = "http://www.kernel.org/pub/software/network/tftp/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,38 +1,28 @@
|
||||||
args @ {unzip, ... } :
|
{ stdenv, fetchurl, unzip }:
|
||||||
let
|
|
||||||
lib = args.lib;
|
|
||||||
fetchurl = args.fetchurl;
|
|
||||||
fullDepEntry = args.fullDepEntry;
|
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "bmrsa-${version}";
|
||||||
version = "11";
|
version = "11";
|
||||||
buildInputs = with args; [
|
|
||||||
unzip
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/bmrsa/bmrsa${version}.zip";
|
url = "mirror://sourceforge/bmrsa/bmrsa${version}.zip";
|
||||||
sha256 = "0ksd9xkvm9lkvj4yl5sl0zmydp1wn3xhc55b28gj70gi4k75kcl4";
|
sha256 = "0ksd9xkvm9lkvj4yl5sl0zmydp1wn3xhc55b28gj70gi4k75kcl4";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [ unzip ];
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
unpackPhase = ''
|
||||||
phaseNames = ["doMakeInstall"];
|
|
||||||
|
|
||||||
doUnpack = fullDepEntry (''
|
|
||||||
mkdir bmrsa
|
mkdir bmrsa
|
||||||
cd bmrsa
|
cd bmrsa
|
||||||
unzip ${src}
|
unzip ${src}
|
||||||
sed -e 's/gcc/g++/' -i Makefile
|
sed -e 's/gcc/g++/' -i Makefile
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
echo -e 'install:\n\tcp bmrsa '$out'/bin' >> Makefile
|
echo -e 'install:\n\tcp bmrsa '$out'/bin' >> Makefile
|
||||||
'') ["minInit" "addInputs" "defEnsureDir"];
|
'';
|
||||||
|
|
||||||
name = "bmrsa-"+version;
|
meta = with stdenv.lib; {
|
||||||
meta = {
|
|
||||||
description = "RSA utility";
|
description = "RSA utility";
|
||||||
|
homepage = http://bmrsa.sourceforge.net/;
|
||||||
|
license = licenses.gpl1;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
args @ { makeWrapper, ... }: with args;
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
|
||||||
url = http://www.packetstormsecurity.nl/UNIX/utilities/framework-3.1.tar.gz;
|
|
||||||
sha256 = "114znq9dfcyh9gcj57p3zsc0d0amlzhwidmg8qjcgxpjh28h1afx";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [makeWrapper];
|
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
doInstall = fullDepEntry(''
|
|
||||||
mkdir -p $out/share/msf
|
|
||||||
mkdir -p $out/bin
|
|
||||||
|
|
||||||
cp -r * $out/share/msf
|
|
||||||
|
|
||||||
for i in $out/share/msf/msf*; do
|
|
||||||
makeWrapper $i $out/bin/$(basename $i) --prefix RUBYLIB : $out/share/msf/lib
|
|
||||||
done
|
|
||||||
'') ["minInit" "defEnsureDir" "doUnpack" "addInputs"];
|
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
|
||||||
phaseNames = ["doInstall" (doPatchShebangs "$out/share/msf")];
|
|
||||||
|
|
||||||
name = "metasploit-framework-3.1";
|
|
||||||
meta = {
|
|
||||||
description = "Metasploit Framework - a collection of exploits";
|
|
||||||
homepage = "http://framework.metasploit.org/";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
33
pkgs/tools/security/metasploit/default.nix
Normal file
33
pkgs/tools/security/metasploit/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, fetchurl, makeWrapper, ruby }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "metasploit-framework-${version}";
|
||||||
|
version = "3.3.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://downloads.metasploit.com/data/releases/archive/framework-${version}.tar.bz2";
|
||||||
|
sha256 = "07clzw1zfnqjhyydsc4mza238isai58p7aygh653qxsqb9a0j7qw";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [makeWrapper];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/msf
|
||||||
|
mkdir -p $out/bin
|
||||||
|
|
||||||
|
cp -r * $out/share/msf
|
||||||
|
|
||||||
|
for i in $out/share/msf/msf*; do
|
||||||
|
makeWrapper $i $out/bin/$(basename $i) --prefix RUBYLIB : $out/share/msf/lib
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
patchShebangs $out/share/msf
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Metasploit Framework - a collection of exploits";
|
||||||
|
homepage = https://github.com/rapid7/metasploit-framework/wiki;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,33 +1,24 @@
|
||||||
a @ { groff, ... } :
|
{ stdenv, fetchurl, groff }:
|
||||||
let
|
|
||||||
fetchurl = a.fetchurl;
|
stdenv.mkDerivation rec {
|
||||||
|
name = "setserial-${version}";
|
||||||
|
version = "2.17";
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "2.17" a;
|
|
||||||
buildInputs = with a; [
|
|
||||||
groff
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/setserial/setserial-${version}.tar.gz";
|
url = "mirror://sourceforge/setserial/${name}.tar.gz";
|
||||||
sha256 = "0jkrnn3i8gbsl48k3civjmvxyv9rbm1qjha2cf2macdc439qfi3y";
|
sha256 = "0jkrnn3i8gbsl48k3civjmvxyv9rbm1qjha2cf2macdc439qfi3y";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [ groff ];
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
installFlags = "DESTDIR=$out";
|
installFlags = ''DESTDIR=$(out)'';
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
postConfigure = ''
|
||||||
phaseNames = ["doConfigure" "patchPath" "doMakeInstall"];
|
|
||||||
|
|
||||||
patchPath = a.fullDepEntry (''
|
|
||||||
sed -e s@/usr/man/@/share/man/@ -i Makefile
|
sed -e s@/usr/man/@/share/man/@ -i Makefile
|
||||||
'') ["minInit" "doUnpack" "doConfigure"];
|
'';
|
||||||
|
|
||||||
neededDirs = ["$out/bin" "$out/share/man/man8"];
|
preInstall = ''mkdir -p "$out/bin" "$out/share/man/man8"'';
|
||||||
|
|
||||||
name = "setserial-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Serial port configuration utility";
|
description = "Serial port configuration utility";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,42 +1,28 @@
|
||||||
a @ {imake, libX11, xproto, gccmakedep, libXt
|
{ stdenv, fetchurl, libX11, xproto, imake, gccmakedep, libXt, libXmu
|
||||||
, libXmu, libXaw, libXext, xextproto, libSM, libICE, libXpm
|
, libXaw, libXext, xextproto, libSM, libICE, libXpm, libXp
|
||||||
, libXp, ...} :
|
}:
|
||||||
let
|
|
||||||
fetchurl = a.fetchurl;
|
stdenv.mkDerivation rec {
|
||||||
|
name = "vncrec-0.2"; # version taken from Arch AUR
|
||||||
|
|
||||||
buildInputs = with a; [
|
|
||||||
libX11 xproto imake gccmakedep libXt libXmu libXaw
|
|
||||||
libXext xextproto libSM libICE libXpm libXp
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ronja.twibright.com/utils/vncrec-twibright.tgz";
|
url = "http://ronja.twibright.com/utils/vncrec-twibright.tgz";
|
||||||
sha256 = "1yp6r55fqpdhc8cgrgh9i0mzxmkls16pgf8vfcpng1axr7cigyhc";
|
sha256 = "1yp6r55fqpdhc8cgrgh9i0mzxmkls16pgf8vfcpng1axr7cigyhc";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
buildInputs = [
|
||||||
makeFlags = [
|
libX11 xproto imake gccmakedep libXt libXmu libXaw
|
||||||
"World"
|
libXext xextproto libSM libICE libXpm libXp
|
||||||
];
|
];
|
||||||
installFlags=[
|
|
||||||
"BINDIR=/bin/"
|
|
||||||
"MANDIR=/share/man/man1"
|
|
||||||
"DESTDIR=$out"
|
|
||||||
"install.man"
|
|
||||||
];
|
|
||||||
|
|
||||||
phaseNames = ["doXMKMF" "doMakeInstall"];
|
buildPhase = ''xmkmf && make World'';
|
||||||
|
|
||||||
doXMKMF = a.fullDepEntry (''
|
installPhase = ''
|
||||||
xmkmf
|
make DESTDIR=$out BINDIR=/bin MANDIR=/share/man/man1 install install.man
|
||||||
'') ["doUnpack" "minInit" "addInputs"];
|
'';
|
||||||
|
|
||||||
name = "vncrec-0.2"; # version taken from Arch AUR
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "VNC recorder";
|
description = "VNC recorder";
|
||||||
homepage = http://ronja.twibright.com/utils/vncrec/;
|
homepage = http://ronja.twibright.com/utils/vncrec/;
|
||||||
maintainers = [
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -974,7 +974,7 @@ let
|
||||||
inherit (pythonPackages) notify;
|
inherit (pythonPackages) notify;
|
||||||
};
|
};
|
||||||
|
|
||||||
bmrsa = builderDefsPackage (callPackage ../tools/security/bmrsa/11.nix) { };
|
bmrsa = callPackage ../tools/security/bmrsa/11.nix { };
|
||||||
|
|
||||||
bogofilter = callPackage ../tools/misc/bogofilter { };
|
bogofilter = callPackage ../tools/misc/bogofilter { };
|
||||||
|
|
||||||
|
@ -1034,7 +1034,7 @@ let
|
||||||
ceph-dev = ceph;
|
ceph-dev = ceph;
|
||||||
#ceph-dev = lowPrio (callPackage ../tools/filesystems/ceph/dev.nix { });
|
#ceph-dev = lowPrio (callPackage ../tools/filesystems/ceph/dev.nix { });
|
||||||
|
|
||||||
cfdg = builderDefsPackage (callPackage ../tools/graphics/cfdg) {};
|
cfdg = callPackage ../tools/graphics/cfdg { };
|
||||||
|
|
||||||
checkinstall = callPackage ../tools/package-management/checkinstall { };
|
checkinstall = callPackage ../tools/package-management/checkinstall { };
|
||||||
|
|
||||||
|
@ -1780,7 +1780,7 @@ let
|
||||||
|
|
||||||
gupnptools = callPackage ../tools/networking/gupnp-tools {};
|
gupnptools = callPackage ../tools/networking/gupnp-tools {};
|
||||||
|
|
||||||
gvpe = builderDefsPackage (callPackage ../tools/networking/gvpe) {};
|
gvpe = callPackage ../tools/networking/gvpe { };
|
||||||
|
|
||||||
gvolicon = callPackage ../tools/audio/gvolicon {};
|
gvolicon = callPackage ../tools/audio/gvolicon {};
|
||||||
|
|
||||||
|
@ -2294,7 +2294,7 @@ let
|
||||||
|
|
||||||
mscgen = callPackage ../tools/graphics/mscgen { };
|
mscgen = callPackage ../tools/graphics/mscgen { };
|
||||||
|
|
||||||
msf = builderDefsPackage (callPackage ../tools/security/metasploit/3.1.nix) { };
|
msf = callPackage ../tools/security/metasploit { };
|
||||||
|
|
||||||
mssys = callPackage ../tools/misc/mssys { };
|
mssys = callPackage ../tools/misc/mssys { };
|
||||||
|
|
||||||
|
@ -2780,7 +2780,7 @@ let
|
||||||
|
|
||||||
pythonDBus = dbus_python;
|
pythonDBus = dbus_python;
|
||||||
|
|
||||||
pythonIRClib = builderDefsPackage (callPackage ../development/python-modules/irclib) { };
|
pythonIRClib = callPackage ../development/python-modules/irclib { };
|
||||||
|
|
||||||
pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { };
|
pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { };
|
||||||
|
|
||||||
|
@ -2972,7 +2972,7 @@ let
|
||||||
|
|
||||||
seccure = callPackage ../tools/security/seccure { };
|
seccure = callPackage ../tools/security/seccure { };
|
||||||
|
|
||||||
setserial = builderDefsPackage (callPackage ../tools/system/setserial) { };
|
setserial = callPackage ../tools/system/setserial { };
|
||||||
|
|
||||||
seqdiag = pythonPackages.seqdiag;
|
seqdiag = pythonPackages.seqdiag;
|
||||||
|
|
||||||
|
@ -3342,7 +3342,11 @@ let
|
||||||
|
|
||||||
vnc2flv = callPackage ../tools/video/vnc2flv {};
|
vnc2flv = callPackage ../tools/video/vnc2flv {};
|
||||||
|
|
||||||
vncrec = builderDefsPackage (callPackage ../tools/video/vncrec) {};
|
vncrec = callPackage ../tools/video/vncrec {
|
||||||
|
inherit (xlibs) imake libX11 xproto gccmakedep libXt
|
||||||
|
libXmu libXaw libXext xextproto libSM libICE libXpm
|
||||||
|
libXp;
|
||||||
|
};
|
||||||
|
|
||||||
vobcopy = callPackage ../tools/cd-dvd/vobcopy { };
|
vobcopy = callPackage ../tools/cd-dvd/vobcopy { };
|
||||||
|
|
||||||
|
@ -3393,7 +3397,7 @@ let
|
||||||
|
|
||||||
rcm = callPackage ../tools/misc/rcm {};
|
rcm = callPackage ../tools/misc/rcm {};
|
||||||
|
|
||||||
tftp_hpa = callPackage ../tools/networking/tftp-hpa {};
|
tftp-hpa = callPackage ../tools/networking/tftp-hpa {};
|
||||||
|
|
||||||
tidy-html5 = callPackage ../tools/text/tidy-html5 { };
|
tidy-html5 = callPackage ../tools/text/tidy-html5 { };
|
||||||
|
|
||||||
|
@ -3607,7 +3611,7 @@ let
|
||||||
|
|
||||||
xmltv = callPackage ../tools/misc/xmltv { };
|
xmltv = callPackage ../tools/misc/xmltv { };
|
||||||
|
|
||||||
xmpppy = builderDefsPackage (callPackage ../development/python-modules/xmpppy) {};
|
xmpppy = callPackage ../development/python-modules/xmpppy { };
|
||||||
|
|
||||||
xorriso = callPackage ../tools/cd-dvd/xorriso { };
|
xorriso = callPackage ../tools/cd-dvd/xorriso { };
|
||||||
|
|
||||||
|
@ -6354,7 +6358,9 @@ let
|
||||||
|
|
||||||
freeglut = callPackage ../development/libraries/freeglut { };
|
freeglut = callPackage ../development/libraries/freeglut { };
|
||||||
|
|
||||||
freenect = callPackage ../development/libraries/freenect { };
|
freenect = callPackage ../development/libraries/freenect {
|
||||||
|
inherit (xlibs) libXi libXmu;
|
||||||
|
};
|
||||||
|
|
||||||
freetype = callPackage ../development/libraries/freetype { };
|
freetype = callPackage ../development/libraries/freetype { };
|
||||||
|
|
||||||
|
@ -7629,7 +7635,7 @@ let
|
||||||
|
|
||||||
libwpg = callPackage ../development/libraries/libwpg { };
|
libwpg = callPackage ../development/libraries/libwpg { };
|
||||||
|
|
||||||
libx86 = builderDefsPackage ../development/libraries/libx86 {};
|
libx86 = callPackage ../development/libraries/libx86 {};
|
||||||
|
|
||||||
libxdg_basedir = callPackage ../development/libraries/libxdg-basedir { };
|
libxdg_basedir = callPackage ../development/libraries/libxdg-basedir { };
|
||||||
|
|
||||||
|
@ -7875,7 +7881,7 @@ let
|
||||||
|
|
||||||
nvidia-texture-tools = callPackage ../development/libraries/nvidia-texture-tools { };
|
nvidia-texture-tools = callPackage ../development/libraries/nvidia-texture-tools { };
|
||||||
|
|
||||||
ode = builderDefsPackage (callPackage ../development/libraries/ode) { };
|
ode = callPackage ../development/libraries/ode { };
|
||||||
|
|
||||||
ogre = callPackage ../development/libraries/ogre {};
|
ogre = callPackage ../development/libraries/ogre {};
|
||||||
|
|
||||||
|
@ -9736,7 +9742,9 @@ let
|
||||||
|
|
||||||
dietlibc = callPackage ../os-specific/linux/dietlibc { };
|
dietlibc = callPackage ../os-specific/linux/dietlibc { };
|
||||||
|
|
||||||
directvnc = builderDefsPackage (callPackage ../os-specific/linux/directvnc) {};
|
directvnc = callPackage ../os-specific/linux/directvnc {
|
||||||
|
inherit (xlibs) xproto;
|
||||||
|
};
|
||||||
|
|
||||||
dmraid = callPackage ../os-specific/linux/dmraid {
|
dmraid = callPackage ../os-specific/linux/dmraid {
|
||||||
devicemapper = devicemapper.override {enable_dmeventd = true;};
|
devicemapper = devicemapper.override {enable_dmeventd = true;};
|
||||||
|
@ -11880,7 +11888,7 @@ let
|
||||||
|
|
||||||
gphoto2 = callPackage ../applications/misc/gphoto2 { };
|
gphoto2 = callPackage ../applications/misc/gphoto2 { };
|
||||||
|
|
||||||
gphoto2fs = builderDefsPackage (callPackage ../applications/misc/gphoto2/gphotofs.nix) {};
|
gphoto2fs = callPackage ../applications/misc/gphoto2/gphotofs.nix { };
|
||||||
|
|
||||||
gramps = callPackage ../applications/misc/gramps { };
|
gramps = callPackage ../applications/misc/gramps { };
|
||||||
|
|
||||||
|
@ -11900,7 +11908,7 @@ let
|
||||||
java = if stdenv.isLinux then jre else jdk;
|
java = if stdenv.isLinux then jre else jdk;
|
||||||
};
|
};
|
||||||
|
|
||||||
qrdecode = builderDefsPackage (callPackage ../tools/graphics/qrdecode) {
|
qrdecode = callPackage ../tools/graphics/qrdecode {
|
||||||
libpng = libpng12;
|
libpng = libpng12;
|
||||||
opencv = opencv_2_1;
|
opencv = opencv_2_1;
|
||||||
};
|
};
|
||||||
|
@ -13556,7 +13564,8 @@ let
|
||||||
|
|
||||||
x42-plugins = callPackage ../applications/audio/x42-plugins { };
|
x42-plugins = callPackage ../applications/audio/x42-plugins { };
|
||||||
|
|
||||||
xaos = builderDefsPackage (callPackage ../applications/graphics/xaos) {
|
xaos = callPackage ../applications/graphics/xaos {
|
||||||
|
inherit (xlibs) libXt libX11 libXext xextproto xproto;
|
||||||
libpng = libpng12;
|
libpng = libpng12;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -14286,7 +14295,9 @@ let
|
||||||
|
|
||||||
xsnow = callPackage ../games/xsnow { };
|
xsnow = callPackage ../games/xsnow { };
|
||||||
|
|
||||||
xsokoban = builderDefsPackage (callPackage ../games/xsokoban) {};
|
xsokoban = callPackage ../games/xsokoban {
|
||||||
|
inherit (xlibs) libX11 xproto libXpm libXt;
|
||||||
|
};
|
||||||
|
|
||||||
zandronum = callPackage ../games/zandronum { };
|
zandronum = callPackage ../games/zandronum { };
|
||||||
zandronum-server = callPackage ../games/zandronum/server.nix { };
|
zandronum-server = callPackage ../games/zandronum/server.nix { };
|
||||||
|
@ -14599,7 +14610,7 @@ let
|
||||||
|
|
||||||
### SCIENCE/GEOMETRY
|
### SCIENCE/GEOMETRY
|
||||||
|
|
||||||
drgeo = builderDefsPackage (callPackage ../applications/science/geometry/drgeo) {
|
drgeo = callPackage ../applications/science/geometry/drgeo {
|
||||||
inherit (gnome) libglade;
|
inherit (gnome) libglade;
|
||||||
guile = guile_1_8;
|
guile = guile_1_8;
|
||||||
};
|
};
|
||||||
|
@ -14798,7 +14809,9 @@ let
|
||||||
coqPackages = recurseIntoAttrs (mkCoqPackages_8_4 coqPackages);
|
coqPackages = recurseIntoAttrs (mkCoqPackages_8_4 coqPackages);
|
||||||
coqPackages_8_5 = recurseIntoAttrs (mkCoqPackages_8_5 coqPackages_8_5);
|
coqPackages_8_5 = recurseIntoAttrs (mkCoqPackages_8_5 coqPackages_8_5);
|
||||||
|
|
||||||
cvc3 = callPackage ../applications/science/logic/cvc3 {};
|
cvc3 = callPackage ../applications/science/logic/cvc3 {
|
||||||
|
gmp = lib.overrideDerivation gmp (a: { dontDisableStatic = true; });
|
||||||
|
};
|
||||||
cvc4 = callPackage ../applications/science/logic/cvc4 {};
|
cvc4 = callPackage ../applications/science/logic/cvc4 {};
|
||||||
|
|
||||||
ekrhyper = callPackage ../applications/science/logic/ekrhyper {};
|
ekrhyper = callPackage ../applications/science/logic/ekrhyper {};
|
||||||
|
@ -15604,6 +15617,7 @@ aliases = with self; rec {
|
||||||
youtube-dl = pythonPackages.youtube-dl; # added 2015-06-07
|
youtube-dl = pythonPackages.youtube-dl; # added 2015-06-07
|
||||||
youtubeDL = youtube-dl; # added 2014-10-26
|
youtubeDL = youtube-dl; # added 2014-10-26
|
||||||
pidginlatexSF = pidginlatex; # added 2014-11-02
|
pidginlatexSF = pidginlatex; # added 2014-11-02
|
||||||
|
tftp_hpa = tftp-hpa; # added 2015-04-03
|
||||||
};
|
};
|
||||||
|
|
||||||
tweakAlias = _n: alias: with lib;
|
tweakAlias = _n: alias: with lib;
|
||||||
|
|
Loading…
Reference in a new issue