python310Packages.sansio-multipart: init at 0.3

This commit is contained in:
Robert Schütz 2022-05-31 03:05:52 +00:00 committed by Robert Schütz
parent 03daf98441
commit 2aa3a9bba0
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
}:
buildPythonPackage rec {
pname = "sansio-multipart";
version = "0.3";
disabled = isPy27;
format = "setuptools";
src = fetchPypi {
pname = "sansio_multipart";
inherit version;
sha256 = "6e95b2e64039a95d0f2cd8f3360eaf418d6b9018fb2215d82d399d62d6122dc3";
};
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "sansio_multipart" ];
meta = {
description = "Parser for multipart/form-data";
homepage = "https://github.com/theelous3/sansio-multipart-parser";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -9428,6 +9428,8 @@ in {
sanic-testing = callPackage ../development/python-modules/sanic-testing { };
sansio-multipart = callPackage ../development/python-modules/sansio-multipart { };
sarif-om = callPackage ../development/python-modules/sarif-om { };
sarge = callPackage ../development/python-modules/sarge { };