mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
05b46fc482
This mainly fixes various macOS issues, so we can get rid of 2.19.
(cherry picked from commit 0394bcf6cb
)
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ lib
|
|
, boost
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, curl
|
|
, nix
|
|
, nlohmann_json
|
|
, pkg-config
|
|
, stdenv
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "nix-eval-jobs";
|
|
version = "2.22.1";
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-zvi2YfvlOLtui2JFhPs2qybpnJR3/2luMfp8t/eMh54=";
|
|
};
|
|
buildInputs = [
|
|
boost
|
|
nix
|
|
curl
|
|
nlohmann_json
|
|
];
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
# nlohmann_json can be only discovered via cmake files
|
|
cmake
|
|
];
|
|
|
|
# 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; };
|
|
|
|
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;
|
|
mainProgram = "nix-eval-jobs";
|
|
};
|
|
}
|