python312Packages.cypherpunkpay: cleanup & fix (#384351)

This commit is contained in:
Pavol Rusnak
2025-02-22 23:02:56 +01:00
committed by GitHub
@@ -1,33 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
apscheduler,
bitstring,
buildPythonPackage,
cffi,
ecdsa,
fetchFromGitHub,
monero,
poetry-core,
pypng,
pyqrcode,
pyramid,
pyramid-jinja2,
pysocks,
pytestCheckHook,
pythonOlder,
pytz,
requests,
tzlocal,
waitress,
webtest,
yoyo-migrations,
# tests
pytestCheckHook,
webtest,
}:
buildPythonPackage rec {
pname = "cypherpunkpay";
version = "1.0.16";
format = "pyproject";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "CypherpunkPay";
@@ -46,11 +50,11 @@ buildPythonPackage rec {
"waitress"
];
nativeBuildInputs = [
build-system = [
poetry-core
];
propagatedBuildInputs = [
dependencies = [
apscheduler
bitstring
cffi
@@ -61,6 +65,7 @@ buildPythonPackage rec {
pyramid
pyramid-jinja2
pysocks
pytz
requests
tzlocal
waitress
@@ -103,14 +108,14 @@ buildPythonPackage rec {
pythonImportsCheck = [ "cypherpunkpay" ];
meta = with lib; {
meta = {
description = "Modern self-hosted software for accepting Bitcoin";
homepage = "https://github.com/CypherpunkPay/CypherpunkPay";
changelog = "https://github.com/CypherpunkPay/CypherpunkPay/releases/tag/v${version}";
license = with licenses; [
license = with lib.licenses; [
mit # or
unlicense
];
maintainers = with maintainers; [ prusnak ];
maintainers = with lib.maintainers; [ prusnak ];
};
}