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