about summary refs log tree commit diff
path: root/pkgs/tools/misc/t1utils
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2023-11-26 10:51:50 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-11-26 18:30:04 +0100
commit17ee3bcc82adbe5666c42591f73eef41c4bd00f5 (patch)
treee553e8f84eaf4647c718b4d6e3571063a3b43c07 /pkgs/tools/misc/t1utils
parent28b249ae54918f660b479bf0492ace6510bc9eaf (diff)
t1utils: improve meta.license
Replace stringy license with attrset.

Ref https://github.com/NixOS/nixpkgs/issues/269788
Diffstat (limited to 'pkgs/tools/misc/t1utils')
-rw-r--r--pkgs/tools/misc/t1utils/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/tools/misc/t1utils/default.nix b/pkgs/tools/misc/t1utils/default.nix
index 8e91013521fb3..be9cf659160bd 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 ];
   };