3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/graphics/grim/default.nix

36 lines
748 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cairo, libjpeg, meson, ninja, wayland, pkgconfig, scdoc, wayland-protocols }:
2019-01-24 22:33:09 +00:00
stdenv.mkDerivation rec {
2019-06-07 02:25:03 +01:00
pname = "grim";
version = "1.3.0";
2019-01-24 22:33:09 +00:00
src = fetchFromGitHub {
owner = "emersion";
2019-06-07 02:25:03 +01:00
repo = pname;
2019-01-24 22:33:09 +00:00
rev = "v${version}";
sha256 = "14gqilgd27c4j2wn7fla72yj8syx0542rsanh61syikrv0hxgkvy";
2019-01-24 22:33:09 +00:00
};
nativeBuildInputs = [
meson
ninja
pkgconfig
scdoc
2019-01-24 22:33:09 +00:00
];
buildInputs = [
cairo
libjpeg
wayland
wayland-protocols
];
meta = with stdenv.lib; {
description = "Grab images from a Wayland compositor";
homepage = "https://github.com/emersion/grim";
2019-01-24 22:33:09 +00:00
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ buffet ];
};
}