2018-03-02 22:57:48 +00:00
|
|
|
{ stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
|
2012-01-06 20:10:23 +00:00
|
|
|
|
2018-03-02 22:57:48 +00:00
|
|
|
let
|
|
|
|
pname = "cantarell-fonts";
|
|
|
|
version = "0.100";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2012-01-06 20:10:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-02 22:57:48 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
|
|
sha256 = "1286rx1z7mrmi6snx957fprpcmd5p00l6drdfpbgf6mqapl6kb81";
|
2012-01-06 20:10:23 +00:00
|
|
|
};
|
|
|
|
|
2018-03-02 22:57:48 +00:00
|
|
|
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
|
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
2018-03-02 22:57:48 +00:00
|
|
|
outputHash = "12ia41pr0rzjfay6y84asw3nxhyp1scq9zl0w4f6wkqj7vf1qfn1";
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2012-01-06 20:10:23 +00:00
|
|
|
meta = {
|
2014-09-30 10:29:11 +00:00
|
|
|
description = "Default typeface used in the user interface of GNOME since version 3.0";
|
2012-01-06 20:10:23 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2014-09-30 10:14:59 +00:00
|
|
|
license = stdenv.lib.licenses.ofl;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2012-01-06 20:10:23 +00:00
|
|
|
};
|
|
|
|
}
|