ced21f5e1a
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`.
23 lines
550 B
Nix
23 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;
|
|
}
|