lol

gtklock: 3.0.0 -> 4.0.0

+11 -14
+11 -14
pkgs/by-name/gt/gtklock/package.nix
··· 12 12 gtk-session-lock, 13 13 }: 14 14 15 - stdenv.mkDerivation rec { 15 + stdenv.mkDerivation (finalAttrs: { 16 16 pname = "gtklock"; 17 - version = "3.0.0"; 17 + # Must run nixpkgs-review between version changes 18 + version = "4.0.0"; 18 19 19 20 src = fetchFromGitHub { 20 21 owner = "jovanlanik"; 21 22 repo = "gtklock"; 22 - rev = "v${version}"; 23 - hash = "sha256-B6pySjiwPBRFb4avE9NHsS1KkWMPW81DAqYro/wtrmQ="; 23 + rev = "v${finalAttrs.version}"; 24 + hash = "sha256-e/JRJtQAyIvQhL5hSbY7I/f12Z9g2N0MAHQvX+aXz8Q="; 24 25 }; 25 26 26 27 nativeBuildInputs = [ ··· 39 40 40 41 strictDeps = true; 41 42 42 - installFlags = [ 43 - "DESTDIR=$(out)" 44 - "PREFIX=" 45 - ]; 46 - 47 - meta = with lib; { 43 + meta = { 48 44 description = "GTK-based lockscreen for Wayland"; 49 45 longDescription = '' 50 46 Important note: for gtklock to work you need to set "security.pam.services.gtklock = {};" manually. 47 + Otherwise you'll lock youself out of desktop and unable to authenticate. 51 48 ''; # Following nixpkgs/pkgs/applications/window-managers/sway/lock.nix 52 49 homepage = "https://github.com/jovanlanik/gtklock"; 53 - license = licenses.gpl3Only; 54 - maintainers = with maintainers; [ 50 + license = lib.licenses.gpl3Only; 51 + maintainers = with lib.maintainers; [ 55 52 dit7ya 56 53 aleksana 57 54 ]; 58 - platforms = platforms.linux; 55 + platforms = lib.platforms.linux; 59 56 mainProgram = "gtklock"; 60 57 }; 61 - } 58 + })