mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
558464b8cb
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/peek/versions. These checks were done: - built on NixOS - ran ‘/nix/store/6qsj0hw5vl2i0398i0y2n9jjg0l28mz5-peek-1.3.1/bin/peek -h’ got 0 exit code - ran ‘/nix/store/6qsj0hw5vl2i0398i0y2n9jjg0l28mz5-peek-1.3.1/bin/peek --help’ got 0 exit code - ran ‘/nix/store/6qsj0hw5vl2i0398i0y2n9jjg0l28mz5-peek-1.3.1/bin/.peek-wrapped -h’ got 0 exit code - ran ‘/nix/store/6qsj0hw5vl2i0398i0y2n9jjg0l28mz5-peek-1.3.1/bin/.peek-wrapped --help’ got 0 exit code - found 1.3.1 with grep in /nix/store/6qsj0hw5vl2i0398i0y2n9jjg0l28mz5-peek-1.3.1 - directory tree listing: https://gist.github.com/d9ae1da7a87a6e5703b8ef273d0bab8a
30 lines
854 B
Nix
30 lines
854 B
Nix
{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
|
|
, gsettings-desktop-schemas, gtk3, keybinder3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "peek-${version}";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phw";
|
|
repo = "peek";
|
|
rev = version;
|
|
sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
|
|
|
|
buildInputs = [ gsettings-desktop-schemas gtk3 keybinder3 ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/phw/peek;
|
|
description = "Simple animated GIF screen recorder with an easy to use interface";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ puffnfresh ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|