2008-11-24 15:10:06 +00:00
|
|
|
{pkgs}:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
rec {
|
|
|
|
|
2009-03-26 14:11:59 +00:00
|
|
|
sourceTarball = args: import ./source-tarball.nix (
|
2008-12-10 10:58:07 +00:00
|
|
|
{ inherit stdenv autoconf automake libtool;
|
2008-11-28 16:12:50 +00:00
|
|
|
} // args);
|
2008-11-24 15:10:06 +00:00
|
|
|
|
2009-03-26 14:11:59 +00:00
|
|
|
makeSourceTarball = sourceTarball; # compatibility
|
|
|
|
|
|
|
|
binaryTarball = args: import ./binary-tarball.nix (
|
|
|
|
{ inherit stdenv;
|
|
|
|
} // args);
|
|
|
|
|
2010-03-05 10:09:22 +00:00
|
|
|
antBuild = args: import ./ant-build.nix (
|
2010-10-20 09:23:52 +01:00
|
|
|
{ inherit pkgs;
|
2010-03-05 10:09:22 +00:00
|
|
|
} // args);
|
|
|
|
|
2010-03-11 14:44:17 +00:00
|
|
|
mvnBuild = args: import ./maven-build.nix (
|
|
|
|
{ inherit stdenv;
|
|
|
|
} // args);
|
|
|
|
|
2008-11-24 15:10:06 +00:00
|
|
|
nixBuild = args: import ./nix-build.nix (
|
|
|
|
{ inherit stdenv;
|
|
|
|
} // args);
|
|
|
|
|
|
|
|
coverageAnalysis = args: nixBuild (
|
|
|
|
{ inherit lcov;
|
|
|
|
doCoverageAnalysis = true;
|
|
|
|
} // args);
|
|
|
|
|
2009-03-02 13:45:48 +00:00
|
|
|
rpmBuild = args: import ./rpm-build.nix (
|
|
|
|
{ inherit vmTools;
|
|
|
|
} // args);
|
2008-11-25 00:20:51 +00:00
|
|
|
|
2009-03-02 13:45:48 +00:00
|
|
|
debBuild = args: import ./debian-build.nix (
|
|
|
|
{ inherit stdenv vmTools checkinstall;
|
2008-11-25 00:20:51 +00:00
|
|
|
} // args);
|
|
|
|
|
2013-03-20 14:52:08 +00:00
|
|
|
aggregate =
|
|
|
|
{ name, members, meta ? { } }:
|
|
|
|
pkgs.runCommand name
|
|
|
|
{ inherit members meta;
|
|
|
|
_hydraAggregate = true;
|
|
|
|
}
|
|
|
|
''
|
|
|
|
echo $members > $out
|
|
|
|
'';
|
|
|
|
|
2008-11-25 00:20:51 +00:00
|
|
|
}
|