nixpkgs/pkgs/os-specific/linux/seturgent/default.nix

29 lines
719 B
Nix
Raw Normal View History

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";
};
nativeBuildInputs = [ unzip ];
2014-09-30 07:55:38 +00:00
buildInputs = [
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 ];
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
}