lol

Merge pull request #194378 from zendo/shotman

shotman: init at 0.2.0

authored by

Bobby Rong and committed by
GitHub
83a4b986 e2e94efc

+41
+39
pkgs/tools/wayland/shotman/default.nix
··· 1 + { lib 2 + , fetchFromSourcehut 3 + , rustPlatform 4 + , pkg-config 5 + , libxkbcommon 6 + , makeWrapper 7 + , slurp 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "shotman"; 12 + version = "0.2.0"; 13 + 14 + src = fetchFromSourcehut { 15 + owner = "~whynothugo"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + hash = "sha256-QNRQInFZcB1nqzESTAqYWwqJ0oiJa6UMCpjY3aHBiyA="; 19 + }; 20 + 21 + cargoHash = "sha256-BfH1HhBbgdCA1IqKNdl4/FEzZxHgJmoSKNVMJUrSHCA="; 22 + 23 + nativeBuildInputs = [ pkg-config makeWrapper ]; 24 + 25 + buildInputs = [ libxkbcommon ]; 26 + 27 + preFixup = '' 28 + wrapProgram $out/bin/shotman \ 29 + --prefix PATH ":" "${lib.makeBinPath [ slurp ]}"; 30 + ''; 31 + 32 + meta = with lib; { 33 + description = "The uncompromising screenshot GUI for Wayland compositors"; 34 + homepage = "https://git.sr.ht/~whynothugo/shotman"; 35 + license = licenses.isc; 36 + platforms = platforms.linux; 37 + maintainers = with maintainers; [ zendo ]; 38 + }; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 3458 3458 3459 3459 oguri = callPackage ../tools/wayland/oguri { }; 3460 3460 3461 + shotman = callPackage ../tools/wayland/shotman { }; 3462 + 3461 3463 slurp = callPackage ../tools/wayland/slurp { }; 3462 3464 3463 3465 sov = callPackage ../tools/wayland/sov { };