nsync: apply suggestions from code review

Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
This commit is contained in:
Brian McKenna 2022-01-16 06:56:15 +10:00 committed by GitHub
parent eb4fd7e716
commit 510773323b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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