depot/third_party/nixpkgs/pkgs/by-name/pr/pretalx/plugins/youtube.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

30 lines
692 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pretalx-youtube";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-youtube";
rev = "v${version}";
hash = "sha256-cTxkFSK84NRn7Z2uWYBJ2NvQ3pOsUbdZDg6XE5yswPg=";
};
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 ];
};
}