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

23 lines
657 B
Nix

{ stdenv, fetchurl, pkgconfig, libXt, libXaw, libXres, utilmacros }:
stdenv.mkDerivation rec {
name = "editres-1.0.6";
src = fetchurl {
url = "mirror://xorg/individual/app/${name}.tar.gz";
sha256 = "06kv7dmw6pzlqc46dbh8k9xpb6sn4ihh0bcpxq0zpvw2lm66dx45";
};
buildInputs = [ pkgconfig libXt libXaw libXres utilmacros ];
configureFlags = "--with-appdefaultdir=$(out)/share/X11/app-defaults/editres";
hardeningDisable = [ "format" ];
meta = {
homepage = "http://cgit.freedesktop.org/xorg/app/editres/";
description = "A dynamic resource editor for X Toolkit applications";
platforms = stdenv.lib.platforms.linux;
};
}