mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 06:12:58 +00:00
42 lines
823 B
Nix
42 lines
823 B
Nix
{ lib
|
|
, boost
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, nix
|
|
, nlohmann_json
|
|
, pkg-config
|
|
, stdenv
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "nix-eval-jobs";
|
|
version = "2.16.0";
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-RexpBkQsSbdezRxToWX/GFKMdivfcp7JhBl1Xbb6Xdw=";
|
|
};
|
|
buildInputs = [
|
|
boost
|
|
nix
|
|
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;
|
|
};
|
|
}
|