Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 37 lines 760 B view raw
1# Tested with simple dump and restore -i, but complains that 2# /nix/store/.../etc/dumpdates doesn't exist. 3 4{ 5 lib, 6 stdenv, 7 fetchurl, 8 pkg-config, 9 e2fsprogs, 10 ncurses, 11 readline, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "dump"; 16 version = "0.4b51"; 17 18 src = fetchurl { 19 url = "mirror://sourceforge/dump/dump-${version}.tar.gz"; 20 sha256 = "sha256-huaDpzNVNMkVzwpQUlPay/RrYiSnD79or3RgsWPkU+s="; 21 }; 22 23 nativeBuildInputs = [ pkg-config ]; 24 buildInputs = [ 25 e2fsprogs 26 ncurses 27 readline 28 ]; 29 30 meta = with lib; { 31 homepage = "https://dump.sourceforge.io/"; 32 description = "Linux Ext2 filesystem dump/restore utilities"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ ]; 35 platforms = platforms.linux; 36 }; 37}