nixpkgs/pkgs/development/python-modules/marshmallow/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

27 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;
}