diff options
author | Marius Bakke <m.bakke@warwick.ac.uk> | 2015-03-04 16:10:13 +0000 |
---|---|---|
committer | Marius Bakke <m.bakke@warwick.ac.uk> | 2015-06-18 22:13:06 +0100 |
commit | 3d68e0b0e21f072810be3bf492ee3bfcfd4ae589 (patch) | |
tree | 5e5855d0b5ac28fbf5b965912f02296d921ba4c8 /pkgs/tools/graphics/maim | |
parent | e1af50c4c4c0332136283e9231f0a32ac11f2b90 (diff) |
new package: maim
Diffstat (limited to 'pkgs/tools/graphics/maim')
-rw-r--r-- | pkgs/tools/graphics/maim/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/maim/default.nix b/pkgs/tools/graphics/maim/default.nix new file mode 100644 index 000000000000..425fa5fb6cd2 --- /dev/null +++ b/pkgs/tools/graphics/maim/default.nix @@ -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 ]; + }; +} |