File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
pkgs/by-name/pa/pam-watchid Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ swiftPackages ,
4+ swift ,
5+ swiftpm ,
6+ fetchFromGitHub ,
7+ ...
8+ } :
9+
10+ swiftPackages . stdenv . mkDerivation {
11+ pname = "pam-watchid" ;
12+ version = "2-unstable-2024-12-24" ;
13+
14+ src = fetchFromGitHub {
15+ owner = "Logicer16" ;
16+ repo = "pam-watchid" ;
17+ rev = "bb9c6ea62207dd9d41a08ca59c7a1f5d6fa07189" ;
18+ hash = "sha256-6SqSACoG7VkyYfz+xyU/L2J69RxHTTvzGexjGB2gDuY=" ;
19+ } ;
20+
21+ nativeBuildInputs = [
22+ swift
23+ swiftpm
24+ ] ;
25+
26+ installPhase = ''
27+ binPath="$(swiftpmBinPath)"
28+ mkdir -p $out/lib
29+ cp $binPath/libpam-watchid.dylib $out/lib/pam_watchid.so
30+ '' ;
31+
32+ meta = {
33+ description = "PAM plugin module that allows the Apple Watch to be used for authentication" ;
34+ homepage = "https://github.com/Logicer16/pam-watchid" ;
35+ license = lib . licenses . unlicense ;
36+ maintainers = [ lib . maintainers . samasaur ] ;
37+ platforms = lib . platforms . darwin ;
38+ } ;
39+ }
You can’t perform that action at this time.
0 commit comments