nsync: init at 1.24.0

This commit is contained in:
Brian McKenna 2022-01-15 06:29:38 +10:00
parent fd7e851613
commit eb4fd7e716
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "nsync";
version = "1.24.0";
src = fetchFromGitHub {
owner = "google";
repo = "nsync";
rev = version;
sha256 = "sha256-jQJtlBDR6efBe1tFOUOZ6awaMTT33qM/GbvbwiWTZxw=";
};
nativeBuildInputs = [ cmake ];
meta = {
homepage = "https://github.com/google/nsync";
description = "C library that exports various synchronization primitives";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.puffnfresh ];
# On macOS we get an error for some reason:
# > mkdir: cannot create directory 'build': File exists
platforms = lib.platforms.linux;
};
}

View file

@ -3492,6 +3492,8 @@ with pkgs;
nrsc5 = callPackage ../applications/misc/nrsc5 { };
nsync = callPackage ../development/libraries/nsync { };
nwipe = callPackage ../tools/security/nwipe { };
nx2elf = callPackage ../tools/compression/nx2elf { };