tests.plasma5: fix eval

This commit is contained in:
Robin Gloster
2017-08-11 21:53:17 +02:00
parent 83cc65a39f
commit 350a6c3726
2 changed files with 9 additions and 15 deletions
@@ -1,18 +1,19 @@
{ stdenv, fetchzip }:
{ stdenv, fetchzip
, version ? "0.3.5"
, sha256 ? "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk"
}:
let version = "0.3.5"; in
fetchzip {
name = "fontconfig-penultimate-${version}";
url = "https://github.com/ttuegel/fontconfig-penultimate/archive/${version}.zip";
inherit sha256;
postFetch = ''
mkdir -p $out/etc/fonts/conf.d
unzip -j $downloadedFile \*.conf -d $out/etc/fonts/conf.d
'';
sha256 = "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk";
meta = with stdenv.lib; {
homepage = https://github.com/ttuegel/fontconfig-penultimate;
description = "Sensible defaults for Fontconfig";