presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / li / librsync / package.nix
blob02efdd531fa1d060218003b1caf08c3e91d0f2a2
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   perl,
7   zlib,
8   bzip2,
9   popt,
12 stdenv.mkDerivation rec {
13   pname = "librsync";
14   version = "2.3.4";
16   src = fetchFromGitHub {
17     owner = "librsync";
18     repo = "librsync";
19     rev = "v${version}";
20     sha256 = "sha256-fiOby8tOhv0KJ+ZwAWfh/ynqHlYC9kNqKfxNl3IhzR8=";
21   };
23   nativeBuildInputs = [ cmake ];
24   buildInputs = [
25     perl
26     zlib
27     bzip2
28     popt
29   ];
31   dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
33   meta = with lib; {
34     description = "Implementation of the rsync remote-delta algorithm";
35     homepage = "https://librsync.sourceforge.net/";
36     changelog = "https://github.com/librsync/librsync/releases/tag/v${version}";
37     license = licenses.lgpl2Plus;
38     mainProgram = "rdiff";
39     platforms = platforms.unix;
40   };