swaylock: 1.3 -> 1.4

This commit is contained in:
Michael Weiss 2019-05-03 22:05:07 +02:00
parent 77537f45fa
commit d43ea14abb
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -5,19 +5,23 @@
stdenv.mkDerivation rec {
name = "swaylock-${version}";
version = "1.3";
version = "1.4";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaylock";
rev = version;
sha256 = "093nv1y9wyg48rfxhd36qdljjry57v1vkzrlc38mkf6zvsq8j7wb";
sha256 = "1ii9ql1mxkk2z69dv6bg1x22nl3a46iww764wqjiv78x08xpk982";
};
postPatch = ''
sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build
'';
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk_pixbuf pam ];
mesonFlags = [ "-Dswaylock-version=${version}"
mesonFlags = [
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];