tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
protobufc: 1.4.1 -> unstable-2023-07-08
Theodore Ni
2 years ago
71f1732d
61f38f60
+4
-13
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
protobufc
default.nix
+4
-13
pkgs/development/libraries/protobufc/default.nix
reviewed
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
-
, fetchpatch
5
4
, autoreconfHook
6
5
, pkg-config
7
6
, protobuf
···
11
10
12
11
stdenv.mkDerivation rec {
13
12
pname = "protobuf-c";
14
14
-
version = "1.4.1";
13
13
+
version = "unstable-2023-07-08";
15
14
16
15
src = fetchFromGitHub {
17
16
owner = "protobuf-c";
18
17
repo = "protobuf-c";
19
19
-
rev = "refs/tags/v${version}";
20
20
-
hash = "sha256-TJCLzxozuZ8ynrBQ2lKyk03N+QA/lbOwywUjDUdTlbM=";
18
18
+
rev = "fa86fddbd000316772d1deb5a8d1201fa7599ef7";
19
19
+
hash = "sha256-pmqZYFREPgSrWPekymTglhtAv6gQR1gP3dOl3hqjYig=";
21
20
};
22
21
23
23
-
patches = [
24
24
-
# https://github.com/protobuf-c/protobuf-c/pull/534
25
25
-
(fetchpatch {
26
26
-
url = "https://github.com/protobuf-c/protobuf-c/commit/a6c9ea5207aeac61c57b446ddf5a6b68308881d8.patch";
27
27
-
hash = "sha256-wTb8+YbvrCrOVpgthI5SJdG/CpQcOzCX4Bv47FPY804=";
28
28
-
})
29
29
-
];
30
30
-
31
22
nativeBuildInputs = [ autoreconfHook pkg-config ];
32
23
33
24
buildInputs = [ protobuf zlib ];
34
25
35
35
-
PROTOC = lib.getExe buildPackages.protobuf;
26
26
+
env.PROTOC = lib.getExe buildPackages.protobuf;
36
27
37
28
meta = with lib; {
38
29
homepage = "https://github.com/protobuf-c/protobuf-c/";