brunsli: tidy patching

This commit is contained in:
Robert Scott 2022-10-29 17:53:50 +01:00
parent 3d99938829
commit 33ea139261

View File

@ -23,11 +23,13 @@ stdenv.mkDerivation rec {
# unvendor brotli # unvendor brotli
(fetchpatch { (fetchpatch {
url = "https://cgit.freebsd.org/ports/plain/graphics/brunsli/files/patch-CMakeLists.txt"; url = "https://cgit.freebsd.org/ports/plain/graphics/brunsli/files/patch-CMakeLists.txt";
hash = "sha256-SqmkmL8r/KGvELq2em4ZLkCaKgZywZ/4fcC/enZ1nEI="; extraPrefix = "";
hash = "sha256-/WPOG9OcEDj9ObBSXEM8Luq4Rix+PS2MvsYyHhK5mns=";
}) })
(fetchpatch { (fetchpatch {
url = "https://cgit.freebsd.org/ports/plain/graphics/brunsli/files/patch-brunsli.cmake"; url = "https://cgit.freebsd.org/ports/plain/graphics/brunsli/files/patch-brunsli.cmake";
hash = "sha256-UmXK+NBd0+5AZX2oWnrpOnzHD7c3ghSO7oERWLOYjbA="; extraPrefix = "";
hash = "sha256-+HXA9Tin+l2St7rRUEBM0AfhAjSoFxz8UX7hsg12aFg=";
}) })
]; ];
@ -35,8 +37,6 @@ stdenv.mkDerivation rec {
rm -r third_party rm -r third_party
''; '';
patchFlags = [ "-p0" ];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
]; ];