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

26 lines
651 B
Nix
Raw Normal View History

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