forked from mirrors/nixpkgs
dvdisaster: 0.79.5 -> 0.79.9
and update homepage
This commit is contained in:
parent
08e32304d7
commit
70791bb100
|
@ -1,15 +1,21 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, gettext, which
|
{ lib
|
||||||
, glib, gtk2
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, gettext
|
||||||
|
, pkg-config
|
||||||
|
, which
|
||||||
|
, glib
|
||||||
|
, gtk2
|
||||||
, enableSoftening ? true
|
, enableSoftening ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dvdisaster";
|
pname = "dvdisaster";
|
||||||
version = "0.79.5";
|
version = "0.79.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dvdisaster.net/downloads/${pname}-${version}.tar.bz2";
|
url = "https://dvdisaster.jcea.es/downloads/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "0f8gjnia2fxcbmhl8b3qkr5b7idl8m855dw7xw2fnmbqwvcm6k4w";
|
hash = "sha256-eclOJ33pS2aP4F7RUHc84ynpH7sTv2dsO4vn5vB248M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext pkg-config which ];
|
nativeBuildInputs = [ gettext pkg-config which ];
|
||||||
|
@ -40,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
pushd regtest
|
pushd regtest
|
||||||
|
|
||||||
mkdir -p "$TMP"/{log,regtest}
|
mkdir -p "$TMP"/{log,regtest}
|
||||||
|
@ -59,9 +66,11 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
rm -f $out/bin/dvdisaster-uninstall.sh
|
||||||
mkdir -pv $out/share/applications
|
mkdir -pv $out/share/applications
|
||||||
cp contrib/dvdisaster.desktop $out/share/applications/
|
cp contrib/dvdisaster.desktop $out/share/applications/
|
||||||
|
|
||||||
|
@ -73,7 +82,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://dvdisaster.net/";
|
homepage = "https://dvdisaster.jcea.es/";
|
||||||
description = "Data loss/scratch/aging protection for CD/DVD media";
|
description = "Data loss/scratch/aging protection for CD/DVD media";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Dvdisaster provides a margin of safety against data loss on CD and
|
Dvdisaster provides a margin of safety against data loss on CD and
|
||||||
|
|
Loading…
Reference in a new issue