easytier: 2.1.1 -> 2.1.2 (#376259)
[NixPkgs.git] / pkgs / by-name / li / libxlsxwriter / package.nix
blob1ab35b3b67394551e41c7efb4aa44e6e55a1bd47
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   minizip,
6   python3,
7   zlib,
8 }:
10 stdenv.mkDerivation rec {
11   pname = "libxlsxwriter";
12   version = "1.1.9";
14   src = fetchFromGitHub {
15     owner = "jmcnamara";
16     repo = "libxlsxwriter";
17     tag = "v${version}";
18     hash = "sha256-ZXVNW5cEWgMXKLnE0IpwWS0RIWBta5uhuGh4R9uFJ14=";
19   };
21   buildInputs = [
22     minizip
23     zlib
24   ];
26   makeFlags = [
27     "PREFIX=${placeholder "out"}"
28     "USE_SYSTEM_MINIZIP=1"
29   ];
31   # TEST 428/429 worksheet:worksheet_table15 *** buffer overflow detected ***: terminated
32   hardeningDisable = [ "fortify3" ];
34   doCheck = true;
36   nativeCheckInputs = [
37     python3.pkgs.pytest
38   ];
40   checkTarget = "test";
42   meta = with lib; {
43     description = "C library for creating Excel XLSX files";
44     homepage = "https://libxlsxwriter.github.io/";
45     changelog = "https://github.com/jmcnamara/libxlsxwriter/blob/${src.rev}/Changes.txt";
46     license = licenses.bsd2;
47     maintainers = with maintainers; [ dotlambda ];
48     platforms = platforms.unix;
49   };