Merge staging-next into staging
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchpatch
|
||||
, setuptools-scm
|
||||
, libdeltachat
|
||||
, cffi
|
||||
, IMAPClient
|
||||
, pluggy
|
||||
, requests
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deltachat";
|
||||
inherit (libdeltachat) version src;
|
||||
sourceRoot = "${src.name}/python";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
buildInputs = [
|
||||
libdeltachat
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
IMAPClient
|
||||
pluggy
|
||||
requests
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"deltachat"
|
||||
"deltachat.account"
|
||||
"deltachat.contact"
|
||||
"deltachat.chat"
|
||||
"deltachat.message"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for the Delta Chat Core library";
|
||||
homepage = "https://github.com/deltachat/deltachat-core-rust/tree/master/python";
|
||||
changelog = "https://github.com/deltachat/deltachat-core-rust/blob/${version}/python/CHANGELOG";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1,31 +1,31 @@
|
||||
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
|
||||
{ lib, pythonOlder, fetchFromGitHub, buildPythonPackage
|
||||
, six, enum34, pyasn1, cryptography, singledispatch ? null
|
||||
, fetchPypi, pytestCheckHook }:
|
||||
, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgpy";
|
||||
version = "0.5.2";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SecurityInnovation";
|
||||
repo = "PGPy";
|
||||
rev = version;
|
||||
sha256 = "1v2b1dyq1sl48d2gw7vn4hv6sasd9ihpzzcq8yvxj9dgfak2y663";
|
||||
rev = "v${version}";
|
||||
sha256 = "03pch39y3hi4ici6y6lvz0j0zram8dw2wvnmq1zyjy3vyvm1ms4a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
pyasn1
|
||||
cryptography
|
||||
] ++ lib.optionals (pythonOlder "3.4") [
|
||||
singledispatch
|
||||
] ++ lib.optional (!isPy3k) enum34;
|
||||
enum34
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [ "test_sign_string" "test_verify_string" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/SecurityInnovation/PGPy";
|
||||
description = "Pretty Good Privacy for Python 2 and 3";
|
||||
@@ -35,6 +35,6 @@ buildPythonPackage rec {
|
||||
4880.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
maintainers = with maintainers; [ eadwu dotlambda ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user