@@ -1,73 +0,0 @@
1−{ stdenv, fetchurl, nix, perlPackages, perl, makeWrapper, libtool
2−, unzip, nukeReferences, pkgconfig, boehmgc, libxslt, sqlite
3−, subversion, openssh, coreutils, findutils, gzip, bzip2, lzma
4−, gnutar, git, mercurial, gnused, graphviz, rpm, dpkg, cdrkit
5−}:
6−
7−let
8−
9− perldeps = with perlPackages;
10− [ CatalystDevel
11− CatalystPluginSessionStoreFastMmap
12− CatalystPluginStackTrace
13− CatalystPluginAuthorizationRoles
14− CatalystAuthenticationStoreDBIxClass
15− CatalystViewTT
16− CatalystEngineHTTPPrefork
17− CatalystViewDownload
18− XMLSimple
19− IPCRun
20− IOCompress
21− Readonly
22− DBDPg
23− EmailSender
24− TextTable
25− NetTwitterLite
26− PadWalker
27− DataDump
28− JSONXS
29− DateTime
30− DigestSHA1
31− CryptRandPasswd
32− nixPerl
33− ];
34−
35− version = "0.1pre27592";
36−
37−in
38−
39−stdenv.mkDerivation {
40− name = "hydra-${version}";
41−
42− src = fetchurl {
43− url = http://hydra.nixos.org/build/1142240/download/2/hydra-0.1pre27592.tar.gz;
44− sha256 = "0197bcfkabqqv7611fh9kjabfm0nfci8kanfaa59hqwf3h6fmpwz";
45− };
46−
47− configureFlags = "--with-nix=${nix}";
48−
49− buildInputs = [ perl makeWrapper libtool nix unzip nukeReferences pkgconfig boehmgc ] ++ perldeps ;
50−
51− hydraPath = stdenv.lib.concatStringsSep ":" (map (p: "${p}/bin") ( [
52− libxslt sqlite subversion openssh nix coreutils findutils
53− gzip bzip2 lzma gnutar unzip git mercurial gnused graphviz
54− rpm dpkg cdrkit]));
55−
56− postInstall = ''
57− for i in "$out/bin/"*; do
58− wrapProgram $i \
59− --prefix PERL5LIB ':' $out/libexec/hydra/lib:$PERL5LIB \
60− --prefix PATH ':' $out/bin:$hydraPath \
61− --set HYDRA_RELEASE ${version} \
62− --set HYDRA_HOME $out/libexec/hydra \
63− --set NIX_RELEASE ${nix.name}
64− done
65− '';
66−
67− meta = {
68− description = "Hydra, the Nix-based continuous integration system";
69− homepage = http://nixos.org/hydra/;
70− license = stdenv.lib.licenses.gpl3Plus;
71− platforms = stdenv.lib.platforms.linux;
72− };
73−}