From a7baf034f3e1589da453337fcfd3078fd73d7c7e Mon Sep 17 00:00:00 2001 From: Alex James Date: Sat, 16 Nov 2024 12:06:27 -0600 Subject: [PATCH 1/2] flood-for-transmission: reformat with nixpkgs-rfc-style --- pkgs/by-name/fl/flood-for-transmission/package.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/fl/flood-for-transmission/package.nix b/pkgs/by-name/fl/flood-for-transmission/package.nix index c3f4c5406a55b..d48b3fd46bf25 100644 --- a/pkgs/by-name/fl/flood-for-transmission/package.nix +++ b/pkgs/by-name/fl/flood-for-transmission/package.nix @@ -1,7 +1,8 @@ # To use this package, use: `services.transmission.webHome = pkgs.flood-for-transmission;` -{ lib -, buildNpmPackage -, fetchFromGitHub +{ + lib, + buildNpmPackage, + fetchFromGitHub, }: buildNpmPackage rec { @@ -17,6 +18,8 @@ buildNpmPackage rec { npmDepsHash = "sha256-BKr4Gm3bTFnxgv4HlPclr8+c6jDVPFFbGXvpk5t8/X4="; + strictDeps = true; + installPhase = '' runHook preInstall @@ -28,8 +31,9 @@ buildNpmPackage rec { meta = with lib; { description = "Flood clone for Transmission"; homepage = "https://github.com/johman10/flood-for-transmission"; - maintainers = with maintainers; [ al3xtjames ]; + downloadPage = "https://github.com/johman10/flood-for-transmission/releases"; license = licenses.gpl3Only; + maintainers = with maintainers; [ al3xtjames ]; platforms = platforms.all; }; } From 8cbb98b724e0d809c161ad155067e41d99826b5c Mon Sep 17 00:00:00 2001 From: Alex James Date: Sat, 16 Nov 2024 12:46:21 -0600 Subject: [PATCH 2/2] =?UTF-8?q?flood-for-transmission:=202024-05-18T08-04-?= =?UTF-8?q?58=20=E2=86=92=202024-11-16T12-26-17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: https://github.com/johman10/flood-for-transmission/compare/2024-05-18T08-04-58...2024-11-16T12-26-17 --- pkgs/by-name/fl/flood-for-transmission/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/fl/flood-for-transmission/package.nix b/pkgs/by-name/fl/flood-for-transmission/package.nix index d48b3fd46bf25..d4e4877e5af5b 100644 --- a/pkgs/by-name/fl/flood-for-transmission/package.nix +++ b/pkgs/by-name/fl/flood-for-transmission/package.nix @@ -7,16 +7,16 @@ buildNpmPackage rec { pname = "flood-for-transmission"; - version = "2024-05-18T08-04-58"; + version = "2024-11-16T12-26-17"; src = fetchFromGitHub { owner = "johman10"; repo = "flood-for-transmission"; - rev = version; - hash = "sha256-/vD53tFvCBOU9i/EfogjNjCEp6BBkR6eEKWnPhCUdJk="; + tag = version; + hash = "sha256-OED2Ypi1V+wwnJ5KFVRbJAyh/oTYs90E6uhSnSwJwJU="; }; - npmDepsHash = "sha256-BKr4Gm3bTFnxgv4HlPclr8+c6jDVPFFbGXvpk5t8/X4="; + npmDepsHash = "sha256-J3gRzvSXXyoS0OoLrTSV1vBSupFqky0Jt99nyz+hy1k="; strictDeps = true;