pkgs/data: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:29:18 +07:00
parent 0e49ba1b64
commit 4eb185bd6a
52 changed files with 132 additions and 132 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
{ lib, stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
let
pname = "cantarell-fonts";
@@ -7,7 +7,7 @@ in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "05hpnhihwm9sxlq1qn993g03pwkmpjbn0dvnba71r1gfjv0jp2w5";
};
@@ -31,8 +31,8 @@ in stdenv.mkDerivation rec {
meta = {
description = "Default typeface used in the user interface of GNOME since version 3.0";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.ofl;
maintainers = with stdenv.lib.maintainers; [ ];
platforms = lib.platforms.all;
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ ];
};
}