python3Packages.aws-encryption-sdk: fix src and tests

Changed files
+8 -4
pkgs
development
python-modules
aws-encryption-sdk
+8 -4
pkgs/development/python-modules/aws-encryption-sdk/default.nix
···
boto3,
buildPythonPackage,
cryptography,
-
fetchPypi,
+
fetchFromGitHub,
mock,
pytest-mock,
pytestCheckHook,
···
disabled = pythonOlder "3.8";
-
src = fetchPypi {
-
inherit pname version;
-
hash = "sha256-kRqQCYBzLlCbhuBEP+O9zuSAdgpGDg9wLzYFZaIPOIg=";
+
src = fetchFromGitHub {
+
owner = "aws";
+
repo = "aws-encryption-sdk-python";
+
tag = "v${version}";
+
hash = "sha256-yuehAxVEqnlNMMIqA0imAJaIjV5nzYbQk84l8STtBVo=";
};
build-system = [ setuptools ];
···
pytest-mock
pytestCheckHook
];
+
+
enabledTestPaths = [ "test" ];
disabledTestPaths = [
# Tests require networking