git-remote-codecommit: fix build

- Don't call from a different scope
- Disable catching of conflicts because we do get a (installation-time
only) conflict due to overrides in awscli.
This commit is contained in:
Frederik Rietdijk 2022-10-27 09:36:59 +02:00 committed by Frederik Rietdijk
parent 33d12e5f0b
commit 6b0494cbcc

View File

@ -1,11 +1,19 @@
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, botocore, pytest, mock
, flake8, tox, awscli }:
{ lib, fetchFromGitHub, python3Packages, awscli }:
with python3Packages;
buildPythonApplication rec {
pname = "git-remote-codecommit";
version = "1.15.1";
disabled = !isPy3k;
# The check dependency awscli has some overrides
# which yield a different botocore.
# This results in a duplicate version during installation
# of the wheel, even though it does not matter
# because it is only a test dependency.
catchConflicts = false;
src = fetchFromGitHub {
owner = "aws";
repo = pname;