mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
b47d4d83f5
Diff: https://github.com/defnull/multipart/compare/v0.2.5...v1.1.0 Changelog: https://github.com/defnull/multipart/blob/refs/tags/v1.1.0/README.rst#changelog
35 lines
779 B
Nix
35 lines
779 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "multipart";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "defnull";
|
|
repo = "multipart";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-RaHAV1LapYf0zRW7cxxbe7ysAJ5xB6EvF1bsCbCWS0U=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "multipart" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/defnull/multipart/blob/${src.rev}/README.rst#changelog";
|
|
description = "Parser for multipart/form-data";
|
|
homepage = "https://github.com/defnull/multipart";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|