File tree Expand file tree Collapse file tree 4 files changed +95
-1999
lines changed Expand file tree Collapse file tree 4 files changed +95
-1999
lines changed Original file line number Diff line number Diff line change 1+ {
2+ cargo ,
3+ meson ,
4+ ninja ,
5+ oo7 ,
6+ pkg-config ,
7+ rustPlatform ,
8+ rustc ,
9+ stdenv ,
10+ systemdLibs ,
11+ } :
12+ stdenv . mkDerivation ( finalAttrs : {
13+ pname = "oo7-portal" ;
14+ inherit ( oo7 ) version src cargoDeps ;
15+
16+ sourceRoot = "${ finalAttrs . src . name } /portal" ;
17+ cargoRoot = "../" ;
18+
19+ nativeBuildInputs = [
20+ pkg-config
21+ meson
22+ ninja
23+ rustPlatform . cargoSetupHook
24+ rustc
25+ cargo
26+ ] ;
27+
28+ buildInputs = [
29+ systemdLibs
30+ ] ;
31+
32+ meta = {
33+ inherit ( oo7 . meta )
34+ homepage
35+ changelog
36+ license
37+ maintainers
38+ platforms
39+ ;
40+ description = "${ oo7 . meta . description } (XDG Desktop Portal)" ;
41+ } ;
42+ } )
Original file line number Diff line number Diff line change 1+ {
2+ cargo ,
3+ meson ,
4+ ninja ,
5+ oo7 ,
6+ pkg-config ,
7+ rustPlatform ,
8+ rustc ,
9+ stdenv ,
10+ systemdLibs ,
11+ } :
12+ stdenv . mkDerivation ( finalAttrs : {
13+ pname = "oo7-server" ;
14+ inherit ( oo7 ) version src cargoDeps ;
15+
16+ sourceRoot = "${ finalAttrs . src . name } /server" ;
17+ cargoRoot = "../" ;
18+
19+ nativeBuildInputs = [
20+ pkg-config
21+ meson
22+ ninja
23+ rustPlatform . cargoSetupHook
24+ rustc
25+ cargo
26+ ] ;
27+
28+ buildInputs = [
29+ systemdLibs
30+ ] ;
31+
32+ meta = {
33+ inherit ( oo7 . meta )
34+ homepage
35+ changelog
36+ license
37+ maintainers
38+ platforms
39+ ;
40+ description = "${ oo7 . meta . description } (Daemon)" ;
41+ } ;
42+ } )
You can’t perform that action at this time.
0 commit comments