Commit graph

31 commits

Author SHA1 Message Date
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob 872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Manuel Frischknecht 52f62163bc slimserver: add perlPackages.NetHTTPSNB as a dependency
Slimserver v. 7.9.2 introduced the CPAN package `Net::HTTPS::NB`[1][2]
as a dependency (distributed directly inside the Git repository, cf. [3]).

Without this package present in the Perl include path, the new version
fails to load the repository database for squeezebox server plugins
(configured via `Settings > Plugins`) and thus does not list any plugins
that aren't already installed on the respective system.

[1]: https://metacpan.org/pod/Net::HTTPS::NB
[2]: https://github.com/olegwtf/p5-Net-HTTPS-NB
[3]: 7938c06119/CPAN/Net/HTTPS/NB.pm
2021-01-14 12:48:37 +00:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Manuel Frischknecht c9b075818c slimserver: add perlPackages.ArchiveZip as a dependency
Slimserver uses `Archive::Zip`, in order to unpack plugins before
installing them. Without this dependency, its `PluginDownloader`
module will fail, printing the following error message instead:

Slim::Utils::PluginDownloader::extract (102) error loading Archive::Zip
Can't locate Archive/Zip.pm in @INC (you may need to install the Archive:
:Zip module) (@INC contains: [...])
2021-01-06 21:59:58 +01:00
Sandro 38fce64788
Merge pull request #82296 from nyanloutre/slimserver_7_9_2
slimserver: 7.9.1 -> 7.9.2
2020-11-25 00:07:52 +01:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nyanloutre 1b099f9d6c
slimserver: 7.9.1 -> 7.9.2 2020-03-11 00:57:43 +01:00
volth b3cc65f8b9 buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Freezeboy 8f87a61de2 Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
volth bb9557eb7c lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
volth f65dfb3caf buildPerlPackage -> perlPackages.buildPerlPackage 2018-10-14 09:10:41 +02:00
Philipp Hausmann 09df5da98f slimserver: Relax audio scan dependency (#47029) 2018-10-02 00:08:00 +02:00
volth cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04:00
Philipp Hausmann 308638c0ca nixos/slimserver: Fix transcoding 2018-05-23 12:31:50 +02:00
Philipp Hausmann 986bc55968 slimserver: Relax Audio::Scan dependency bounds 2018-05-18 22:09:09 +02:00
Philipp Hausmann 7a16fd6111 slimserver: 7.9.0 -> 7.9.1 2018-05-16 20:47:04 +02:00
Philipp Hausmann a44cea1158 Fix plugins by not moving Slim folder 2017-03-18 13:01:36 +01:00
Philipp Hausmann b0e518c6e5 Mark slimserver as unfree 2017-03-16 21:03:06 +01:00
Philipp Hausmann 0bd6fdcfc4 Cosmetics 2017-03-16 20:50:10 +01:00
Philipp Hausmann ad88df249c Use 7.9.0 tarball 2017-03-16 19:54:27 +01:00
Philipp Hausmann 588c773880 Web interface starts up! 2017-03-15 22:39:03 +01:00
Philipp Hausmann cad54958c0 Server at least starts now 2017-03-15 22:34:10 +01:00
Philipp Hausmann 12de6bb211 Move slim folder 2017-03-14 22:55:04 +01:00
Philipp Hausmann 19ebbde472 Add some more deps 2017-03-14 22:54:58 +01:00
Philipp Hausmann ac8596ca27 Use buildPerlPackage instead of standard builder 2017-03-14 22:34:12 +01:00
Philipp Hausmann 38f315623e Remove unused binary files 2017-03-14 21:21:02 +01:00
Philipp Hausmann 6e0e27854f Add some more perl dependencies 2017-03-14 21:20:55 +01:00
Philipp Hausmann de5465d813 WIP 2017-03-14 20:16:11 +01:00
Philipp Hausmann ffa3dbeee1 init slimserver 2017-03-14 20:16:11 +01:00