mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
commit
8c3471f785
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 New Issue
Block a user