isponsorblocktv: package and deploy
All checks were successful
flake / flake (push) Successful in 2m33s
All checks were successful
flake / flake (push) Successful in 2m33s
This commit is contained in:
parent
39730d2ec3
commit
a48ace3234
@ -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
|
||||
|
@ -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
26
pkgs/isponsorblocktv.nix
Normal 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;
|
||||
}];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user