about summary refs log tree commit diff
path: root/pkgs/development/libraries/smokeqt/default.nix
blob: 1c427b8abb70fd2605931046b973cb61b4a1798b (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
{ stdenv, lib, cmake, qt4, smokegen, fetchzip }:

stdenv.mkDerivation rec {
  pname = "smokeqt";
  version = "4.14.3";

  src = fetchzip {
    url = "https://invent.kde.org/unmaintained/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
    hash = "sha256-8FiEGF8gduVw5I/bi2wExGUWmjIjYEhWpjpXKJGBNMg=";
  };

  strictDeps = true;
  nativeBuildInputs = [ cmake smokegen ];
  buildInputs = [ qt4 ];

  cmakeFlags = [
    "-DCMAKE_CXX_STANDARD=98"
  ];

  meta = with lib; {
    description = "Bindings for the Qt libraries";
    homepage = "https://invent.kde.org/unmaintained/smokeqt";
    license = licenses.gpl2Only;
    platforms = platforms.unix;
    maintainers = with maintainers; [ uthar ];
  };
}