fntsample: drop (#400549)
This commit is contained in:
@@ -1,87 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
cairo,
|
||||
fontconfig,
|
||||
freetype,
|
||||
glib,
|
||||
libXdmcp,
|
||||
makeWrapper,
|
||||
pango,
|
||||
pcre,
|
||||
perlPackages,
|
||||
}:
|
||||
|
||||
let
|
||||
ucd-blocks = fetchurl {
|
||||
url = "https://www.unicode.org/Public/15.0.0/ucd/Blocks.txt";
|
||||
hash = "sha256-Up3F0PY4bVLy9W4AS7+rSM4tWH7qnTi6VGxAUkkb2CA=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fntsample";
|
||||
version = "5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eugmes";
|
||||
repo = "fntsample";
|
||||
rev = "release/${version}";
|
||||
hash = "sha256-O5RT68wPWwzCb51JZWWNcIubWoM7NZw/MRiaHXPDmF0=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUNICODE_BLOCKS=${ucd-blocks.outPath}"
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
fontconfig
|
||||
freetype
|
||||
glib
|
||||
libXdmcp
|
||||
pango
|
||||
perlPackages.perl
|
||||
pcre
|
||||
];
|
||||
|
||||
postFixup =
|
||||
let
|
||||
perlPath =
|
||||
with perlPackages;
|
||||
makePerlPath [
|
||||
ExporterTiny
|
||||
ListMoreUtils
|
||||
PDFAPI2
|
||||
libintl-perl
|
||||
];
|
||||
in
|
||||
''
|
||||
for cmd in pdfoutline pdf-extract-outline; do
|
||||
wrapProgram "$out/bin/$cmd" --prefix PERL5LIB : "${perlPath}"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/eugmes/fntsample";
|
||||
description = "PDF and PostScript font samples generator";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
# TODO: factor/package ucd-blocks
|
||||
@@ -639,6 +639,7 @@ mapAliases {
|
||||
flutter323 = throw "flutter323 has been removed because it isn't updated anymore, and no packages in nixpkgs use it. If you still need it, use flutter.mkFlutter to get a custom version"; # Added 2024-10-05
|
||||
fluxus = throw "fluxus has been removed because it hasn't been updated in 9 years and depended on insecure Racket 7.9"; # Added 2024-12-06
|
||||
fmt_8 = throw "fmt_8 has been removed as it is obsolete and was no longer used in the tree"; # Added 2024-11-12
|
||||
fntsample = throw "fntsample has been removed as it is unmaintained upstream"; # Added 2025-04-21
|
||||
foldingathome = throw "'foldingathome' has been renamed to/replaced by 'fahclient'"; # Converted to throw 2024-10-17
|
||||
forgejo-actions-runner = forgejo-runner; # Added 2024-04-04
|
||||
fornalder = throw "'fornalder' has been removed as it is unmaintained upstream"; # Added 2025-01-25
|
||||
|
||||
Reference in New Issue
Block a user