python312Packages.python-multipart: 0.0.12 -> 0.0.17
https://github.com/Kludex/python-multipart/releases/tag/0.0.13 https://github.com/Kludex/python-multipart/releases/tag/0.0.14 https://github.com/Kludex/python-multipart/releases/tag/0.0.15 https://github.com/Kludex/python-multipart/releases/tag/0.0.16 https://github.com/Kludex/python-multipart/releases/tag/0.0.17
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
mock,
|
||||
pyyaml,
|
||||
six,
|
||||
|
||||
# for passthru.tests
|
||||
asgi-csrf,
|
||||
@@ -18,20 +17,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-multipart";
|
||||
version = "0.0.12";
|
||||
version = "0.0.17";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "python_multipart";
|
||||
inherit version;
|
||||
hash = "sha256-BF4fmNcZwc4IXtf34e+djMyMAroCtVZtX3UhQQztWMs=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kludex";
|
||||
repo = "python-multipart";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-WtP2lPrBMRYjkae+/cMz+lN0Yf0uk2LL7RYjdOwQcXU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
pythonImportsCheck = [ "multipart" ];
|
||||
pythonImportsCheck = [ "python_multipart" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
@@ -50,8 +48,9 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/Kludex/python-multipart/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Streaming multipart parser for Python";
|
||||
homepage = "https://github.com/andrew-d/python-multipart";
|
||||
homepage = "https://github.com/Kludex/python-multipart";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user