Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 624 B view raw
1{ stdenv, fetchurl, unzip }: 2 3stdenv.mkDerivation rec { 4 pname = "libxls"; 5 version = "1.5.2"; 6 7 src = fetchurl { 8 url = "https://github.com/libxls/libxls/releases/download/v${version}/libxls-${version}.tar.gz"; 9 sha256 = "1akadsyl10rp101ccjmrxr7933c3v641k377bn74jv6cdkcm4zld"; 10 }; 11 12 nativeBuildInputs = [ unzip ]; 13 14 enableParallelBuilding = true; 15 16 meta = with stdenv.lib; { 17 description = "Extract Cell Data From Excel xls files"; 18 homepage = https://sourceforge.net/projects/libxls/; 19 license = licenses.bsd2; 20 platforms = platforms.unix; 21 maintainers = with maintainers; [ abbradar ]; 22 }; 23}