mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
42 lines
762 B
Nix
42 lines
762 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, marshmallow
|
|
, sqlalchemy
|
|
, pytest-lazy-fixture
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow-sqlalchemy";
|
|
version = "0.26.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d8525f74de51554b5c8491effe036f60629a426229befa33ff614c8569a16a73";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
marshmallow
|
|
sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"marshmallow_sqlalchemy"
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest-lazy-fixture
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
|
|
description = "SQLAlchemy integration with marshmallow";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|