schlock: init
it works! super jank; doesn't accept keyboard input, fails-open on crash.
This commit is contained in:
55
pkgs/additional/schlock/default.nix
Normal file
55
pkgs/additional/schlock/default.nix
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, cairo
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchzip
|
||||||
|
, gdk-pixbuf
|
||||||
|
, getconf
|
||||||
|
, libsodium
|
||||||
|
, libxkbcommon
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, openssl
|
||||||
|
, pam
|
||||||
|
, pkg-config
|
||||||
|
, scdoc
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "schlock";
|
||||||
|
version = "unstable-2022-02-02";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "telent";
|
||||||
|
repo = "schlock";
|
||||||
|
rev = "f3dde16f074fd5b7482a253b9d26b4ead66dea82";
|
||||||
|
hash = "sha256-Ot86vALt1kkzbBocwh9drCycbRIw2jMKJU4ODe9PYQM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
scdoc
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
cairo
|
||||||
|
gdk-pixbuf
|
||||||
|
libsodium
|
||||||
|
libxkbcommon
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Touchscreen locker for Wayland";
|
||||||
|
longDescription = ''
|
||||||
|
schlock is a fork of Swaylock adapted for touchscreen devices.
|
||||||
|
'';
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ colinsane ];
|
||||||
|
};
|
||||||
|
}
|
@@ -59,6 +59,7 @@ let
|
|||||||
sane-screenshot = callPackage ./additional/sane-screenshot { };
|
sane-screenshot = callPackage ./additional/sane-screenshot { };
|
||||||
sane-scripts = lib.recurseIntoAttrs (callPackage ./additional/sane-scripts { });
|
sane-scripts = lib.recurseIntoAttrs (callPackage ./additional/sane-scripts { });
|
||||||
sane-weather = callPackage ./additional/sane-weather { };
|
sane-weather = callPackage ./additional/sane-weather { };
|
||||||
|
schlock = callPackage ./additional/schlock { };
|
||||||
signal-desktop-from-src = callPackage ./additional/signal-desktop-from-src { };
|
signal-desktop-from-src = callPackage ./additional/signal-desktop-from-src { };
|
||||||
static-nix-shell = callPackage ./additional/static-nix-shell { };
|
static-nix-shell = callPackage ./additional/static-nix-shell { };
|
||||||
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
|
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
|
||||||
|
Reference in New Issue
Block a user