parent
e64b418e3e
commit
ccb1b4710d
28
pkgs/servers/misc/podgrab/default.nix
Normal file
28
pkgs/servers/misc/podgrab/default.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -18391,6 +18391,8 @@ in
|
||||||
|
|
||||||
hyp = callPackage ../servers/http/hyp { };
|
hyp = callPackage ../servers/http/hyp { };
|
||||||
|
|
||||||
|
podgrab = callPackage ../servers/misc/podgrab { };
|
||||||
|
|
||||||
prosody = callPackage ../servers/xmpp/prosody {
|
prosody = callPackage ../servers/xmpp/prosody {
|
||||||
# _compat can probably be removed on next minor version after 0.10.0
|
# _compat can probably be removed on next minor version after 0.10.0
|
||||||
lua5 = lua5_2_compat;
|
lua5 = lua5_2_compat;
|
||||||
|
|
Loading…
Reference in a new issue