Skip to content

Commit cc9e038

Browse files
minutor: init at 2.21.0
1 parent be9539b commit cc9e038

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
stdenv,
3+
lib,
4+
fetchFromGitHub,
5+
qt5,
6+
zlib,
7+
}:
8+
9+
stdenv.mkDerivation (finalAttrs: {
10+
pname = "minutor";
11+
version = "2.21.0";
12+
13+
src = fetchFromGitHub {
14+
owner = "mrkite";
15+
repo = finalAttrs.pname;
16+
rev = "refs/tags/${finalAttrs.version}";
17+
sha256 = "0ldjnrk429ywf8cxdpjkam5k73s6fq7lvksandfn3xn7gl9np5rk";
18+
};
19+
20+
preConfigure = ''
21+
substituteInPlace minutor.pro \
22+
--replace-fail /usr "$out"
23+
'';
24+
25+
nativeBuildInputs = [
26+
qt5.qmake
27+
qt5.wrapQtAppsHook
28+
];
29+
30+
buildInputs = [
31+
qt5.qtbase
32+
zlib
33+
];
34+
35+
meta = {
36+
description = "Easy to use mapping tool for Minecraft";
37+
maintainers = [ lib.maintainers.sternenseemann ];
38+
license = lib.licenses.bsd2;
39+
homepage = "https://seancode.com/minutor/";
40+
inherit (qt5.qtbase.meta) platforms;
41+
mainProgram = "minutor";
42+
};
43+
})

0 commit comments

Comments
 (0)