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

31 lines
666 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pretalx-public-voting";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-public-voting";
rev = "v${version}";
hash = "sha256-0dSnUVXtWEuu+m5PyFjjM2WVYE3+cNqZYlMkRQlI+2U=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "pretalx_public_voting" ];
meta = {
description = "A public voting plugin for pretalx";
homepage = "https://github.com/pretalx/pretalx-public-voting";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wegank ];
};
}