Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

git-privacy: init at 2.1.0

+51
+49
pkgs/development/tools/git-privacy/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , git 4 + , python3 5 + }: 6 + 7 + python3.pkgs.buildPythonApplication rec { 8 + pname = "git-privacy"; 9 + version = "2.1.0"; 10 + format = "setuptools"; 11 + 12 + disabled = python3.pythonOlder "3.6"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "EMPRI-DEVOPS"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "0hfy43fip1l81672xfwqrz1jryzkjy7h9f2lyikxgibibil0p444"; 19 + }; 20 + 21 + propagatedBuildInputs = with python3.pkgs; [ 22 + click 23 + git-filter-repo 24 + GitPython 25 + pynacl 26 + setuptools 27 + ]; 28 + 29 + checkInputs = with python3.pkgs; [ 30 + git 31 + pytestCheckHook 32 + ]; 33 + 34 + disabledTests = [ 35 + # Tests want to interact with a git repo 36 + "TestGitPrivacy" 37 + ]; 38 + 39 + pythonImportsCheck = [ 40 + "gitprivacy" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "Tool to redact Git author and committer dates"; 45 + homepage = "https://github.com/EMPRI-DEVOPS/git-privacy"; 46 + license = with licenses; [ bsd2 ]; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+2
pkgs/top-level/all-packages.nix
··· 1658 1658 1659 1659 git-fire = callPackage ../tools/misc/git-fire { }; 1660 1660 1661 + git-privacy = callPackage ../development/tools/git-privacy { }; 1662 + 1661 1663 git-repo-updater = python3Packages.callPackage ../development/tools/git-repo-updater { }; 1662 1664 1663 1665 git-revise = with python3Packages; toPythonApplication git-revise;