python3Packages.git-remote-codecommit: init at 1.15.1

authored by

Francesco Zanini and committed by
Jon
6efc71f1 638612da

+33
+2
pkgs/applications/version-management/git-and-tools/default.nix
··· 132 utillinux = if stdenv.isLinux then utillinuxMinimal else utillinux; 133 }; 134 135 git-remote-gcrypt = callPackage ./git-remote-gcrypt { }; 136 137 git-remote-hg = callPackage ./git-remote-hg { };
··· 132 utillinux = if stdenv.isLinux then utillinuxMinimal else utillinux; 133 }; 134 135 + git-remote-codecommit = python3Packages.callPackage ./git-remote-codecommit { }; 136 + 137 git-remote-gcrypt = callPackage ./git-remote-gcrypt { }; 138 139 git-remote-hg = callPackage ./git-remote-hg { };
+31
pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix
···
··· 1 + { lib, buildPythonApplication, fetchFromGitHub, isPy3k, botocore, pytest, mock 2 + , flake8, tox, awscli }: 3 + 4 + buildPythonApplication rec { 5 + pname = "git-remote-codecommit"; 6 + version = "1.15.1"; 7 + disabled = !isPy3k; 8 + 9 + src = fetchFromGitHub { 10 + owner = "aws"; 11 + repo = pname; 12 + rev = version; 13 + sha256 = "1vvp7i8ghmq72v57f6smh441h35xnr5ar628q2mr40bzvcifwymw"; 14 + }; 15 + 16 + propagatedBuildInputs = [ botocore ]; 17 + 18 + checkInputs = [ pytest mock flake8 tox awscli ]; 19 + 20 + checkPhase = '' 21 + pytest 22 + ''; 23 + 24 + meta = { 25 + description = 26 + "Git remote prefix to simplify pushing to and pulling from CodeCommit"; 27 + maintainers = [ lib.maintainers.zaninime ]; 28 + homepage = "https://github.com/awslabs/git-remote-codecommit"; 29 + license = lib.licenses.asl20; 30 + }; 31 + }