partclone: use fetchFromGitHub and fix sha256

This commit is contained in:
Matthias C. M. Troffaes 2015-12-07 15:06:53 +00:00
parent 9a350d5f1e
commit e8d97ef4f5

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl {stdenv, fetchFromGitHub
, pkgconfig, libuuid , pkgconfig, libuuid
, e2fsprogs , e2fsprogs
}: }:
@ -6,10 +6,11 @@ stdenv.mkDerivation {
name = "partclone-stable"; name = "partclone-stable";
enableParallelBuilding = true; enableParallelBuilding = true;
src = fetchurl { src = fetchFromGitHub {
url = https://codeload.github.com/Thomas-Tsai/partclone/legacy.tar.gz/stable; owner = "Thomas-Tsai";
sha256 = "12bnhljc4n4951p5c05gc7z5qwdsjpx867ad1npmgsm8d9w941sn"; repo = "partclone";
name = "Thomas-Tsai-partclone-stable-20150722.tar.gz"; rev = "stable";
sha256 = "0q3brjmnldpr89nhbiajxg3gncz0nagc34n7q2723lpz7bn28w3z";
}; };
buildInputs = [e2fsprogs pkgconfig libuuid]; buildInputs = [e2fsprogs pkgconfig libuuid];