pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, checksumType ? "built-in"
|
||||
, libmhash ? null
|
||||
, openssl ? null
|
||||
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
"--with-checksum=${checksumType}"
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optional (checksumType == "mhash") libmhash
|
||||
++ stdenv.lib.optional (checksumType == "openssl") openssl;
|
||||
buildInputs = lib.optional (checksumType == "mhash") libmhash
|
||||
++ lib.optional (checksumType == "openssl") openssl;
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Simple tool for transporting data over the network";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
homepage = "https://mamuti.net/netrw/index.en.html";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user