uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/development/python-modules/salmon-mail/default.nix
Normal file
35
pkgs/development/python-modules/salmon-mail/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, lib, buildPythonPackage, fetchPypi, dnspython, chardet, lmtpd
|
||||
, python-daemon, six, jinja2, mock, click }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "salmon-mail";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q2m6xri1b7qv46rqpv2qfdgk2jvswj8lpaacnxwjna3m685fhfx";
|
||||
};
|
||||
|
||||
checkInputs = [ jinja2 mock ];
|
||||
propagatedBuildInputs = [ chardet dnspython lmtpd python-daemon six click ];
|
||||
|
||||
# Darwin tests fail without this. See:
|
||||
# https://github.com/NixOS/nixpkgs/pull/82166#discussion_r399909846
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# The tests use salmon executable installed by salmon itself so we need to add
|
||||
# that to PATH
|
||||
checkPhase = ''
|
||||
# tests fail and pytest is not supported
|
||||
rm tests/server_tests.py
|
||||
PATH=$out/bin:$PATH python setup.py test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://salmon-mail.readthedocs.org/";
|
||||
description = "Pythonic mail application server";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue