2021-10-11 16:52:03 +00:00
|
|
|
{ lib
|
|
|
|
, boost
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-12-06 16:07:01 +00:00
|
|
|
, nix
|
2021-10-11 16:52:03 +00:00
|
|
|
, nlohmann_json
|
|
|
|
, pkg-config
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nix-eval-jobs";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.16.0";
|
2021-10-11 16:52:03 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-RexpBkQsSbdezRxToWX/GFKMdivfcp7JhBl1Xbb6Xdw=";
|
2021-10-11 16:52:03 +00:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
2021-12-06 16:07:01 +00:00
|
|
|
nix
|
2021-10-11 16:52:03 +00:00
|
|
|
nlohmann_json
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
# nlohmann_json can be only discovered via cmake files
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Hydra's builtin hydra-eval-jobs as a standalone";
|
|
|
|
homepage = "https://github.com/nix-community/nix-eval-jobs";
|
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ adisbladis mic92 ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|