minutor: init at 2.21.0
This commit is contained in:
parent
be9539b794
commit
cc9e038ab7
43
pkgs/by-name/mi/minutor/package.nix
Normal file
43
pkgs/by-name/mi/minutor/package.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
qt5,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "minutor";
|
||||
version = "2.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrkite";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
sha256 = "0ldjnrk429ywf8cxdpjkam5k73s6fq7lvksandfn3xn7gl9np5rk";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace minutor.pro \
|
||||
--replace-fail /usr "$out"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
qt5.qmake
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
zlib
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Easy to use mapping tool for Minecraft";
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
license = lib.licenses.bsd2;
|
||||
homepage = "https://seancode.com/minutor/";
|
||||
inherit (qt5.qtbase.meta) platforms;
|
||||
mainProgram = "minutor";
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user