mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
37d8b499a0
- finalAttrs - strictDeps - no nested with
37 lines
764 B
Nix
37 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;
|
|
};
|
|
})
|