2021-11-04 02:04:01 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, StormLib }:
|
|
|
|
|
2021-11-07 18:16:31 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-04 02:04:01 +00:00
|
|
|
pname = "smpq";
|
|
|
|
version = "1.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 18:16:31 +00:00
|
|
|
url = "https://launchpad.net/smpq/trunk/${version}/+download/${pname}_${version}.orig.tar.gz";
|
2021-11-04 02:04:01 +00:00
|
|
|
sha256 = "1jqq5x3b17jy66x3kkf5hs5l322dx2v14djxxrqrnqp8bn5drlmm";
|
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DWITH_KDE=OFF"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ StormLib ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "StormLib MPQ archiving utility";
|
|
|
|
homepage = "https://launchpad.net/smpq";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ aanderse karolchmist ];
|
|
|
|
};
|
|
|
|
}
|