summary refs log blame commit diff
path: root/pkgs/os-specific/linux/seturgent/default.nix
blob: 6d83e322ce8f250b1a13616865040a81bbc1fd99 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                             
 
                         
                      
                  
 



                                                                   


                 

             






                         

                                
                                                               


                                                                                             
    
 
{ lib, stdenv, fetchgit, libX11, xorgproto }:

stdenv.mkDerivation rec {
  pname = "seturgent";
  version = "1.5";

  src = fetchgit {
    url = "git://git.codemadness.org/seturgent";
    rev = version;
    sha256 = "sha256-XW7ms0BVCf1/fuL3PJ970t6sHkmMY1iLYXfS9R60JX0=";
  };

  buildInputs = [
    libX11
    xorgproto
  ];

  installPhase = ''
    mkdir -pv $out/bin
    mv seturgent $out/bin
  '';

  meta = with lib; {
    platforms = platforms.linux;
    description = "Set an application's urgency hint (or not)";
    maintainers = with maintainers; [ yarr ];
    homepage = "https://codemadness.org/seturgent-set-urgency-hints-for-x-applications.html";
    license = licenses.mit;
  };
}