summary refs log blame commit diff
path: root/pkgs/tools/misc/wayshot/default.nix
blob: 82b7631f5bed34a82596a9bd2eb88983292559c8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                       
                    




                         
                                                                 

    
                                                                    






                                                                                                                
                            

    
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "wayshot";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "waycrate";
    repo = pname;
    rev = version;
    hash = "sha256-WN1qlV6vpIn0uNiE+rXeQTMscNYqkgFytVBc6gJzvyU=";
  };

  cargoHash = "sha256-Hfgr+wWC5zUdHhFMwOBt57h2r94OpdJ1MQpckhYgKQQ=";

  meta = with lib; {
    description = "A native, blazing-fast screenshot tool for wlroots based compositors such as sway and river";
    homepage = "https://github.com/waycrate/wayshot";
    license = licenses.bsd2;
    maintainers = [ maintainers.dit7ya ];
    platforms = platforms.linux;
    mainProgram = "wayshot";
  };
}