seturgent: new package

Closes #4329
This commit is contained in:
Dmitry V 2014-09-30 11:55:38 +04:00 committed by Mateusz Kowalczyk
parent d406c1414c
commit 3eef950762
3 changed files with 30 additions and 0 deletions

View File

@ -143,6 +143,7 @@
wkennington = "William A. Kennington III <william@wkennington.com>";
wmertens = "Wout Mertens <Wout.Mertens@gmail.com>";
wyvie = "Elijah Rum <elijahrum@gmail.com>";
yarr = "Dmitry V. <savraz@gmail.com>";
z77z = "Marco Maggesi <maggesi@math.unifi.it>";
zef = "Zef Hemel <zef@zef.me>";
zimbatm = "zimbatm <zimbatm@zimbatm.com>";

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, libX11, xproto, xdotool, unzip }:
stdenv.mkDerivation {
name = "seturgent";
src = fetchurl {
url = "https://github.com/hiltjo/seturgent/archive/ada70dcb15865391e5cdcab27a0739a304a17e03.zip";
sha256 = "0q1sr6aljkw2jr9b4xxzbc01qvnd5vk3pxrypif9yd8xjw4wqwri";
};
buildInputs = [
libX11 xproto unzip
];
installPhase = ''
mkdir -pv $out/bin
mv seturgent $out/bin
'';
meta = {
platforms = stdenv.lib.platforms.linux;
description = "Set an application's urgency hint (or not)";
maintainers = [ stdenv.lib.maintainers.yarr ];
homepage = https://github.com/hiltjo/seturgent;
license = stdenv.lib.licenses.mit;
};
}

View File

@ -7882,6 +7882,8 @@ let
psmouse_alps = callPackage ../os-specific/linux/psmouse-alps { };
seturgent = callPackage ../os-specific/linux/seturgent { };
spl = callPackage ../os-specific/linux/spl { };
spl_git = callPackage ../os-specific/linux/spl/git.nix { };