From 3d0a6819dace56df1ad0a48c372ffc25d335e68d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 8 Mar 2015 15:46:02 +0100 Subject: [PATCH] wmutils-core: add to tools/X11 (close #6585) @vcunat fixed and cleaned this a little. --- pkgs/tools/X11/wmutils-core/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/X11/wmutils-core/default.nix diff --git a/pkgs/tools/X11/wmutils-core/default.nix b/pkgs/tools/X11/wmutils-core/default.nix new file mode 100644 index 000000000000..62f6e65bc214 --- /dev/null +++ b/pkgs/tools/X11/wmutils-core/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, libxcb }: + +stdenv.mkDerivation rec { + name = "wmutils-core-${version}"; + version = "1.0"; + + src = fetchurl { + url = "https://github.com/wmutils/core/archive/v${version}.tar.gz"; + sha256 = "10vn56rbrjykcrjr06ki4qc12sri1ywrcvm89nmxlqhkxx4i239p"; + }; + + buildInputs = [ libxcb ]; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "Set of window manipulation tools"; + homepage = https://github.com/wmutils/core; + license = licenses.isc; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f372412f4ac9..aea7c6638162 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13707,6 +13707,8 @@ let inherit (gnome2) zenity; }; + wmutils-core = callPackage ../tools/X11/wmutils-core { }; + wxmupen64plus = callPackage ../misc/emulators/wxmupen64plus { }; x2x = callPackage ../tools/X11/x2x { };