pythonPackages.salmon-mail: rename from salmon

This commit is contained in:
Jaakko Luttinen 2018-01-11 02:52:45 +02:00
parent 7140c4bbf9
commit 1f2e247416
No known key found for this signature in database
GPG Key ID: 7B1CE13152E6B964
2 changed files with 7 additions and 9 deletions

View File

@ -1,16 +1,14 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, nose, dnspython
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, nose, dnspython
, chardet, lmtpd, pythondaemon, six, jinja2, mock }:
buildPythonPackage rec {
pname = "salmon";
version = "3.0.0";
name = "${pname}-${version}";
pname = "salmon-mail";
version = "3.0.0";
src = fetchFromGitHub {
owner = "moggers87";
repo = "salmon";
rev = version;
sha256 = "0ffnvvms9w5b2hkwq0ss018vadg5n7xwhc51dlrfynddhrf9p3m3";
src = fetchPypi {
inherit pname version;
sha256 = "1smggsnkwiqy8zjq604dkm5g0np27pdnj3szsbn8v4ja84nncq18";
};
checkInputs = [ nose jinja2 mock ];

View File

@ -354,7 +354,7 @@ in {
rhpl = disabledIf isPy3k (callPackage ../development/python-modules/rhpl {});
salmon = callPackage ../development/python-modules/salmon { };
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
simpleeval = callPackage ../development/python-modules/simpleeval { };