depot/third_party/nixpkgs/pkgs/by-name/pr/pretalx/plugins/public-voting.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
664 B
Nix

{
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 = "Public voting plugin for pretalx";
homepage = "https://github.com/pretalx/pretalx-public-voting";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wegank ];
};
}