2021-01-17 01:17:16 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libXt, libXaw, libXres, utilmacros }:
|
2013-07-04 05:12:42 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-14 02:28:16 -07:00
|
|
|
name = "editres-1.0.7";
|
2013-07-04 05:12:42 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-13 19:38:03 -07:00
|
|
|
url = "mirror://xorg/individual/app/${name}.tar.gz";
|
2018-03-14 02:28:16 -07:00
|
|
|
sha256 = "10mbgijb6ac6wqb2grpy9mrazzw68jxjkxr9cbdf1111pa64yj19";
|
2013-07-04 05:12:42 -07:00
|
|
|
};
|
|
|
|
|
2021-01-17 01:17:16 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ libXt libXaw libXres utilmacros ];
|
2013-07-04 05:12:42 -07:00
|
|
|
|
2018-07-25 14:44:21 -07:00
|
|
|
configureFlags = [ "--with-appdefaultdir=$(out)/share/X11/app-defaults/editres" ];
|
2016-02-08 17:55:15 -08:00
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2013-07-04 05:12:42 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://cgit.freedesktop.org/xorg/app/editres/";
|
2016-06-20 03:53:46 -07:00
|
|
|
description = "A dynamic resource editor for X Toolkit applications";
|
2018-09-11 14:24:19 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2013-07-04 05:12:42 -07:00
|
|
|
};
|
|
|
|
}
|