1 { lib, stdenv, fetchFromGitHub, autoreconfHook
2 , pkg-config, libuuid, e2fsprogs, nilfs-utils, ntfs3g, openssl
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
10 owner = "Thomas-Tsai";
13 sha256 = "sha256-oYxMtVGmD88eLXCwdJJ6z+6X4Blfm3B4iwbGWwSAJ9c=";
16 nativeBuildInputs = [ autoreconfHook pkg-config ];
18 e2fsprogs libuuid stdenv.cc.libc nilfs-utils ntfs3g openssl
19 (lib.getOutput "static" stdenv.cc.libc)
35 enableParallelBuilding = true;
38 description = "Utilities to save and restore used blocks on a partition";
40 Partclone provides utilities to save and restore used blocks on a
41 partition and is designed for higher compatibility of the file system by
42 using existing libraries, e.g. e2fslibs is used to read and write the
45 homepage = "https://partclone.org";
46 license = licenses.gpl2Plus;
47 maintainers = with maintainers; [ marcweber ];
48 platforms = platforms.linux;