Unverified Commit f6bb00a0 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

git-remote-codecommit: 1.15.1 -> 1.17 (#384113)

parents b58280f8 99f06cd6
Loading
Loading
Loading
Loading
+18 −21
Original line number Diff line number Diff line
@@ -5,12 +5,10 @@
  awscli,
}:

with python3Packages;

buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "git-remote-codecommit";
  version = "1.15.1";
  disabled = !isPy3k;
  version = "1.17";
  disabled = !python3Packages.isPy3k;

  # The check dependency awscli has some overrides
  # which yield a different botocore.
@@ -21,24 +19,23 @@ buildPythonApplication rec {

  src = fetchFromGitHub {
    owner = "aws";
    repo = pname;
    rev = version;
    sha256 = "1vvp7i8ghmq72v57f6smh441h35xnr5ar628q2mr40bzvcifwymw";
    repo = "git-remote-codecommit";
    tag = version;
    hash = "sha256-8heI0Oyfhuvshedw+Eqmwd+e9cOHdDt4O588dplqv/k=";
  };

  propagatedBuildInputs = [ botocore ];
  dependencies = with python3Packages; [ botocore ];

  nativeCheckInputs = [
    pytest
  nativeCheckInputs =
    [
      awscli
    ]
    ++ (with python3Packages; [
      pytestCheckHook
      mock
      flake8
      tox
    awscli
  ];

  checkPhase = ''
    pytest
  '';
    ]);

  meta = {
    description = "Git remote prefix to simplify pushing to and pulling from CodeCommit";
+1 −1
Original line number Diff line number Diff line
@@ -1243,7 +1243,7 @@ with pkgs;
    util-linux = if stdenv.hostPlatform.isLinux then util-linuxMinimal else util-linux;
  };
  git-remote-codecommit = python3Packages.callPackage ../applications/version-management/git-remote-codecommit { };
  git-remote-codecommit = callPackage ../applications/version-management/git-remote-codecommit { };
  gitRepo = git-repo;
  git-repo-updater = python3Packages.callPackage ../applications/version-management/git-repo-updater { };