File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
pkgs/by-name/pa/pam_rundir Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ stdenv ,
3+ lib ,
4+ fetchurl ,
5+ pam ,
6+ } :
7+ stdenv . mkDerivation rec {
8+ pname = "pam_rundir" ;
9+ version = "1.0.0" ;
10+
11+ src = fetchurl {
12+ url = "https://jjacky.com/pam_rundir/pam_rundir-${ version } .tar.gz" ;
13+ hash = "sha256-x3m2me0jd3o726h7f2ftOV/pV/PJYTj67kX4eie8wCA=" ;
14+ } ;
15+
16+ postPatch = ''
17+ substituteInPlace Makefile \
18+ --replace-fail /usr/share/man /share/man
19+ '' ;
20+
21+ buildInputs = [
22+ pam
23+ ] ;
24+
25+ configureFlags = [
26+ "--securedir=/lib/security"
27+ "--with-parentdir=/run/user"
28+ ] ;
29+
30+ installFlags = [
31+ "DESTDIR=$(out)"
32+ ] ;
33+
34+ meta = {
35+ homepage = "http://jjacky.com/pam_rundir" ;
36+ description = "Provide user runtime directory on Linux systems" ;
37+ license = lib . licenses . gpl2Plus ;
38+ platforms = lib . platforms . unix ;
39+ maintainers = with lib ; [ maintainers . aanderse ] ;
40+ } ;
41+ }
You can’t perform that action at this time.
0 commit comments