diff options
author | Alexander Shpilkin <ashpilkin@gmail.com> | 2022-05-09 16:09:30 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-09-07 21:44:36 +0300 |
commit | 5dedecfd4c7e901ed492362b23a04aaa7575f49b (patch) | |
tree | 54ff0e3dce409452988ec163bea849037419fdfa /pkgs/development/libraries/libmatroska | |
parent | ca049040de130c77f671fef17442ab60da465c0b (diff) | |
download | nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.tar nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.tar.gz nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.tar.bz2 nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.tar.lz nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.tar.xz nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.tar.zst nixpkgs-5dedecfd4c7e901ed492362b23a04aaa7575f49b.zip |
libmatroska: fix paths in pkg-config file
Diffstat (limited to 'pkgs/development/libraries/libmatroska')
-rw-r--r-- | pkgs/development/libraries/libmatroska/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libmatroska/default.nix b/pkgs/development/libraries/libmatroska/default.nix index a89bf9fc4ab..1d5d13259bb 100644 --- a/pkgs/development/libraries/libmatroska/default.nix +++ b/pkgs/development/libraries/libmatroska/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config +{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config , libebml }: stdenv.mkDerivation rec { @@ -12,6 +12,15 @@ stdenv.mkDerivation rec { sha256 = "01dg12ndxfdqgjx5v2qy4mff6xjdxglywyg82sr3if5aw6rp3dji"; }; + # in master post 1.6.3, see https://github.com/Matroska-Org/libmatroska/issues/62 + patches = [ + (fetchpatch { + name = "fix-pkg-config.patch"; + url = "https://github.com/Matroska-Org/libmatroska/commit/53f6ea573878621871bca5f089220229fcb33a3b.patch"; + sha256 = "1lcxl3n32kk5x4aa4ja7p68km7qb2bwscavpv7qdmbhp3w5ia0mk"; + }) + ]; + nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ libebml ]; |