nixpkgs/pkgs/tools/graphics/maim/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, zlib, libpng, libjpeg, libwebp, libGLU, libGL, glm
2018-04-23 08:31:14 +00:00
, libX11, libXext, libXfixes, libXrandr, libXcomposite, slop, icu
}:
2015-03-04 16:10:13 +00:00
stdenv.mkDerivation rec {
pname = "maim";
version = "5.7.4";
2015-03-04 16:10:13 +00:00
2017-06-07 23:51:34 +00:00
src = fetchFromGitHub {
owner = "naelstrof";
repo = "maim";
rev = "v${version}";
sha256 = "sha256-uFtiwaM3H09vfvz3wVvumbqkoZhLNJxONkMqqqrJBs4=";
2015-03-04 16:10:13 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ zlib libpng libjpeg libwebp libGLU libGL glm
2018-04-23 08:31:14 +00:00
libX11 libXext libXfixes libXrandr libXcomposite slop icu ];
2015-03-04 16:10:13 +00:00
doCheck = false;
meta = with lib; {
2017-06-07 23:51:34 +00:00
inherit (src.meta) homepage;
2015-03-04 16:10:13 +00:00
description = "A command-line screenshot utility";
longDescription = ''
maim (make image) takes screenshots of your desktop. It has options to
take only a region, and relies on slop to query for regions. maim is
supposed to be an improved scrot.
'';
2020-04-12 15:09:00 +00:00
changelog = "https://github.com/naelstrof/maim/releases/tag/v${version}";
2021-01-15 09:19:50 +00:00
platforms = lib.platforms.all;
license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ ];
2015-03-04 16:10:13 +00:00
};
}