nixpkgs/pkgs/tools/graphics/editres/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

25 lines
683 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libXt libXaw libXres utilmacros ];
configureFlags = "--with-appdefaultdir=$(out)/share/X11/app-defaults/editres";
hardeningDisable = [ "format" ];
meta = {
homepage = https://cgit.freedesktop.org/xorg/app/editres/;
description = "A dynamic resource editor for X Toolkit applications";
platforms = stdenv.lib.platforms.linux;
};
}