mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
40 lines
855 B
Nix
40 lines
855 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "pretix-banktool";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pretix";
|
|
repo = "pretix-banktool";
|
|
rev = "v${version}";
|
|
hash = "sha256-x6P+WqrOak5/gmMEmBkHrx6kPsbSOAXbKRbndFG3IJU=";
|
|
};
|
|
|
|
build-system = with python3Packages; [ setuptools ];
|
|
|
|
dependencies = with python3Packages; [
|
|
click
|
|
fints
|
|
requests
|
|
mt-940
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [ "pretix_banktool" ];
|
|
|
|
meta = with lib; {
|
|
description = "Automatic bank data upload tool for pretix (with FinTS client)";
|
|
homepage = "https://github.com/pretix/pretix-banktool";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ hexa ];
|
|
mainProgram = "pretix-banktool";
|
|
};
|
|
}
|