forked from mirrors/nixpkgs
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
42 lines
755 B
Nix
42 lines
755 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, marshmallow
|
|
, sqlalchemy
|
|
, pytest-lazy-fixture
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow-sqlalchemy";
|
|
version = "0.28.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-qjdnRylngKVjVeMGe5yL9DoqHET/mF3oKzpdnhYcorg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
marshmallow
|
|
sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"marshmallow_sqlalchemy"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-lazy-fixture
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
|
|
description = "SQLAlchemy integration with marshmallow";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|