summaryrefslogtreecommitdiff
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-27 19:00:55 +0100
commit3c62ff4c901bd8bb38e8483c064ea8f8a98d2a8a (patch)
treec14472df2dccc527de5c49d5a7f4e5c24647f742
parentngrep: improve meta.license (diff)
downloadnixpkgs-3c62ff4c901bd8bb38e8483c064ea8f8a98d2a8a.tar.gz
t1utils: improve meta.license
Replace stringy license with attrset. Ref https://github.com/NixOS/nixpkgs/issues/269788 (cherry picked from commit 3f4ce2b393eac072d33c51ca53e428f01c1d424b)
-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 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 ];
};