summary refs log tree commit diff
path: root/pkgs/os-specific/linux/seturgent/default.nix
blob: 15582574ecb0eb1ab17df97e03251de1a33356cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, libX11, xorgproto, unzip }:

stdenv.mkDerivation {
  name = "seturgent-2012-08-17";

  src = fetchurl {
    url = "https://github.com/hiltjo/seturgent/archive/ada70dcb15865391e5cdcab27a0739a304a17e03.zip";
    sha256 = "0q1sr6aljkw2jr9b4xxzbc01qvnd5vk3pxrypif9yd8xjw4wqwri";
  };

  buildInputs = [
    libX11 xorgproto 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;
  };
}