tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
lazpaint: 7.1.5 -> 7.2.2
Georgy Kibardin
3 years ago
6803ef06
0db47bd5
+11
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
lazpaint
default.nix
+11
-7
pkgs/applications/graphics/lazpaint/default.nix
···
7
7
bgrabitmap = fetchFromGitHub {
8
8
owner = "bgrabitmap";
9
9
repo = "bgrabitmap";
10
10
-
rev = "v11.2.5";
11
11
-
sha256 = "0w5pdihsxn039kalkf4cx23j69hz5r09qmhd358h2n74irv1r3x1";
10
10
+
rev = "v11.5.3";
11
11
+
sha256 = "sha256-qjBD9TVZQy1tKWHFWkuu6vdLjASzQb3+HRy0FLdd9a8=";
12
12
};
13
13
bgracontrols = fetchFromGitHub {
14
14
owner = "bgrabitmap";
15
15
repo = "bgracontrols";
16
16
-
rev = "v7.0";
17
17
-
sha256 = "0qz3cscrc9jvhrix1hbmzhdxv6mxk0mz9azr46canflsydda8fjy";
16
16
+
rev = "v7.6";
17
17
+
sha256 = "sha256-btg9DMdYg+C8h0H7MU+uoo2Kb4OeLHoxFYHAv7LbLBA=";
18
18
};
19
19
in stdenv.mkDerivation rec {
20
20
pname = "lazpaint";
21
21
-
version = "7.1.5";
21
21
+
version = "7.2.2";
22
22
23
23
src = fetchFromGitHub {
24
24
owner = "bgrabitmap";
25
25
repo = "lazpaint";
26
26
rev = "v${version}";
27
27
-
sha256 = "0bpk3rlqzbxvgrxmrzs0hcrgwhsqnpjqv1kdd9cp09knimmksvy5";
27
27
+
sha256 = "sha256-J6s0GnGJ7twEYW5+B72bB3EX4AYvLnhSPLbdhZWzlkw=";
28
28
};
29
29
30
30
nativeBuildInputs = [ lazarus fpc makeWrapper ];
···
33
33
34
34
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
35
35
36
36
+
preConfigure = ''
37
37
+
patchShebangs configure
38
38
+
'';
39
39
+
36
40
buildPhase = ''
37
41
cp -r --no-preserve=mode ${bgrabitmap} bgrabitmap
38
42
cp -r --no-preserve=mode ${bgracontrols} bgracontrols
···
47
51
48
52
installPhase = ''
49
53
# Reuse existing install script
54
54
+
substituteInPlace Makefile --replace "/bin/bash" $BASH
50
55
cd lazpaint/release/debian
51
56
substituteInPlace makedeb.sh --replace "rm -rf" "ls"
52
57
patchShebangs ./makedeb.sh
···
64
69
license = licenses.gpl3;
65
70
platforms = platforms.linux;
66
71
maintainers = with maintainers; [ ];
67
67
-
broken = true; # 2022-11-16
68
72
};
69
73
}