about summary refs log tree commit diff
path: root/pkgs/applications/misc/smpq/default.nix
blob: a1879241bd2142c1112e1fe865f2bf0891038d0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchurl, cmake, stormlib }:

stdenv.mkDerivation rec {
  pname = "smpq";
  version = "1.6";

  src = fetchurl {
    url = "https://launchpad.net/smpq/trunk/${version}/+download/${pname}_${version}.orig.tar.gz";
    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 ];
    mainProgram = "smpq";
  };
}