2021-01-22 14:59:22 -08:00
|
|
|
{ lib, stdenv, fetchzip, autoreconfHook }:
|
2015-01-23 01:26:00 -08:00
|
|
|
|
2021-01-22 14:59:22 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "libpgf";
|
2021-01-22 14:59:22 -08:00
|
|
|
version = "7.21.2";
|
2015-01-23 01:26:00 -08:00
|
|
|
|
2021-01-22 14:59:22 -08:00
|
|
|
src = fetchzip {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}.zip";
|
|
|
|
sha256 = "0l1j5b1d02jn27miggihlppx656i0pc70cn6x89j1rpj33zn0g9r";
|
2015-01-23 01:26:00 -08:00
|
|
|
};
|
|
|
|
|
2021-01-22 14:59:22 -08:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-01-23 01:26:00 -08:00
|
|
|
|
2021-01-22 14:59:22 -08:00
|
|
|
autoreconfPhase = ''
|
|
|
|
mv README.txt README
|
|
|
|
sh autogen.sh
|
|
|
|
'';
|
2015-01-23 01:26:00 -08:00
|
|
|
|
|
|
|
meta = {
|
2020-04-24 07:58:05 -07:00
|
|
|
homepage = "https://www.libpgf.org/";
|
2015-01-23 01:26:00 -08:00
|
|
|
description = "Progressive Graphics Format";
|
2021-01-21 09:00:13 -08:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2015-01-23 01:26:00 -08:00
|
|
|
};
|
|
|
|
}
|