nixpkgs/pkgs/tools/graphics/pgf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
735 B
Nix
Raw Normal View History

2023-02-09 17:06:15 +00:00
{ lib
, stdenv
, fetchzip
, autoreconfHook
, dos2unix
, doxygen
, freeimage
, libpgf
}:
2021-07-14 15:10:11 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "pgf";
2023-02-09 17:06:15 +00:00
version = "7.21.7";
2023-02-09 17:06:15 +00:00
src = fetchzip {
url = "mirror://sourceforge/libpgf/libpgf/${version}/pgf-console.zip";
hash = "sha256-W9eXYhbynLtvZQsn724Uw0SZ5TuyK2MwREwYKGFhJj0=";
};
2023-02-09 17:06:15 +00:00
postPatch = ''
find . -type f | xargs dos2unix
mv README.txt README
'';
2023-02-09 17:06:15 +00:00
nativeBuildInputs = [
autoreconfHook
dos2unix
doxygen
];
2023-02-09 17:06:15 +00:00
buildInputs = [
freeimage
libpgf
];
meta = {
2020-04-24 14:58:19 +00:00
homepage = "https://www.libpgf.org/";
description = "Progressive Graphics Format command line program";
2021-01-15 09:19:50 +00:00
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
};
}