3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from Thesola10/master

nanomsg: fix pkgconfig file
This commit is contained in:
Sebastián Mancilla 2022-08-19 09:43:02 -04:00 committed by GitHub
commit 354b4390f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, cmake, fetchFromGitHub }:
{ lib, stdenv, cmake, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
version = "1.1.5";
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64";
};
patches = [
# Add pkgconfig fix from https://github.com/nanomsg/nanomsg/pull/1085
(fetchpatch {
url = "https://github.com/nanomsg/nanomsg/commit/e3323f19579529d272cb1d55bd6b653c4f34c064.patch";
sha256 = "URz7TAqqpKxqjgvQqNX4WNSShwiEzAvO2h0hCZ2NhVY=";
})
];
nativeBuildInputs = [ cmake ];
meta = with lib; {