1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, autoconf-archive }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-vjmYByk+IDBon8xGR1+oNaEQTiJK+IVpDXsG1IyVNoY=";
15 # Fix cross-compilation
17 url = "https://github.com/libxls/libxls/commit/007e63c1f5e19bc73292f267c85d7dd14e9ecb38.patch";
18 sha256 = "sha256-PjPHuXth4Yaq9nVfk5MYJMRo5B0R6YA1KEqgwfjF3PM=";
22 nativeBuildInputs = [ autoreconfHook autoconf-archive ];
24 enableParallelBuilding = true;
27 description = "Extract Cell Data From Excel xls files";
28 homepage = "https://github.com/libxls/libxls";
29 license = licenses.bsd2;
30 maintainers = with maintainers; [ abbradar ];
31 mainProgram = "xls2csv";
32 platforms = platforms.unix;