1 { lib, stdenv, fetchurl
2 , checksumType ? "built-in"
7 assert checksumType == "mhash" -> libmhash != null;
8 assert checksumType == "openssl" -> openssl != null;
10 stdenv.mkDerivation rec {
15 "--with-checksum=${checksumType}"
18 buildInputs = lib.optional (checksumType == "mhash") libmhash
19 ++ lib.optional (checksumType == "openssl") openssl;
23 "https://mamuti.net/files/netrw/netrw-${version}.tar.bz2"
24 "http://www.sourcefiles.org/Networking/FTP/Other/netrw-${version}.tar.bz2"
26 sha256 = "1gnl80i5zkyj2lpnb4g0q0r5npba1x6cnafl2jb3i3pzlfz1bndr";
30 description = "Simple tool for transporting data over the network";
31 license = lib.licenses.gpl2Plus;
32 homepage = "https://mamuti.net/netrw/index.en.html";
33 platforms = lib.platforms.unix;