Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
awscli,
}:
python3Packages.buildPythonApplication rec {
pname = "git-remote-codecommit";
version = "1.17";
format = "pyproject";
disabled = !python3Packages.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 = "git-remote-codecommit";
tag = version;
hash = "sha256-8heI0Oyfhuvshedw+Eqmwd+e9cOHdDt4O588dplqv/k=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [ botocore ];
nativeCheckInputs = [
awscli
]
++ (with python3Packages; [
pytestCheckHook
mock
flake8
tox
]);
meta = {
description = "Git remote prefix to simplify pushing to and pulling from CodeCommit";
maintainers = [ lib.maintainers.zaninime ];
homepage = "https://github.com/awslabs/git-remote-codecommit";
license = lib.licenses.asl20;
mainProgram = "git-remote-codecommit";
};
}