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