nixpkgs/pkgs/development/libraries/librsync/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
663 B
Nix

{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
stdenv.mkDerivation rec {
pname = "librsync";
version = "2.0.2";
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
sha256 = "1qnr4rk93mhggqjh2025clmlhhgnjhq983p1vbh8i1g8aiqdnapi";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ perl zlib bzip2 popt ];
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
meta = with stdenv.lib; {
homepage = http://librsync.sourceforge.net/;
license = licenses.lgpl2Plus;
description = "Implementation of the rsync remote-delta algorithm";
platforms = platforms.unix;
};
}