nixpkgs/pkgs/servers/icecream/default.nix
2024-05-23 11:49:42 +03:00

26 lines
800 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, docbook2x, libarchive, libcap_ng, lzo, pkg-config, zstd, docbook_xml_dtd_45 }:
stdenv.mkDerivation rec {
pname = "icecream";
version = "1.4";
src = fetchFromGitHub {
owner = "icecc";
repo = pname;
rev = version;
sha256 = "sha256-nBdUbWNmTxKpkgFM3qbooNQISItt5eNKtnnzpBGVbd4=";
};
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook docbook2x pkg-config ];
buildInputs = [ libarchive libcap_ng lzo zstd docbook_xml_dtd_45 ];
meta = with lib; {
description = "Distributed compiler with a central scheduler to share build load";
inherit (src.meta) homepage;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ emantor ];
platforms = with platforms; linux ++ darwin;
};
}