swaylock: 1.3 -> 1.4
This commit is contained in:
parent
77537f45fa
commit
d43ea14abb
@ -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"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user