2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libXt, libXaw, libXres, utilmacros }:
|
2013-07-04 12:12:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 18:41:54 +00:00
|
|
|
pname = "editres";
|
2022-07-07 14:09:43 +00:00
|
|
|
version = "1.0.8";
|
2013-07-04 12:12:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 18:41:54 +00:00
|
|
|
url = "mirror://xorg/individual/app/editres-${version}.tar.gz";
|
2022-07-07 14:09:43 +00:00
|
|
|
sha256 = "sha256-LVbWB3vHZ6+n4DD+ssNy/mvok/7EApoj9FodVZ/YRq4=";
|
2013-07-04 12:12:42 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ libXt libXaw libXres utilmacros ];
|
2013-07-04 12:12:42 +00:00
|
|
|
|
2018-07-25 21:44:21 +00: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 12:12:42 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://cgit.freedesktop.org/xorg/app/editres/";
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A dynamic resource editor for X Toolkit applications";
|
2018-09-11 21:24:19 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2013-07-04 12:12:42 +00:00
|
|
|
};
|
|
|
|
}
|