depot/third_party/nixpkgs/pkgs/by-name/sm/smpq/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

36 lines
764 B
Nix

{
lib,
cmake,
fetchurl,
stdenv,
stormlib,
}:
stdenv.mkDerivation (finalAttrs: {
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=";
};
cmakeFlags = [
(lib.cmakeBool "WITH_KDE" false)
];
nativeBuildInputs = [ cmake ];
buildInputs = [ stormlib ];
strictDeps = true;
meta = {
homepage = "https://launchpad.net/smpq";
description = "StormLib MPQ archiving utility";
license = lib.licenses.gpl3Only;
mainProgram = "smpq";
maintainers = with lib.maintainers; [ aanderse karolchmist ];
platforms = lib.platforms.all;
};
})