Skip to content

Commit

Permalink
Merge pull request NixOS#87874 from marsam/update-git-absorb
Browse files Browse the repository at this point in the history
gitAndTools.git-absorb: 0.5.0 -> 0.6.0
  • Loading branch information
Mic92 committed May 15, 2020
2 parents 84f5d69 + 415e3ec commit 2ab9b44
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 2ab9b44

Please sign in to comment.