Files
nixpkgs/pkgs/development/python-modules/salmon-mail/default.nix
T
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

23 lines
662 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, nose, dnspython
, chardet, lmtpd, pythondaemon, six, jinja2, mock }:
buildPythonPackage rec {
pname = "salmon-mail";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "452557172901d6227a325bbc72fcf61002a53c2342d935457b729303dce71f7e";
};
checkInputs = [ nose jinja2 mock ];
propagatedBuildInputs = [ chardet dnspython lmtpd pythondaemon six ];
meta = with stdenv.lib; {
homepage = http://salmon-mail.readthedocs.org/;
description = "Pythonic mail application server";
license = licenses.gpl3;
maintainers = with maintainers; [ jluttine ];
};
}