2021-10-10 08:24:46 +00:00
|
|
|
{ lib
|
|
|
|
, boost
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-11-25 17:55:41 +00:00
|
|
|
, nix
|
2021-10-10 08:24:46 +00:00
|
|
|
, nlohmann_json
|
|
|
|
, pkg-config
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nix-eval-jobs";
|
2024-05-11 08:30:16 +00:00
|
|
|
version = "2.22.0";
|
2021-10-10 08:24:46 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-05-11 08:30:16 +00:00
|
|
|
hash = "sha256-Foi9FUuwKBUVExR3uEJEGsNRCGkkoNDj0yEhASanGCM=";
|
2021-10-10 08:24:46 +00:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
2021-11-25 17:55:41 +00:00
|
|
|
nix
|
2021-10-10 08:24:46 +00:00
|
|
|
nlohmann_json
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
# nlohmann_json can be only discovered via cmake files
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
2023-10-06 16:09:03 +00:00
|
|
|
# Since this package is intimately tied to a specific Nix release, we
|
|
|
|
# propagate the Nix used for building it to make it easier for users
|
|
|
|
# downstream to reference it.
|
|
|
|
passthru = { inherit nix; };
|
|
|
|
|
2021-10-10 08:24:46 +00:00
|
|
|
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;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "nix-eval-jobs";
|
2021-10-10 08:24:46 +00:00
|
|
|
};
|
|
|
|
}
|