oxygenfonts: Change source to archive from invent.kde.org
This simplifies the build, as the previous source included files that are installed by installFonts, but are undesirable (a “web font” that is not a woff, conflicting versions of Oxygen Sans, unhinted and OTF fonts that are used only as “src”)
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
fetchzip,
|
||||
installFonts,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "oxygenfonts";
|
||||
version = "20160824";
|
||||
version = "5.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vernnobile";
|
||||
repo = "oxygenFont";
|
||||
rev = "62db0ebe3488c936406685485071a54e3d18473b";
|
||||
hash = "sha256-0LKq8nChkDAb6U1sOUyga/DvzpDmIjoRn+2PB9rok4w=";
|
||||
src = fetchzip {
|
||||
url = "https://invent.kde.org/unmaintained/oxygen-fonts/-/archive/v${finalAttrs.version}/oxygen-fonts-v${finalAttrs.version}.zip";
|
||||
hash = "sha256-N8fU5/iqgtFqaqdGuqbEVDsFCmVcHXLodo/T5NZMu8U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
@@ -50,4 +48,4 @@ stdenvNoCC.mkDerivation {
|
||||
maintainers = with lib.maintainers; [ VarNepvius ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user