New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gerbera: init at 1.6.1 #93226
gerbera: init at 1.6.1 #93226
Conversation
Since #82429 appears to be abandoned this PR is very welcome 👍 |
Awesome (that it is welcome ;)
I fixed the homepage which targeted the old mediatomb homepage. |
Heads up, started the work on the mediatomb/gerbera service whose current head is at [1] @aanderse I started from the other diff and iterated over that work. I also I don't actually know how to properly test it though, so far:
(which did not complain). I probably need to look into how to add proper nix tests. Note that, as a user, I don't like the idea to have a service name mediatomb I did not open a PR yet as I did not have any response from the other I still thought that was worth a heads up ;) [1] ardumont@629e04c Cheers, |
You can test with |
Yes, thanks, i know (i did already). Cheers, |
nice, found back [1] [1] https://nixos.org/nixos/manual/index.html#sec-nixos-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing this separately from #93450 to make it more manageable.
pkgs/servers/gerbera/default.nix
Outdated
|
||
meta = with stdenv.lib; { | ||
homepage = https://docs.gerbera.io/; | ||
repositories.git = https://github.com/gerbera/gerbera; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is meta.repositories
a standard? I've never seen it anywhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know about a standard, but I have seen it within the nixpkgs repository [1]
(must come from the mediatomb which is within the list [1])
[1] https://github.com/NixOS/nixpkgs/search?q=meta.repositories
6fe4f6b
to
2b615c3
Compare
After rebasing on latest upnp 1.4, it failed on compilation error, something [1] https://github.com/gerbera/gerbera/releases/tag/v1.6.1 It builds fine again now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting to "changes requested" while waiting on #93048.
Looks good to me now, pending #93048 👍 |
Please rebase now that #93048 has been merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Initialize a new and maintained upnp media server (gerbera).
Next step is to open a service which allows to configure it declaratively.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after): +74906824 (new)Note that it works but the compilation displays warnings because that depends on
other commits not yet merged:
[1] mypkgs override definition
https://github.com/ardumont/mypkgs/blob/master/default.nix#L10-L33
[2] my own (for now) gerbera configuration declaration for the gerbera service
https://gitlab.com/ardumont/nixos/-/blob/master/odroid/gerbera/default.nix