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