Skip to content

Commit a69781f

Browse files
authoredMar 20, 2025
xmountains: 2.10 -> 2.11 (#388563)
2 parents 18c1537 + 5c71fd6 commit a69781f

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed
 

‎pkgs/by-name/xm/xmountains/package.nix

+16-12
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,40 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5-
xorg,
5+
xbitmaps,
6+
libX11,
7+
imake,
8+
gccmakedep,
69
}:
710

8-
stdenv.mkDerivation {
11+
stdenv.mkDerivation (finalAttrs: {
912
pname = "xmountains";
10-
version = "2.10";
13+
version = "2.11";
1114

1215
src = fetchFromGitHub {
1316
owner = "spbooth";
1417
repo = "xmountains";
15-
rev = "aa3bcbfed228adf3fff0fe4295589f13fc194f0b";
16-
sha256 = "0dx4n2y736lv04sj41cp1dw8n5zkw5gyd946a6zsiv0k796s9ra9";
18+
tag = "v${finalAttrs.version}";
19+
hash = "sha256-q2+aJ5ISoSXUW4BaAf9Qq/d+DEBSylceZNKKmN4SbQQ=";
1720
};
1821

1922
buildInputs = [
20-
xorg.xbitmaps
21-
xorg.libX11
23+
xbitmaps
24+
libX11
2225
];
23-
nativeBuildInputs = with xorg; [
26+
27+
nativeBuildInputs = [
2428
imake
2529
gccmakedep
2630
];
2731

2832
installPhase = "install -Dm755 xmountains -t $out/bin";
2933

30-
meta = with lib; {
34+
meta = {
3135
description = "X11 based fractal landscape generator";
3236
homepage = "https://spbooth.github.io/xmountains";
33-
license = licenses.hpndSellVariant;
34-
maintainers = with maintainers; [ djanatyn ];
37+
license = lib.licenses.hpndSellVariant;
38+
maintainers = with lib.maintainers; [ djanatyn ];
3539
mainProgram = "xmountains";
3640
};
37-
}
41+
})

0 commit comments

Comments
 (0)
Failed to load comments.