libschrift: 0.9.1 -> 0.10.0 (#111152)
This commit is contained in:
parent
5cbe469c62
commit
0677b9d8e6
@ -1,16 +1,24 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libschrift";
|
pname = "libschrift";
|
||||||
version = "0.9.1";
|
version = "0.10.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tomolt";
|
owner = "tomolt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "c6d20460d6e602e8829d3a227fd7be4c4c3cda86";
|
rev = "c207585486b3e78ec5506f55f5d56178f421a53c";
|
||||||
hash = "sha256-BuTmWaWFZ0DXujlbhbmK3Woit8fR9F4DWmKszHX6gOI=";
|
sha256 = "13qrplsi2a53s84giwnzqmn0zbslyaagvjn89wsn9fd90m2v2bs1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# 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 = ''
|
postPatch = ''
|
||||||
substituteInPlace config.mk \
|
substituteInPlace config.mk \
|
||||||
--replace "PREFIX = /usr/local" "PREFIX = $out"
|
--replace "PREFIX = /usr/local" "PREFIX = $out"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user