{openresolv,dhcpcd}: mark support for OpenBSD (#371601)
[NixPkgs.git] / pkgs / by-name / vu / vuetorrent / package.nix
blob046bec502fa24439afa9ca5136958398749b2d74
2   lib,
3   buildNpmPackage,
4   fetchFromGitHub,
5   nix-update-script,
6 }:
8 buildNpmPackage rec {
9   pname = "vuetorrent";
10   version = "2.19.0";
12   src = fetchFromGitHub {
13     owner = "VueTorrent";
14     repo = "VueTorrent";
15     tag = "v${version}";
16     hash = "sha256-lT0KalQNn3SMSxY6baIuLph/OLNL3y2U9+eNw8r90yI=";
17   };
19   npmDepsHash = "sha256-GOBBZg9/e/XEKEJuW3ie9eOd7jTeid69aQRUddXOjC0=";
21   installPhase = ''
22     runHook preInstall
24     mkdir -p $out/share
25     cp -r vuetorrent $out/share/vuetorrent
27     runHook postInstall
28   '';
30   passthru.updateScript = nix-update-script { };
32   meta = {
33     description = "Full-featured BitTorrent client written in Vue";
34     homepage = "https://github.com/VueTorrent/VueTorrent";
35     changelog = "https://github.com/VueTorrent/VueTorrent/releases/tag/${src.tag}";
36     license = lib.licenses.gpl3Only;
37     platforms = lib.platforms.all;
38     maintainers = with lib.maintainers; [ redxtech ];
39   };