librsync: 1.0.0 -> 2.0.0
This commit is contained in:
parent
1a7f330335
commit
edf5cbdc33
@ -1,21 +1,18 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, perl, zlib, bzip2, popt }:
|
||||
{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "librsync-${version}";
|
||||
version = "1.0.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "librsync";
|
||||
repo = "librsync";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rc2pksdd0mhdvk8y1yix71rf19wdx1lb2ryrkhi7vcy240rvgvc";
|
||||
sha256 = "0yad7nkw6d8j824qkxrj008ak2wq6yw5p894sbhr35yc1wr5mki6";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook perl zlib bzip2 popt ];
|
||||
|
||||
configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
|
||||
|
||||
CFLAGS = "-std=gnu89";
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ perl zlib bzip2 popt ];
|
||||
|
||||
crossAttrs = {
|
||||
dontStrip = true;
|
||||
|
Loading…
Reference in New Issue
Block a user