pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, fuse, libarchive }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, fuse, libarchive }:
|
||||
|
||||
let
|
||||
name = "archivemount-0.9.1";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "Gateway between FUSE and libarchive: allows mounting of cpio, .tar.gz, .tar.bz2 archives";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, fuse, xz }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, fuse, xz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "avfs";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://avf.sourceforge.net/";
|
||||
description = "Virtual filesystem that allows browsing of compressed files";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,13 +27,13 @@ stdenv.mkDerivation {
|
||||
buildInputs = [
|
||||
libuuid libscrypt libsodium keyutils liburcu zlib libaio
|
||||
zstd lz4 python3Packages.pytest udev valgrind
|
||||
] ++ stdenv.lib.optional fuseSupport fuse3;
|
||||
] ++ lib.optional fuseSupport fuse3;
|
||||
|
||||
doCheck = false; # needs bcachefs module loaded on builder
|
||||
checkFlags = [ "BCACHEFS_TEST_USE_VALGRIND=no" ];
|
||||
checkInputs = [ valgrind ];
|
||||
|
||||
preCheck = stdenv.lib.optionalString fuseSupport ''
|
||||
preCheck = lib.optionalString fuseSupport ''
|
||||
rm tests/test_fuse.py
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fuse, pkgconfig }:
|
||||
{ lib, stdenv, fetchurl, fuse, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.14.8";
|
||||
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A FUSE filesystem for mounting a directory to another location";
|
||||
homepage = "https://bindfs.org";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ lovek323 ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bonnie++-1.98";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://www.coker.com.au/bonnie++/";
|
||||
description = "Hard drive and file system benchmark suite";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
install -v -m 444 -D btrfs-completion $out/share/bash-completion/completions/btrfs
|
||||
'';
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-backtrace";
|
||||
configureFlags = lib.optional stdenv.hostPlatform.isMusl "--disable-backtrace";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for the btrfs filesystem";
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
# We must have one crypto library
|
||||
assert cryptopp != null || (nss != null && nspr != null);
|
||||
|
||||
with stdenv; with stdenv.lib;
|
||||
with stdenv; with lib;
|
||||
let
|
||||
shouldUsePkg = pkg: if pkg != null && pkg.meta.available then pkg else null;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, fuse }:
|
||||
{ lib, stdenv, fetchurl, perl, fuse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "FUSE filesystems for viewing chunksync-style directory trees as a block device and vice versa";
|
||||
homepage = "http://chunkfs.florz.de/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, fuse, glib, attr }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, fuse, glib, attr }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ciopfs-0.4";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://www.brain-dump.org/projects/ciopfs/";
|
||||
description = "A case-insensitive filesystem layered on top of any other filesystem";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, neon
|
||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://savannah.nongnu.org/projects/davfs2";
|
||||
description = "Mount WebDAV shares like a typical filesystem";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
longDescription = ''
|
||||
Web Distributed Authoring and Versioning (WebDAV), an extension to
|
||||
@@ -50,6 +50,6 @@ stdenv.mkDerivation rec {
|
||||
with no built-in support for WebDAV.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, fuse }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, fuse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "djmount";
|
||||
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://djmount.sourceforge.net/";
|
||||
description = "UPnP AV client, mounts as a Linux filesystem the media content of compatible UPnP AV devices";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.jagajaga ];
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.jagajaga ];
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dosfstools";
|
||||
@@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
++ lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
configureFlags = [ "--enable-compat-symlinks" ];
|
||||
|
||||
meta = {
|
||||
description = "Utilities for creating and checking FAT and VFAT file systems";
|
||||
homepage = "https://github.com/dosfstools/dosfstools";
|
||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, e2fsprogs }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, e2fsprogs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "e2tools";
|
||||
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://home.earthlink.net/~k_sheff/sw/e2tools/";
|
||||
description = "Utilities to read/write/manipulate files in an ext2/ext3 filesystem";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.leenaars ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.leenaars ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, openssl, fuse}:
|
||||
{lib, stdenv, fetchurl, openssl, fuse}:
|
||||
|
||||
throw "It still does not build"
|
||||
|
||||
@@ -25,6 +25,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://fsfs.sourceforge.net/";
|
||||
description = "Secure distributed file system in user space";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
libs = stdenv.lib.makeLibraryPath [ p7zip ]; # 'cause 7z.so is loaded manually
|
||||
libs = lib.makeLibraryPath [ p7zip ]; # 'cause 7z.so is loaded manually
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/${pname} --suffix LD_LIBRARY_PATH : "${libs}/p7zip"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python3Packages }:
|
||||
{ lib, stdenv, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "gitfs";
|
||||
@@ -30,8 +30,8 @@ python3Packages.buildPythonApplication rec {
|
||||
automatically committed to the remote.
|
||||
'';
|
||||
homepage = "https://github.com/PressLabs/gitfs";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.robbinch ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.robbinch ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ in stdenv.mkDerivation rec {
|
||||
# It also invokes executable Python scripts in `$out/libexec/glusterfs`, which is why we set up PYTHONPATH accordingly.
|
||||
# We set up the paths for the main entry point executables.
|
||||
|
||||
GLUSTER_PATH="${stdenv.lib.makeBinPath runtimePATHdeps}:$out/bin"
|
||||
GLUSTER_PATH="${lib.makeBinPath runtimePATHdeps}:$out/bin"
|
||||
GLUSTER_PYTHONPATH="$(toPythonPath $out):$out/libexec/glusterfs"
|
||||
GLUSTER_LD_LIBRARY_PATH="$out/lib"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, openssl, libbsd }:
|
||||
{ lib, stdenv, fetchurl, openssl, libbsd }:
|
||||
|
||||
let version = "332.25";
|
||||
package_name = "hfsprogs"; in
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "HFS/HFS+ user space utils";
|
||||
license = stdenv.lib.licenses.apsl20;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.apsl20;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, pkgconfig, fuse, openssl, asciidoc
|
||||
{ fetchurl, lib, stdenv, pkgconfig, fuse, openssl, asciidoc
|
||||
, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "http://httpfs.sourceforge.net/";
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,8 +48,8 @@ with stdenv;
|
||||
testing on supported platforms; plug-in support for microservices, storage resources,
|
||||
drivers, and databases; and extensive documentation, training and support services.'';
|
||||
homepage = "https://irods.org";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = [ stdenv.lib.maintainers.bzizou ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.bzizou ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
|
||||
{ lib, stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mergerfs";
|
||||
@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A FUSE based union filesystem";
|
||||
homepage = "https://github.com/trapexit/mergerfs";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ jfrankenau makefu ];
|
||||
license = lib.licenses.isc;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ jfrankenau makefu ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
postInstall = with stdenv.lib; ''
|
||||
postInstall = with lib; ''
|
||||
wrapProgram $out/bin/mergerfs.balance --prefix PATH : ${makeBinPath [ rsync ]}
|
||||
wrapProgram $out/bin/mergerfs.dup --prefix PATH : ${makeBinPath [ rsync ]}
|
||||
wrapProgram $out/bin/mergerfs.mktrash --prefix PATH : ${makeBinPath [ pythonPackages.xattr ]}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fuse, pkgconfig, attr, uthash }:
|
||||
{ lib, stdenv, fetchurl, fuse, pkgconfig, attr, uthash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mhddfs";
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://mhddfs.uvw.ru/";
|
||||
description = "Combines a several mount points into the single one";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.makefu ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.makefu ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, cmocka, acl, libuuid, lzo, zlib, zstd }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, pkgconfig, cmocka, acl, libuuid, lzo, zlib, zstd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mtd-utils";
|
||||
@@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1lijl89l7hljx8xx70vrz9srd3h41v5gh4b0lvqnlv831yvyh5cd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ] ++ stdenv.lib.optional doCheck cmocka;
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ] ++ lib.optional doCheck cmocka;
|
||||
buildInputs = [ acl libuuid lzo zlib zstd ];
|
||||
|
||||
configureFlags = [
|
||||
(stdenv.lib.enableFeature doCheck "unit-tests")
|
||||
(stdenv.lib.enableFeature doCheck "tests")
|
||||
(lib.enableFeature doCheck "unit-tests")
|
||||
(lib.enableFeature doCheck "tests")
|
||||
];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Tools for MTD filesystems";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
homepage = "http://www.linux-mtd.infradead.org/";
|
||||
maintainers = with stdenv.lib.maintainers; [ viric ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with lib.maintainers; [ viric ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "06pabnjc4r2vv3dzfm6q97g6jbp2k5bhmcdwv2cf25ka8y5ir7sk";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
|
||||
patches = lib.optional stdenv.isDarwin ./UNUSED-darwin.patch;
|
||||
|
||||
# fails to find X on darwin
|
||||
configureFlags = stdenv.lib.optional stdenv.isDarwin "--without-x";
|
||||
configureFlags = lib.optional stdenv.isDarwin "--without-x";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, autoreconfHook, pkgconfig, perl, python
|
||||
{ fetchurl, lib, stdenv, autoreconfHook, pkgconfig, perl, python
|
||||
, db, libgcrypt, avahi, libiconv, pam, openssl, acl
|
||||
, ed, libtirpc, libevent
|
||||
}:
|
||||
@@ -54,8 +54,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Apple Filing Protocol Server";
|
||||
homepage = "http://netatalk.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ jcumming ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
|
||||
|
||||
configureFlags = [
|
||||
"--with-libmount"
|
||||
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
# AC_FUNC_MALLOC is broken on cross builds.
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, buildPythonApplication, blivet }:
|
||||
{ lib, stdenv, fetchurl, buildPythonApplication, blivet }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "nixpart";
|
||||
@@ -13,8 +13,8 @@ buildPythonApplication rec {
|
||||
|
||||
meta = {
|
||||
description = "NixOS storage manager/partitioner";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.aszlig ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.aszlig ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" "man" "doc" ];
|
||||
|
||||
buildInputs = [ libuuid ] ++ stdenv.lib.optionals crypto [ gnutls libgcrypt ];
|
||||
nativeBuildInputs = stdenv.lib.optional crypto pkgconfig;
|
||||
buildInputs = [ libuuid ] ++ lib.optionals crypto [ gnutls libgcrypt ];
|
||||
nativeBuildInputs = lib.optional crypto pkgconfig;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
|
||||
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
"--sysconfdir=/etc/orangefs"
|
||||
"--enable-shared"
|
||||
"--enable-fast"
|
||||
"--with-ssl=${stdenv.lib.getDev openssl}"
|
||||
"--with-ssl=${lib.getDev openssl}"
|
||||
];
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://rdfind.pauldreik.se/";
|
||||
description = "Removes or hardlinks duplicate files very swiftly";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ maintainers.wmertens ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libuuid, autoreconfHook }:
|
||||
{ lib, stdenv, fetchurl, libuuid, autoreconfHook }:
|
||||
|
||||
let version = "3.6.24"; in
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
inherit version;
|
||||
homepage = "http://www.namesys.com/";
|
||||
description = "ReiserFS utilities";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
install -D ${src}/rmount.bash $out/bin/rmount
|
||||
install -D ${src}/config.json $out/share/config.json
|
||||
|
||||
wrapProgram $out/bin/rmount --prefix PATH : ${stdenv.lib.makeBinPath [ nmap jq cifs-utils sshfs ]}
|
||||
wrapProgram $out/bin/rmount --prefix PATH : ${lib.makeBinPath [ nmap jq cifs-utils sshfs ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ curl openssl libxml2 ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ fuse ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ osxfuse ];
|
||||
++ lib.optionals stdenv.isLinux [ fuse ]
|
||||
++ lib.optionals stdenv.isDarwin [ osxfuse ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ lzma lzo xz zlib ]
|
||||
++ stdenv.lib.optional lz4Support lz4;
|
||||
++ lib.optional lz4Support lz4;
|
||||
|
||||
patches = [ patch ];
|
||||
patchFlags = [ "-p0" ];
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
|
||||
|
||||
makeFlags = [ "XZ_SUPPORT=1" ]
|
||||
++ stdenv.lib.optional lz4Support "LZ4_SUPPORT=1";
|
||||
++ lib.optional lz4Support "LZ4_SUPPORT=1";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/devttys0/sasquatch";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "snapraid";
|
||||
@@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://www.snapraid.it/";
|
||||
description = "A backup program for disk arrays";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.makefu ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.makefu ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, zlib, xz
|
||||
{ lib, stdenv, fetchFromGitHub, zlib, xz
|
||||
, lz4 ? null
|
||||
, lz4Support ? false
|
||||
, zstd
|
||||
@@ -22,23 +22,23 @@ stdenv.mkDerivation {
|
||||
# This patch adds an option to pad filesystems (increasing size) in
|
||||
# exchange for better chunking / binary diff calculation.
|
||||
./4k-align.patch
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
] ++ lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
|
||||
buildInputs = [ zlib xz zstd ]
|
||||
++ stdenv.lib.optional lz4Support lz4;
|
||||
++ lib.optional lz4Support lz4;
|
||||
|
||||
preBuild = "cd squashfs-tools";
|
||||
|
||||
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
|
||||
|
||||
makeFlags = [ "XZ_SUPPORT=1" "ZSTD_SUPPORT=1" ]
|
||||
++ stdenv.lib.optional lz4Support "LZ4_SUPPORT=1";
|
||||
++ lib.optional lz4Support "LZ4_SUPPORT=1";
|
||||
|
||||
meta = {
|
||||
homepage = "http://squashfs.sourceforge.net/";
|
||||
description = "Tool for creating and unpacking squashfs filesystems";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ ruuda ];
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ruuda ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse,
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse,
|
||||
pkgconfig, lz4, xz, zlib, lzo, zstd }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ fuse3 glib ];
|
||||
checkInputs = [ which python3Packages.pytest ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString
|
||||
(stdenv.hostPlatform.system == "i686-linux")
|
||||
"-D_FILE_OFFSET_BITS=64";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, automake, autoconf, subversion, fuse, apr, perl }:
|
||||
{ lib, stdenv, fetchurl, automake, autoconf, subversion, fuse, apr, perl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "svnfs-0.4";
|
||||
@@ -21,8 +21,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "FUSE filesystem for accessing Subversion repositories";
|
||||
homepage = "http://www.jmadden.eu/index.php/svnfs/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [lib.maintainers.marcweber];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, writeText, zlib, rpmextract, patchelf, which }:
|
||||
{ lib, stdenv, fetchurl, writeText, zlib, rpmextract, patchelf, which }:
|
||||
|
||||
let
|
||||
p = if stdenv.is64bit then {
|
||||
@@ -49,9 +49,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://help.yandex.com/disk/cli-clients.xml";
|
||||
description = "A free cloud file storage service";
|
||||
maintainers = with stdenv.lib.maintainers; [ smironov jagajaga ];
|
||||
maintainers = with lib.maintainers; [ smironov jagajaga ];
|
||||
platforms = ["i686-linux" "x86_64-linux"];
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
license = lib.licenses.unfree;
|
||||
longDescription = ''
|
||||
Yandex.Disk console client for Linux lets you manage files on Disk without
|
||||
using a window interface or programs that support WebDAV. The advantages
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, e2fsprogs }:
|
||||
{ lib, stdenv, fetchurl, e2fsprogs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zerofree";
|
||||
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://frippery.org/uml/";
|
||||
description = "Zero free blocks from ext2, ext3 and ext4 file-systems";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.theuni ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.theuni ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user