commit
8c3471f785
2 changed files with 35 additions and 0 deletions
33
pkgs/tools/misc/slurp/default.nix
Normal file
33
pkgs/tools/misc/slurp/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue