blob: a984058e9b10f637d4a2a341c52068cccfb3d586 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ stdenv
, lib
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "nsync";
version = "1.26.0";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = version;
hash = "sha256-pE9waDI+6LQwbyPJ4zROoF93Vt6+SETxxJ/UxeZE5WE=";
};
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;
};
}
|