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

35 lines
738 B
Nix
Raw Normal View History

2019-01-24 22:33:09 +00:00
{ stdenv, fetchFromGitHub, cairo, libjpeg, meson, ninja, wayland, pkgconfig, wayland-protocols }:
stdenv.mkDerivation rec {
name = "grim-${version}";
version = "1.1";
2019-01-24 22:33:09 +00:00
src = fetchFromGitHub {
owner = "emersion";
repo = "grim";
rev = "v${version}";
sha256 = "1bcvkggqszcwy6hg8g4mch3yr25ic0baafbd90af5s5mrhrjxxxz";
2019-01-24 22:33:09 +00:00
};
nativeBuildInputs = [
meson
ninja
pkgconfig
];
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 ];
};
}