added webtoons dl

This commit is contained in:
Leyla Becker 2024-12-09 10:52:59 -06:00
parent 848c57caa0
commit 131f730caf
2 changed files with 29 additions and 1 deletions

View file

@ -1,4 +1,8 @@
{inputs, ...}: {
{
inputs,
pkgs,
...
}: {
imports = [
inputs.nixos-hardware.nixosModules.framework-11th-gen-intel
];
@ -17,6 +21,12 @@
};
};
environment.systemPackages = [
(pkgs.callPackage
./webtoon-dl.nix
{})
];
# enabled virtualisation for docker
# virtualisation.docker = {
# enable = true;

View file

@ -0,0 +1,18 @@
{
buildGoModule,
fetchFromGitHub,
...
}:
buildGoModule rec {
pname = "webtoon-dl";
version = "0.0.10";
src = fetchFromGitHub {
owner = "robinovitch61";
repo = "webtoon-dl";
rev = "v${version}";
hash = "sha256-geVb3LFPZxPQYARZnaqOr5sgaN6mqkEX5ZiLvg8mF5k=";
};
vendorHash = "sha256-NTqUygJ6b6kTnLUnJqxCo/URzaRouPLACEPi2Ob1s9w=";
}