File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchurl ,
5+ pkg-config ,
6+ xorgproto ,
7+ writeScript ,
8+ } :
9+ stdenv . mkDerivation ( finalAttrs : {
10+ pname = "sessreg" ;
11+ version = "1.1.3" ;
12+
13+ src = fetchurl {
14+ url = "mirror://xorg/individual/app/sessreg-${ finalAttrs . version } .tar.xz" ;
15+ hash = "sha256-AirNXegHfd3E+RmWH3nhAuzV8yKKMzaBr1zQ5zRPrMI=" ;
16+ } ;
17+
18+ strictDeps = true ;
19+
20+ nativeBuildInputs = [ pkg-config ] ;
21+ buildInputs = [ xorgproto ] ;
22+
23+ passthru = {
24+ updateScript = writeScript "update-${ finalAttrs . pname } " ''
25+ #!/usr/bin/env nix-shell
26+ #!nix-shell -i bash -p common-updater-scripts
27+ version="$(list-directory-versions --pname ${ finalAttrs . pname } \
28+ --url https://xorg.freedesktop.org/releases/individual/app/ \
29+ | sort -V | tail -n1)"
30+ update-source-version ${ finalAttrs . pname } "$version"
31+ '' ;
32+ } ;
33+
34+ meta = {
35+ description = "Utility to manage utmp & wtmp entries for X sessions" ;
36+ homepage = "https://gitlab.freedesktop.org/xorg/app/sessreg" ;
37+ license = with lib . licenses ; [
38+ mitOpenGroup
39+ mit
40+ ] ;
41+ mainProgram = "sessreg" ;
42+ maintainers = [ ] ;
43+ platforms = lib . platforms . unix ;
44+ } ;
45+ } )
Original file line number Diff line number Diff line change 1313 luit ,
1414 makedepend ,
1515 pixman ,
16+ sessreg ,
1617 util-macros ,
1718 xbitmaps ,
1819 xcb-proto ,
@@ -36,6 +37,7 @@ self: with self; {
3637 luit
3738 makedepend
3839 pixman
40+ sessreg
3941 xbitmaps
4042 xorgproto
4143 xtrans
@@ -3435,38 +3437,6 @@ self: with self; {
34353437 } )
34363438 ) { } ;
34373439
3438- # THIS IS A GENERATED FILE. DO NOT EDIT!
3439- sessreg = callPackage (
3440- {
3441- stdenv ,
3442- pkg-config ,
3443- fetchurl ,
3444- xorgproto ,
3445- testers ,
3446- } :
3447- stdenv . mkDerivation ( finalAttrs : {
3448- pname = "sessreg" ;
3449- version = "1.1.3" ;
3450- builder = ./builder.sh ;
3451- src = fetchurl {
3452- url = "mirror://xorg/individual/app/sessreg-1.1.3.tar.xz" ;
3453- sha256 = "1hmc9wsfgl2wmy0kccwa4brxbv02w5wiz5hrz72dsz87x1fwsah2" ;
3454- } ;
3455- hardeningDisable = [
3456- "bindnow"
3457- "relro"
3458- ] ;
3459- strictDeps = true ;
3460- nativeBuildInputs = [ pkg-config ] ;
3461- buildInputs = [ xorgproto ] ;
3462- passthru . tests . pkg-config = testers . testMetaPkgConfig finalAttrs . finalPackage ;
3463- meta = {
3464- pkgConfigModules = [ ] ;
3465- platforms = lib . platforms . unix ;
3466- } ;
3467- } )
3468- ) { } ;
3469-
34703440 # THIS IS A GENERATED FILE. DO NOT EDIT!
34713441 setxkbmap = callPackage (
34723442 {
Original file line number Diff line number Diff line change 287287 luit ,
288288 makedepend ,
289289 pixman ,
290+ sessreg ,
290291 util -macros ,
291292 xbitmaps ,
292293 xcb -proto ,
310311 luit
311312 makedepend
312313 pixman
314+ sessreg
313315 xbitmaps
314316 xorgproto
315317 xtrans
Original file line number Diff line number Diff line change @@ -1354,13 +1354,6 @@ self: super:
13541354 } ;
13551355 } ) ;
13561356
1357- sessreg = super . sessreg . overrideAttrs ( attrs : {
1358- preBuild = "sed -i 's|gcc -E|gcc -E -P|' man/Makefile" ;
1359- meta = attrs . meta // {
1360- mainProgram = "sessreg" ;
1361- } ;
1362- } ) ;
1363-
13641357 xrandr = super . xrandr . overrideAttrs ( attrs : {
13651358 postInstall = ''
13661359 rm $out/bin/xkeystone
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ mirror://xorg/individual/app/ico-1.0.6.tar.xz
1313mirror://xorg/individual/app/listres-1.0.6.tar.xz
1414mirror://xorg/individual/app/mkfontscale-1.2.3.tar.xz
1515mirror://xorg/individual/app/oclock-1.0.5.tar.xz
16- mirror://xorg/individual/app/sessreg-1.1.3.tar.xz
1716mirror://xorg/individual/app/setxkbmap-1.3.4.tar.xz
1817mirror://xorg/individual/app/smproxy-1.0.7.tar.xz
1918mirror://xorg/individual/app/transset-1.0.3.tar.xz
You can’t perform that action at this time.
0 commit comments