mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 16:40:18 +02:00
Merge #161976: libschrift: 0.10.0 -> 0.10.1
This commit is contained in:
commit
464af4795e
|
@ -2,23 +2,15 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libschrift";
|
pname = "libschrift";
|
||||||
version = "0.10.0";
|
version = "0.10.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tomolt";
|
owner = "tomolt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "c207585486b3e78ec5506f55f5d56178f421a53c";
|
rev = "v" + version;
|
||||||
sha256 = "13qrplsi2a53s84giwnzqmn0zbslyaagvjn89wsn9fd90m2v2bs1";
|
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 = ''
|
postPatch = ''
|
||||||
substituteInPlace config.mk \
|
substituteInPlace config.mk \
|
||||||
--replace "PREFIX = /usr/local" "PREFIX = $out"
|
--replace "PREFIX = /usr/local" "PREFIX = $out"
|
||||||
|
|
Loading…
Reference in a new issue