depot/third_party/nixpkgs/pkgs/development/libraries/libpgf/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
720 B
Nix

{ stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:
with stdenv.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 = "http://www.libpgf.org/";
description = "Progressive Graphics Format";
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.unix;
};
}