3
0
Fork 0
forked from mirrors/nixpkgs

maim: 3.4.47 -> 5.4.63

This commit is contained in:
Michael Weiss 2017-06-08 01:51:34 +02:00
parent 02aa3264f5
commit a7450098d4

View file

@ -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 ];
};
}