From 17ee3bcc82adbe5666c42591f73eef41c4bd00f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 26 Nov 2023 10:51:50 +0100 Subject: [PATCH] t1utils: improve meta.license Replace stringy license with attrset. Ref https://github.com/NixOS/nixpkgs/issues/269788 --- pkgs/tools/misc/t1utils/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/t1utils/default.nix b/pkgs/tools/misc/t1utils/default.nix index 8e91013521fb..be9cf659160b 100644 --- a/pkgs/tools/misc/t1utils/default.nix +++ b/pkgs/tools/misc/t1utils/default.nix @@ -20,9 +20,12 @@ stdenv.mkDerivation rec { file from a PFA or PFB font. ''; homepage = "https://www.lcdf.org/type/"; - # README from tarball says "BSD-like" and points to non-existing LICENSE - # file... - license = "Click"; # MIT with extra clause, https://github.com/kohler/t1utils/blob/master/LICENSE + license = { + shortName = "Click"; # README.md says BSD-like, see LICENSE + url = "https://github.com/kohler/t1utils/blob/master/LICENSE"; + free = true; + redistributable = true; + }; platforms = platforms.all; maintainers = [ maintainers.bjornfor ]; };