mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
scrot: 1.5 -> 1.7
Upstream says it's licensed under MIT-advertising
This commit is contained in:
parent
ff517c4db7
commit
27314e17be
@ -1,25 +1,45 @@
|
||||
{ lib, stdenv, fetchFromGitHub, giblib, xlibsWrapper, autoreconfHook
|
||||
, autoconf-archive, libXfixes, libXcursor, libXcomposite }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, autoconf-archive
|
||||
, pkg-config
|
||||
, imlib2
|
||||
, libbsd
|
||||
, libXcomposite
|
||||
, libXfixes
|
||||
, xlibsWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scrot";
|
||||
version = "1.5";
|
||||
version = "1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "resurrecting-open-source-projects";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-4vguodLnCj0sOBLM4oJXTfX1p8hIo3WTwIuViPtZxHQ=";
|
||||
hash = "sha256-oVmEPkEK1xDcIRUQjCp6CKf+aKnnVe3L7aRTdSsCmmY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
|
||||
buildInputs = [ giblib xlibsWrapper libXfixes libXcursor libXcomposite ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
autoconf-archive
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
imlib2
|
||||
libbsd
|
||||
libXcomposite
|
||||
libXfixes
|
||||
xlibsWrapper
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/resurrecting-open-source-projects/scrot";
|
||||
description = "A command-line screen capture utility";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ globin ];
|
||||
license = licenses.mit;
|
||||
license = licenses.mitAdvertising;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user