arduino-create-agent: init at 1.6.1 (#300694)
[NixPkgs.git] / pkgs / applications / version-management / git-remote-codecommit / default.nix
blob1b0310de1e76bf022d1fbbf19aa5e00e51c5dc31
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5   awscli,
6 }:
8 with python3Packages;
10 buildPythonApplication rec {
11   pname = "git-remote-codecommit";
12   version = "1.15.1";
13   disabled = !isPy3k;
15   # The check dependency awscli has some overrides
16   # which yield a different botocore.
17   # This results in a duplicate version during installation
18   # of the wheel, even though it does not matter
19   # because it is only a test dependency.
20   catchConflicts = false;
22   src = fetchFromGitHub {
23     owner = "aws";
24     repo = pname;
25     rev = version;
26     sha256 = "1vvp7i8ghmq72v57f6smh441h35xnr5ar628q2mr40bzvcifwymw";
27   };
29   propagatedBuildInputs = [ botocore ];
31   nativeCheckInputs = [
32     pytest
33     mock
34     flake8
35     tox
36     awscli
37   ];
39   checkPhase = ''
40     pytest
41   '';
43   meta = {
44     description = "Git remote prefix to simplify pushing to and pulling from CodeCommit";
45     maintainers = [ lib.maintainers.zaninime ];
46     homepage = "https://github.com/awslabs/git-remote-codecommit";
47     license = lib.licenses.asl20;
48     mainProgram = "git-remote-codecommit";
49   };