2021-01-15 14:45:37 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, xorgproto, unzip }:
|
2014-09-30 07:55:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-06-04 17:22:36 +00:00
|
|
|
name = "seturgent-2012-08-17";
|
2014-09-30 07:55:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/hiltjo/seturgent/archive/ada70dcb15865391e5cdcab27a0739a304a17e03.zip";
|
|
|
|
sha256 = "0q1sr6aljkw2jr9b4xxzbc01qvnd5vk3pxrypif9yd8xjw4wqwri";
|
|
|
|
};
|
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2014-09-30 07:55:38 +00:00
|
|
|
buildInputs = [
|
2021-02-20 21:01:53 +00:00
|
|
|
libX11 xorgproto
|
2014-09-30 07:55:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -pv $out/bin
|
|
|
|
mv seturgent $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2021-01-15 14:45:37 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2014-09-30 07:55:38 +00:00
|
|
|
description = "Set an application's urgency hint (or not)";
|
2021-01-15 14:45:37 +00:00
|
|
|
maintainers = [ lib.maintainers.yarr ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/hiltjo/seturgent";
|
2021-01-15 14:45:37 +00:00
|
|
|
license = lib.licenses.mit;
|
2014-09-30 07:55:38 +00:00
|
|
|
};
|
2015-06-04 17:22:36 +00:00
|
|
|
}
|