1 { lib, stdenv, fetchurl, pkg-config, libXt, libXaw, libXres, utilmacros }:
3 stdenv.mkDerivation rec {
8 url = "mirror://xorg/individual/app/editres-${version}.tar.gz";
9 sha256 = "sha256-LVbWB3vHZ6+n4DD+ssNy/mvok/7EApoj9FodVZ/YRq4=";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ libXt libXaw libXres utilmacros ];
15 configureFlags = [ "--with-appdefaultdir=$(out)/share/X11/app-defaults/editres" ];
17 hardeningDisable = [ "format" ];
20 homepage = "https://cgit.freedesktop.org/xorg/app/editres/";
21 description = "Dynamic resource editor for X Toolkit applications";
22 license = licenses.mit;
23 platforms = platforms.linux;
24 mainProgram = "editres";