1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/python-modules/flask-mail/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

25 lines
599 B
Nix

{ lib, buildPythonPackage, fetchPypi,
blinker, flask, mock, nose, speaklater
}:
buildPythonPackage rec {
pname = "Flask-Mail";
version = "0.9.1";
meta = {
description = "Flask-Mail is a Flask extension providing simple email sending capabilities.";
homepage = "https://pypi.python.org/pypi/Flask-Mail";
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "0hazjc351s3gfbhk975j8k65cg4gf31yq404yfy0gx0bjjdfpr92";
};
propagatedBuildInputs = [ blinker flask ];
buildInputs = [ blinker mock nose speaklater ];
doCheck = false;
}