tests.plasma5: fix eval
This commit is contained in:
parent
83cc65a39f
commit
350a6c3726
@ -16,17 +16,10 @@ import ./make-test.nix ({ pkgs, ...} :
|
|||||||
|
|
||||||
# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
|
# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
|
||||||
nixpkgs.config.packageOverrides = superPkgs: {
|
nixpkgs.config.packageOverrides = superPkgs: {
|
||||||
fontconfig-penultimate = superPkgs.fontconfig-penultimate.overrideAttrs
|
fontconfig-penultimate = superPkgs.fontconfig-penultimate.override {
|
||||||
(_attrs: rec {
|
version = "0.3.3";
|
||||||
version = "0.3.3";
|
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
|
||||||
name = "fontconfig-penultimate-${version}";
|
};
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "ttuegel";
|
|
||||||
repo = "fontconfig-penultimate";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
{ stdenv, fetchzip }:
|
{ stdenv, fetchzip
|
||||||
|
, version ? "0.3.5"
|
||||||
|
, sha256 ? "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk"
|
||||||
|
}:
|
||||||
|
|
||||||
let version = "0.3.5"; in
|
|
||||||
fetchzip {
|
fetchzip {
|
||||||
name = "fontconfig-penultimate-${version}";
|
name = "fontconfig-penultimate-${version}";
|
||||||
|
|
||||||
url = "https://github.com/ttuegel/fontconfig-penultimate/archive/${version}.zip";
|
url = "https://github.com/ttuegel/fontconfig-penultimate/archive/${version}.zip";
|
||||||
|
inherit sha256;
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/etc/fonts/conf.d
|
mkdir -p $out/etc/fonts/conf.d
|
||||||
unzip -j $downloadedFile \*.conf -d $out/etc/fonts/conf.d
|
unzip -j $downloadedFile \*.conf -d $out/etc/fonts/conf.d
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/ttuegel/fontconfig-penultimate;
|
homepage = https://github.com/ttuegel/fontconfig-penultimate;
|
||||||
description = "Sensible defaults for Fontconfig";
|
description = "Sensible defaults for Fontconfig";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user