From 70a437e4a770fb6b646958a10d0e69bd545ec113 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 4 Jul 2013 14:12:42 +0200 Subject: [PATCH] editres: add version 1.0.6 The tool doesn't seem to work well for me. Not sure whether I'm building it wrong, maybe? --- pkgs/tools/graphics/editres/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/graphics/editres/default.nix diff --git a/pkgs/tools/graphics/editres/default.nix b/pkgs/tools/graphics/editres/default.nix new file mode 100644 index 000000000000..50f81c3ea4de --- /dev/null +++ b/pkgs/tools/graphics/editres/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, pkgconfig, libXt, libXaw, libXres, utilmacros }: + +stdenv.mkDerivation rec { + name = "editres-1.0.6"; + + src = fetchurl { + url = "http://xorg.freedesktop.org/releases/individual/app/${name}.tar.gz"; + sha256 = "06kv7dmw6pzlqc46dbh8k9xpb6sn4ihh0bcpxq0zpvw2lm66dx45"; + }; + + buildInputs = [ pkgconfig libXt libXaw libXres utilmacros ]; + + preConfigure = "configureFlags=--with-appdefaultdir=$out/share/X11/app-defaults/editres"; + + meta = { + homepage = "http://cgit.freedesktop.org/xorg/app/editres/"; + description = "a dynamic resource editor for X Toolkit applications"; + + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.simons ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 616909743668..13131781b392 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -755,6 +755,11 @@ let ecryptfs = callPackage ../tools/security/ecryptfs { }; + editres = callPackage ../tools/graphics/editres { + inherit (xlibs) libXt libXaw; + inherit (xorg) utilmacros; + }; + edk2 = callPackage ../development/compilers/edk2 { }; efibootmgr = callPackage ../tools/system/efibootmgr { };