-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5908890
commit 5b1dd91
Showing
3 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
16 changes: 11 additions & 5 deletions
16
...velopment/libraries/protobufc/generic.nix → ...velopment/libraries/protobufc/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
{ lib, stdenv, src, version | ||
{ lib, stdenv, fetchFromGitHub | ||
, autoreconfHook, pkg-config, protobuf, zlib | ||
, ... | ||
}: | ||
|
||
stdenv.mkDerivation { | ||
stdenv.mkDerivation rec { | ||
pname = "protobuf-c"; | ||
inherit version; | ||
version = "1.4.1"; | ||
|
||
inherit src; | ||
src = fetchFromGitHub { | ||
owner = "protobuf-c"; | ||
repo = "protobuf-c"; | ||
rev = "refs/tags/v${version}"; | ||
hash = "sha256-TJCLzxozuZ8ynrBQ2lKyk03N+QA/lbOwywUjDUdTlbM="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ]; | ||
|
||
buildInputs = [ protobuf zlib ]; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/protobuf-c/protobuf-c/"; | ||
description = "C bindings for Google's Protocol Buffers"; | ||
license = licenses.bsd2; | ||
platforms = platforms.all; | ||
maintainers = with maintainers; [ ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5b1dd91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is most likely what broke its build on
*-darwin
, but I'm not sure if there's anyone caring enough about it.https://hydra.nixos.org/job/nixpkgs/staging-next/protobufc.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/staging-next/protobufc.aarch64-darwin