mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
36 lines
746 B
Nix
36 lines
746 B
Nix
{ stdenv, fetchFromGitHub, cairo, libjpeg, meson, ninja, wayland, pkgconfig, scdoc, wayland-protocols }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "grim";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "14gqilgd27c4j2wn7fla72yj8syx0542rsanh61syikrv0hxgkvy";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkgconfig
|
|
scdoc
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
libjpeg
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Grab images from a Wayland compositor";
|
|
homepage = https://github.com/emersion/grim;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ buffet ];
|
|
};
|
|
}
|