cantarell_fonts: 0.0.25 → 0.100

This commit is contained in:
Jan Tojnar 2018-03-02 23:57:48 +01:00
parent 063669901a
commit f6af32c654
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,18 +1,28 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
stdenv.mkDerivation rec {
major = "0.0";
minor = "25";
name = "cantarell-fonts-${major}.${minor}";
let
pname = "cantarell-fonts";
version = "0.100";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/cantarell-fonts/${major}/${name}.tar.xz";
sha256 = "0zvkd8cm1cg2919v1js9qmzwa02sjl7qajj3gcvgqvai1fm2i8hl";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "1286rx1z7mrmi6snx957fprpcmd5p00l6drdfpbgf6mqapl6kb81";
};
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "13w5qj1lx4vk875yna35v9lnc80cwmphcafnmp0d5grg4d98cry2";
outputHash = "12ia41pr0rzjfay6y84asw3nxhyp1scq9zl0w4f6wkqj7vf1qfn1";
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "cantarell_fonts";
};
};
meta = {
description = "Default typeface used in the user interface of GNOME since version 3.0";