swaylock: 1.3 -> 1.4
This commit is contained in:
parent
77537f45fa
commit
d43ea14abb
1 changed files with 7 additions and 3 deletions
|
@ -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 a new issue