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

31 lines
679 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pretalx-downstream";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-downstream";
rev = "v${version}";
hash = "sha256-MzoK/tzf6ajZ/THIXyad/tfb3lsQD9k9J6aBfoP9ONo=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "pretalx_downstream" ];
meta = {
description = "Use pretalx passively by importing another event's schedule";
homepage = "https://github.com/pretalx/pretalx-downstream";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wegank ];
};
}