File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 fetchFromGitHub ,
44 buildGoModule ,
55 nixosTests ,
6+ nix-update-script ,
67} :
78
8- buildGoModule rec {
9+ buildGoModule ( finalAttrs : {
910 pname = "galene" ;
1011 version = "0.96.3" ;
1112
1213 src = fetchFromGitHub {
1314 owner = "jech" ;
1415 repo = "galene" ;
15- rev = "galene-${ version } " ;
16+ tag = "galene-${ finalAttrs . version } " ;
1617 hash = "sha256-loAiPfwTyPi4BKn4TNgVVde2mO119h443A+HwlLvi4g=" ;
1718 } ;
1819
@@ -36,12 +37,15 @@ buildGoModule rec {
3637
3738 passthru = {
3839 tests . vm = nixosTests . galene . basic ;
40+ updateScript = nix-update-script {
41+ extraArgs = [ "--version-regex=galene-(.*)" ] ;
42+ } ;
3943 } ;
4044
4145 meta = {
4246 description = "Videoconferencing server that is easy to deploy, written in Go" ;
4347 homepage = "https://github.com/jech/galene" ;
44- changelog = "https://github.com/jech/galene/raw/galene- ${ version } /CHANGES" ;
48+ changelog = "https://github.com/jech/galene/raw/${ finalAttrs . src . tag } /CHANGES" ;
4549 license = lib . licenses . mit ;
4650 platforms = lib . platforms . linux ;
4751 teams = [ lib . teams . ngi ] ;
@@ -50,4 +54,4 @@ buildGoModule rec {
5054 erdnaxe
5155 ] ;
5256 } ;
53- }
57+ } )
You can’t perform that action at this time.
0 commit comments