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