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