2024-04-20 02:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
cmake,
|
|
|
|
fetchurl,
|
|
|
|
stdenv,
|
|
|
|
stormlib,
|
|
|
|
}:
|
2021-11-04 02:04:01 +00:00
|
|
|
|
2024-04-20 02:35:15 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-11-04 02:04:01 +00:00
|
|
|
pname = "smpq";
|
|
|
|
version = "1.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2024-04-20 02:35:15 +00:00
|
|
|
url = "https://launchpad.net/smpq/trunk/${finalAttrs.version}/+download/smpq_${finalAttrs.version}.orig.tar.gz";
|
|
|
|
hash = "sha256-tdLcil3oYptx7l02ErboTYhBi4bFzTm6MV6esEYvGMs=";
|
2021-11-04 02:04:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
2024-04-20 02:35:15 +00:00
|
|
|
(lib.cmakeBool "WITH_KDE" false)
|
2021-11-04 02:04:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2024-04-20 02:35:15 +00:00
|
|
|
|
2024-01-21 18:22:25 +00:00
|
|
|
buildInputs = [ stormlib ];
|
2021-11-04 02:04:01 +00:00
|
|
|
|
2024-04-20 02:35:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
meta = {
|
2021-11-04 02:04:01 +00:00
|
|
|
homepage = "https://launchpad.net/smpq";
|
2024-04-20 02:35:15 +00:00
|
|
|
description = "StormLib MPQ archiving utility";
|
|
|
|
license = lib.licenses.gpl3Only;
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "smpq";
|
2024-04-20 02:35:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ aanderse karolchmist ];
|
|
|
|
platforms = lib.platforms.all;
|
2021-11-04 02:04:01 +00:00
|
|
|
};
|
2024-04-20 02:35:15 +00:00
|
|
|
})
|