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