Files

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

36 lines
746 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
stdenv,
lib,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "nsync";
version = "1.29.2";
src = fetchFromGitHub {
owner = "google";
repo = "nsync";
rev = version;
hash = "sha256-RAwrS8Vz5fZwZRvF4OQfn8Ls11S8OIV2TmJpNrBE4MI=";
};
nativeBuildInputs = [ cmake ];
# Needed for case-insensitive filesystems like on macOS
# because a file named BUILD exists already.
cmakeBuildDir = "build_dir";
meta = {
homepage = "https://github.com/google/nsync";
description = "C library that exports various synchronization primitives";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
puffnfresh
Luflosi
];
platforms = lib.platforms.unix;
};
}