Merge pull request #194212 from Luflosi/update/nsync

nsync: 1.24.0 -> 1.25.0
This commit is contained in:
Christian Kögler 2022-10-03 22:24:40 +02:00 committed by GitHub
commit 1f69982b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,24 +6,26 @@
stdenv.mkDerivation rec {
pname = "nsync";
version = "1.24.0";
version = "1.25.0";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = version;
sha256 = "sha256-jQJtlBDR6efBe1tFOUOZ6awaMTT33qM/GbvbwiWTZxw=";
sha256 = "sha256-bdnYrMnBnpnEKGuMlDLILfzgwfu/e5tyMdSDWqreyto=";
};
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 ];
# On macOS we get an error for some reason:
# > mkdir: cannot create directory 'build': File exists
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ puffnfresh Luflosi ];
platforms = lib.platforms.unix;
};
}