mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
piped: init at 0-unstable-2024-11-04 (#354259)
This commit is contained in:
commit
4343b4f09f
43
pkgs/by-name/pi/piped/package.nix
Normal file
43
pkgs/by-name/pi/piped/package.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
pnpm,
|
||||
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.configHook;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp dist $out -r
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
npmDeps = pnpmDeps;
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit pname version src;
|
||||
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 ];
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user