@@ -1,19 +1,25 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
1+{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv, Security }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "git-absorb";
5− version = "0.5.0";
5+ version = "0.6.0";
66
77 src = fetchFromGitHub {
88 owner = "tummychow";
99 repo = pname;
1010 rev = "refs/tags/${version}";
11− sha256 = "0lggv3knh6iglkh8x2zqvqcs3dlwfsdiclg7pmdrycny72la4k2j";
11+ sha256 = "1da6h9hf98dnnqw9jpnj1x2gr7psmsa8219gpamylfg1ifk28rkr";
1212 };
1313
14+ nativeBuildInputs = [ installShellFiles ];
15+
1416 buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
1517
16− cargoSha256 = "13gikjswbb0kkpvb5zhj88qq5l667624gkfb7hd3zygh4qyhsy05";
18+ cargoSha256 = "1ba43m5ndyj4hwwfyg0c2hwv3ad7kzhrr7cvymsgaj2dxl7bif4w";
19+
20+ postInstall = ''
21+ installManPage Documentation/git-absorb.1
22+ '';
1723
1824 meta = with stdenv.lib; {
1925 homepage = "https://github.com/tummychow/git-absorb";