at release-16.03-start 33 lines 1.0 kB view raw
1{stdenv, fetchFromGitHub 2, pkgconfig, libuuid 3, e2fsprogs, automake, autoconf 4}: 5stdenv.mkDerivation { 6 name = "partclone-stable"; 7 enableParallelBuilding = true; 8 9 src = fetchFromGitHub { 10 owner = "Thomas-Tsai"; 11 repo = "partclone"; 12 rev = "stable"; 13 sha256 = "0q3brjmnldpr89nhbiajxg3gncz0nagc34n7q2723lpz7bn28w3z"; 14 }; 15 16 buildInputs = [e2fsprogs pkgconfig libuuid automake autoconf]; 17 18 installPhase = ''make INSTPREFIX=$out install''; 19 20 meta = { 21 description = "Utilities to save and restore used blocks on a partition"; 22 longDescription = '' 23 Partclone provides utilities to save and restore used blocks on a 24 partition and is designed for higher compatibility of the file system by 25 using existing libraries, e.g. e2fslibs is used to read and write the 26 ext2 partition. 27 ''; 28 homepage = http://partclone.org; 29 license = stdenv.lib.licenses.gpl2; 30 maintainers = [stdenv.lib.maintainers.marcweber]; 31 platforms = stdenv.lib.platforms.linux; 32 }; 33}