summary refs log tree commit diff
path: root/pkgs/development/tools/misc/gtkperf/default.nix
blob: 82ee291727782087611be719658fde8440b08635 (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
{ stdenv, fetchurl, gtk2, pkgconfig, libintl }:

stdenv.mkDerivation {
  name = "gtkperf-0.40.0";
  src = fetchurl {
    url = "mirror://sourceforge//gtkperf/gtkperf_0.40.tar.gz";
    sha256 = "0yxj3ap3yfi76vqg6xjvgc16nfi9arm9kp87s35ywf10fd73814p";
  };

  hardeningDisable = [ "format" ];

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 libintl ];

  # https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db
  patches = [ ./bench.patch ];

  meta = with stdenv.lib; {
    description = "Application designed to test GTK performance";
    homepage = "http://gtkperf.sourceforge.net/";
    license = with licenses; [ gpl2 ];
    maintainers = with maintainers; [ dtzWill ];
  };
}