diff options
author | Nikolay Amiantov <ab@fmap.me> | 2014-10-19 20:33:37 +0400 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2014-11-08 02:29:37 +0300 |
commit | bb84431ff4d8a7b111639905b57b0dae68ff17df (patch) | |
tree | 366dc61dd0023cae8eb790e4f65aff820741b968 /pkgs/development/libraries/xlslib | |
parent | e96df6c6f962df7cfc4c774f430567346fa945f3 (diff) |
xlslib: add package
Diffstat (limited to 'pkgs/development/libraries/xlslib')
-rw-r--r-- | pkgs/development/libraries/xlslib/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/xlslib/default.nix b/pkgs/development/libraries/xlslib/default.nix new file mode 100644 index 000000000000..760f9cdc5745 --- /dev/null +++ b/pkgs/development/libraries/xlslib/default.nix @@ -0,0 +1,25 @@ +{ 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; + }; +} |