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

29 lines
900 B
Nix
Raw Normal View History

2016-04-24 17:37:05 +01:00
{ stdenv, fetchurl, cmake, gengetopt, imlib2, libXrandr, libXfixes }:
2015-03-04 16:10:13 +00:00
stdenv.mkDerivation rec {
name = "maim-${version}";
2016-04-24 17:37:05 +01:00
version = "3.4.47";
2015-03-04 16:10:13 +00:00
src = fetchurl {
url = "https://github.com/naelstrof/maim/archive/v${version}.tar.gz";
2016-04-24 17:37:05 +01:00
sha256 = "0kfp7k55bxc5h6h0wv8bwmsc5ny66h9ra2z4dzs4yzszq16544pv";
2015-03-04 16:10:13 +00:00
};
2016-04-24 17:37:05 +01:00
buildInputs = [ cmake gengetopt imlib2 libXrandr libXfixes ];
2015-03-04 16:10:13 +00:00
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/naelstrof/maim;
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.
'';
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with maintainers; [ mbakke ];
};
}