Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{lib, buildPythonPackage, fetchFromGitHub}: 2 3buildPythonPackage rec { 4 5 pname = "XlsxWriter"; 6 version = "1.2.9"; 7 8 # PyPI release tarball doesn't contain tests so let's use GitHub. See: 9 # https://github.com/jmcnamara/XlsxWriter/issues/327 10 src = fetchFromGitHub{ 11 owner = "jmcnamara"; 12 repo = pname; 13 rev = "RELEASE_${version}"; 14 sha256 = "08pdca5ssi50bx2xz52gkmjix2ybv5i4bjw7yd6yfiph0y0qsbsb"; 15 }; 16 17 meta = { 18 description = "A Python module for creating Excel XLSX files"; 19 homepage = "https://xlsxwriter.readthedocs.io/"; 20 maintainers = with lib.maintainers; [ jluttine ]; 21 license = lib.licenses.bsd2; 22 }; 23 24}