pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
cp automysqlbackup $out/bin/
|
||||
cp automysqlbackup.conf $out/etc/
|
||||
|
||||
wrapProgram $out/bin/automysqlbackup --prefix PATH : ${stdenv.lib.makeBinPath [ mysql mailutils pbzip2 pigz bzip2 gzip ]}
|
||||
wrapProgram $out/bin/automysqlbackup --prefix PATH : ${lib.makeBinPath [ mysql mailutils pbzip2 pigz bzip2 gzip ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ postgresql sqlite zlib ncurses openssl readline ]
|
||||
++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
CoreFoundation
|
||||
IOKit
|
||||
]
|
||||
# acl relies on attr, which I can't get to build on darwin
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
|
||||
++ lib.optional (!stdenv.isDarwin) acl;
|
||||
|
||||
configureFlags = [
|
||||
"--with-sqlite3=${sqlite.dev}"
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-logdir=/var/log/bacula"
|
||||
"--with-working-dir=/var/lib/bacula"
|
||||
"--mandir=\${out}/share/man"
|
||||
] ++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "ac_cv_func_setpgrp_void=yes";
|
||||
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "ac_cv_func_setpgrp_void=yes";
|
||||
|
||||
installFlags = [
|
||||
"logdir=\${out}/logdir"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
assert sqlite != null || postgresql != null || libmysqlclient != null;
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
let
|
||||
withGlusterfs = "\${with_glusterfs_directory}";
|
||||
in
|
||||
|
||||
@@ -15,7 +15,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
buildInputs = [
|
||||
libb2 lz4 zstd openssl python3.pkgs.setuptools_scm
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [ acl ];
|
||||
] ++ lib.optionals stdenv.isLinux [ acl ];
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
cython llfuse
|
||||
];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, librsync }:
|
||||
{ lib, stdenv, fetchurl, librsync }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "btar-1.1.1";
|
||||
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Tar-compatible block-based archiver";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
homepage = "http://viric.name/cgi-bin/btar";
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; all;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
preFixup = ''
|
||||
wrapProgram $out/sbin/btrbk \
|
||||
--set PERL5LIB $PERL5LIB \
|
||||
--prefix PATH ':' "${stdenv.lib.makeBinPath [ btrfs-progs bash mbuffer openssh ]}"
|
||||
--prefix PATH ':' "${lib.makeBinPath [ btrfs-progs bash mbuffer openssh ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper
|
||||
, perl, pandoc, python3Packages, git
|
||||
, par2cmdline ? null, par2Support ? true
|
||||
}:
|
||||
@@ -7,7 +7,7 @@ assert par2Support -> par2cmdline != null;
|
||||
|
||||
let version = "0.31"; in
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "bup";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
git
|
||||
(python3Packages.python.withPackages
|
||||
(p: with p; [ setuptools tornado ]
|
||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ pyxattr pylibacl fuse ]))
|
||||
++ lib.optionals (!stdenv.isDarwin) [ pyxattr pylibacl fuse ]))
|
||||
];
|
||||
nativeBuildInputs = [ pandoc perl makeWrapper ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }:
|
||||
{ lib, stdenv, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bupstash";
|
||||
version = "0.6.4";
|
||||
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
installManPage doc/man/*.[1-9]
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Easy and efficient encrypted backups";
|
||||
homepage = "https://bupstash.io";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ librsync ncurses openssl zlib uthash ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
|
||||
++ lib.optional (!stdenv.isDarwin) acl;
|
||||
|
||||
configureFlags = [ "--localstatedir=/var" ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, openssl, perl }:
|
||||
{ lib, stdenv, fetchurl, openssl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.4";
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Space-efficient incremental backups of large files or block devices";
|
||||
homepage = "http://chunksync.florz.de/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, attr, e2fsprogs
|
||||
, curl, librsync, libthreadar
|
||||
, gpgme, libgcrypt, openssl
|
||||
, bzip2, lzo, xz, zlib
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6.13";
|
||||
|
||||
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Fast, disk based, rotating network backup system";
|
||||
homepage = "http://dirvish.org/";
|
||||
license = stdenv.lib.licenses.osl2;
|
||||
license = lib.licenses.osl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.winpat ];
|
||||
};
|
||||
|
||||
@@ -19,11 +19,11 @@ stdenv.mkDerivation rec {
|
||||
cp -r * $out/share/${pname}-${version}
|
||||
makeWrapper "${mono}/bin/mono" $out/bin/duplicati-cli \
|
||||
--add-flags "$out/share/${pname}-${version}/Duplicati.CommandLine.exe" \
|
||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||
sqlite ]}
|
||||
makeWrapper "${mono}/bin/mono" $out/bin/duplicati-server \
|
||||
--add-flags "$out/share/${pname}-${version}/Duplicati.Server.exe" \
|
||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||
sqlite ]}
|
||||
'';
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
, gettext
|
||||
}:
|
||||
let
|
||||
inherit (stdenv.lib.versions) majorMinor splitVersion;
|
||||
majorMinorPatch = v: builtins.concatStringsSep "." (stdenv.lib.take 3 (splitVersion v));
|
||||
inherit (lib.versions) majorMinor splitVersion;
|
||||
majorMinorPatch = v: builtins.concatStringsSep "." (lib.take 3 (splitVersion v));
|
||||
in
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "duplicity";
|
||||
@@ -33,7 +33,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
# Our Python infrastructure runs test in installCheckPhase so we need
|
||||
# to make the testing code stop assuming it is run from the source directory.
|
||||
./use-installed-scripts-in-test.patch
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
./linux-disable-timezone-test.patch
|
||||
];
|
||||
|
||||
@@ -63,7 +63,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
pycrypto
|
||||
pydrive
|
||||
future
|
||||
] ++ stdenv.lib.optionals (!isPy3k) [
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
enum
|
||||
];
|
||||
|
||||
@@ -72,7 +72,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
gnutar # Add 'tar' to PATH.
|
||||
librsync # Add 'rdiff' to PATH.
|
||||
par2cmdline # Add 'par2' to PATH.
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
util-linux # Add 'setsid' to PATH.
|
||||
] ++ (with pythonPackages; [
|
||||
lockfile
|
||||
@@ -84,7 +84,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/duplicity \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ gnupg ncftp rsync ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ gnupg ncftp rsync ]}"
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
@@ -100,7 +100,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
# Don't run developer-only checks (pep8, etc.).
|
||||
export RUN_CODE_TESTS=0
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# Work around the following error when running tests:
|
||||
# > Max open files of 256 is too low, should be >= 1024.
|
||||
# > Use 'ulimit -n 1024' or higher to correct.
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p "$out/share/man/man1"
|
||||
install -vD duply "$out/bin"
|
||||
wrapProgram "$out/bin/duply" --set PATH \
|
||||
${stdenv.lib.makeBinPath [ coreutils python2 duplicity gawk gnupg bash gnugrep txt2man which ]}
|
||||
${lib.makeBinPath [ coreutils python2 duplicity gawk gnupg bash gnugrep txt2man which ]}
|
||||
"$out/bin/duply" txt2man > "$out/share/man/man1/duply.1"
|
||||
'';
|
||||
|
||||
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://duply.net/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib openssl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||
buildInputs = [ zlib openssl ] ++ lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ mkDerivation, stdenv, fetchurl
|
||||
{ mkDerivation, lib, stdenv, fetchurl
|
||||
, pkgconfig, libtool, qmake
|
||||
, rsync, ssh
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
mkDerivation rec {
|
||||
pname = "luckybackup";
|
||||
version = "0.5.0";
|
||||
@@ -16,7 +16,7 @@ mkDerivation rec {
|
||||
buildInputs = [ rsync ssh ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libtool qmake ];
|
||||
|
||||
|
||||
prePatch = ''
|
||||
for File in luckybackup.pro menu/luckybackup-pkexec \
|
||||
menu/luckybackup-su.desktop menu/luckybackup.desktop \
|
||||
@@ -29,12 +29,12 @@ mkDerivation rec {
|
||||
meta = {
|
||||
description = "A powerful, fast and reliable backup & sync tool";
|
||||
longDescription = ''
|
||||
luckyBackup is an application for data back-up and synchronization
|
||||
luckyBackup is an application for data back-up and synchronization
|
||||
powered by the rsync tool.
|
||||
|
||||
|
||||
It is simple to use, fast (transfers over only changes made and not
|
||||
all data), safe (keeps your data safe by checking all declared directories
|
||||
before proceeding in any data manipulation), reliable and fully
|
||||
before proceeding in any data manipulation), reliable and fully
|
||||
customizable.
|
||||
'';
|
||||
homepage = "http://luckybackup.sourceforge.net/";
|
||||
|
||||
@@ -19,9 +19,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0s5mv8mymycz4ga4zh9kbrhwmhgl4j01pw1sdzxy49l9waryk9p3";
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ openssl ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
checkFlagsArray = [ "--skip=tests::cli" ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mt-st-1.3";
|
||||
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
||||
Fork of the standard "mt" tool with additional Linux-specific IOCTLs.
|
||||
'';
|
||||
homepage = "https://github.com/iustin/mt-st";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.redvers ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.redvers ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mtx-1.3.12";
|
||||
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||
specification.
|
||||
'';
|
||||
homepage = "https://sourceforge.net/projects/mtx/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.redvers ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.redvers ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig
|
||||
, glib, zlib, pcre, libmysqlclient, libressl }:
|
||||
|
||||
let inherit (stdenv.lib) getDev; in
|
||||
let inherit (lib) getDev; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.5";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
||||
, pkgconfig, libuuid, e2fsprogs, nilfs-utils, ntfs3g
|
||||
}:
|
||||
|
||||
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [
|
||||
e2fsprogs libuuid stdenv.cc.libc nilfs-utils ntfs3g
|
||||
(stdenv.lib.getOutput "static" stdenv.cc.libc)
|
||||
e2fsprogs libuuid stdenv.cc.libc nilfs-utils ntfs3g
|
||||
(lib.getOutput "static" stdenv.cc.libc)
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
@@ -43,8 +43,8 @@ stdenv.mkDerivation rec {
|
||||
ext2 partition.
|
||||
'';
|
||||
homepage = "https://partclone.org";
|
||||
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
|
||||
{lib, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, bzip2
|
||||
@@ -40,8 +40,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Opensource disk backup software";
|
||||
homepage = "http://www.partimage.org";
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig llvmPackages.libclang clang ];
|
||||
buildInputs = [ openssl libsodium lzma ]
|
||||
++ (stdenv.lib.optional stdenv.isDarwin Security);
|
||||
++ (lib.optional stdenv.isDarwin Security);
|
||||
|
||||
configurePhase = ''
|
||||
export LIBCLANG_PATH="${llvmPackages.libclang}/lib"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, python2Packages, librsync, gnused }:
|
||||
{lib, stdenv, fetchurl, python2Packages, librsync, gnused }:
|
||||
|
||||
python2Packages.buildPythonApplication {
|
||||
name = "rdiff-backup-1.3.3";
|
||||
@@ -17,7 +17,7 @@ python2Packages.buildPythonApplication {
|
||||
meta = {
|
||||
description = "Backup system trying to combine best a mirror and an incremental backup system";
|
||||
homepage = "http://rdiff-backup.nongnu.org/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, glib, pcre }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, glib, pcre }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "rdup";
|
||||
@@ -17,8 +17,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "The only backup program that doesn't make backups";
|
||||
homepage = "https://github.com/miekg/rdup";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "A filesystem snapshot utility for making backups of local and remote systems";
|
||||
homepage = "https://rsnapshot.org/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.7";
|
||||
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "SCSI Tape Encryption Manager";
|
||||
homepage = "https://github.com/scsitape/stenc";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ woffs ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ woffs ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, which, coreutils, perl, fetchurl, perlPackages, makeWrapper, diffutils , writeScriptBin, bzip2}:
|
||||
{lib, stdenv, which, coreutils, perl, fetchurl, perlPackages, makeWrapper, diffutils , writeScriptBin, bzip2}:
|
||||
|
||||
# quick usage:
|
||||
# storeBackup.pl --sourceDir /home/user --backupDir /tmp/my_backup_destination
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
for p in $out/bin/*
|
||||
do wrapProgram "$p" \
|
||||
--prefix PERL5LIB ":" "${perlPackages.DBFile}/${perlPackages.perl.libPrefix}" \
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ which bzip2 ]}"
|
||||
--prefix PATH ":" "${lib.makeBinPath [ which bzip2 ]}"
|
||||
done
|
||||
|
||||
patchShebangs $out
|
||||
@@ -104,8 +104,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A backup suite that stores files on other disks";
|
||||
homepage = "https://savannah.nongnu.org/projects/storebackup";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [lib.maintainers.marcweber];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, openssl, zlib, e2fsprogs }:
|
||||
{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs }:
|
||||
|
||||
let
|
||||
zshCompletion = fetchurl {
|
||||
@@ -29,13 +29,13 @@ stdenv.mkDerivation rec {
|
||||
install -m 444 -D ${zshCompletion} $out/share/zsh/site-functions/_tarsnap
|
||||
'';
|
||||
|
||||
buildInputs = [ openssl zlib ] ++ stdenv.lib.optional stdenv.isLinux e2fsprogs ;
|
||||
buildInputs = [ openssl zlib ] ++ lib.optional stdenv.isLinux e2fsprogs ;
|
||||
|
||||
meta = {
|
||||
description = "Online backups for the truly paranoid";
|
||||
homepage = "http://www.tarsnap.com/";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ thoughtpolice roconnor ];
|
||||
license = lib.licenses.unfree;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ thoughtpolice roconnor ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python3Packages, lzop, postgresql, pv }:
|
||||
{ lib, stdenv, fetchurl, python3Packages, lzop, postgresql, pv }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "wal-e";
|
||||
@@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec {
|
||||
description = "A Postgres WAL-shipping disaster recovery and replication toolkit";
|
||||
homepage = "https://github.com/wal-e/wal-e";
|
||||
maintainers = [];
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, zlib, openssl, protobuf, protobufc, lzo, libunwind } :
|
||||
{ lib, stdenv, fetchurl, cmake, zlib, openssl, protobuf, protobufc, lzo, libunwind } :
|
||||
stdenv.mkDerivation {
|
||||
pname = "zbackup";
|
||||
version = "1.4.4";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A versatile deduplicating backup tool";
|
||||
homepage = "http://zbackup.org/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user