paperwork: fix installing translations (#370379)
[NixPkgs.git] / pkgs / development / python-modules / marshmallow-sqlalchemy / default.nix
blobc91d0dcc95e0eb67eccab37040980a01652f6682
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   flit-core,
7   marshmallow,
8   packaging,
9   sqlalchemy,
10   pytest-lazy-fixtures,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "marshmallow-sqlalchemy";
16   version = "1.3.0";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchPypi {
22     pname = "marshmallow_sqlalchemy";
23     inherit version;
24     hash = "sha256-Xd9YPddf31qzHfdph82iupGUKZa6XVd+ktZ0j6k6X1I=";
25   };
27   build-system = [ flit-core ];
29   propagatedBuildInputs = [
30     marshmallow
31     packaging
32     sqlalchemy
33   ];
35   pythonImportsCheck = [ "marshmallow_sqlalchemy" ];
37   nativeCheckInputs = [
38     pytest-lazy-fixtures
39     pytestCheckHook
40   ];
42   meta = with lib; {
43     description = "SQLAlchemy integration with marshmallow";
44     homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
45     changelog = "https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/${version}/CHANGELOG.rst";
46     license = licenses.mit;
47     maintainers = [ ];
48   };