nixpkgs-suyu/pkgs/tools/graphics/editres/default.nix

25 lines
720 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libXt, libXaw, libXres, utilmacros }:
stdenv.mkDerivation rec {
name = "editres-1.0.7";
src = fetchurl {
2013-07-14 04:38:03 +02:00
url = "mirror://xorg/individual/app/${name}.tar.gz";
sha256 = "10mbgijb6ac6wqb2grpy9mrazzw68jxjkxr9cbdf1111pa64yj19";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libXt libXaw libXres utilmacros ];
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
hardeningDisable = [ "format" ];
2018-09-11 23:24:19 +02:00
meta = with stdenv.lib; {
homepage = https://cgit.freedesktop.org/xorg/app/editres/;
description = "A dynamic resource editor for X Toolkit applications";
2018-09-11 23:24:19 +02:00
license = licenses.mit;
platforms = platforms.linux;
};
}