at master 49 lines 1.2 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 awscli, 6}: 7 8python3Packages.buildPythonApplication rec { 9 pname = "git-remote-codecommit"; 10 version = "1.17"; 11 format = "pyproject"; 12 disabled = !python3Packages.isPy3k; 13 14 # The check dependency awscli has some overrides 15 # which yield a different botocore. 16 # This results in a duplicate version during installation 17 # of the wheel, even though it does not matter 18 # because it is only a test dependency. 19 catchConflicts = false; 20 21 src = fetchFromGitHub { 22 owner = "aws"; 23 repo = "git-remote-codecommit"; 24 tag = version; 25 hash = "sha256-8heI0Oyfhuvshedw+Eqmwd+e9cOHdDt4O588dplqv/k="; 26 }; 27 28 build-system = with python3Packages; [ setuptools ]; 29 30 dependencies = with python3Packages; [ botocore ]; 31 32 nativeCheckInputs = [ 33 awscli 34 ] 35 ++ (with python3Packages; [ 36 pytestCheckHook 37 mock 38 flake8 39 tox 40 ]); 41 42 meta = { 43 description = "Git remote prefix to simplify pushing to and pulling from CodeCommit"; 44 maintainers = [ lib.maintainers.zaninime ]; 45 homepage = "https://github.com/awslabs/git-remote-codecommit"; 46 license = lib.licenses.asl20; 47 mainProgram = "git-remote-codecommit"; 48 }; 49}