nixpkgs/pkgs/by-name/sm/smpq/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
764 B
Nix
Raw Normal View History

{
lib,
cmake,
fetchurl,
stdenv,
stormlib,
}:
2021-11-04 02:04:01 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-11-04 02:04:01 +00:00
pname = "smpq";
version = "1.6";
src = fetchurl {
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 = [
(lib.cmakeBool "WITH_KDE" false)
2021-11-04 02:04:01 +00:00
];
nativeBuildInputs = [ cmake ];
buildInputs = [ stormlib ];
2021-11-04 02:04:01 +00:00
strictDeps = true;
meta = {
2021-11-04 02:04:01 +00:00
homepage = "https://launchpad.net/smpq";
description = "StormLib MPQ archiving utility";
license = lib.licenses.gpl3Only;
2024-02-11 02:19:15 +00:00
mainProgram = "smpq";
maintainers = with lib.maintainers; [ aanderse karolchmist ];
platforms = lib.platforms.all;
2021-11-04 02:04:01 +00:00
};
})