1# Tested with simple dump and restore -i, but complains that
2# /nix/store/.../etc/dumpdates doesn't exist.
3
4{ lib, stdenv, fetchurl, pkg-config,
5 e2fsprogs, ncurses, readline }:
6
7stdenv.mkDerivation rec {
8 pname = "dump";
9 version = "0.4b47";
10
11 src = fetchurl {
12 url = "mirror://sourceforge/dump/dump-${version}.tar.gz";
13 sha256 = "sha256-0CGs3k+77T2T662YFCL2cfSNZrKeyI196DZC7Pv/T9A=";
14 };
15
16 buildInputs = [ e2fsprogs pkg-config ncurses readline ];
17
18 meta = with lib; {
19 homepage = "https://dump.sourceforge.io/";
20 description = "Linux Ext2 filesystem dump/restore utilities";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ falsifian ];
23 };
24}