t1utils: switch to pname + version

This commit is contained in:
Sandro Jäckel 2021-08-11 13:25:48 +02:00 committed by Raphael Megzari
parent db805c9d36
commit 61fd76aabe

View file

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "t1utils-1.42";
pname = "t1utils";
version = "1.42";
src = fetchurl {
url = "https://www.lcdf.org/type/${name}.tar.gz";
url = "https://www.lcdf.org/type/t1utils-${version}.tar.gz";
sha256 = "sha256-YYd5NbGYcETd/0u5CgUgDKcWRnijVeFwv18aVVbMnyk=";
};
@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
resources from a Macintosh font file or create a Macintosh Type 1 font
file from a PFA or PFB font.
'';
homepage = "http://www.lcdf.org/type/";
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