mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
swaylock: 1.2 -> 1.3
This commit is contained in:
parent
9703765556
commit
46503d069a
|
@ -1,25 +1,25 @@
|
|||
{ stdenv, fetchFromGitHub
|
||||
, meson, ninja, pkgconfig, scdoc
|
||||
, wayland, wayland-protocols, wlroots, libxkbcommon, cairo, pango, gdk_pixbuf, pam
|
||||
, wayland, wayland-protocols, libxkbcommon, cairo, gdk_pixbuf, pam
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "swaylock-${version}";
|
||||
version = "1.2";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "swaywm";
|
||||
repo = "swaylock";
|
||||
rev = version;
|
||||
sha256 = "1nqirrkkdhb6b2hc78ghi2yzblcx9jcgc9qwm1jvnk2iqwqbzclg";
|
||||
sha256 = "093nv1y9wyg48rfxhd36qdljjry57v1vkzrlc38mkf6zvsq8j7wb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
|
||||
buildInputs = [ wayland wayland-protocols wlroots libxkbcommon cairo pango
|
||||
gdk_pixbuf pam
|
||||
];
|
||||
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk_pixbuf pam ];
|
||||
|
||||
mesonFlags = "-Dsway-version=${version}"; # TODO: Should probably be swaylock-version
|
||||
mesonFlags = [ "-Dswaylock-version=${version}"
|
||||
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Screen locker for Wayland";
|
||||
|
|
Loading…
Reference in a new issue