protobufc: 1.3.3 -> 1.4.1

This commit is contained in:
Martin Weinelt 2022-09-18 02:15:04 +02:00 committed by Sandro Jäckel
parent 5908890550
commit 5b1dd91117
No known key found for this signature in database
GPG key ID: B1763F8651144063
3 changed files with 12 additions and 17 deletions

View file

@ -1,11 +0,0 @@
{ callPackage, fetchFromGitHub, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "1.3.3";
src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "v${version}";
sha256 = "13948amsjj9xpa4yl6amlyk3ksr96bbd4ngshh2yzflwcslhg6gv";
};
})

View file

@ -1,15 +1,20 @@
{ 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; {
@ -17,5 +22,6 @@ stdenv.mkDerivation {
description = "C bindings for Google's Protocol Buffers";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}

View file

@ -21165,7 +21165,7 @@ with pkgs;
protobuf3_8 = callPackage ../development/libraries/protobuf/3.8.nix { };
protobuf3_7 = callPackage ../development/libraries/protobuf/3.7.nix { };
protobufc = callPackage ../development/libraries/protobufc/1.3.nix { };
protobufc = callPackage ../development/libraries/protobufc { };
protolock = callPackage ../development/libraries/protolock { };