python310Packages.defusedcsv: init at 2.0.0
This commit is contained in:
parent
8fe90f5986
commit
d7550058e0
35
pkgs/development/python-modules/defusedcsv/default.nix
Normal file
35
pkgs/development/python-modules/defusedcsv/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "defusedcsv";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphaelm";
|
||||
repo = "defusedcsv";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-y8qLVfdkxRrDjtrTOLK5Zvi/1Vyv8eOnCueUkaRp4sQ=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"defusedcsv.csv"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -2408,6 +2408,8 @@ self: super: with self; {
|
||||
|
||||
deform = callPackage ../development/python-modules/deform { };
|
||||
|
||||
defusedcsv = callPackage ../development/python-modules/defusedcsv { };
|
||||
|
||||
defusedxml = callPackage ../development/python-modules/defusedxml { };
|
||||
|
||||
deid = callPackage ../development/python-modules/deid { };
|
||||
|
Loading…
Reference in New Issue
Block a user