tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
librsync: 0.9.7 -> 1.0.0
William A. Kennington III
11 years ago
0a8efb53
cd3b4602
+15
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
librsync
default.nix
+15
-8
pkgs/development/libraries/librsync/default.nix
···
1
1
-
{stdenv, fetchurl}:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, perl, zlib, bzip2, popt }:
2
2
3
3
-
stdenv.mkDerivation {
4
4
-
name = "librsync-0.9.7";
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "librsync-${version}";
5
5
+
version = "1.0.0";
5
6
6
6
-
src = fetchurl {
7
7
-
url = mirror://sourceforge/librsync/librsync-0.9.7.tar.gz;
8
8
-
sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6";
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "librsync";
9
9
+
repo = "librsync";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "0rc2pksdd0mhdvk8y1yix71rf19wdx1lb2ryrkhi7vcy240rvgvc";
9
12
};
13
13
+
14
14
+
buildInputs = [ autoreconfHook perl zlib bzip2 popt ];
10
15
11
16
configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
12
17
···
14
19
dontStrip = true;
15
20
};
16
21
17
17
-
meta = {
22
22
+
meta = with stdenv.lib; {
18
23
homepage = http://librsync.sourceforge.net/;
19
19
-
license = stdenv.lib.licenses.lgpl2Plus;
24
24
+
license = licenses.lgpl2Plus;
20
25
description = "Implementation of the rsync remote-delta algorithm";
26
26
+
platforms = platforms.unix;
27
27
+
maintainers = with maintainers; [ wkennington ];
21
28
};
22
29
}