nixpkgs/pkgs/development/libraries/libpgf/default.nix
2021-01-21 19:11:02 -08:00

30 lines
705 B
Nix

{ lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:
with lib;
let
version = "6.14.12";
in
stdenv.mkDerivation {
pname = "libpgf";
inherit version;
src = fetchurl {
url = "mirror://sourceforge/libpgf/libpgf-src-${version}.tar.gz";
sha256 = "1ssqjbh6l5jc04f67n47m9bqcigl46c6lgyabyi6cabnh1frk9dx";
};
buildInputs = [ autoconf automake libtool dos2unix ];
preConfigure = "dos2unix configure.ac; sh autogen.sh";
# configureFlags = optional static "--enable-static --disable-shared";
meta = {
homepage = "https://www.libpgf.org/";
description = "Progressive Graphics Format";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.unix;
};
}