New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package request: epg #304727
Labels
Comments
This is what I tried so far after reading some tutorials:
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "epg";
version = "2023.12.1";
src = fetchFromGitHub {
owner = "iptv-org";
repo = pname;
rev = "${version}";
hash = "sha256-4YS7ZscNPPMK0V2U1uDgBKfQa0qSpa3LG0yl1zYkjDA=";
};
npmDepsHash = "sha256-D3poXVVq7VfOF9GhDyC9k5MOhsBSVffCokA0HSC5WCU=";
# The prepack script runs the build script, which we'd rather do in the build phase.
npmPackFlags = [ "--ignore-scripts" ];
NODE_OPTIONS = "--openssl-legacy-provider";
meta = with lib; {
description = "Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.";
homepage = "https://github.com/iptv-org/epg";
license = licenses.unlicense;
maintainers = with maintainers; [ janurskremer ];
};
}
{
pkgs ? import <nixpkgs> { },
}:
pkgs.callPackage ./derivation.nix { } But this fails with a huge npm error.
|
I also tried installing with npm which worked. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/npm-package-build-failed/43573/1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Project description
Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: