diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/pr/pretalx/plugins/pages.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/pr/pretalx/plugins/pages.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/pr/pretalx/plugins/pages.nix b/nixpkgs/pkgs/by-name/pr/pretalx/plugins/pages.nix new file mode 100644 index 000000000000..3f8d254542a7 --- /dev/null +++ b/nixpkgs/pkgs/by-name/pr/pretalx/plugins/pages.nix @@ -0,0 +1,30 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, +}: + +buildPythonPackage rec { + pname = "pretalx-pages"; + version = "1.4.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "pretalx"; + repo = "pretalx-pages"; + rev = "v${version}"; + hash = "sha256-Wzd3uf+mdoyeMCZ4ZYcPLGqlUWCqSL02eeKRubTiH00="; + }; + + build-system = [ setuptools ]; + + pythonImportsCheck = [ "pretalx_pages" ]; + + meta = { + description = "Static pages for pretalx, e.g. information, venue listings, a Code of Conduct, etc"; + homepage = "https://github.com/pretalx/pretalx-pages"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ wegank ]; + }; +} |