mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
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.
|
||||
nixpkgs.config.packageOverrides = superPkgs: {
|
||||
fontconfig-penultimate = superPkgs.fontconfig-penultimate.overrideAttrs
|
||||
(_attrs: rec {
|
||||
version = "0.3.3";
|
||||
name = "fontconfig-penultimate-${version}";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ttuegel";
|
||||
repo = "fontconfig-penultimate";
|
||||
rev = version;
|
||||
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
|
||||
};
|
||||
});
|
||||
fontconfig-penultimate = superPkgs.fontconfig-penultimate.override {
|
||||
version = "0.3.3";
|
||||
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user