partclone: stable -> 0.2.89, cleanups

This commit is contained in:
Franz Pletz 2016-08-24 21:06:51 +02:00
parent 15a1c8a6a8
commit 6be25ae545

View File

@ -1,21 +1,22 @@
{stdenv, fetchFromGitHub { stdenv, fetchFromGitHub, autoreconfHook
, pkgconfig, libuuid , pkgconfig, libuuid, e2fsprogs
, e2fsprogs, automake, autoconf
}: }:
stdenv.mkDerivation {
name = "partclone-stable"; stdenv.mkDerivation rec {
enableParallelBuilding = true; name = "partclone-${version}";
version = "0.2.89";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Thomas-Tsai"; owner = "Thomas-Tsai";
repo = "partclone"; repo = "partclone";
rev = "stable"; rev = version;
sha256 = "0q3brjmnldpr89nhbiajxg3gncz0nagc34n7q2723lpz7bn28w3z"; sha256 = "0gw47pchqshhm00yf34qgxh6bh2jfryv0sm7ghwn77bv5gzwr481";
}; };
buildInputs = [e2fsprogs pkgconfig libuuid automake autoconf]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ e2fsprogs libuuid stdenv.glibc stdenv.glibc.static ];
installPhase = ''make INSTPREFIX=$out install''; enableParallelBuilding = true;
meta = { meta = {
description = "Utilities to save and restore used blocks on a partition"; description = "Utilities to save and restore used blocks on a partition";