ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / marshmallow-oneofschema / default.nix
blob8fc946305bc8bb2ad2a9b8e51a6c5062e126222a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , marshmallow
5 , pytestCheckHook
6 , pythonOlder
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "marshmallow-oneofschema";
12   version = "3.0.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "marshmallow-code";
19     repo = pname;
20     rev = version;
21     hash = "sha256-x0v8WkfjGkP2668QIQiewQViYFDIS2zBWMULcDThWas=";
22   };
24   propagatedBuildInputs = [
25     marshmallow
26     setuptools
27   ];
29   checkInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "marshmallow_oneofschema"
35   ];
37   meta = with lib; {
38     description = "Marshmallow library extension that allows schema (de)multiplexing";
39     homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema";
40     license = licenses.mit;
41     maintainers = with maintainers; [ ivan-tkatchev ];
42   };