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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
748 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, libXt, libXaw, libXres, utilmacros }:
stdenv.mkDerivation rec {
pname = "editres";
2022-07-07 16:09:43 +02:00
version = "1.0.8";
src = fetchurl {
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=";
};
nativeBuildInputs = [ pkg-config ];
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" ];
meta = with 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;
};
}