Merge #161976: libschrift: 0.10.0 -> 0.10.1

This commit is contained in:
Vladimír Čunát 2022-03-06 18:22:15 +01:00
commit 464af4795e
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -2,23 +2,15 @@
stdenv.mkDerivation rec {
pname = "libschrift";
version = "0.10.0";
version = "0.10.1";
src = fetchFromGitHub {
owner = "tomolt";
repo = pname;
rev = "c207585486b3e78ec5506f55f5d56178f421a53c";
sha256 = "13qrplsi2a53s84giwnzqmn0zbslyaagvjn89wsn9fd90m2v2bs1";
rev = "v" + version;
sha256 = "0fvji0z6z2al68p07w58l4hc29ds68v71h7z84vxiqhxnsgc0hlv";
};
# fix a compilation failure related to darwin integers, remove at next release
patches = [
(fetchpatch {
url = "https://github.com/tomolt/libschrift/commit/1b1292f2cf4b582d66b2f6c87105997391f9fa08.patch";
sha256 = "076l3n28famgi74nr5bz47yn192bm76p8c8558fm5zj5c21pcfsv";
})
];
postPatch = ''
substituteInPlace config.mk \
--replace "PREFIX = /usr/local" "PREFIX = $out"