mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 20:53:22 +00:00
pythonPackages.salmon: init at bec795
This commit is contained in:
parent
93305ee919
commit
f74f5ed30c
29
pkgs/development/python-modules/salmon/default.nix
Normal file
29
pkgs/development/python-modules/salmon/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, nose, dns
|
||||||
|
, chardet, lmtpd, pythondaemon, six, jinja2, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "salmon";
|
||||||
|
# NOTE: The latest release version 2 is over 3 years old. So let's use some
|
||||||
|
# recent commit from master. There will be a new release at some point, then
|
||||||
|
# one can change this to use PyPI. See:
|
||||||
|
# https://github.com/moggers87/salmon/issues/52
|
||||||
|
version = "bec795cdab744be4f103d8e35584dfee622ddab2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "moggers87";
|
||||||
|
repo = "salmon";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0nx8pyxy7n42nsqqvhd85ycm1i5wlacsi7lwb4rrs9d416bpd300";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ nose jinja2 mock ];
|
||||||
|
propagatedBuildInputs = [ chardet dns 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -306,6 +306,8 @@ in {
|
|||||||
|
|
||||||
rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}";
|
rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}";
|
||||||
|
|
||||||
|
salmon = callPackage ../development/python-modules/salmon { };
|
||||||
|
|
||||||
simpleeval = callPackage ../development/python-modules/simpleeval { };
|
simpleeval = callPackage ../development/python-modules/simpleeval { };
|
||||||
|
|
||||||
sip = callPackage ../development/python-modules/sip { };
|
sip = callPackage ../development/python-modules/sip { };
|
||||||
|
Loading…
Reference in New Issue
Block a user