forked from mirrors/nixpkgs
slurp: 1.0.1 -> 1.1.0
This commit is contained in:
parent
039087ac88
commit
b3521db304
|
@ -1,21 +1,24 @@
|
||||||
{ stdenv, fetchFromGitHub, cairo, meson, ninja, wayland, pkgconfig, wayland-protocols }:
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
|
||||||
|
, cairo, wayland, wayland-protocols
|
||||||
|
, buildDocs ? true, scdoc
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "slurp-${version}";
|
pname = "slurp";
|
||||||
version = "1.0.1";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "emersion";
|
owner = "emersion";
|
||||||
repo = "slurp";
|
repo = "slurp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "072lkwhpvr753wfqzmd994bnhbrgfavxcgqcyml7abab28sdhs1y";
|
sha256 = "15fqspg3cjl830l95ibibprxf9p13mc2rpyf9bdwsdx2f4qrkq62";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkgconfig
|
pkgconfig
|
||||||
];
|
] ++ stdenv.lib.optional buildDocs scdoc;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo
|
cairo
|
||||||
|
@ -23,6 +26,8 @@ stdenv.mkDerivation rec {
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
];
|
];
|
||||||
|
|
||||||
|
mesonFlags = stdenv.lib.optional buildDocs "-Dman-pages=enabled";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Select a region in a Wayland compositor";
|
description = "Select a region in a Wayland compositor";
|
||||||
homepage = https://github.com/emersion/slurp;
|
homepage = https://github.com/emersion/slurp;
|
||||||
|
|
Loading…
Reference in a new issue