mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
pretix.plugins.stretchgoals: init at unstable-2023-11-27
Display the average ticket sales price over time
This commit is contained in:
parent
72b6d17b96
commit
c28c053ccf
@ -8,4 +8,6 @@
|
|||||||
passbook = callPackage ./passbook.nix { };
|
passbook = callPackage ./passbook.nix { };
|
||||||
|
|
||||||
reluctant-stripe = callPackage ./reluctant-stripe.nix { };
|
reluctant-stripe = callPackage ./reluctant-stripe.nix { };
|
||||||
|
|
||||||
|
stretchgoals = callPackage ./stretchgoals.nix { };
|
||||||
}
|
}
|
||||||
|
37
pkgs/by-name/pr/pretix/plugins/stretchgoals.nix
Normal file
37
pkgs/by-name/pr/pretix/plugins/stretchgoals.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pretix-plugin-build
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage {
|
||||||
|
pname = "pretix-avgchart";
|
||||||
|
version = "unstable-2023-11-27";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rixx";
|
||||||
|
repo = "pretix-avgchart";
|
||||||
|
rev = "219816c7ec523a5c23778523b2616ac0c835cb3a";
|
||||||
|
hash = "sha256-1V/0PUvStgQeBQ0v6GoofAgyPmWs3RD+v5ekmAO9vFU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
pretix-plugin-build
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false; # no tests
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pretix_stretchgoals"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Display the average ticket sales price over time";
|
||||||
|
homepage = "https://github.com/rixx/pretix-avgchart";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ hexa ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user