nixpkgs/pkgs/development/libraries/xlslib/default.nix

26 lines
697 B
Nix
Raw Normal View History

2015-02-02 20:46:06 +03:00
{ stdenv, fetchurl, autoreconfHook, unzip }:
2014-10-19 20:33:37 +04:00
stdenv.mkDerivation rec {
2015-02-02 20:46:06 +03:00
version = "2.5.0";
2014-10-19 20:33:37 +04:00
name = "xlslib-${version}";
src = fetchurl {
url = "mirror://sourceforge/xlslib/xlslib-package-${version}.zip";
2015-02-02 20:46:06 +03:00
sha256 = "1wx3jbpkz2rvgs45x6mwawamd1b2llb0vn29b5sr0rfxzx9d1985";
2014-10-19 20:33:37 +04:00
};
2015-02-02 20:46:06 +03:00
nativeBuildInputs = [ unzip autoreconfHook ];
2014-10-19 20:33:37 +04:00
setSourceRoot = "export sourceRoot=xlslib/xlslib";
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "C++/C library to construct Excel .xls files in code";
2015-03-29 05:03:24 +03:00
homepage = http://sourceforge.net/projects/xlslib/files/;
2014-10-19 20:33:37 +04:00
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = maintainers.abbradar;
};
}