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
45 lines
835 B
Nix
45 lines
835 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
fetchpatch,
|
|
meson,
|
|
pkg-config,
|
|
ninja,
|
|
c-stdaux,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "c-siphash";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "c-util";
|
|
repo = "c-siphash";
|
|
tag = "v${version}";
|
|
hash = "sha256-S5eAlLR6p0Tpd6aYPGGGOH1sCGOyflVyhICi2pYt/8U=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
];
|
|
|
|
propagatedBuildInputs = [ c-stdaux ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/c-util/c-siphash";
|
|
description = "Streaming-capable SipHash Implementation";
|
|
changelog = "https://github.com/c-util/c-siphash/releases/tag/${src.tag}";
|
|
license = with lib.licenses; [
|
|
asl20
|
|
lgpl2Plus
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ qbisi ];
|
|
};
|
|
}
|