mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
46 lines
901 B
Nix
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;
|
||
|
};
|
||
|
}
|