ddrescueview: 0.4alpha3 -> 0.4alpha4
Update required for compatibility with fpc 3.2.0.
This commit is contained in:
parent
96bc644e2e
commit
31772af506
|
@ -1,20 +1,24 @@
|
||||||
{ stdenv, lib, fetchurl, fpc, lazarus, atk, cairo, gdk-pixbuf, glib, gtk2, libX11, pango }:
|
{ stdenv, lib, fetchurl, fpc, lazarus, atk, cairo, gdk-pixbuf, glib, gtk2, libX11, pango }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "ddrescueview-0.4alpha3";
|
versionBase = "0.4";
|
||||||
|
versionSuffix = "alpha4";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
pname = "ddrescueview";
|
||||||
|
version = "${versionBase}${versionSuffix}";
|
||||||
|
name = "ddrescueview-0.4alpha4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "${name}.tar.xz";
|
name = "ddrescueview-${versionBase}${versionSuffix}.tar.xz";
|
||||||
url = "mirror://sourceforge/ddrescueview/ddrescueview-source-0.4%7Ealpha3.tar.xz";
|
url = "mirror://sourceforge/ddrescueview/ddrescueview-source-${versionBase}~${versionSuffix}.tar.xz";
|
||||||
sha256 = "0603jisxkswfyh93s3i20f8ns4yf83dmgmy0lg5001rvaw9mkw9j";
|
sha256 = "0v159nlc0lrqznbbwi7zda619is5h2rjk55gz6cl807j0kd19ycc";
|
||||||
};
|
};
|
||||||
|
sourceRoot = "ddrescueview-source-${versionBase}~${versionSuffix}/source";
|
||||||
|
|
||||||
nativeBuildInputs = [ fpc lazarus ];
|
nativeBuildInputs = [ fpc lazarus ];
|
||||||
|
|
||||||
buildInputs = [ atk cairo gdk-pixbuf glib gtk2 libX11 pango ];
|
buildInputs = [ atk cairo gdk-pixbuf glib gtk2 libX11 pango ];
|
||||||
|
|
||||||
sourceRoot = "source";
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
|
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -24,9 +28,8 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dt $out/bin ddrescueview
|
install -Dt $out/bin ddrescueview
|
||||||
cd ../resources/linux
|
cd ../resources/linux
|
||||||
install -Dt $out/share/applications ddrescueview.desktop
|
mkdir -p "$out/share"
|
||||||
install -Dt $out/share/icons/hicolor/32x32/apps ddrescueview.xpm
|
cp -ar applications icons man $out/share
|
||||||
install -Dt $out/share/man/man1 ddrescueview.1
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue