tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
git-privacy: init at 2.1.0
Fabian Affolter
4 years ago
d3ce8e4c
f21d29b0
+51
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
git-privacy
default.nix
top-level
all-packages.nix
+49
pkgs/development/tools/git-privacy/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
1659
git-fire = callPackage ../tools/misc/git-fire { };
1660
0
0
1661
git-repo-updater = python3Packages.callPackage ../development/tools/git-repo-updater { };
1662
1663
git-revise = with python3Packages; toPythonApplication git-revise;
···
1658
1659
git-fire = callPackage ../tools/misc/git-fire { };
1660
1661
+
git-privacy = callPackage ../development/tools/git-privacy { };
1662
+
1663
git-repo-updater = python3Packages.callPackage ../development/tools/git-repo-updater { };
1664
1665
git-revise = with python3Packages; toPythonApplication git-revise;