rclone: 1.45 -> 1.46 (#55476)

This commit is contained in:
Vladyslav M 2019-02-23 02:35:27 +02:00 committed by Robert Schütz
parent 904732d6f6
commit b320b34b15

View file

@ -1,8 +1,8 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, fetchpatch }:
buildGoPackage rec {
name = "rclone-${version}";
version = "1.45";
pname = "rclone";
version = "1.46";
goPackagePath = "github.com/ncw/rclone";
subPackages = [ "." ];
@ -11,11 +11,19 @@ buildGoPackage rec {
owner = "ncw";
repo = "rclone";
rev = "v${version}";
sha256 = "06xg0ibv9pnrnmabh1kblvxx1pk8h5rmkr9mjbymv497sx3zgz26";
sha256 = "1fl52dl41n76r678nzkxa2kgk9khn1fxraxgk8jd3ayc787qs9ia";
};
outputs = [ "bin" "out" "man" ];
# https://github.com/ncw/rclone/issues/2964
patches = [
(fetchpatch {
url = "https://github.com/ncw/rclone/commit/1c1a8ef24bea9332c6c450379ed3c5d953e07508.patch";
sha256 = "0mq74z78lc3dhama303k712xkzz9q6p7zqlbwbl04bndqlkny03k";
})
];
postInstall = ''
install -D -m644 $src/rclone.1 $man/share/man/man1/rclone.1
'';