Unverified Commit 3d3162f0 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

Merge pull request #245435 from thiagokokada/flood-buildNpmPackage

flood: repackage using buildNpmPackage; flood: 4.7.0 -> unstable-2023-06-03
parents 37f8d83e 207166a6
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
{ lib
, buildNpmPackage
, fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "flood";
  version = "unstable-2023-06-03";

  src = fetchFromGitHub {
    owner = "jesec";
    repo = pname;
    rev = "2b652f8148dab7134eeeb201b9d81dd6b8bda074";
    hash = "sha256-wI6URPGUZUbydSgNaHN2C5IA2x/HHjBWIRT6H6iZU/0=";
  };

  npmDepsHash = "sha256-XmDnvq+ni5TOf3UQFc4JvGI3LiGpjbrLAocRvrW8qgk=";

  meta = with lib; {
    description = "Modern web UI for various torrent clients with a Node.js backend and React frontend";
    homepage = "https://flood.js.org";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ thiagokokada winter ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ mapAliases {
  bibtex-tidy = pkgs.bibtex-tidy; # added 2023-07-30
  bitwarden-cli = pkgs.bitwarden-cli; # added 2023-07-25
  eslint_d = pkgs.eslint_d; # Added 2023-05-26
  flood = pkgs.flood; # Added 2023-07-25
  gtop = pkgs.gtop; # added 2023-07-31
  manta = pkgs.node-manta; # Added 2023-05-06
  readability-cli = pkgs.readability-cli; # Added 2023-06-12
+0 −1
Original line number Diff line number Diff line
@@ -140,7 +140,6 @@
, "fixjson"
, "fkill-cli"
, "fleek-cli"
, "flood"
, "forever"
, "fx"
, "ganache"
+0 −18
Original line number Diff line number Diff line
@@ -107221,24 +107221,6 @@ in
    bypassCache = true;
    reconstructLock = true;
  };
  flood = nodeEnv.buildNodePackage {
    name = "flood";
    packageName = "flood";
    version = "4.7.0";
    src = fetchurl {
      url = "https://registry.npmjs.org/flood/-/flood-4.7.0.tgz";
      sha512 = "MAm4Yok64VPa49DM+0TxBBP0mScW5ILGCsY/HJLbATjHEkJFnwD1mkPndruZxO1vXBaFdPzoLl+gYThAUxWQjA==";
    };
    buildInputs = globalBuildInputs;
    meta = {
      description = "A modern Web UI for various torrent clients with multi-user and multi-client support";
      homepage = "https://github.com/jesec/flood#readme";
      license = "GPL-3.0-only";
    };
    production = true;
    bypassCache = true;
    reconstructLock = true;
  };
  forever = nodeEnv.buildNodePackage {
    name = "forever";
    packageName = "forever";
+0 −4
Original line number Diff line number Diff line
@@ -162,10 +162,6 @@ final: prev: {
    nativeBuildInputs = lib.optionals stdenv.isDarwin  [ pkgs.xcbuild ];
  };

  flood = prev.flood.override {
    buildInputs = [ final.node-pre-gyp ];
  };

  git-ssb = prev.git-ssb.override (oldAttrs: {
    buildInputs = [ final.node-gyp-build ];
    meta = oldAttrs.meta // { broken = since "10"; };
Loading