2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk2, pkg-config, libintl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtkperf";
|
|
|
|
version = "0.40.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}_${lib.versions.majorMinor version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0yxj3ap3yfi76vqg6xjvgc16nfi9arm9kp87s35ywf10fd73814p";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk2 libintl ];
|
|
|
|
|
|
|
|
# https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db
|
|
|
|
patches = [ ./bench.patch ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Application designed to test GTK performance";
|
|
|
|
homepage = "http://gtkperf.sourceforge.net/";
|
|
|
|
license = with licenses; [ gpl2 ];
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|