nixpkgs/pkgs/development/tools/misc/gtkperf/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

25 lines
718 B
Nix

{ stdenv, fetchurl, gtk2, pkg-config, libintl }:
stdenv.mkDerivation {
name = "gtkperf-0.40.0";
src = fetchurl {
url = "mirror://sourceforge//gtkperf/gtkperf_0.40.tar.gz";
sha256 = "0yxj3ap3yfi76vqg6xjvgc16nfi9arm9kp87s35ywf10fd73814p";
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [ pkg-config ];
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 ];
};
}