Skip to content

Commit 87dde47

Browse files
git-absorb: 0.6.17 -> 0.7.0 (#388650)
2 parents 31f7f3f + 8f63a83 commit 87dde47

File tree

1 file changed

+19
-5
lines changed
  • pkgs/applications/version-management/git-absorb

1 file changed

+19
-5
lines changed

pkgs/applications/version-management/git-absorb/default.nix

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,44 @@
11
{
22
lib,
33
stdenv,
4+
asciidoc,
45
fetchFromGitHub,
6+
gitMinimal,
57
rustPlatform,
68
installShellFiles,
9+
which,
710
}:
811

912
rustPlatform.buildRustPackage rec {
1013
pname = "git-absorb";
11-
version = "0.6.17";
14+
version = "0.7.0";
1215

1316
src = fetchFromGitHub {
1417
owner = "tummychow";
1518
repo = "git-absorb";
1619
tag = version;
17-
hash = "sha256-wtXqJfI/I0prPip3AbfFk0OvPja6oytPsl6hFtZ6b50=";
20+
hash = "sha256-fn4xeXlYl8xB/wjpt7By9tATzb5t58jcuwfqw0tNH7M=";
1821
};
1922

20-
nativeBuildInputs = [ installShellFiles ];
23+
nativeBuildInputs = [
24+
asciidoc
25+
installShellFiles
26+
which # used by Documentation/Makefile
27+
];
2128

2229
useFetchCargoVendor = true;
23-
cargoHash = "sha256-QQNGUlEamMPRS5sPi3VYbIU28KWxM4ibIEQnk/1sgNA=";
30+
cargoHash = "sha256-PC040PtMK0OUS4zlLoHPcSzgEw5H3kndnVuyME/jEz4=";
31+
32+
nativeCheckInputs = [
33+
gitMinimal
34+
];
2435

2536
postInstall =
2637
''
27-
installManPage Documentation/git-absorb.1
38+
cd Documentation/
39+
make
40+
installManPage git-absorb.1
41+
cd -
2842
''
2943
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
3044
installShellCompletion --cmd git-absorb \

0 commit comments

Comments
 (0)