depot/third_party/nixpkgs/pkgs/by-name/pr/pretalx/plugins/youtube.nix

31 lines
692 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pretalx-youtube";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-youtube";
rev = "v${version}";
hash = "sha256-j3NZ+5QBbdpE2bxenqq5bW/42CWvQ9FqrKMmfYIe4Lo=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "pretalx_youtube" ];
meta = {
description = "Static youtube for pretalx, e.g. information, venue listings, a Code of Conduct, etc";
homepage = "https://github.com/pretalx/pretalx-youtube";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wegank ];
};
}