grim: init at 1.0 (#54498)
This commit is contained in:
parent
86c8036e15
commit
bae9fd59a9
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/graphics/grim/default.nix
Normal file
34
pkgs/tools/graphics/grim/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchFromGitHub, cairo, libjpeg, meson, ninja, wayland, pkgconfig, wayland-protocols }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grim-${version}";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emersion";
|
||||
repo = "grim";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mpmxkzssgzqh9z263y8vk40dayw32kah66sb8ja7yw22rm7f4zf";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -1493,6 +1493,8 @@ in
|
|||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
grim = callPackage ../tools/graphics/grim { };
|
||||
|
||||
gringo = callPackage ../tools/misc/gringo { };
|
||||
|
||||
grobi = callPackage ../tools/X11/grobi { };
|
||||
|
|
Loading…
Reference in a new issue