pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "librsync-0.9.7";
|
||||
@@ -11,16 +11,16 @@ stdenv.mkDerivation {
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = [
|
||||
(stdenv.lib.enableFeature stdenv.isCygwin "static")
|
||||
(stdenv.lib.enableFeature (!stdenv.isCygwin) "shared")
|
||||
(lib.enableFeature stdenv.isCygwin "static")
|
||||
(lib.enableFeature (!stdenv.isCygwin) "shared")
|
||||
];
|
||||
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
|
||||
meta = {
|
||||
homepage = "http://librsync.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
description = "Implementation of the rsync remote-delta algorithm";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "librsync";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://librsync.sourceforge.net/";
|
||||
license = licenses.lgpl2Plus;
|
||||
description = "Implementation of the rsync remote-delta algorithm";
|
||||
|
||||
Reference in New Issue
Block a user