summary refs log tree commit diff
path: root/pkgs/development/tools/misc/hydra/default.nix
blob: 142322eb59d4988dc780f94d0ce16c2f7232cc52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ fetchFromGitHub, nixStable, callPackage, nixFlakes, nixosTests }:

{
  hydra-unstable = callPackage ./common.nix {
    version = "2021-05-03";
    src = fetchFromGitHub {
      owner = "NixOS";
      repo = "hydra";
      rev = "886e6f85e45a1f757e9b77d2a9e4539fbde29468";
      sha256 = "t7Qb57Xjc0Ou+VDGC1N5u9AmeODW6MVOwKSrYRJq5f0=";
    };
    nix = nixFlakes;

    tests = {
      basic = nixosTests.hydra.hydra-unstable;
    };
  };
}