dd_rescue: add license + update homepage

This commit is contained in:
Markus Kowalewski 2018-09-12 22:03:47 +02:00
parent d9416449b5
commit 7d25ffade4
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile \
--replace "\$(DESTDIR)/usr" "$out" \
--replace "-o root" "" \
--replace "-g root" ""
--replace "-g root" ""
'';
makeFlags = [ "LIBDIR=$out" ];
@ -29,12 +29,13 @@ stdenv.mkDerivation rec {
tar xf "${dd_rhelp_src}" -C "$out/share/dd_rescue"
cp "$out/share/dd_rescue"/dd_rhelp*/dd_rhelp "$out/bin"
'';
meta = with stdenv.lib; {
description = "A tool to copy data from a damaged block device";
maintainers = with maintainers; [ raskin domenkozar ];
platforms = platforms.linux;
downloadPage = "http://www.garloff.de/kurt/linux/ddrescue/";
homepage = "http://www.garloff.de/kurt/linux/ddrescue/";
license = licenses.gpl2Plus;
inherit version;
updateWalker = true;
};