Files
nixpkgs/pkgs/by-name/pi/piped/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
953 B
Nix

{
lib,
buildNpmPackage,
pnpm_9,
fetchFromGitHub,
unstableGitUpdater,
}:
buildNpmPackage rec {
pname = "piped";
version = "0-unstable-2024-11-04";
src = fetchFromGitHub {
owner = "TeamPiped";
repo = "piped";
rev = "7866c06801baef16ce94d6f4dd0f8c1b8bc88153";
hash = "sha256-o3TwE0s5rim+0VKR+oW9Rv3/eQRf2dgRQK4xjZ9pqCE=";
};
npmConfigHook = pnpm_9.configHook;
installPhase = ''
runHook preInstall
cp dist $out -r
runHook postInstall
'';
npmDeps = pnpmDeps;
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
fetcherVersion = 1;
hash = "sha256-WtZfRZFRV9I1iBlAoV69GGFjdiQhTSBG/iiEadPVcys=";
};
passthru.updateScript = unstableGitUpdater { };
meta = {
homepage = "https://github.com/TeamPiped/Piped";
description = "Efficient and privacy-friendly YouTube frontend";
maintainers = [ lib.maintainers.lucasew ];
license = [ lib.licenses.agpl3Plus ];
};
}