Commit Graph

23 Commits

Author SHA1 Message Date
Paul Meyer
2c97a5caa7 maintainers: remove jfrankenau
due to inactivity.
2023-11-20 08:44:58 +01:00
Yarny0
3680de3fc9 tvbrowser: add meta.mainProgram 2023-09-05 11:34:03 +02:00
Yarny0
518928217c tvbrowser: don't explicitely verify jdk version 2023-03-19 22:46:32 -03:00
Yarny0
a81b44f852 tvbrowser: don't substitute pname in derivation shell scripts 2023-03-19 22:46:32 -03:00
Yarny0
1293a30f85 tvbrowser: rely on default mainProgram in meta data
No need to explicitely set the default value.
2023-03-19 22:46:32 -03:00
Yarny0
c4684c79af tvbrowser: fix shell indentation in test derivation 2023-03-19 22:46:32 -03:00
Yarny0
8494b92f76 tvbrowser: fix source download url
Sorry, I messed up a rebase conflict in
b2fdba820a
2023-02-05 08:18:15 +01:00
Yarny0
e2e9dc92d8 tvbrowser: update meta.license and add other meta attributes
The file `txt/COPYRIGHT.txt` in the source archive states it as
GPL3+-licensed.
2023-02-04 18:00:14 +01:00
Yarny0
62c02911b9 tvbrowser: use upstream wrapper script 2023-02-04 17:58:29 +01:00
Yarny0
2efdb48f8e tvbrowser: use upstream desktop file 2023-02-04 17:57:12 +01:00
Yarny0
f530d505d4 tvbrowser: move installation directory to /share/tvbrowser
In accordance to the conventions stated in the Nixpkgs manual:

https://nixos.org/manual/nixpkgs/stable/#sec-language-java .
2023-02-04 17:56:54 +01:00
Yarny0
2d8e156a59 tvbrowser: add simple test
This test starts tvbrowser with an Xvfb X server
and verifies that all expected windows are created.
2023-02-04 17:56:39 +01:00
Yarny0
b2fdba820a tvbrowser: build from source
This commit changes from a precompiled bundle to
a source file. Accordingly, the expression file is renamed to `default.nix`
and the old attribute name is changed to `tvbrowser`, the old one being now a
throw-message.

The upstream build script tries to download the news plugin; so, we provide
this and pass it as a parameter.

Given that this is still a piece of a precompiled Java bytecode, along with a
main readable source bundle, `meta.sourceProvenance` is updated accordingly.
2023-02-04 17:55:39 +01:00
Yarny0
17abe6d26a tvbrowser: add {pre,post}Install decoration hooks 2023-02-04 17:55:19 +01:00
Yarny0
8e0c477357 tvbrowser: 4.0.1 -> 4.2.7
Fixes tvbrowser, broken since 48978fb

Update the makeWrapper flags according to the `tvbrowser.sh` script provided
by upstream.

Release notes: https://www.tvbrowser.org/index.php?id=news
2023-02-04 17:54:11 +01:00
Yarny0
efc015d28a tvbrowser: track required JDK version
The minimal JDK version required by tvbrowser is encoded in its download
URL. Track it by using a let binding.
2023-02-04 17:53:41 +01:00
Yarny0
4d9eaf89f7 tvbrowser: add myself (Yarny) as maintainer 2023-02-04 15:47:48 +01:00
Robert Scott
3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Naïm Favier
9160044f5f
treewide/makeWrapper: replace --run cd with --chdir
Lay the groundwork for switching to binary wrappers by reducing uses
of `--run` (which is not supported by `makeBinaryWrapper`).
2022-03-19 09:46:31 +01:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Johannes Frankenau
916dc592d4 tvbrowser-bin: init at 4.0.1 (#42620) 2018-06-27 20:08:03 +02:00