about summary refs log tree commit diff
path: root/pkgs/tools/graphics/editres/default.nix
blob: 1dc4891d6423e0e46f8366795be29c90f90c4ab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, pkgconfig, libXt, libXaw, libXres, utilmacros }:

stdenv.mkDerivation rec {
  name = "editres-1.0.7";

  src = fetchurl {
    url = "mirror://xorg/individual/app/${name}.tar.gz";
    sha256 = "10mbgijb6ac6wqb2grpy9mrazzw68jxjkxr9cbdf1111pa64yj19";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libXt libXaw libXres utilmacros ];

  configureFlags = [ "--with-appdefaultdir=$(out)/share/X11/app-defaults/editres" ];

  hardeningDisable = [ "format" ];

  meta = with stdenv.lib; {
    homepage = "https://cgit.freedesktop.org/xorg/app/editres/";
    description = "A dynamic resource editor for X Toolkit applications";
    license = licenses.mit;
    platforms = platforms.linux;
  };
}