lazpaint: 7.1.5 -> 7.2.2

This commit is contained in:
Georgy Kibardin 2023-01-22 22:11:34 +03:00
parent 0db47bd50e
commit 6803ef067f

View file

@ -7,24 +7,24 @@ let
bgrabitmap = fetchFromGitHub { bgrabitmap = fetchFromGitHub {
owner = "bgrabitmap"; owner = "bgrabitmap";
repo = "bgrabitmap"; repo = "bgrabitmap";
rev = "v11.2.5"; rev = "v11.5.3";
sha256 = "0w5pdihsxn039kalkf4cx23j69hz5r09qmhd358h2n74irv1r3x1"; sha256 = "sha256-qjBD9TVZQy1tKWHFWkuu6vdLjASzQb3+HRy0FLdd9a8=";
}; };
bgracontrols = fetchFromGitHub { bgracontrols = fetchFromGitHub {
owner = "bgrabitmap"; owner = "bgrabitmap";
repo = "bgracontrols"; repo = "bgracontrols";
rev = "v7.0"; rev = "v7.6";
sha256 = "0qz3cscrc9jvhrix1hbmzhdxv6mxk0mz9azr46canflsydda8fjy"; sha256 = "sha256-btg9DMdYg+C8h0H7MU+uoo2Kb4OeLHoxFYHAv7LbLBA=";
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "lazpaint"; pname = "lazpaint";
version = "7.1.5"; version = "7.2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bgrabitmap"; owner = "bgrabitmap";
repo = "lazpaint"; repo = "lazpaint";
rev = "v${version}"; rev = "v${version}";
sha256 = "0bpk3rlqzbxvgrxmrzs0hcrgwhsqnpjqv1kdd9cp09knimmksvy5"; sha256 = "sha256-J6s0GnGJ7twEYW5+B72bB3EX4AYvLnhSPLbdhZWzlkw=";
}; };
nativeBuildInputs = [ lazarus fpc makeWrapper ]; nativeBuildInputs = [ lazarus fpc makeWrapper ];
@ -33,6 +33,10 @@ in stdenv.mkDerivation rec {
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}"; NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
preConfigure = ''
patchShebangs configure
'';
buildPhase = '' buildPhase = ''
cp -r --no-preserve=mode ${bgrabitmap} bgrabitmap cp -r --no-preserve=mode ${bgrabitmap} bgrabitmap
cp -r --no-preserve=mode ${bgracontrols} bgracontrols cp -r --no-preserve=mode ${bgracontrols} bgracontrols
@ -47,6 +51,7 @@ in stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
# Reuse existing install script # Reuse existing install script
substituteInPlace Makefile --replace "/bin/bash" $BASH
cd lazpaint/release/debian cd lazpaint/release/debian
substituteInPlace makedeb.sh --replace "rm -rf" "ls" substituteInPlace makedeb.sh --replace "rm -rf" "ls"
patchShebangs ./makedeb.sh patchShebangs ./makedeb.sh
@ -64,6 +69,5 @@ in stdenv.mkDerivation rec {
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
broken = true; # 2022-11-16
}; };
} }