nixpkgs/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

24 lines
550 B
Nix

{ lib, buildPythonPackage, fetchPypi,
marshmallow, sqlalchemy
}:
buildPythonPackage rec {
pname = "marshmallow-sqlalchemy";
version = "0.14.0";
meta = {
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
description = "SQLAlchemy integration with marshmallow ";
license = lib.licenses.mit;
};
src = fetchPypi {
inherit pname version;
sha256 = "32ff19350a8892b3e8dc954eeeac796576bb89356512f9e1ccd33da63f856930";
};
propagatedBuildInputs = [ marshmallow sqlalchemy ];
doCheck = false;
}