2020-04-24 12:18:13 +01:00
|
|
|
# Tested with simple dump and restore -i, but complains that
|
|
|
|
# /nix/store/.../etc/dumpdates doesn't exist.
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config,
|
2020-04-24 12:18:13 +01:00
|
|
|
e2fsprogs, ncurses, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dump";
|
2021-02-04 07:51:57 +00:00
|
|
|
version = "0.4b47";
|
2020-04-24 12:18:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/dump/dump-${version}.tar.gz";
|
2021-02-04 07:51:57 +00:00
|
|
|
sha256 = "sha256-0CGs3k+77T2T662YFCL2cfSNZrKeyI196DZC7Pv/T9A=";
|
2020-04-24 12:18:13 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
buildInputs = [ e2fsprogs pkg-config ncurses readline ];
|
2020-04-24 12:18:13 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 12:18:13 +01:00
|
|
|
homepage = "https://dump.sourceforge.io/";
|
|
|
|
description = "Linux Ext2 filesystem dump/restore utilities";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ falsifian ];
|
|
|
|
};
|
|
|
|
}
|