File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments