dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / by-name / ro / rofi-screenshot / package.nix
blobb37ebb5895beccfc25222bf42c5db4688cf138ba
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   makeWrapper,
6   libnotify,
7   slop,
8   ffcast,
9   ffmpeg,
10   xclip,
11   rofi,
12   coreutils,
13   gnused,
14   procps,
17 stdenv.mkDerivation rec {
18   pname = "rofi-screenshot";
19   version = "2024-09-27";
21   src = fetchFromGitHub {
22     owner = "ceuk";
23     repo = pname;
24     rev = "09a07d9c2ff2efbf75b1753bb412f4f8f086708f";
25     hash = "sha256-3UpYdXAX3LD1ZAQ429JkzWWooiBpuf/uPf0CRh5EXd8=";
26   };
28   nativeBuildInputs = [ makeWrapper ];
30   postFixup = ''
31     wrapProgram $out/bin/${pname} \
32       --set PATH ${
33         lib.makeBinPath [
34           libnotify
35           slop
36           ffcast
37           ffmpeg
38           xclip
39           rofi
40           coreutils
41           gnused
42           procps
43         ]
44       }
45   '';
47   installPhase = ''
48     install -Dm755 ${pname} $out/bin/${pname}
49   '';
51   meta = {
52     description = "Use rofi to perform various types of screenshots and screen captures";
53     mainProgram = "rofi-screenshot";
54     homepage = "https://github.com/ceuk/rofi-screenshot";
55     maintainers = with lib.maintainers; [ zopieux ];
56     platforms = lib.platforms.all;
57     license = lib.licenses.wtfpl;
58   };