nixpkgs/pkgs/applications/misc/smpq/default.nix

27 lines
661 B
Nix
Raw Normal View History

2021-11-04 03:04:01 +01:00
{ lib, stdenv, fetchurl, cmake, StormLib }:
stdenv.mkDerivation rec {
2021-11-04 03:04:01 +01:00
pname = "smpq";
version = "1.6";
src = fetchurl {
url = "https://launchpad.net/smpq/trunk/${version}/+download/${pname}_${version}.orig.tar.gz";
2021-11-04 03:04:01 +01: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 ];
};
}