Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
677 B
Nix
38 lines
677 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
autoconf,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "cpu";
|
|
version = "2.0.0";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "UnixJunkie";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1vir6gh1bhvxgj2fcn69c38yhw3jgk7dyikmw789m5ld2csnyjiv";
|
|
};
|
|
|
|
preConfigure = ''
|
|
autoconf
|
|
autoheader
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoconf ];
|
|
|
|
hardeningDisable = lib.optional stdenv.hostPlatform.isDarwin "strictoverflow";
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Core pinning library";
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
license = licenses.lgpl2;
|
|
};
|
|
}
|