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