Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, setuptools,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "defusedcsv"; version = "3.0.0"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "raphaelm"; repo = "defusedcsv"; tag = "v${finalAttrs.version}"; hash = "sha256-OEDZbltnh2tAM58Kk852W0so7oOSv7S+S046MjIOMfY="; };
build-system = [ setuptools ];
pythonImportsCheck = [ "defusedcsv.csv" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Python library to protect your users from Excel injections in CSV-format exports, drop-in replacement for standard library's csv module"; homepage = "https://github.com/raphaelm/defusedcsv"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ hexa ]; };})