Merge pull request #54568 from buffet/add-slurp

slurp: init at 1.0
This commit is contained in:
lewo 2019-01-29 09:09:24 +01:00 committed by GitHub
commit 8c3471f785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, cairo, meson, ninja, wayland, pkgconfig, wayland-protocols }:
stdenv.mkDerivation rec {
name = "slurp-${version}";
version = "1.0";
src = fetchFromGitHub {
owner = "emersion";
repo = "slurp";
rev = "v${version}";
sha256 = "03igv8r8n772xb0y7whhs1pa298l3d94jbnknaxpwp2n4fi04syb";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
];
buildInputs = [
cairo
wayland
wayland-protocols
];
meta = with stdenv.lib; {
description = "Grab images from a Wayland compositor";
homepage = https://github.com/emersion/slurp;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ buffet ];
};
}

View File

@ -19195,6 +19195,8 @@ in
slrn = callPackage ../applications/networking/newsreaders/slrn { };
slurp = callPackage ../tools/misc/slurp { };
sniproxy = callPackage ../applications/networking/sniproxy { };
sooperlooper = callPackage ../applications/audio/sooperlooper { };