mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
cantarell_fonts: 0.0.25 → 0.100
This commit is contained in:
parent
063669901a
commit
f6af32c654
1 changed files with 18 additions and 8 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue