mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
693 B
Nix
26 lines
693 B
Nix
{ stdenv, fetchurl, autoreconfHook, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xlslib";
|
|
version = "2.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xlslib/xlslib-package-${version}.zip";
|
|
sha256 = "1wx3jbpkz2rvgs45x6mwawamd1b2llb0vn29b5sr0rfxzx9d1985";
|
|
};
|
|
|
|
nativeBuildInputs = [ unzip autoreconfHook ];
|
|
|
|
setSourceRoot = "export sourceRoot=xlslib/xlslib";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C++/C library to construct Excel .xls files in code";
|
|
homepage = https://sourceforge.net/projects/xlslib/;
|
|
license = licenses.bsd2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|