eb-garamond: fetch from GitHub

This commit is contained in:
Benjamin Sparks
2025-01-21 11:29:11 +01:00
parent f07056b33c
commit abe4f2b275
+6 -5
View File
@@ -1,16 +1,17 @@
{
lib,
stdenvNoCC,
fetchzip,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
pname = "eb-garamond";
version = "0.016";
src = fetchzip {
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
hash = "sha256-P2VCLcqcMBBoTDJyRLP9vlHI+jE0EqPjPziN2MJbgEg=";
src = fetchFromGitHub {
owner = "georgd";
repo = "EB-Garamond";
tag = "v${version}";
hash = "sha256-ajieKhTeH6yv2qiE2xqnHFoMS65//4ZKiccAlC2PXGQ=";
};
installPhase = ''