3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/slurp/default.nix

34 lines
719 B
Nix
Raw Normal View History

2019-01-25 08:37:23 +00:00
{ stdenv, fetchFromGitHub, cairo, meson, ninja, wayland, pkgconfig, wayland-protocols }:
stdenv.mkDerivation rec {
name = "slurp-${version}";
version = "1.0";
src = fetchFromGitHub {
owner = "emersion";
repo = "slurp";
rev = "v${version}";
sha256 = "03igv8r8n772xb0y7whhs1pa298l3d94jbnknaxpwp2n4fi04syb";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
];
buildInputs = [
cairo
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 ];
};
}