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