git-absorb: 0.6.17 -> 0.7.0 (#388650)
This commit is contained in:
@@ -1,30 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
asciidoc,
|
||||
fetchFromGitHub,
|
||||
gitMinimal,
|
||||
rustPlatform,
|
||||
installShellFiles,
|
||||
which,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-absorb";
|
||||
version = "0.6.17";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tummychow";
|
||||
repo = "git-absorb";
|
||||
tag = version;
|
||||
hash = "sha256-wtXqJfI/I0prPip3AbfFk0OvPja6oytPsl6hFtZ6b50=";
|
||||
hash = "sha256-fn4xeXlYl8xB/wjpt7By9tATzb5t58jcuwfqw0tNH7M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
nativeBuildInputs = [
|
||||
asciidoc
|
||||
installShellFiles
|
||||
which # used by Documentation/Makefile
|
||||
];
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-QQNGUlEamMPRS5sPi3VYbIU28KWxM4ibIEQnk/1sgNA=";
|
||||
cargoHash = "sha256-PC040PtMK0OUS4zlLoHPcSzgEw5H3kndnVuyME/jEz4=";
|
||||
|
||||
nativeCheckInputs = [
|
||||
gitMinimal
|
||||
];
|
||||
|
||||
postInstall =
|
||||
''
|
||||
installManPage Documentation/git-absorb.1
|
||||
cd Documentation/
|
||||
make
|
||||
installManPage git-absorb.1
|
||||
cd -
|
||||
''
|
||||
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd git-absorb \
|
||||
|
||||
Reference in New Issue
Block a user