mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
bf1b3e169f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/grim/versions
35 lines
738 B
Nix
35 lines
738 B
Nix
{ stdenv, fetchFromGitHub, cairo, libjpeg, meson, ninja, wayland, pkgconfig, wayland-protocols }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "grim-${version}";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emersion";
|
|
repo = "grim";
|
|
rev = "v${version}";
|
|
sha256 = "1bcvkggqszcwy6hg8g4mch3yr25ic0baafbd90af5s5mrhrjxxxz";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|