diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2017-06-08 01:51:34 +0200 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2017-06-08 01:51:34 +0200 |
commit | a7450098d405cc4ad60756b325f52ee960bcac22 (patch) | |
tree | 3b5b4853f8aedcd7da41bbff59cbebc07241de7d /pkgs/tools/graphics/maim | |
parent | 02aa3264f5f8301648ff5b0dc229b30f5c4221f3 (diff) |
maim: 3.4.47 -> 5.4.63
Diffstat (limited to 'pkgs/tools/graphics/maim')
-rw-r--r-- | pkgs/tools/graphics/maim/default.nix | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/pkgs/tools/graphics/maim/default.nix b/pkgs/tools/graphics/maim/default.nix index fb674bc8d808b..2a8255e3744bd 100644 --- a/pkgs/tools/graphics/maim/default.nix +++ b/pkgs/tools/graphics/maim/default.nix @@ -1,20 +1,27 @@ -{ stdenv, fetchurl, cmake, gengetopt, imlib2, libXrandr, libXfixes }: +{ stdenv, fetchFromGitHub, cmake, pkgconfig +, zlib, libpng, libjpeg +, mesa, glm, libX11, libXext, libXfixes, libXrandr, libXcomposite, slop }: stdenv.mkDerivation rec { name = "maim-${version}"; - version = "3.4.47"; + version = "5.4.63"; - src = fetchurl { - url = "https://github.com/naelstrof/maim/archive/v${version}.tar.gz"; - sha256 = "0kfp7k55bxc5h6h0wv8bwmsc5ny66h9ra2z4dzs4yzszq16544pv"; + src = fetchFromGitHub { + owner = "naelstrof"; + repo = "maim"; + rev = "v${version}"; + sha256 = "16jl62hzrq1kciqwr9s3bxgcf9yz42kiwc5abkay1yd0vfcx200i"; }; - buildInputs = [ cmake gengetopt imlib2 libXrandr libXfixes ]; + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = + [ zlib libpng libjpeg mesa glm libX11 libXext libXfixes libXrandr + libXcomposite slop ]; doCheck = false; meta = with stdenv.lib; { - homepage = https://github.com/naelstrof/maim; + inherit (src.meta) homepage; description = "A command-line screenshot utility"; longDescription = '' maim (make image) takes screenshots of your desktop. It has options to @@ -23,6 +30,6 @@ stdenv.mkDerivation rec { ''; platforms = stdenv.lib.platforms.all; license = stdenv.lib.licenses.gpl3Plus; - maintainers = with maintainers; [ mbakke ]; + maintainers = with maintainers; [ primeos mbakke ]; }; } |