summary refs log tree commit diff
path: root/pkgs/data/fonts/source-han-sans
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-05-13 01:55:32 +0000
committervolth <volth@volth.com>2019-05-13 06:03:31 +0000
commitc9eb44eab323aa43913b85af9a9a7f9e01f5e882 (patch)
treea36baf5677abb7e70cf56b483fe97ee6999fde91 /pkgs/data/fonts/source-han-sans
parent1df1834dd1e47f9a1452fc271d7e0b4ba296e04d (diff)
downloadnixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.tar
nixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.tar.gz
nixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.tar.bz2
nixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.tar.lz
nixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.tar.xz
nixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.tar.zst
nixpkgs-c9eb44eab323aa43913b85af9a9a7f9e01f5e882.zip
data/fonts: cleanup
 * make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
Diffstat (limited to 'pkgs/data/fonts/source-han-sans')
-rw-r--r--pkgs/data/fonts/source-han-sans/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/data/fonts/source-han-sans/default.nix b/pkgs/data/fonts/source-han-sans/default.nix
index dc0d3175851..87e24c0e23c 100644
--- a/pkgs/data/fonts/source-han-sans/default.nix
+++ b/pkgs/data/fonts/source-han-sans/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchzip}:
+{ lib, fetchzip }:
 
 let
   makePackage = {variant, language, region, sha256}: let
@@ -19,9 +19,8 @@ let
     meta = {
       description = "${language} subset of an open source Pan-CJK sans-serif typeface";
       homepage = https://github.com/adobe-fonts/source-han-sans;
-      license = stdenv.lib.licenses.ofl;
-      platforms = stdenv.lib.platforms.unix;
-      maintainers = with stdenv.lib.maintainers; [ taku0 ];
+      license = lib.licenses.ofl;
+      maintainers = with lib.maintainers; [ taku0 ];
     };
   };
 in