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`.
26 lines
591 B
Nix
26 lines
591 B
Nix
{ lib, buildPythonPackage, fetchPypi,
|
|
dateutil, simplejson
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow";
|
|
version = "2.15.3";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/marshmallow-code/marshmallow";
|
|
description = ''
|
|
A lightweight library for converting complex objects to and from
|
|
simple Python datatypes.
|
|
'';
|
|
license = lib.licenses.mit;
|
|
};
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "171f409d48b44786b7df2793cbd7f1a9062f0fe2c14d547da536b5010f671ade";
|
|
};
|
|
|
|
propagatedBuildInputs = [ dateutil simplejson ];
|
|
|
|
doCheck = false;
|
|
}
|