diff options
author | Marc Weber <marco-oweber@gmx.de> | 2013-05-16 11:41:58 +0200 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2013-05-16 17:18:11 +0200 |
commit | 87a579dd537575abeb668f9eed98f0f00f7f39d2 (patch) | |
tree | 328e316963fc31ef1e4e36b7016cf6a5b0967528 /pkgs/tools/backup/partclone | |
parent | 880a386c5793269a30e052521b60bdf60b09a406 (diff) | |
download | nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.tar nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.tar.gz nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.tar.bz2 nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.tar.lz nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.tar.xz nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.tar.zst nixpkgs-87a579dd537575abeb668f9eed98f0f00f7f39d2.zip |
partclone, partimage. both are used by clonezilla and drbl (which I haven't packaged yet)
Diffstat (limited to 'pkgs/tools/backup/partclone')
-rw-r--r-- | pkgs/tools/backup/partclone/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/backup/partclone/default.nix b/pkgs/tools/backup/partclone/default.nix new file mode 100644 index 00000000000..b446b06f987 --- /dev/null +++ b/pkgs/tools/backup/partclone/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl +, pkgconfig, libuuid +, e2fsprogs +}: +stdenv.mkDerivation { + name = "partclone-stable"; + enableParallelBuilding = true; + + src = fetchurl { + url = https://codeload.github.com/Thomas-Tsai/partclone/legacy.tar.gz/stable; + sha256 = "0vvk6c26gf2wv5y0mxnz90bivgp84pi82qk5q5xkcz6nz3swals7"; + name = "Thomas-Tsai-partclone-stable-0-gab3bd53.tar.gz"; + }; + + buildInputs = [e2fsprogs pkgconfig libuuid]; + + installPhase = ''make INSTPREFIX=$out install''; + + meta = { + description = "Partclone provides utilities to save and restore used blocks on a partition and is designed for higher compatibility of the file system by using existing libraries, e.g. e2fslibs is used to read and write the ext2 partition"; + homepage = http://partclone.org; + license = stdenv.lib.licenses.gpl2; + maintainers = [stdenv.lib.maintainers.marcweber]; + platforms = stdenv.lib.platforms.linux; + }; +} |