Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ e2fsprogs ncurses readline ]; 18 19 meta = with lib; { 20 homepage = "https://dump.sourceforge.io/"; 21 description = "Linux Ext2 filesystem dump/restore utilities"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ falsifian ]; 24 }; 25}