gitAndTools.git-absorb: 0.5.0 -> 0.6.0

This commit is contained in:
Mario Rodas 2020-05-15 00:00:00 -05:00
parent 4de5006b9a
commit 415e3ec512
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -1,19 +1,25 @@
{ stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-absorb";
version = "0.5.0";
version = "0.6.0";
src = fetchFromGitHub {
owner = "tummychow";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "0lggv3knh6iglkh8x2zqvqcs3dlwfsdiclg7pmdrycny72la4k2j";
sha256 = "1da6h9hf98dnnqw9jpnj1x2gr7psmsa8219gpamylfg1ifk28rkr";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
cargoSha256 = "13gikjswbb0kkpvb5zhj88qq5l667624gkfb7hd3zygh4qyhsy05";
cargoSha256 = "1ba43m5ndyj4hwwfyg0c2hwv3ad7kzhrr7cvymsgaj2dxl7bif4w";
postInstall = ''
installManPage Documentation/git-absorb.1
'';
meta = with stdenv.lib; {
homepage = "https://github.com/tummychow/git-absorb";