1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config
2 , zlib, libpng, libjpeg, libwebp, libGLU, libGL, glm
3 , libX11, libXext, libXfixes, libXrandr, libXcomposite, slop, icu
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-/tZqSJnKe8GiffSz9VIFKuxMktRld+hA4ZWP4TZQrlg=";
17 nativeBuildInputs = [ cmake pkg-config ];
18 buildInputs = [ zlib libpng libjpeg libwebp libGLU libGL glm
19 libX11 libXext libXfixes libXrandr libXcomposite slop icu ];
25 inherit (src.meta) homepage;
26 description = "Command-line screenshot utility";
28 maim (make image) takes screenshots of your desktop. It has options to
29 take only a region, and relies on slop to query for regions. maim is
30 supposed to be an improved scrot.
32 changelog = "https://github.com/naelstrof/maim/releases/tag/v${version}";
33 platforms = lib.platforms.all;
34 license = lib.licenses.gpl3Plus;