Files
nixpkgs/pkgs/development/python-modules/nested-multipart-parser/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
901 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# tests
django,
djangorestframework,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "nested-multipart-parser";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "remigermain";
repo = "nested-multipart-parser";
tag = version;
hash = "sha256-9IGfYb6mVGkoE/6iDg0ap8c+0vrBDKK1DxzLRyfeWOk=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
django
djangorestframework
pytestCheckHook
];
pythonImportsCheck = [
"nested_multipart_parser"
];
meta = {
changelog = "https://github.com/remigermain/nested-multipart-parser/releases/tag/${src.tag}";
description = "Parser for nested data for 'multipart/form'";
homepage = "https://github.com/remigermain/nested-multipart-parser";
license = lib.licenses.mit;
};
}