File tree Expand file tree Collapse file tree 1 file changed +25
-15
lines changed
pkgs/by-name/in/invidious Expand file tree Collapse file tree 1 file changed +25
-15
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , callPackage
3- , crystal
4- , fetchFromGitHub
5- , librsvg
6- , pkg-config
7- , libxml2
8- , openssl
9- , shards
10- , sqlite
11- , nixosTests
1+ {
2+ lib ,
3+ callPackage ,
4+ crystal ,
5+ fetchFromGitHub ,
6+ librsvg ,
7+ pkg-config ,
8+ libxml2 ,
9+ openssl ,
10+ shards ,
11+ sqlite ,
12+ nixosTests ,
1213
1314 # All versions, revisions, and checksums are stored in ./versions.json.
1415 # The update process is the following:
1920 # but nix's sandboxing does not allow that)
2021 # * if shard.lock changed
2122 # * recreate shards.nix by running crystal2nix
22- , versions ? lib . importJSON ./versions.json
23+ versions ? lib . importJSON ./versions.json ,
2324} :
2425let
2526 # normally video.js is downloaded at build time
@@ -75,8 +76,15 @@ crystal.buildCrystalPackage rec {
7576 --replace-fail 'Process.run(%(rsvg-convert' 'Process.run(%(${ lib . getBin librsvg } /bin/rsvg-convert'
7677 '' ;
7778
78- nativeBuildInputs = [ pkg-config shards ] ;
79- buildInputs = [ libxml2 openssl sqlite ] ;
79+ nativeBuildInputs = [
80+ pkg-config
81+ shards
82+ ] ;
83+ buildInputs = [
84+ libxml2
85+ openssl
86+ sqlite
87+ ] ;
8088
8189 format = "crystal" ;
8290 shardsFile = ./shards.nix ;
@@ -114,7 +122,9 @@ crystal.buildCrystalPackage rec {
114122 '' ;
115123
116124 passthru = {
117- tests = { inherit ( nixosTests ) invidious ; } ;
125+ tests = {
126+ inherit ( nixosTests ) invidious ;
127+ } ;
118128 updateScript = ./update.sh ;
119129 } ;
120130
You can’t perform that action at this time.
0 commit comments