isponsorblocktv: package and deploy
All checks were successful
flake / flake (push) Successful in 2m33s

This commit is contained in:
Jake Hillion 2024-09-09 20:55:31 +01:00
parent 39730d2ec3
commit a48ace3234
3 changed files with 31 additions and 0 deletions

View File

@ -30,7 +30,9 @@
getSystemOverlays = system: nixpkgsConfig: [
(final: prev: {
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
"storj" = final.callPackage ./pkgs/storj.nix { };
"isponsorblocktv" = final.callPackage ./pkgs/isponsorblocktv.nix { };
})
];
in

View File

@ -49,6 +49,9 @@
## Custom Services
custom.locations.autoServe = true;
# TODO: remove me
environment.systemPackages = with pkgs; [ isponsorblocktv ];
# Networking
networking = {
useDHCP = false;

26
pkgs/isponsorblocktv.nix Normal file
View File

@ -0,0 +1,26 @@
{ lib, python3Packages, fetchFromGitHub, ... }:
python3Packages.buildPythonPackage rec {
pname = "isponsorblocktv";
version = "2.1.0";
src = fetchFromGitHub {
owner = "dmunozv04";
repo = "iSponsorBlockTV";
rev = "v${version}";
hash = "sha256-+6Od3uI1uqfbPbFbfQMbIqqgSM5FYC1JFUS8E5NBm7w=";
};
meta = with lib; {
description = "Skip sponsor segments in YouTube videos playing on a YouTube TV device.";
homepage = "https://github.com/dmunozv04/iSponsorBlockTV";
license = licenses.gpl3Only;
maintainers = [{
email = "jake@hillion.co.uk";
matrix = "@jake:hillion.co.uk";
name = "Jake Hillion";
github = "JakeHillion";
githubId = 5712856;
}];
};
}