diff options
author | Bruno BELANYI <bruno@belanyi.fr> | 2021-04-14 17:05:40 +0000 |
---|---|---|
committer | Bruno BELANYI <bruno@belanyi.fr> | 2021-04-14 18:11:22 +0000 |
commit | ccb1b4710d07fc851dd11da8746b341ed00cfbaa (patch) | |
tree | de1b783b0d1166d3b892ca797a73be0c62d70d29 /pkgs/servers/misc | |
parent | e64b418e3e01d586296eebd4a680001a99d72a75 (diff) |
podgrab: init at 2021-04-14
Closes #117284.
Diffstat (limited to 'pkgs/servers/misc')
-rw-r--r-- | pkgs/servers/misc/podgrab/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/servers/misc/podgrab/default.nix b/pkgs/servers/misc/podgrab/default.nix new file mode 100644 index 0000000000000..6703fbc53ede0 --- /dev/null +++ b/pkgs/servers/misc/podgrab/default.nix @@ -0,0 +1,28 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "podgrab"; + version = "unstable-2021-04-14"; + + src = fetchFromGitHub { + owner = "akhilrex"; + repo = pname; + rev = "3179a875b8b638fb86d0e829d12a9761c1cd7f90"; + sha256 = "sha256-vhxIm20ZUi+RusrAsSY54tv/D570/oMO5qLz9dNqgqo="; + }; + + vendorSha256 = "sha256-xY9xNuJhkWPgtqA/FBVIp7GuWOv+3nrz6l3vaZVLlIE="; + + postInstall = '' + mkdir -p $out/share/ + cp -r $src/client $out/share/ + cp -r $src/webassets $out/share/ + ''; + + meta = with lib; { + description = "A self-hosted podcast manager to download episodes as soon as they become live"; + homepage = "https://github.com/akhilrex/podgrab"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ ambroisie ]; + }; +} |