Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / marshmallow / default.nix
blobbbb336884c1926fcc7079348aa2943910cfb6454
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , packaging
6 , pytestCheckHook
7 , pythonOlder
8 , pytz
9 , simplejson
12 buildPythonPackage rec {
13   pname = "marshmallow";
14   version = "3.21.1";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "marshmallow-code";
21     repo = "marshmallow";
22     rev = "refs/tags/${version}";
23     hash = "sha256-KhXasYKooZRokRoFlWKOaQzSUe6tXDtUlrf65eGGUi8=";
24   };
26   nativeBuildInputs = [
27     flit-core
28   ];
30   propagatedBuildInputs = [
31     packaging
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     pytz
37     simplejson
38   ];
40   pythonImportsCheck = [
41     "marshmallow"
42   ];
44   meta = with lib; {
45     description = "Library for converting complex objects to and from simple Python datatypes";
46     homepage = "https://github.com/marshmallow-code/marshmallow";
47     changelog = "https://github.com/marshmallow-code/marshmallow/blob/${version}/CHANGELOG.rst";
48     license = licenses.mit;
49     maintainers = with maintainers; [ cript0nauta ];
50   };