plex: remove plexpass at the request of Plex

joachifm: throw error instead of silently ignoring user's
config.plex.pass setting.

Closes https://github.com/NixOS/nixpkgs/pull/18416
This commit is contained in:
Cole Mickens 2016-09-08 06:35:22 +00:00 committed by Joachim Fasting
parent 75baee8523
commit f283e8e83b
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -4,11 +4,8 @@
}:
let
plexpkg = if enablePlexPass then {
version = "1.0.1.2396";
vsnHash = "c094d0d";
sha256 = "0bhbpaj88989zn1q590mkcqshcpir87yiac9x1dl0afzpxj09lcz";
} else {
plexPass = throw "Plex pass has been removed at upstream's request; please unset nixpkgs.config.plex.pass";
plexpkg = if enablePlexPass then plexPass else {
version = "1.0.0.2261";
vsnHash = "a17e99e";
sha256 = "14li33ni6aaa1qwvc02a066k52s1qwhpv55prvlmq3m5jm3iv0lr";