3
0
Fork 0
forked from mirrors/nixpkgs

swaylock: 1.4 -> 1.5

Changelog: https://github.com/swaywm/swaylock/releases/tag/1.5
This commit is contained in:
Michael Weiss 2020-01-22 20:36:38 +01:00
parent e99b32d27f
commit 6288a57e39
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -5,17 +5,18 @@
stdenv.mkDerivation rec {
pname = "swaylock";
version = "1.4";
version = "1.5";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaylock";
rev = version;
sha256 = "1ii9ql1mxkk2z69dv6bg1x22nl3a46iww764wqjiv78x08xpk982";
sha256 = "0r95p4w11dwm5ra614vddz83r8j7z6gd120z2vcchy7m9b0f15kf";
};
postPatch = ''
sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build
substituteInPlace meson.build \
--replace "version: '1.4'" "version: '${version}'"
'';
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];