mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
new package: maim
This commit is contained in:
parent
e1af50c4c4
commit
3d68e0b0e2
30
pkgs/tools/graphics/maim/default.nix
Normal file
30
pkgs/tools/graphics/maim/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, fetchurl, cmake, gengetopt, imlib2, libXrandr, libXfixes
|
||||||
|
, cppcheck}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "maim-${version}";
|
||||||
|
version = "3.3.41";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/naelstrof/maim/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "12p9zd4skxds26hicy6hrxkxnhbqv1c5ys1h6jchaypvwdggcgnc";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake gengetopt imlib2 libXrandr libXfixes ]
|
||||||
|
++ stdenv.lib.optional doCheck cppcheck;
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2065,6 +2065,8 @@ let
|
|||||||
guile = guile_1_8;
|
guile = guile_1_8;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
maim = callPackage ../tools/graphics/maim {};
|
||||||
|
|
||||||
mairix = callPackage ../tools/text/mairix { };
|
mairix = callPackage ../tools/text/mairix { };
|
||||||
|
|
||||||
makemkv = callPackage ../applications/video/makemkv { };
|
makemkv = callPackage ../applications/video/makemkv { };
|
||||||
|
Loading…
Reference in New Issue
Block a user