2021-01-23 13:26:19 +01:00
|
|
|
{ lib, stdenv, fetchurl, gtk2, pkg-config, libintl }:
|
2017-06-29 20:12:04 +02:00
|
|
|
|
2021-06-20 12:34:30 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtkperf";
|
|
|
|
version = "0.40.0";
|
2017-06-29 20:12:04 +02:00
|
|
|
src = fetchurl {
|
2021-06-20 12:34:30 +02:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}_${lib.versions.majorMinor version}.tar.gz";
|
2017-06-29 20:12:04 +02:00
|
|
|
sha256 = "0yxj3ap3yfi76vqg6xjvgc16nfi9arm9kp87s35ywf10fd73814p";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-06-29 20:12:04 +02:00
|
|
|
buildInputs = [ gtk2 libintl ];
|
|
|
|
|
2017-09-02 18:28:36 +02:00
|
|
|
# https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db
|
|
|
|
patches = [ ./bench.patch ];
|
|
|
|
|
2021-01-23 13:26:19 +01:00
|
|
|
meta = with lib; {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "Application designed to test GTK performance";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://gtkperf.sourceforge.net/";
|
2017-06-29 20:12:04 +02:00
|
|
|
license = with licenses; [ gpl2 ];
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|