Merge pull request #155042 from puffnfresh/pkgs/nsync
nsync: init at 1.24.0
This commit is contained in:
commit
0fd0bb474a
2 changed files with 31 additions and 0 deletions
29
pkgs/development/libraries/nsync/default.nix
Normal file
29
pkgs/development/libraries/nsync/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nsync";
|
||||
version = "1.24.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
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 = with lib.maintainers; [ puffnfresh ];
|
||||
# On macOS we get an error for some reason:
|
||||
# > mkdir: cannot create directory 'build': File exists
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -3488,6 +3488,8 @@ with pkgs;
|
|||
|
||||
nrsc5 = callPackage ../applications/misc/nrsc5 { };
|
||||
|
||||
nsync = callPackage ../development/libraries/nsync { };
|
||||
|
||||
nwipe = callPackage ../tools/security/nwipe { };
|
||||
|
||||
nx2elf = callPackage ../tools/compression/nx2elf { };
|
||||
|
|
Loading…
Reference in a new issue