3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/nix-eval-jobs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
822 B
Nix
Raw Normal View History

2021-10-10 09:24:46 +01:00
{ lib
, boost
, cmake
, fetchFromGitHub
, meson
, ninja
, nix
2021-10-10 09:24:46 +01:00
, nlohmann_json
, pkg-config
, stdenv
}:
stdenv.mkDerivation rec {
pname = "nix-eval-jobs";
2022-03-13 17:26:09 +00:00
version = "0.0.4";
2021-10-10 09:24:46 +01:00
src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
rev = "v${version}";
2022-03-13 17:26:09 +00:00
hash = "sha256-SCwvFlBYUlxCucjMO4GHhEQWZFZt0lRKJncm6hvDx9I=";
2021-10-10 09:24:46 +01:00
};
buildInputs = [
boost
nix
2021-10-10 09:24:46 +01: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;
};
}