depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

31 lines
763 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, botocore, pytest, mock
, flake8, tox, awscli }:
buildPythonApplication rec {
pname = "git-remote-codecommit";
version = "1.15.1";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "aws";
repo = pname;
rev = version;
sha256 = "1vvp7i8ghmq72v57f6smh441h35xnr5ar628q2mr40bzvcifwymw";
};
propagatedBuildInputs = [ botocore ];
checkInputs = [ pytest mock flake8 tox awscli ];
checkPhase = ''
pytest
'';
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;
};
}